SCATE: Learning to Supervise Coding Agents for Cost-Effective Test Generation
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
While autonomous coding agents have significantly advanced automated test generation, they remain fundamentally limited by lazy generation, a phenomenon where agents prematurely terminate tasks and systematically avoid complex programmatic logic, resulting in inadequate code coverage. Currently, mitigating this premature termination requires continuous human-in-the-loop supervision. This heavy reliance on human intuition creates a bottleneck that negates the efficiency gains of automated generation. We propose SCATE, a framework for adaptive, automated supervision of coding agents that replaces human intervention during test generation. By formulating supervision as a contextual bandit problem, SCATE learns to select the most promising testing actions based on the current coverage and class testability metrics, maximizing coverage gains while minimizing wasted generation effort. Our empirical evaluation demonstrates that SCATE integrates seamlessly with different coding agents. When applied to GEMINI-CLI, it achieves 32.3% higher line coverage and 30.9% higher branch coverage than the agent-only baseline. A comparison with CLAUDE CODE confirms the framework dynamically adapts its policy to optimize each agent's unique strengths. SCATE also consistently outperforms state-of-the-art non-agentic approaches across all metrics.
Key facts. Cited by 1 paper in the map (data through 13 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 29 of its 57 references that are in the map. First posted on arXiv 9 Jul 2026.
Builds on
29 of 57 references.
Closest ancestors · 1
Same direction, newest first
- 2026Can Coding Agents Be General Agents?10 Apr
Other references · 28
- 2023An Empirical Evaluation of Using Large Language Models for Automated Unit Test Generationcited by 194
- 2020Unit Test Case Generation with Transformers and Focal Contextcited by 118
- 2022Large Language Models are Few-shot Testers: Exploring LLM-based General Bug Reproductioncited by 110
- 2023ChatUniTest: A Framework for LLM-Based Test Generationcited by 95
- 2023No More Manual Tests? Evaluating and Improving ChatGPT for Unit Test Generationcited by 82
- 2024Automated Unit Test Improvement using Large Language Models at Metacited by 73
- 2024Code-Aware Prompting: A study of Coverage Guided Test Generation in Regression Setting using LLMcited by 64
- 2025MixLLM: Dynamic Routing in Mixed Large Language Modelscited by 57
- 2023Using Large Language Models to Generate JUnit Tests: An Empirical Studycited by 53
- 2022Pynguin: Automated Unit Test Generation for Pythoncited by 49
- 2020On Learning Meaningful Assert Statements for Unit Test Casescited by 42
- 2024MetaLLM: A High-performant and Cost-efficient Dynamic Framework for Wrapping LLMscited by 41
16 more
- 2024TESTEVAL: Benchmarking Large Language Models for Test Case Generationcited by 38
- 2024HITS: High-coverage LLM-based Unit Test Generation via Method Slicingcited by 38
- 2024CoverUp: Effective High Coverage Test Generation for Pythoncited by 37
- 2024On the Evaluation of Large Language Models in Unit Test Generationcited by 34
- 2025LLM Bandit: Cost-Efficient LLM Generation via Preference-Conditioned Dynamic Routingcited by 33
- 2020Generating Accurate Assert Statements for Unit Test Cases using Pretrained Transformerscited by 30
- 2020Automated Unit Test Generation for Pythoncited by 18
- 2024A Large-scale Empirical Study on Fine-tuning Large Language Models for Unit Testingcited by 15
- 2024Leveraging Large Language Models for Enhancing the Understandability of Generated Unit Testscited by 11
- 2025Stop Wasting Your Tokens: Towards Efficient Runtime Multi-Agent Systemscited by 11
- 2024ASTER: Natural and Multi-language Unit Test Generation with LLMscited by 9
- 2025LLM Test Generation via Iterative Hybrid Program Analysiscited by 9
- 2018A survey on software testabilitycited by 6
- 2025Mutation-Guided Unit Test Generation with a Large Language Modelcited by 6
- 2022Reinforcement Learning in Practice: Opportunities and Challengescited by 5
- 2025Navigating the Labyrinth: Path-Sensitive Unit Test Generation with Large Language Modelscited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026Grounding AI Agents in Contracts: An Empirical Evaluation of Spec-Driven Test Generation
- 2026SWE-Duel: Towards a Self-Scaling Arena for Coding Agents
- 2026Teaching Agents to Code Reliably
- 2026GTDD: Generative Test-Driven Development for AI Coding Agents with Adversarial Testing
- 2026EvoCode-Bench: Evaluating Coding Agents in Multi-Turn Iterative Interactions
- 2026Scaling Agentic Verifier for Competitive Coding
- 2026Inside the Scaffold: A Source-Code Taxonomy of Coding Agent Architectures
- 2026ExecCritic: Learn to Test, Test to Improve for Coding Agents