#Software Engineering Capability and Evaluation
#Concise Definition
Software engineering capability is the ability of an AI system to carry out tasks in the software development lifecycle: writing functions from specifications, modifying existing codebases to fix defects or add features, testing, and operating in development environments. Its evaluation spans three levels of realism: function-level synthesis benchmarks, repository-level issue-resolution benchmarks, and field studies of developers using AI tools.
#Overview & Significance
Code is an unusually good domain for automated evaluation because correctness can be partially checked by executing tests. This has made software tasks a leading testbed for AI capability claims, for agent evaluation (see [CAP-AGENTEVAL-001]) and for measuring autonomy (Kwa et al., 2025). It also creates a characteristic risk: a benchmark that measures "tests pass" can diverge from what developers actually need, which includes correct behaviour beyond the tests, maintainable design, review, and integration into a team's work.
This article explains how coding capability is measured and where each measurement is weak. How code models are built is in [TECH-CODE-001], and deployment in industry is in [APP-SW-001]. Because coding scores change rapidly, no current leaderboard values are given.
#Historical Development
Function-level synthesis. Chen et al. (2021) introduced HumanEval, a set of hand-written programming problems with unit tests, and the pass@ metric, in the report on Codex, a language model fine-tuned on code. They reported that Codex solved 28.8% of the problems with a single sample while GPT-3 solved none, and that repeated sampling improved coverage (the 2021 figures are for those models only). Austin et al. (2021) introduced the MBPP benchmark of short programming problems in the same period and studied program synthesis with large language models.
Strengthening function-level tests. Liu et al. (2023) argued that the tests in existing benchmarks are insufficient and produced EvalPlus, which augments test cases; they reported that model scores fall when tests are strengthened, showing that a portion of earlier "passes" were incorrect programs.
Contamination-resistant and holistic evaluation. Jain et al. (2024) built LiveCodeBench, which continuously collects new problems from programming contests so that problems post-date a model's training cut-off, and which evaluates capabilities beyond generation, such as self-repair and test-output prediction.
Repository-level tasks. Jimenez et al. (2023) introduced SWE-bench: 2,294 problems drawn from real GitHub issues and the corresponding pull requests in 12 popular Python repositories, in which a model must edit a codebase so that the repository's tests pass. At publication, the best model they evaluated (Claude 2) resolved 1.96% of issues. Yang et al. (2024) showed that the design of the agent-computer interface (the commands and feedback an LLM agent uses to navigate and edit code) affects performance, with their SWE-agent system improving results over non-interactive baselines in their experiments.
#Technical / Conceptual Explanation
#4.1 The pass@ metric
For a problem, sample completions, of which pass all tests. The unbiased estimator of the probability that at least one of samples passes is
(Chen et al., 2021). pass@1 measures single-attempt performance; large measures coverage when an external check can select the passing sample. Which is appropriate depends on whether a reliable verifier is available in deployment.
#4.2 Resolution rate in repository tasks
For issue-resolution benchmarks, a task counts as resolved if the model's patch, applied to the repository, makes designated failing tests pass without breaking tests that previously passed (Jimenez et al., 2023). The metric depends on the quality of those tests. A patch that differs from the human fix but passes is credited, and a correct patch that the tests happen to reject is not.
#4.3 Time-referenced and field evaluation
Kwa et al. (2025) measure how long skilled humans take on tasks that a model can complete with 50% reliability (see [CAP-REASON-001]). Becker et al. (2025) ran a randomised controlled trial with 16 experienced open-source developers on 246 tasks in repositories they knew well, assigning each task to allow or disallow AI tools (primarily Cursor Pro with Claude 3.5/3.7 Sonnet, February-June 2025). Developers forecast a 24% reduction in completion time beforehand and estimated afterward that AI had reduced time by 20%, but measured completion time increased by 19% when AI was allowed.
#Types, Components & Classifications
| Level | Example benchmark | What is measured | Main weakness |
|---|---|---|---|
| Function synthesis | HumanEval, MBPP, EvalPlus | Correct short functions from a specification | Contamination; weak tests; unrepresentative of real work |
| Fresh problems | LiveCodeBench | Problems released after training cut-offs | Competition-style problems; narrow range |
| Repository issues | SWE-bench and variants | Patching real repositories | Test quality, solution leakage, Python-only origin |
| Time-referenced tasks | METR task suites (Kwa et al., 2025) | Human-time length of tasks completed | External validity |
| Field studies | Randomised trials (Becker et al., 2025) | Effect on developer productivity | Small samples, specific setting |
Human-validated subsets of SWE-bench have been released by third parties, including a "Verified" subset; details of its construction are not cited here because the primary page could not be retrieved [VERIFICATION NEEDED: construction and size of SWE-bench Verified].
#Applications & Concrete Examples
AI coding systems are used for completion, chat-based assistance, test and documentation generation, and as autonomous or semi-autonomous agents that read an issue, explore a repository, edit files and run tests (Yang et al., 2024). In evaluation, the same underlying model can score very differently depending on the scaffold around it, so a result should name both the model and the agent harness. For comparing deployed products and hosted benchmark scores, see MODEL-001 and the methodology in [CAP-COMPARE-001].
#Advantages, Limitations & Unresolved Questions
Benchmark validity. An analysis of SWE-bench by Aleithan et al. (2024) manually screened patches that SWE-Agent with GPT-4 had successfully resolved (the top system at the time of their study) and reported that 32.67% of successful patches involved "solution leakage", where the solution was provided in the issue report or comments, and that 31.08% of passing patches were "suspicious" because of weak test cases; when problematic instances were filtered out, the resolution rate dropped substantially. This is a single audit of a particular system on a benchmark version; it demonstrates that such defects existed, not their prevalence in later variants.
Contamination. Public repositories and issues are likely to appear in pretraining data, and developers of closed models rarely disclose training corpora. LiveCodeBench's design (Jain et al., 2024) is a response, and general methods are in [CAP-BENCH-001].
Benchmark scores versus field productivity. Becker et al. (2025) found a measured slowdown for experienced developers in mature projects, contradicting both their own expectations and those of surveyed economists and ML experts, who predicted 39% and 38% shorter times respectively. The authors state that experimental artefacts cannot be entirely excluded, list 20 candidate contributing factors and note the study's narrow setting (16 developers, familiar mature repositories, early-2025 tools). The result does not show that AI tools slow all developers; it shows that high benchmark scores did not predict a speed-up in this setting, and that self-reports can be mistaken about effect size. Whether the effect holds for other populations and later tools is unresolved.
Open questions. (1) How to measure maintainability, security and design quality, which tests do not capture. (2) How to attribute gains between model and scaffold. (3) How benchmark gains map onto task difficulty as measured in human time.
#Current State of Knowledge
As of 2026-10-15: execution-based function-level benchmarks are widely used and have documented problems of weak tests and contamination (Well Supported; Liu et al., 2023; Jain et al., 2024). Repository-level benchmarks measure a more realistic task than function synthesis but have documented validity defects in their original form (Well Supported for the audited instances; Aleithan et al., 2024). The only randomised field result cited here reports a slowdown in a specific setting (Preliminary; single study; Becker et al., 2025). This article makes no statement about the current state of the art on any leaderboard.
#Future Trajectory & Strategic Outlook
Observed trend (not a forecast): evaluation is moving from fixed public problem sets toward continuously refreshed problems, human-validated subsets, time-referenced task suites and controlled field studies (Jain et al., 2024; Kwa et al., 2025; Becker et al., 2025). Because field evidence is sparse and dated, claims about aggregate productivity effects of AI coding tools remain Preliminary. No forecast is registered here.
Sources, evidence and revision historyReferences · Evidential Classification Matrix · Revision History
#References & Foundational Literature
- Aleithan, R., Xue, H., Mohajer, M. M., Nnorom, E., et al. (2024). SWE-Bench+: Enhanced Coding Benchmark for LLMs. arXiv:2410.06992. [Audit reporting solution leakage and weak tests among successful SWE-bench patches].
- Austin, J., Odena, A., Nye, M., et al. (2021). Program Synthesis with Large Language Models. arXiv:2108.07732. [MBPP benchmark and study of LLM program synthesis].
- Becker, J., Rush, N., Barnes, E., & Rein, D. (2025). Measuring the Impact of Early-2025 AI on Experienced Open-Source Developer Productivity. arXiv:2507.09089. [Randomised trial reporting a 19% increase in completion time with AI tools allowed].
- Chen, M., Tworek, J., Jun, H., Yuan, Q., et al. (2021). Evaluating Large Language Models Trained on Code. arXiv:2107.03374. [Introduces HumanEval, pass@k, and Codex results].
- Jain, N., King, H., Gu, A., Li, W.-D., et al. (2024). LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code. arXiv:2403.07974. [Continuously refreshed contest problems and broader code capabilities].
- Jimenez, C. E., Yang, J., Wettig, A., Yao, S., et al. (2023). SWE-bench: Can Language Models Resolve Real-World GitHub Issues? arXiv:2310.06770. [2,294 issue-resolution tasks from 12 Python repositories; initial 1.96% best result].
- Kwa, T., West, B., Becker, J., Deng, A., et al. (2025). Measuring AI Ability to Complete Long Software Tasks. NeurIPS 2025. arXiv:2503.14499. [50% time-horizon metric on software tasks].
- Liu, J., Xia, C. S., Wang, Y., & Zhang, L. (2023). Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generation. arXiv:2305.01210. [EvalPlus: augmented tests reveal incorrect programs previously counted as passing].
- Yang, J., Jimenez, C. E., Wettig, A., Lieret, K., et al. (2024). SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering. arXiv:2405.15793. [Agent-computer interface design affects repository-task performance].
#Evidential Classification Matrix
| Section / Claim | Evidence Category | Supporting Source | Confidence / Status |
|---|---|---|---|
| pass@k is an unbiased estimator defined as in Section 4.1 | Established | Chen et al. (2021) | High |
| Weak tests in function benchmarks inflate pass rates | Well Supported | Liu et al. (2023) | Moderate to High |
| Fresh-problem design reduces contamination risk | Well Supported (design rationale); effectiveness varies | Jain et al. (2024) | Moderate |
| SWE-bench original instances contained solution leakage and weak tests | Well Supported for audited sample (single audit) | Aleithan et al. (2024) | Moderate |
| Agent-computer interface design affects performance | Preliminary to Well Supported | Yang et al. (2024) | Moderate |
| AI tools slowed experienced developers in one RCT | Preliminary (single study, 16 developers) | Becker et al. (2025) | Moderate |
| Construction of SWE-bench Verified | Unverified | [VERIFICATION NEEDED] | Not assessed |
#Revision History
- v0.1.0 (2026-10-15): Initial draft. Citations checked against arXiv/Crossref/publisher pages where marked; not independently fact-checked.