A Low-Cost Human-in-the-Loop Investigation of Toxicity on GitHub at Scale
Abstract
Toxic interactions in open source discussions can alienate contributors and threaten project sustainability, yet prior empirical studies of GitHub toxicity have been limited in scale, raising questions about their generalizability. Scaling up is difficult because toxicity on GitHub is often implicit and context-dependent, making both fully manual annotation and LLM-based labeling unreliable. We present a human-in-the-loop (HITL) annotation methodology that makes large-scale, domain-calibrated toxicity labeling practical. A single call to a small, local LLM produces both a toxicity prediction and a set of interpretable event category scores. A lightweight Random Forest validator then uses those scores to flag the small subset of conversations most likely to be mislabeled, directing human review only where it is needed. The validator outperforms confidence-based and multi-LLM baselines while adding low annotation cost. We apply this pipeline to over 124,000 GitHub issue and pull request conversations. Using the resulting dataset, we evaluate key findings from prior small-scale research, confirming some and qualifying others, and present new insights into the prevalence, characteristics, and dynamics of toxicity across diverse open source projects.
Create a lesson
Metadata
- Journal
- Proceedings of the 41st IEEE/ACM International Conference on Automated Software Engineering (ASE 2026), ACM, 2026
- Comments
- Accepted at the 41st IEEE/ACM International Conference on Automated Software Engineering (ASE 2026)
Related papers
DevEx is for Humans, AX is for Agents: Measuring Context Health in Agentic Software Work
Shared title terminologycs.SEGratiana Fu, Josh Beitler, Brian Houck
Building a Unified Inline Code Editing Model for GitHub Copilot
Shared title terminologycs.SEMicrosoft CodeAI Team, Microsoft VS Code Team, Julia Gong et al.
Decision Models for Definition-Driven GitHub Actions Workflow Smell Detection
Shared title terminologycs.SERohit Gheyi, Anderson Uchôa, Wesley Assunção et al.
Admitted Is Not Effective: Lessons from a Notary-Gated Retrospective Loop in an Agentic Pipeline
Shared title terminologycs.SELo Gullstrand Heander, Emma Söderberg, Christofer Rydenfält
Jailbreaks Are Global or Regional? A Controlled Study of Scale and Geolocation Effects on LLM Safety Verification
Shared title terminologycs.SEAnidipta Pal
SkillBridge: Cost-Aware Diagnosis and Repair of Cross-OS Compatibility Defects in Agent Skills
Shared title terminologycs.SEAnjie Xu, Zixing Wang, Yifeng Cai et al.