Influence and Sensitivity Analysis · Vol. 1 No. 1 (2026)
Original publication: October 21, 2026

Gold Test-Edit Burden and Released Agent Resolution: A Retrospective SWE-bench Audit

George Franklin, Timothy Peterson, Benjamin Lewis

George Franklin — Spain; Timothy Peterson — Portugal; Benjamin Lewis — Czechia

Exploratory reanalysis of published evaluation identifiers and public gold patches. No software agent was rerun; human scientific review remains pending.

Abstract

Repair evaluations expose both production and test changes, but the latter are often omitted from difficulty summaries. We joined a released SWE-agent result set to 299 matching SWE-bench Lite gold tasks and examined test-edit size alongside production-edit size. The repository-adjusted test-size coefficient was negative, yet its twelve-cluster interval crossed zero. Excluding the largest five percent of test changes left the estimate similar and widened its uncertainty. Production-edit size retained a negative association in both fits. These retrospective oracle features describe a legacy result release; they are unavailable as deployable pre-solution predictors and do not establish a causal effect of test burden on agent success.

1. The repair includes a test artifact

A repository repair task is more than the visible production patch. The gold solution can also alter tests that specify or exercise the intended behavior. A task with a short production fix may require a substantial testing change, and a raw production-line measure can miss that aspect. We ask whether gold test-edit size accompanies resolution in one published agent evaluation after accounting for production-edit size and repository identity.

SWE-bench defines repository-level tasks grounded in real issue and patch records (Jimenez et al., 2023), while its Lite dataset provides a public task subset (Princeton NLP, 2026). The released SWE-agent evaluation offers identifiers at several execution stages, including a resolved set (Yang et al., 2024). Our contribution is a careful retrospective join and a small descriptive model. We do not rerun the agent, update its environment, or claim that the legacy outcomes represent current model capabilities.

Work on teaching coding assistants what to change from pairwise preferences (Tao and Kamata, 2026) motivates attention to the repair artifact and its evaluation. The present analysis contains no preference training. It examines whether a commonly available post hoc task descriptor adds information to a historical result summary. That distinction matters because gold test patches are observed only after a benchmark solution is known, not when a real user first requests a repair.

2. Adjacent benchmarks answer different questions

Code generation from natural-language tasks in Chen et al., 2021 and Austin et al., 2021 differs from repository-level repair. Rigorous test expansion in Liu et al., 2023 and contamination-aware evaluation in Jain et al., 2024 further show that evaluation design can change conclusions about generated code. These works motivate examining the testing side of a benchmark, but they do not validate our line-count proxy as a measure of semantic difficulty or execution coverage.

CodeRL (Le et al., 2022), GraphCodeBERT (Guo et al., 2020), and InCoder (Fried et al., 2022) provide different learning or representation approaches for code tasks. Agentless repair (Xia et al., 2024) offers another repository-repair workflow. None is evaluated here. We avoid building a cross-model leaderboard from incompatible releases, because differences in environments, task coverage, inference budgets, and result ascertainment could dominate an apparent model effect.

Empirical software-engineering guidance in Kitchenham et al., 2002 supports making the data join and outcome definition reviewable. Repository-mining cautions in Bird et al., 2009 and classification concerns in Herzig et al., 2013 are equally relevant. A missing result identifier need not mean an unsuccessful attempt, and stage lists need not form mutually exclusive categories. Those seemingly small data decisions determine the denominator and therefore precede every regression coefficient.

3. Join integrity before inference

The local public Lite snapshot contains 300 gold tasks. We read the official experiment's published result mapping and form the union of all listed identifiers. Exactly 299 local tasks occur in that union. The unmatched task, sympy__sympy-14817, is excluded from the analysis rather than assigned a failure label. Every analyzed identifier therefore has some evidence of presence in the acquired evaluation record.

The no-generation list contains one duplicate identifier. It also overlaps the generated list for django__django-12284 and sphinx-doc__sphinx-10451. These observations prevent a simple interpretation of the stage counts as disjoint outcomes. We deduplicate identifiers for membership calculations and define resolution as presence in the published resolved-ID set. We do not infer the number of attempts, reason for a stage overlap, or a complete failure taxonomy from the mapping alone.

Fifty-four of the 299 matched identifiers appear in the resolved set. This is an identifier-level descriptive result for the acquired release, not a newly measured agent pass rate under a current harness. The source files and exact join are preserved so a reviewer can examine the unusual records. We also avoid attaching unrelated patch-statistic arrays to tasks by assumed positional order when no verified identifier mapping accompanies those arrays.

4. What the predictors mean

Production and test changed lines are counted from their respective gold unified diffs. Added and deleted content lines count, while file header lines beginning with three plus or minus characters do not. We transform each count with log one plus count. A line count is a mechanical artifact descriptor: it does not measure executed branches, assertion quality, conceptual difficulty, or the amount of reasoning an agent needed.

Mean production changed lines are 10.15, with median six and maximum seventy-six. Test changed lines have mean 23.49, median fifteen, and maximum 321. The test distribution has a longer upper tail. We therefore declare a sensitivity restriction that retains tasks at or below the sample's 95th percentile of test-edit size, 69.1 lines. This produces 284 tasks. The restriction uses the predictor alone and does not select tasks according to whether they were resolved.

These gold features are retrospective oracle covariates. They should not be used as evidence that an assistant can forecast difficulty before seeing a solution. Measurement-error considerations in Carroll et al., 2006 emphasize that a convenient proxy can miss the intended construct. The causal-diagram framework in Greenland et al., 1999 also makes clear that gold patch size can reflect task semantics, maintainer conventions, and benchmark selection simultaneously. Its coefficient is not a manipulable treatment effect.

Gold edit burden and released-resolution research model

Figure 1. Gold production and test edit sizes describe published resolution-set membership with repository adjustment. A predictor-defined upper-tail restriction repeats the same specification without rerunning an agent.

5. A small-cluster linear probability model

The main model regresses reported resolution on log production changed lines, log test changed lines, and repository indicators. It uses all 299 matched tasks from twelve repositories. The sensitivity model repeats the formula on the 284-task restricted set. Repository intercepts allow different average resolution levels, but do not absorb all differences in testing infrastructure, task selection, or dependencies within each project.

Covariance clusters by repository, with finite-sample correction and t-based intervals using eleven cluster degrees of freedom. Cameron and Miller, 2015 explains why a small number of clusters demands caution, while White, 1980 addresses the heteroskedasticity inherent in a binary linear response. Repository clustering permits within-project dependence in this comparison, but twelve projects remain a limited basis for population inference. Adding many task rows does not create hundreds of independent repository environments.

We report ordinary R-squared as a descriptive fit statistic and retain linear probability coefficients for direct probability-difference interpretation. The model is not used to generate calibrated deployment probabilities. ROC analysis in Fawcett, 2006, imbalance-aware evaluation in Saito and Rehmsmeier, 2015, and cost-sensitive reasoning in Elkan, 2001 would become relevant to an actual decision system. No threshold, AUC, or operational triage policy is selected here.

Table 1. Repository-adjusted production and test edit associations with released resolution. Both models cluster covariance by twelve repositories; the restriction removes only the upper test-edit tail.

Model Term Estimate (SE) 95% CI N
M1 Log(1 + production lines) -0.0871 (0.0274) [-0.1475, -0.0267] 299
M1 Log(1 + test lines) -0.0388 (0.0182) [-0.0787, 0.0012] 299
M1: fit R-squared = 0.0914 - - 299
M2 Log(1 + production lines) -0.0895 (0.0281) [-0.1512, -0.0277] 284
M2 Log(1 + test lines) -0.0388 (0.0229) [-0.0892, 0.0116] 284
M2: fit R-squared = 0.0834 - - 284

Model labels: M1 = All matched reported tasks; M2 = Exclude upper five-percent test-edit tail.

6. Similar test-size estimates with inconclusive intervals

In the complete matched sample, the production-edit coefficient is -0.0871, with standard error 0.0274 and interval -0.1475 to -0.0267. The test-edit coefficient is -0.0388, with standard error 0.0182 and interval -0.0787 to 0.0012. The full model R-squared is 0.0914. The test estimate points toward lower released resolution for larger test edits, but its interval includes zero under the stated small-cluster inference.

After excluding the upper test-edit tail, the production coefficient is -0.0895, with interval -0.1512 to -0.0277. The test coefficient is -0.0388, with interval -0.0892 to 0.0116. R-squared is 0.0834. The near equality of the test point estimates suggests that the observed direction is not solely created by the largest test patches. Its wider interval also shows that stability of a point estimate is not equivalent to precise evidence for a nonzero association.

We therefore do not describe test burden as an independently established determinant of agent success. The available release is consistent with a modest negative association and with a small association near zero. The production-size pattern is clearer within this specification, but it still cannot distinguish difficulty from correlated repository and task characteristics. An intervention that changes a test patch while preserving task semantics is not identified by the observational gold artifacts.

The coefficients are per unit of log one plus changed lines. They are not effects of adding one arbitrary line, nor elasticities of an underlying continuous success probability. Comparing them without noting the two predictors' distributions would also be misleading. Test lines have a larger tail and a different role in the benchmark. The archived descriptive summaries make those scales visible alongside the fitted model.

7. Selection, sensitivity, and missingness

Influence analysis in Cook, 1977 motivates checking whether extreme covariate values dominate a result. Our declared restriction is a simple tail sensitivity, not a complete influence diagnosis. It does not evaluate every repository omission or every alternative line-count definition. Removing a high-leverage task because it contradicts a preferred conclusion would be inappropriate. Both the full and restricted results remain in the main table regardless of significance.

Structured-validation arguments in Roberts et al., 2017 and model-selection concerns in Varma and Simon, 2006 provide a useful warning against converting this retrospective fit into a predictive benchmark without a new heldout design. The current models are fitted and summarized on the released evaluation tasks. There is no untouched future repository population in this analysis. Their apparent fit is therefore descriptive and cannot be advertised as an out-of-sample difficulty predictor.

Missing-data principles in Little and Rubin, 2002 also matter for the excluded unmatched task. Its absence from all acquired stage lists is recorded explicitly, but its true evaluation status is not inferred. A different historical snapshot or additional logs could change the matched denominator. Preserving the exact input files makes that version dependence reviewable. It is more informative than silently merging current task metadata with a historical result release and treating every unmatched row as a failure.

The guidance in Wasserstein and Lazar, 2016 is especially relevant to the complete-sample test coefficient, whose interval ends just above zero. Recasting that result as a discovery would exaggerate precision. Concerns about selective findings in Ioannidis, 2005 support retaining the similar but less precise restricted estimate. This manuscript reuses gold tasks analyzed elsewhere in the batch, so it is explicitly a related reanalysis with a new released outcome, not an independent benchmark replication.

8. Reproduction and a bounded conclusion

Test-edit size can be large for reasons unrelated to the difficulty faced by the evaluated agent. A maintainer may add multiple regression examples, update fixtures, or revise expected text across many lines. Conversely, one concise assertion can expose a subtle semantic failure. Our mechanical count treats these lines alike. The negative point estimate therefore cannot distinguish a more demanding behavioral specification from a verbose testing style. A manually reviewed test-purpose taxonomy would be needed before attributing the association to one of those mechanisms.

The production and test patches also come from a selected accepted repair. Another valid solution could have different size in either component. Gold artifacts are useful benchmark references, but they are not necessarily the minimum edit required by the task. This further limits a causal interpretation of line burden. The predictor describes the benchmark's chosen solution representation, not an immutable amount of work imposed by the underlying issue. Reproducing the count precisely does not eliminate that substantive measurement ambiguity.

Repository indicators absorb average differences across the twelve projects while leaving within-repository variation to identify the two slopes. If a project has a particular testing convention or a cluster of related tasks, residual dependence can persist. Repository-clustered intervals acknowledge that shared environment but rely on a small collection of clusters. They cannot identify how the result would change on a new repository with a different language, build system, or test framework. That generalization should be evaluated directly rather than inferred from the number of task rows.

Finally, stage-list membership can reflect the experiment's reporting conventions as well as execution. We use the resolved set because it is the clearest released positive label, but do not infer a complete attempt history from its complement. The unmatched task and overlapping stage identifiers remain explicit evidence limitations. This cautious denominator is a substantive part of the audit: a polished regression table would be less useful if it concealed uncertainty about which tasks the historical evaluation actually represented.

The analysis follows Gebru et al., 2021 by documenting the task snapshot, result-release path, duplicate and overlapping stage identifiers, and oracle status of the covariates. Wilkinson et al., 2016 motivates separate source records, processed task rows, and complete model outputs. No downloaded repository code is executed to produce this audit. The computational work parses public diffs and identifiers, leaving environment-dependent agent behavior to the original evaluation release.

A stronger follow-up would obtain attempt-level logs, verify task coverage under a pinned harness, and define genuinely available pre-solution features. It could then assess whether testing-related information improves held-repository prediction or assistant selection. The present evidence is more modest: test-edit size has an uncertain negative association that is not explained only by its upper tail, while production-edit size remains negatively associated with resolution in both reported specifications.

References

  1. Xia, Chunqiu Steven; Deng, Yinlin; Dunn, Soren; Zhang, Lingming. (2024). Agentless: Demystifying LLM-based Software Engineering Agents. arXiv:2407.01489. https://arxiv.org/abs/2407.01489.
  2. Elkan, Charles. “The Foundations of Cost-Sensitive Learning.” Proceedings of the Seventeenth International Joint Conference on Artificial Intelligence, 2001, pp. 973-978. https://cseweb.ucsd.edu/~elkan/rescale.pdf.
  3. Chen, Mark; Tworek, Jerry; Jun, Heewoo; Yuan, Qiming; Pinto, Henrique Ponde de Oliveira; Kaplan, Jared; Edwards, Harri; Burda, Yuri; Joseph, Nicholas; Brockman, Greg; Ray, Alex; Puri, Raul; Krueger, Gretchen; Petrov, Michael; Khlaaf, Heidy; Sastry, Girish; Mishkin, Pamela; Chan, Brooke; Gray, Scott; Ryder, Nick; Pavlov, Mikhail; Power, Alethea; Kaiser, Lukasz; Bavarian, Mohammad; Winter, Clemens; Tillet, Philippe; Such, Felipe Petroski; Cummings, Dave; Plappert, Matthias; Chantzis, Fotios; Barnes, Elizabeth; Herbert-Voss, Ariel; Guss, William Hebgen; Nichol, Alex; Paino, Alex; Tezak, Nikolas; Tang, Jie; Babuschkin, Igor; Balaji, Suchir; Jain, Shantanu; Saunders, William; Hesse, Christopher; Carr, Andrew N.; Leike, Jan; Achiam, Josh; Misra, Vedant; Morikawa, Evan; Radford, Alec; Knight, Matthew; Brundage, Miles; Murati, Mira; Mayer, Katie; Welinder, Peter; McGrew, Bob; Amodei, Dario; McCandlish, Sam; Sutskever, Ilya; Zaremba, Wojciech. (2021). Evaluating Large Language Models Trained on Code. arXiv:2107.03374. https://arxiv.org/abs/2107.03374.
  4. Wasserstein, Ronald L.; Lazar, Nicole A.. (2016). The ASA Statement on p -Values: Context, Process, and Purpose. The American Statistician. https://doi.org/10.1080/00031305.2016.1154108.
  5. Liu, Jiawei; Xia, Chunqiu Steven; Wang, Yuyao; Zhang, Lingming. (2023). Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generation. arXiv:2305.01210. https://arxiv.org/abs/2305.01210.
  6. Saito, Takaya and Marc Rehmsmeier. “The Precision-Recall Plot Is More Informative than the ROC Plot When Evaluating Binary Classifiers on Imbalanced Datasets.” PLOS ONE, vol. 10, no. 3, 2015, pp. e0118432. https://doi.org/10.1371/journal.pone.0118432.
  7. Kitchenham, Barbara A.; Pfleeger, Shari Lawrence; Pickard, Lesley M.; Jones, Peter W.; Hoaglin, David C.; El Emam, Khaled; Rosenberg, Jarrett. (2002). Preliminary guidelines for empirical research in software engineering. https://doi.org/10.1109/TSE.2002.1027796.
  8. Jain, Naman; Han, King; Gu, Alex; Li, Wen-Ding; Yan, Fanjia; Zhang, Tianjun; Wang, Sida; Solar-Lezama, Armando; Sen, Koushik; Stoica, Ion. (2024). LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code. arXiv:2403.07974. https://arxiv.org/abs/2403.07974.
  9. Fawcett, Tom. (2006). An introduction to ROC analysis. Pattern Recognition Letters. https://doi.org/10.1016/j.patrec.2005.10.010.
  10. Gebru, Timnit, et al. "Datasheets for datasets" Communications of the ACM, 2021. https://doi.org/10.1145/3458723.
  11. Le, Hung; Wang, Yue; Gotmare, Akhilesh Deepak; Savarese, Silvio; Hoi, Steven C. H.. (2022). CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learning. arXiv:2207.01780. https://arxiv.org/abs/2207.01780.
  12. Fried, Daniel; Aghajanyan, Armen; Lin, Jessy; Wang, Sida; Wallace, Eric; Shi, Freda; Zhong, Ruiqi; Yih, Wen-tau; Zettlemoyer, Luke; Lewis, Mike. (2022). InCoder: A Generative Model for Code Infilling and Synthesis. arXiv:2204.05999. https://arxiv.org/abs/2204.05999.
  13. Princeton NLP. SWE-bench Lite. Hugging Face Datasets, public test split, JSON snapshot downloaded 25 Oct. 2026. https://huggingface.co/datasets/princeton-nlp/SWE-bench_Lite.
  14. Greenland, Sander, Judea Pearl, and James M. Robins. “Causal Diagrams for Epidemiologic Research.” Epidemiology, vol. 10, no. 1, 1999, pp. 37-48. https://doi.org/10.1097/00001648-199901000-00008.
  15. Little, Roderick J. A., and Donald B. Rubin. Statistical Analysis with Missing Data. Wiley, 2002. https://doi.org/10.1002/9781119013563.
  16. Guo, Daya; Ren, Shuo; Lu, Shuai; Feng, Zhangyin; Tang, Duyu; Liu, Shujie; Zhou, Long; Duan, Nan; Svyatkovskiy, Alexey; Fu, Shengyu; Tufano, Michele; Deng, Shao Kun; Clement, Colin; Drain, Dawn; Sundaresan, Neel; Yin, Jian; Jiang, Daxin; Zhou, Ming. (2020). GraphCodeBERT: Pre-training Code Representations with Data Flow. arXiv:2009.08366. https://arxiv.org/abs/2009.08366.
  17. Yang, John; Jimenez, Carlos E.; Wettig, Alexander; Lieret, Kilian; Yao, Shunyu; Narasimhan, Karthik; Press, Ofir. (2024). SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering. arXiv:2405.15793. https://arxiv.org/abs/2405.15793.
  18. Ioannidis, John P. A.. (2005). Why Most Published Research Findings Are False. PLoS Medicine. https://doi.org/10.1371/journal.pmed.0020124.
  19. White, Halbert. “A Heteroskedasticity-Consistent Covariance Matrix Estimator and a Direct Test for Heteroskedasticity.” Econometrica, vol. 48, no. 4, 1980, pp. 817-838. https://doi.org/10.2307/1912934.
  20. Carroll, Raymond J., David Ruppert, Leonard A. Stefanski, and Ciprian M. Crainiceanu. “Measurement Error in Nonlinear Models.” 2006. https://doi.org/10.1201/9781420010138.
  21. Austin, Jacob; Odena, Augustus; Nye, Maxwell; Bosma, Maarten; Michalewski, Henryk; Dohan, David; Jiang, Ellen; Cai, Carrie; Terry, Michael; Le, Quoc; Sutton, Charles. (2021). Program Synthesis with Large Language Models. arXiv:2108.07732. https://arxiv.org/abs/2108.07732.
  22. Jimenez, Carlos E.; Yang, John; Wettig, Alexander; Yao, Shunyu; Pei, Kexin; Press, Ofir; Narasimhan, Karthik. (2023). SWE-bench: Can Language Models Resolve Real-World GitHub Issues?. arXiv:2310.06770. https://arxiv.org/abs/2310.06770.
  23. Herzig, Kim; Just, Sascha; Zeller, Andreas. (2013). It’s not a bug, it’s a feature: How misclassification impacts bug prediction. https://doi.org/10.1109/ICSE.2013.6606585.
  24. Varma, Sudhir and Richard Simon. “Bias in error estimation when using cross-validation for model selection.” BMC Bioinformatics, vol. 7, no. 1, 2006. https://doi.org/10.1186/1471-2105-7-91.
  25. Roberts, David R., et al. “Cross-validation strategies for data with temporal, spatial, hierarchical, or phylogenetic structure.” Ecography, vol. 40, no. 8, 2017, pp. 913-929. https://doi.org/10.1111/ecog.02881.
  26. Cook, R. Dennis. (1977). Detection of Influential Observation in Linear Regression. Technometrics. https://doi.org/10.1080/00401706.1977.10489493.
  27. Cameron, A. Colin, and Douglas L. Miller. “A Practitioner’s Guide to Cluster-Robust Inference.” Journal of Human Resources, vol. 50, no. 2, 2015, pp. 317-372. https://doi.org/10.3368/jhr.50.2.317.
  28. Tao, Hongmo; Kamata, Hiroyuki. (2026). Teaching Coding Assistants What to Change: Fine-Tuning from Pairwise Preferences. Proceedings of the Second Workshop for REsearch on Agent Language Models (REALM 2026), 1363-1374. https://doi.org/10.18653/2026.realm-1.95.
  29. Bird, Christian; Rigby, Peter C.; Barr, Earl T.; Hamilton, David J.; German, Daniel M.; Devanbu, Premkumar. (2009). The promises and perils of mining git. https://doi.org/10.1109/MSR.2009.5069475.
  30. Wilkinson, Mark D.; Dumontier, Michel; Aalbersberg, IJsbrand Jan; Appleton, Gabrielle; Axton, Myles; Baak, Arie; Blomberg, Niklas; Boiten, Jan-Willem; da Silva Santos, Luiz Bonino; Bourne, Philip E.; Bouwman, Jildau; Brookes, Anthony J.; Clark, Tim; Crosas, Mercè; Dillo, Ingrid; Dumon, Olivier; Edmunds, Scott; Evelo, Chris T.; Finkers, Richard; Gonzalez-Beltran, Alejandra; Gray, Alasdair J.G.; Groth, Paul; Goble, Carole; Grethe, Jeffrey S.; Heringa, Jaap; ’t Hoen, Peter A.C; Hooft, Rob; Kuhn, Tobias; Kok, Ruben; Kok, Joost; Lusher, Scott J.; Martone, Maryann E.; Mons, Albert; Packer, Abel L.; Persson, Bengt; Rocca-Serra, Philippe; Roos, Marco; van Schaik, Rene; Sansone, Susanna-Assunta; Schultes, Erik; Sengstag, Thierry; Slater, Ted; Strawn, George; Swertz, Morris A.; Thompson, Mark; van der Lei, Johan; van Mulligen, Erik; Velterop, Jan; Waagmeester, Andra; Wittenburg, Peter; Wolstencroft, Katherine; Zhao, Jun; Mons, Barend. (2016). The FAIR Guiding Principles for scientific data management and stewardship. Scientific Data. https://doi.org/10.1038/sdata.2016.18.