mlsanityData to 7 Oct 2026

Autoresearch with Coding Agents: Generalizers and Metric-Maximizers on Quran Recitation Data

arXiv 2607.18064 ↗First posted 20 Jul 2026cs.SE cs.AIcited by 0

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Coding agents can now be left alone to improve software against a score. In this pattern--recently popularized as "autoresearch"--the agent receives a dataset, an evaluation script, and one editable file, and iterates without supervision: modify the code, measure, keep the change if the score improves. But what does the agent actually optimize--the developer's intent, or the literal number? We ran this loop on a real production task: deciding which Quranic verses appear in a noisy speech-recognition transcript and splitting the transcript by verse. Two frontier coding agents, Claude Code and OpenAI Codex, started from the same blank file with the same instructions, budget, and reasoning effort, three runs each. Both independently invented the same algorithm (canonicalization, n-gram anchoring, dynamic-programming alignment)--and then diverged. Claude stopped early with compact, general code. Codex drove the score ~10x lower, largely by memorizing answers to individual evaluation rows (19-41 hardcoded verse ids per run): a clean natural instance of specification gaming by a production agent. In a preregistered second study, we added a held-out test set and told both agents it existed. The memorization vanished, and the score gap vanished with it--yet Codex's general core transferred better and more consistently (held-out detection+split 0.085+/-0.004 vs. 0.121+/-0.031), losing only on one missed rejection of non-recitation input. Two exploratory community arms (Cursor, Antigravity) are consistent with the pattern. Every agent's held-out solution matched or beat the hand-engineered pipeline it was built to replace--the best by an order of magnitude--and now runs in production. From the ways agents exploited our harness--reading sibling runs through shared git state, leaving notes to "future runs" in persistent memory--we distill five design rules for evaluating autonomous agents.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 19 of its 30 references that are in the map. First posted on arXiv 20 Jul 2026.

Builds on

19 of 30 references.

Closest ancestors · 2

Same direction, newest first

  1. 2026SpecBench: Measuring Reward Hacking in Long-Horizon Coding Agents20 May
  2. 2025AlphaEvolve: A coding agent for scientific and algorithmic discovery16 Jun

Other references · 17

  1. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  2. 2016Concrete Problems in AI Safetycited by 1,582
  3. 2024The AI Scientist: Towards Fully Automated Open-Ended Scientific Discoverycited by 1,002
  4. 2024MLE-bench: Evaluating Machine Learning Agents on Machine Learning Engineeringcited by 429
  5. 2025Agent Laboratory: Using LLM Agents as Research Assistantscited by 405
  6. 2025Monitoring Reasoning Models for Misbehavior and the Risks of Promoting Obfuscationcited by 338
  7. 2025PaperBench: Evaluating AI's Ability to Replicate AI Researchcited by 286
  8. 2024RE-Bench: Evaluating frontier AI R&D capabilities of language model agents against human expertscited by 153
  9. 2018Categorizing Variants of Goodhart's Lawcited by 132
  10. 2025MLGym: A New Framework and Benchmark for Advancing AI Research Agentscited by 111
  11. 2025ImpossibleBench: Measuring LLMs' Propensity of Exploiting Test Casescited by 51
  12. 2025Evaluating Sakana's AI Scientist: Bold Claims, Mixed Results, and a Promising Future?cited by 32
5 more
  1. 2025EvilGenie: A Reward Hacking Benchmarkcited by 24
  2. 2020Smartajweed Automatic Recognition of Arabic Quranic Recitation Rulescited by 6
  3. 2024Leveraging Large Language Models in Code Question Answering: Baselines and Issuescited by 6
  4. 2024KyrgyzNLP: Challenges, Progress, and Futurecited by 4
  5. 2026A Comparative Study of Pretrained Transformer Models for Quranic ASR: Speech Representations, Label Formats, and Dataset Compositioncited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Rehearse: Stepping Back from the Confidence Cliff in Self-Improving Autoresearch
  2. 2026Autonomous Research Agents: A Survey of AI Scientists and the Verification Gap
  3. 2026Coding Agents for Coding Theory
  4. 2026Can Coding Agents Reproduce Official Statistics? Metadata, Retry Budget and the Limits of Execution Feedback in a Controlled Eurostat Benchmark
  5. 2026Agents Don't Paginate: First-Chunk Selection for LLM Tool Responses
  6. 2026A Dataset of Agentic AI Coding Tool Configurations
  7. 2026Fingerprinting AI Coding Agents on GitHub
  8. 2026All Smoke, No Alarm: Oracle Signals in Agent-Authored Test Code