Reliable Mining of Heterogeneous AI Coding-Agent Data: Context-Aware Prediction and Resource-Aware Ranking
Haoran Yu, Lifei Liu, Danping Zhang
Abstract
Operational records from AI coding agents differ across agents, repositories, tasks, and workflows. We study 71,677 pull requests (PRs) from six agents and show that pooling these records can reverse descriptive and predictive conclusions. PRs carrying a co-authorship trailer have a 55.6% merge rate, compared with 77.5% without the trailer, but removing the dominant agent flips this -21.8 percentage-point gap to +23.7 points. We treat this Simpson-type reversal as a data-veracity problem and represent source, environment, and workflow context in a feature cascade. Gradient-boosting merge-prediction AUC increases from 0.774 to 0.832; the advantage persists under temporal evaluation (0.801) and unseen repositories (0.807). The co-authorship coefficient changes from -1.09 to +1.44 after conditioning, whereas repository-clustered AIPW intervals show no stable adjusted trailer association. A strict PR-creation-time model reaches 0.741 AUC in standard evaluation and 0.710 on unseen repositories, although its temporal AUC falls to 0.641. Finally, a separately cross-fitted analysis of an observed-mode functional estimates a +12.3-point doubly robust gain at a 30% allocation budget on the non-Codex population, only 0.5 points above risk ranking. This last result is retrospective decision support over metadata states, not a causal effect of assigning human review.
Create a lesson
Related papers
Is This Code Mine? Student Ownership When AI Agents Write the Spec and the Code
Shared title terminology · Gustavo Pinto, Enne Rebeca Silva de Freitas, Danilo Monteiro Ribeiro
HerAgent: A Block-Level Checkpointing Harness for Coding-Agent Environment Setup
Shared title terminology · Xiang Li, Siyu Lu, Federica Sarro et al.
GHAgentCI: A Dataset of Coding-Agent Invocations in CI Workflow Histories
Shared title terminology · Daniel Ogenrwot, Jorge Gonzalo Delgado Cervantes, Woojoong Kim et al.
Do They Do as They Are Told? Investigating Coding Agents' Adherence to Explicit Instructions in Context Files
Shared title terminology · Gianmario Voria, Yutaro Kashiwa, Gemma Catolino et al.
Coding Agents in KVM: Practical Containment and User Control with Limited Resources
Shared title terminology · Yutaka Nagashima
Markdown Is Not a Firewall: four coding agents, one rules file, four boundaries
Shared title terminology · Sandeep Dhuri