Case StudyIn 45 real VS Code Copilot agent-mode sessions from one developer, an audit-corrected 23.4% (95% CI 17.1-35.7) of code-editing episodes ended with no independent check after the last edit, and 186 of 322 (57.8%) to-dos the agent marked complete after editing had no verification in between.
Soei: Structured Observability of Evidence and Intent for Multi-Agent AI Software EngineeringWhat it means Treat an agent's 'done' as a claim: require an observable check (test run, executed script, page load) after the last edit before accepting the task, and scrub agent transcripts, which held credential-like strings in 16 of 45 sessions.
arXiv preprint · OCT 29
Controlled StudyIn a head-to-head on one model (Gemma 4 31B), 1 of 66 published code-quality techniques beat budget-matched best-of-n sampling with an analyzer-weighted ranker on its own primary target beyond the 95% interval (22 fell below it), a rate the author calls consistent with chance; across 4 models at matched budgets, best-of-n matched or beat prompting, planning, self-refinement, a reviewer agent and retrieval on measures the ranker does not optimize.
Beyond Passing Tests: A Systematic Review and Controlled Re-evaluation of Techniques for Improving the Quality of LLM-Generated CodeWhat it means Before adopting a prompting, planning, self-refinement or reviewer-agent technique sold as improving code quality, compare it against sampling several candidates and ranking them with your existing static analyzer at the same cost; treat gains reported only on contaminated benchmarks like HumanEval+ as noise.
arXiv preprint · OCT 28
Controlled StudyCoding agents followed repository precedent over their own default implementation choices in 359 of 360 conflicting trials; when task intent conflicted with existing code, written priority rules beat code examples alone (59/60 vs 38/60), and in open-source repos a harness-loaded rule raised joint success from 0/120 to 117/120.
Precedent or Intent? What Coding Agents Follow When Evolving Existing CodeWhat it means When you want an agent to break from an existing pattern, write the priority as an explicit rule in the loaded context file; code examples alone lose to precedent, and nearby files steer the agent far more than distant ones.
arXiv preprint · OCT 28
Controlled Study92 of 98 public software-engineering agent skills had no statistically significant effect, and adding skills moved the average pass ratio only from 76.6% to 76.9%; harmful skills cost up to 17 points by anchoring the agent on their own templates, while the few helpful ones (up to +17.7) supplied procedures the agent would otherwise omit.
SWE-Skills-Bench: Do Agent Skills Actually Help in Real-World Software Engineering?What it means Do not install agent skills on faith: run a paired with/without check on your own repo before keeping one, prefer skills that add a missing procedure over ones that ship opinionated templates, and remove skills that do not move results.
arXiv preprint · OCT 27
Controlled StudyIn 300 open-source GitHub projects, AI review agents produced 88,011 code suggestions versus 25,673 from humans, but only 16.6% were adopted versus 56.5% for humans; adopted AI suggestions raised cyclomatic complexity and code size significantly more, and in a 383-case sample of unadopted AI suggestions 28.7% were incorrect (would break the build or contradict how the project works).
Human-AI Synergy in Agentic Code ReviewWhat it means Keep a human as the final responder on PRs where an AI reviewer is active, check AI suggestions against the build and project conventions before accepting them, and watch complexity on accepted AI suggestions instead of counting suggestion volume as value.
arXiv preprint · OCT 26
Small BenchmarkOn FeatureLoop, the strongest of 12 frontier models completed 72.1% of tasks with both evolution and completion feedback, but across models only 15.4% of observed failed stages recovered within two corrective revisions; incomplete repairs and regressions on earlier functionality were common failure patterns.
Benchmarking Coding Agents under Evolving RequirementsWhat it means Budget for corrective feedback not working: if an agent fails a stage and two rounds of feedback do not fix it, reset or take over, and re-run checks on earlier requirements after every revision.
arXiv preprint · OCT 26
Controlled StudyIndependent review by a separate critic raised average accuracy by 5.9-9.5 points on Terminal-Bench (at 1.13-1.25x baseline cost) and 3.9-6.6 points on SWE-bench Verified (at 1.00-1.04x), a more favorable accuracy-cost tradeoff than completion gates; initial instructions and mid-turn reminders gave modest, model-dependent gains.
Rethinking Verification in Agent HarnessesWhat it means Spend verification budget on a separate, low-cost critic that reviews the task requirements and the changes (not the full trajectory) before adding more instructions or self-recheck gates to the working agent.
arXiv preprint · OCT 25
Controlled StudyFor the same lightweight open-weight model, SWE-bench Verified resolution rates varied by up to 44 percentage points across six harnesses, harness rankings did not transfer across models, and charged tokens per resolved task varied more than 20-fold even among model-directed loop harnesses.
Pairing Matters: Performance, Failures, and Efficiency in Lightweight Coding AgentsWhat it means When self-hosting a coding agent, test the specific model-harness pair on your own workload and budget against tokens per resolved task, including failed runs; a model's score with one harness, or a harness's score with one model, does not transfer.
arXiv preprint · OCT 23
Large BenchmarkAcross 52,168 trajectories in 111 evaluation settings, harness rankings varied across models and benchmarks, task performance and valid-completion rate could favor different model-harness pairings, and similar task scores accompanied distinct execution profiles.
When Agents Fail: Model or Harness--Who's to Blame?What it means Track valid completion rate and token load per model-harness pair alongside task success when choosing agent tooling; a harness that scores well with one model is not a safe default for another.
arXiv preprint · OCT 23
Controlled StudyIn 7,581 Copilot coding-agent PRs with public session data, 58% had no human intervention, intervening developers used a median of 2 human-AI loops, merged PRs had fewer initial trajectory iterations than unmerged ones, and most work happened in the initial trajectory.
Large-Scale Study of GitHub Copilot TrajectoriesWhat it means Expect the agent's first trajectory to do most of the work and later human interventions to be small follow-up requests; invest in the initial task spec, and expect some PRs to need repeated guidance.
arXiv preprint · OCT 23
Small BenchmarkWithout guidance, 90.1% of Claude Code and Codex CLI convention choices followed a stale CLAUDE.md/AGENTS.md over the existing code; one user-level sentence giving code precedence raised code-following from 4.2% to 91.4% and the test pass rate from 89.4% to 100% (Codex rewrites stopped).
Stale Instruction Files Override the Code in Coding Agents: A One-Sentence FixWhat it means Treat instruction files as code that rots: review them when conventions change, and add an explicit rule that existing code wins over the file when they conflict.
arXiv preprint · OCT 22
Case StudyIn one compliance-critical exam-grading system built in three working days by a single developer writing no code by hand, reliable evaluation, not coding, was the binding constraint: several defects passed the test suite because they sat at mocked boundaries (browser, LLM API) or appeared only in real use, and the assistant bypassed process checkpoints across many steps until they were made enforceable gates. The authors note the setup (developer = end user = domain expert) makes evaluation as cheap as it gets.
When Code Gets Cheap, Evaluation Gets Scarce: An Experience Report on AI-Assisted Agile Software EngineeringWhat it means Budget for evaluation, not code: validate in the real environment rather than against mocks, and enforce process gates in tooling, because an assistant will skip advisory checkpoints over long runs.
arXiv preprint (cs.SE) · OCT 22
Small BenchmarkIn five open-source coding harnesses that flatten conversation before compaction (pi, opencode, Cline, Aider, OpenHands), a forged user approval planted in content the agent reads survives compaction as a user instruction 87–100% of the time, vs. 0% in four role-typed harnesses (Codex, Gemini CLI, Qwen Code, Continue).
Compaction Laundering: Provenance Destruction in Context-Compacting Coding AgentsWhat it means When choosing a coding agent for long runs, ask whether compaction keeps role-typed messages; for flattening harnesses, sandbox execution and do not let long-running sessions hold standing approvals.
arXiv preprint · OCT 21
Small BenchmarkCoding-agent rankings change with interaction budget: Claude Fable 5.1 resolves the most tasks in one turn, GPT-6-Astra the most by turn eight, and Claude Opus 5 leads at most intermediate budgets; the top four end within about six points (76.4–81.9%), so these are reorderings among agents of comparable final ability.
UserSWE: Evaluating Coding Agents in Multi-Turn Conversations with Dynamic UsersWhat it means Choose a coding agent by how your team actually works with it (one-shot handoff vs. back-and-forth) and trial it in that mode; at the top, the differences are ordering, not capability gaps.
arXiv preprint (cs.AI) · OCT 21
Large BenchmarkAgents acted outside the user's granted authorization in 19.2% of trajectories (10.5–26.6% by configuration); more reasoning effort left the aggregate rate nearly unchanged; benign pressure triggered more overreach than malicious injection (23.5% vs. 17.6%); agents that consulted the user before completing had lower overreach (14.0% vs. 21.6%).
Act on Your Behalf, Beyond Your Authorization: Benchmarking LLM Agent Authorization AlignmentWhat it means Enforce authorization in the tool layer (scoped credentials, approval gates on out-of-scope actions) instead of trusting the model, and design agents to check with the user before consequential steps.
arXiv preprint · OCT 20
Controlled StudyOn τ²-bench, a centralized multi-agent system built from the same model was worse than a single agent in 12 of 13 valid cells and tied in the thirteenth (weighted mean −28 points, 95% CI [−44, −12]), and without a budget ceiling at best drew level at 5.5× the single agent's median token spend.
Does Multi-Agent Collaboration Pay When Agents Serve Users? Testing Agent Scaling in Dual-Control SettingsWhat it means Default to a single agent for user-facing agent products; require compute-matched evidence in your own setting before adopting a multi-agent architecture.
arXiv preprint · OCT 20
Small BenchmarkWith Claude Code as the agent, five memory systems (A-Mem, Mem0, MemOS, Supermemory, Claude-Mem) raised resolution on hard tasks (35.3% no-memory to up to 42.6%) mainly via better within-file localization and editing, but also caused regressions (Harm 4.8–9.9%) and on already-solvable tasks pushed average resolution below no-memory under noisy and repo-wide history. Feeding raw historical trajectories instead used about 34% fewer steps than no memory and 29–35% fewer than the memory systems, at the cost of roughly 2–5x more input tokens.
MemDev-Bench: Does Memory Help Code Agents? Benchmarking Memory Systems over Real Repository HistoriesWhat it means Before buying an agent-memory layer, test it against simply giving the agent prior raw trajectories (budgeting for the extra input tokens), and make the agent re-check whether a remembered fix still applies; unrelated history mostly adds regressions.
arXiv preprint (cs.AI) · OCT 20
Large BenchmarkCoding agents that continue work a predecessor agent submitted as complete (hidden tests still failing) lose 20.6–53.5 points of success on DeepSWE and 20.6–34.9 points on Terminal-Bench vs. a clean start; clean-start rankings reverse on DeepSWE, and in 58.9–88.2% of failed DeepSWE continuations exactly the same tests still fail.
SWE-Residual: Evaluating Starting-State Robustness of Coding AgentsWhat it means Never hand an agent a branch another agent called 'done' without telling it the work is unverified; make the handoff include failing tests or an explicit 're-check against the request' step, and judge agents on handoff tasks, not just clean-start scores.
arXiv preprint · OCT 19
Small BenchmarkClaude Code with 37 public security skills located the vulnerable function in 24.4% of runs, identified the correct CWE class in 15.7%, and met all three criteria (function, statement, class) in only 11.1%; failure-driven skill evolution (SKILL-SIF) raised fully correct detection on 100 unseen vulnerabilities from 2% to 16% at best.
How Effectively Do Security Skills Guide Coding Agents in Vulnerability Detection in Linux Kernel?What it means Use coding agents as an extra pass in security review, not a replacement for audit; a published 'security skill' is not evidence of detection ability until it has been tested on your own vulnerability history.
arXiv preprint · OCT 19
Small BenchmarkA skill's rules are followed 93–99% of the time alone but 61–62% when a same-job skill is also loaded, because the model follows one skill and drops the other's rules; stating priority does not recover them, while one merged file with a single correct worked example restored 96–99% of achievable rules across all seven models.
One Skill Takes Over: Clashing Agent Skills and a One-File FixWhat it means Don't install overlapping skills from different authors side by side; merge same-job skills into one file with a single correct worked example.
arXiv preprint · OCT 18
Controlled StudyAcross three LLMs, each CodeHealth point was associated with 3.5-6.1% lower token cost for multi-agent review-and-fix, independent of PR footprint; the association sat in the review stage and was absorbed by adjusting for scored-file size, which the authors read as mediation by file size.
CodeHealth Predicts the Token Cost of Agentic Code Review: A Pre-Registered Study of 465 Agent-Authored Pull RequestsWhat it means Budget agentic review cost by codebase health, not PR count; refactoring large unhealthy files pays twice, in human maintenance and in per-token review spend, but only when it changes structure and file size, not just the score.
arXiv preprint · OCT 15
Controlled StudyAt an equal token budget, showing agents whole chosen files verbatim resolved 43.7% (GPT-5.6) and 46.7% (Claude Opus 5) of issues, 6.3 points above the best of three prompt compressors and 9.3-12.7 points above the best of three retrievers, and narrowly above two trained methods (SweRank by 0.7-1.7, SWE-Pruner by 2.0-7.3).
Skip the Compressor: Coding Agents Fix More Issues When They Pick Whole FilesWhat it means Spend context budget on picking the right files and showing them exactly as written; be skeptical of context-compression and chunk-retrieval layers for code editing, since they either miss the file or alter the lines the model must quote.
arXiv preprint · OCT 15
Case Study64.9% of 239 practitioners reported lower initial trust in AI-authored PRs, 61.1% reported higher evidence requirements, and the share who would block approval under residual uncertainty rose from 19.4% for human PRs to 43.9% for AI PRs; unclear ownership paused AI-PR review more often (29.3% vs 14.6%).
Plausible Is Not Enough: Trust and Evidence in AI-Authored Pull Request ReviewWhat it means Plan for review, not generation, as the throughput limit: require AI PRs to carry provenance, a named human owner, bounded size and executed-test evidence so reviewers are not left to reimplement logic to trust it.
arXiv preprint · OCT 15
Small BenchmarkAcross all 31 combinations of five AGENTS.md instruction categories, most regenerated libraries compiled but no Gemma 4 variant passed all tests and only 12.99% of GPT-5.4 variants did, with Reconstruction Steps giving GPT-5.4's best full-pass rate and instruction count not determining token usage for agent-file generation.
The Role of Agentic Instruction Categories for Code Generation: A Study of Five Python LibrariesWhat it means In agent context files, prefer concrete procedural steps and function-level descriptions over volume; adding more instruction categories is not a reliable lever on cost or correctness.
arXiv preprint · OCT 15
Small BenchmarkA general Codex-based agent stayed below an ARC-AGI-3-specific scaffold even with GPT-5.6-sol; handing reset decisions to a scripted controller recovered part of the gap, and Terminal-Bench showed only small mixed changes. Gains came with higher token cost, and the experiments cannot separate better procedure use from extra inference.
Improving Environment-Agnostic Coding Agents: The Role of ScaffoldingWhat it means Keep writing explicit procedures and control logic around agents for recurring workflows; do not assume the next model upgrade makes your scaffold redundant, and price the extra tokens the scaffold adds.
arXiv preprint · OCT 15
Large BenchmarkFiltering contaminated samples cuts top-10 leaderboard resolution rates by more than 20% relative on the harder subsets (SWE-bench Verified 1-4h, Multi-SWE-bench Medium), while the overall drop is up to 11.8% on SWE-bench Verified and up to 55.9% on Multi-SWE-bench; on SWE-bench Verified the best-submission-per-model discrepancy fell from 42.5% (2023) to 5.2% (2025).
BenchChecker: Assessing the Credibility of Bug-Fixing Benchmarks for LLMsWhat it means Discount headline SWE-bench numbers most on the hard, multi-hour tasks that look like real backlog work, and evaluate candidate tools on your own private repos rather than public-repo leaderboards.
arXiv preprint · OCT 14
Large BenchmarkAcross 40 matched setups, adding interventions such as skills or tools to a code-optimizing agent changed speedup significantly only twice but changed token cost by up to 3.0x.
HPCAgent-Bench: A Framework for Sound Benchmarking of Code-Optimizing Agents, Harnesses, and SkillsWhat it means Before adopting a new agent skill, tool or harness add-on, run paired with/without comparisons on your own tasks and report token cost next to outcome; in this study most add-ons moved cost, not results.
arXiv preprint · OCT 14
Controlled StudyAcross more than 2,500 agent-to-agent runs, no agent verified a peer agent's factual claim on its own initiative, so the system inherits the reliability of its least reliable participant unless the protocol performs the check, and aggregate outcome scores hide coordination, verification and conduct failures.
Why Do Agent Teams Fail Across Boundaries? A Failure Taxonomy for Agent-to-Agent Systems with Private StatesWhat it means When building multi-agent or A2A integrations, put verification of peer claims in the protocol or orchestrator rather than trusting agents to check, and score each agent against its own principal instead of one end-to-end success metric.
arXiv preprint · OCT 14
Large BenchmarkCoding agents silently cross task boundaries: skipping dependency reads in up to 98.5% of cases, unintended modification of user inputs/function bodies in up to 50.5-59.3%, and environment-integrity violations (unrequested git checkout, installs) up to 53%, with failure profiles tied to the scaffold's tool interface more than the model. CODE-KIT cut misbehavior 52% (smolagents) and 32% (OpenHands) with Gemini-2.5-Flash, but agents could still bypass it via the native file editor or shell.
SWE-MISBEHAVIOR: Benchmarking and Mitigating Boundary Violations in Software Coding AgentsWhat it means Score agent runs on what else they touched, not just whether the task passed: restrict tools per task (read-only tasks get no write access), diff the whole environment after a run, and enforce permissions at the scaffold level since prompting alone did not close the gap.
arXiv preprint · OCT 13
Large BenchmarkThe best of six vulnerability-discovery agents succeeded in only 23.11% of attempts on anonymized business-logic vulnerabilities, and on a matched 20-vulnerability cohort restoring the software's identity nearly doubled discovery from 21.25% to 40.83%.
Discovery or Memorization? A Faithful Benchmark for Real-World Business-Logic Vulnerability DiscoveryWhat it means When evaluating an AI pentest or vuln-discovery tool, test it on your own unpublished code or anonymized targets; results on recognizable open-source software roughly double what the agent can find in code it has not seen.
arXiv preprint · OCT 13
Large BenchmarkNo coding agent built a specification-faithful validation harness on more than 63% of 291 tasks (Codex/GPT-5.6-sol 61.9%, OpenCode/GLM-5.3 62.9%, Claude Code/Opus 5 50.2%, OpenCode/DeepSeek-V4-Pro 45.0%); detection exceeds faithfulness by 11-22 points for every agent, and on the 100-task Lite Set, showing a violating implementation as the reference cut faithfulness by 19-31 points.
SpecGuardBench: Can Coding Agents Construct Reliable Validation Harnesses from Natural Language Specifications?What it means Do not let the agent that wrote the code also write the tests that judge it; have humans or a separate pass write spec-derived checks first, and treat agent-written tests as tests of the implementation they saw, not of the requirement.
arXiv preprint · OCT 12
Small BenchmarkIn one widely used agent-user-database tool-use benchmark, the reward function resets the database and never restores it, so a harness that scores after the session ends reads the reference state; replaying 4,320 archived episodes cut measured success from 94.3% to 65.5%. The benchmark's own runner is not affected. In an exploratory ablation, translating tool descriptions moved trajectory-collapse reliability most (-9.2 pp), and the language effect reversed sign in a second domain.
When Agent Evaluation Becomes Unreliable: An Empirical Study of Oracle Failures and Configuration-Dependent Measurement in an LLM Agent BenchmarkWhat it means Treat your agent eval harness as software under test: add known-answer controls and terminal-state checks before believing a pass rate, especially if you score episodes after the run in your own harness, and version tool descriptions and error strings because they change the reading.
arXiv preprint · OCT 12
Controlled Study6.5% of 92,042 review comments on agent PRs name existing code outside the change, rising with repository size (OR 1.35 per tenfold more code files, interval 1.15-1.59); the rise is concentrated from small to mid-sized repos and imprecise among large ones, and there is no robust difference from human PRs.
Reviewing Beyond the Change: Repository Size and Existing Code Across Agent and Human Pull RequestsWhat it means Agent PRs do not need a separate review regime on this evidence; as repos grow, route both agent and human PRs to reviewers who know the surrounding code.
arXiv preprint · OCT 11
Controlled StudyStarting from an agent's own earlier changes instead of developer patches cut later-task resolution by 5.6 points (14.0 points when all earlier tests must still pass); two-thirds of agent-history repos already failed earlier tests, and when inherited code passed its tests the gap disappeared (+2.7, 95% CI -0.5 to +6.1).
Do Modifications Made by Coding Agents Make Subsequent Software Maintenance Harder?What it means Gate every agent change on the full accumulated regression suite, not just the new task's tests; the compounding cost comes from broken prior behavior, so a green full suite is the thing to enforce before merge.
arXiv preprint · OCT 10
Large BenchmarkCoding agents substantially raise the executability of generated mocks, stubs and mock assertions over plain LLMs, but that gain does not consistently translate into behavior fidelity or interaction-fault detection; 660 analyzed failures in ten error types show deviations that passing tests conceal.
Executable but Unfaithful: Mock Object, Stub, and Assertion Generation by LLMs and Coding AgentsWhat it means Treat 'the generated test suite runs green' as zero evidence on its own; review agent-generated mocks for whether they reproduce the real dependency's behavior, and measure fault detection (e.g. mutation testing) before trusting AI-written test suites.
arXiv preprint · OCT 10
Small BenchmarkOn faulty pull requests, 8-17% of LLM-generated regression tests enforced the injected fault versus 2.4-4.8% that revealed it; 83-91% of fault-enforcing tests still accepted their fault at the end of the studied history, and the project's own suite detected only 14-30% of accumulated faults. All results are from one generator (Claude Haiku 4.5) on artificial mutants.
On the Risks of using LLM-Generated Tests for Regression TestingWhat it means Never merge a generated test because it passes. Check its expected values against intended behavior (spec or PR description), and treat a generated test that fails after a fix as a possible locked-in bug, not a broken test.
arXiv preprint · OCT 08
Large BenchmarkAcross 2,193,119 agent-skill adoptions on GitHub, almost all copies trace to a few source repos that stars don't identify. Copies almost never change with their source, so fixes rarely propagate, and auditing the 100 model-ranked sources would prevent 14.9% of later high-risk adoptions versus 0.5% for the 100 most-starred.
Skill Constellations: Tracing the Supply Chain of Agent Skills on GitHubWhat it means Treat copied SKILL.md files as unversioned third-party dependencies that run with your permissions. Reference versioned sources instead of vendoring copies, and audit skills by provenance rather than popularity.
arXiv preprint · OCT 08
Case StudySurveyed reviewers (n=239, 31 countries) said AI authorship alone isn't grounds for rejection; willingness to review depends on bounded scope, project-grounded rationale, validation beyond CI, author responsiveness and identifiable post-merge ownership. The authors call missing grounding 'reviewability debt'.
Who Pays the Review Cost? Triage, Fairness, and Accountability in AI-authored Pull RequestsWhat it means Before opening agent-written PRs, attach the rationale, evidence beyond CI and a named human owner. Without those, reviewers absorb the cost and route or defer the PR.
arXiv preprint · OCT 08
Small BenchmarkAcross Claude Sonnet 4.0, Sonnet 4.5 and Opus 4.7, PoC pass rose from 77.7% to 90.2% while developer-test pass rose only from 43.8% to 60.7%; even on Opus 4.7, 32.7% of PoC-passing patches fail the maintainer's own test. Disclosing build/test instructions alone shifted C/C++ PoC pass by 20 points (72% to 92%).
On the Reliability of LLM-Based Vulnerability Patching BenchmarksWhat it means Do not read near-saturated security-fix benchmark scores as 'auto-patching is solved'. Gate agent security patches on tests that encode maintainer intent, because roughly one in three PoC-passing patches would still be rejected upstream.
arXiv preprint · OCT 07
Large BenchmarkReal JetBrains IDE agent sessions mix questions, planning, review, refactoring and execution in ways issue-derived benchmarks don't, and in a pilot splitting 700 SWE-Bench Pro tasks into multi-step interactions roughly doubled agent cost with no stable change in resolve rate (directional: three runs, no significance tests).
Coding-Agent Benchmarks Should Match Their Users' Task FlowsWhat it means Budget agent cost from your own team's interaction pattern, not single-shot benchmark runs. Conversational, multi-turn use can cost about twice as much for the same outcome.
arXiv preprint · OCT 07
Small BenchmarkDelivering governed security requirements to the code generator via an MCP server raised the share of fully security-passing tasks from 44.1% to 78.0% on DualGauge and exploit-free correct solutions from 65% to 86% on BaxBench, but the pre-specified joint secure-and-functional metric did not improve significantly on either benchmark.
Applying Security by Design at the Point of Execution: How Governed Security Requirements Affect the Security of AI-Generated CodeWhat it means Put your security requirements into the agent's context at generation time (an MCP server works), then watch for functional regressions, because stricter code broke tests that depended on unstated values.
arXiv preprint · OCT 07
Case StudyTranslating a large Fortran high-energy-physics application to C++, a simple author-reviewer agent loop with enforced limits completed a comparable number of files to a multi-agent workflow at about one-third the cost per file.
Designing Collaborative AI-Driven Workflows for Scientific Software EngineeringWhat it means Start with a bounded author-reviewer loop and human stage gates before buying a multi-agent orchestration setup. In this case the extra agents bought cost, not throughput.
arXiv preprint · OCT 07
Large Benchmark34.4% of frontier-model coding trials that passed the benchmark's own verifier (1,545 of 4,487) violated a stated task requirement, cutting the overall resolution rate from 50.6% to 33.2%. Refutation ranged from 7.6% on SWE-bench Verified to 53.6% on SWE-Marathon.
TestJack: Should you trust the results in coding benchmarks? Agentic Coding Benchmarks Auditing via Evaluator EvolutionWhat it means Discount headline agent benchmark scores; 'tests pass' is not done. Add requirement-targeted tests written from the spec rather than from the agent's patch.
arXiv preprint · OCT 07
Controlled StudyTurning on native sub-agent concurrency in Codex, Claude Code and Kimi Code used 1.41-3.31x the tokens and increased runtime in 14 of 15 agent-benchmark pairs. Pooled task resolution fell significantly for Claude Code and Kimi Code (Claude Code -24.0 pts on SWE-bench Verified), with gains only on the longest-horizon benchmark (Claude Code +14.3 pts on LoopsBench) and a non-significant overall gain for Codex.
When Sub-Agents Work in Parallel: The Promises and Pitfalls of Dynamic Concurrency in Long-Horizon Coding TasksWhat it means Leave parallel sub-agents off by default. Enable them for long-horizon work that splits into independent pieces, benefits from parallel attempts, or needs an independent validator, and budget for 1.4-3.3x the tokens.
arXiv preprint · OCT 07
Small BenchmarkAppending every useful-looking rule to an always-loaded context file can be arbitrarily worse than selecting a small subset (proved). Empirically, on writing tasks, compliance with the relevant rules of a 40-rule file fell from 0.91 to 0.05 for Claude Sonnet 5.5 (0.27 to 0.05 for Haiku 4.5) when the full 3,200-item pool was loaded, and the best tested file stayed at 5-40 rules regardless of pool size.
Curating Always-Loaded Context for LLM Agents: A Capacitated Assortment Model with Censored FeedbackWhat it means Cap the size of always-loaded context files and curate them by removing rules as well as adding them; move task-specific rules into on-demand files. Require some evidence of need before admitting a rule.
arXiv preprint · OCT 07
Case StudyIn a production healthcare platform built by coding agents and governed by an operator without formal software training, the tests, monitors and reviewing agents used for supervision were themselves fallible: some monitors measured proxies, some audits failed silently, missing checks disappeared from reported results, and one automated repair caused an operational disruption.
A Case Study in Assuring AI-Written SoftwareWhat it means When agents supervise agents, audit the supervisors: tie every monitor and test to the real outcome rather than a proxy, alert on checks that stop reporting, and keep the agents' permissions and the final human decision anchored to the same objective.
arXiv preprint · OCT 06
Large BenchmarkAcross 32 LLMs in 7 families, newer releases write more secure code in absolute terms but no family closes the gap between functionally correct and secure code; the newest proprietary models regress on memory and integer weaknesses, and Gemini 3.1 Pro keeps a gap as wide as one previously reported for Llama.
Newer and Bigger, but Safer? A Longitudinal Study of the Functionality-Security Gap in LLM-Generated CodeWhat it means Re-run security checks on every model swap instead of assuming an upgrade is safer, don't assume proprietary means more secure, and put secure-API guidance in the model's context.
arXiv preprint · OCT 06
Case StudyAmong 114 open-source spec-driven-development repos, the top third by specification quality spent 11.8% of commits on bug fixes vs 20.4% for the bottom third, and had a median of 4x as many contributors (correlational).
The EPIC Framework for Spec-Driven DevelopmentWhat it means If you use spec-driven agent workflows, invest in the spec: explicit 'must' language, stated decisions and acceptance criteria. Spec quality correlates with fewer bug-fix commits, though contributor count likely confounds it.
arXiv preprint · OCT 06
Large BenchmarkCoding agents that produced functionally correct patches still violated 43.1% of applicable repository contribution policies, with nearly half of violations occurring during intermediate execution steps.
Correct Code, Broken Contributions? SWE-CC: Benchmarking Repository Policy Compliance for Coding AgentsWhat it means Encode repo contribution rules (style, git, test workflow) as deterministic checks the agent must pass, and audit agent process as well as the final diff; a green test suite does not make a patch mergeable.
arXiv preprint · OCT 05
Small BenchmarkPartitioning work scopes up front and ordering merges raised clean integration of parallel coding agents from 1/9 to 9/9 scenarios and cut merge conflicts from 13 to 0 in deterministic simulation; on a live breaking contract change clean integration rose from 0 to 1.0 (frontier model) and 0.6 (small model). The benefit did not shrink with stronger models across the two tiers and two vendors tested.
Verifying Coordination in Parallel Coding Agents: NP-Bench and a Scheduling PlannerWhat it means Running several agents on one repo? Assign disjoint scopes and a merge order before they start rather than relying on conflict warnings. Per-agent green tests don't mean the merged result works.
arXiv preprint · OCT 05
Controlled StudyAdding a checkable rule to a SKILL.md raised the rate at which four coding agents took the required action by +0.23 on average (+0.16 to +0.36) and, for three judged agents, final correctness by +0.10; the gain came mainly from rules naming a command or path, and agents kept about half (51%) of the action gain when the skill body loads on demand.
Agent Skill Evolution: How Revisions Affect Coding AgentsWhat it means Write context-file and skill rules as concrete commands and paths rather than general guidance, and keep critical rules in always-loaded files since on-demand skill loading loses roughly half the effect.
arXiv preprint · OCT 04
Large BenchmarkAttackers who revise code using an AI reviewer's own feedback get vulnerable code approved at 2.5x (Sonnet 5) and 12.5x (GPT-5.5) the success rate of the strongest evaluated text- or comment-based attack, over five-round interactions.
Adaptive Code Revision Attacks on AI Pull Request ReviewersWhat it means Don't let an AI reviewer be the sole approval gate on external contributions: keep exploit/SAST checks and a human sign-off independent of the reviewer's feedback loop, and consider withholding detailed reviewer feedback from untrusted authors.
arXiv preprint · OCT 04