{'fraction_non_alphanumeric': 0.022900763358778626, 'fraction_numerical': 0.003816793893129771, 'mean_word_length': 5.2407407407407405, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Shifts in species interactions and farming contexts mediate net effects of birds in agroecosystems.

Some birds are viewed as pests and vectors of foodborne pathogens in farmlands, yet birds also benefit growers by consuming pests. While many growers seek to prevent birds from accessing their farms, few studies have attempted to quantify the net effects of bird services and disservices, let alone how net effects shift across farm management strategies. We quantified the net effect of birds on crop production across 20 California strawberry (Fragaria x ananassa) farms that varied in local management practices and landscape context. We surveyed farms for berry damage and bird droppings (as potential sources of pathogens), and implemented a large-scale exclusion experiment to quantify the impact of birds on production. We found that birds had only a slightly negative overall impact on strawberry production, reducing economic value by 3.6%. Direct bird damage and intraguild predation contributed equally to this net effect, underscoring the importance of indirect trophic interactions that may be less apparent to growers. In simple landscapes (e.g., low proportions of surrounding seminatural habitat), birds provided pest control in the interiors of farm fields, and costs from bird damage to crops peaked at field edges. In complex landscapes (e.g., high proportions of seminatural habitat), birds were more likely to disrupt pest control by feeding as intraguild predators. Nonetheless, seminatural habitat dampened bird services and disservices, and our models predicted that removing habitat around farm fields would increase costs from bird damage to crops by up to 76%. Fecal contamination of crops was extremely rare (0.01%). However, both fecal contamination and bird damage did increase on farms with higher densities of fencing and wires, where birds often perch. Our results demonstrate that maintaining seminatural habitat around farms may enhance bird diversity and mitigate bird damage without increasing food-safety risks. We also show that the net effects of birds depend on farming context and vary in complex ways in relation to locations within a farm, local farm attributes, and the surrounding landscape. This context-specific variation must be considered in order to optimize the management of wild birds in agroecosystems.