Mutation-Guided LLM-based Test Generation at Meta
Not on the map. Why?
Abstract (arXiv)
This paper describes Meta's ACH system for mutation-guided LLM-based test generation. ACH generates relatively few mutants (aka simulated faults), compared to traditional mutation testing. Instead, it focuses on generating currently undetected faults that are specific to an issue of concern. From these currently uncaught faults, ACH generates tests that can catch them, thereby `killing' the mutants and consequently hardening the platform against regressions. We use privacy concerns to illustrate our approach, but ACH can harden code against em any type of regression. In total, ACH was applied to 10,795 Android Kotlin classes in 7 software platforms deployed by Meta, from which it generated 9,095 mutants and 571 privacy-hardening test cases. ACH also deploys an LLM-based equivalent mutant detection agent that achieves a precision of 0.79 and a recall of 0.47 (rising to 0.95 and 0.96 with simple pre-processing). ACH was used by Messenger and WhatsApp test-a-thons where engineers accepted 73% of its tests, judging 36% to privacy relevant. We conclude that ACH hardens code against specific concerns and that, even when its tests do not directly tackle the specific concern, engineers find them useful for their other benefits.
Key facts. Cited by 23 papers in the map (data through 7 Oct 2026). Builds on 16 of its 66 references that are in the map. First posted on arXiv 22 Jan 2025.
Builds on
16 of 66 references.
References · 16
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2024A Survey on LLM-as-a-Judgecited by 1,384
- 2023An Empirical Evaluation of Using Large Language Models for Automated Unit Test Generationcited by 193
- 2023Large Language Models for Software Engineering: Survey and Open Problemscited by 178
- 2023Software Testing with Large Language Models: Survey, Landscape, and Visioncited by 163
- 2023ChatUniTest: A Framework for LLM-Based Test Generationcited by 94
- 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 63
- 2024LLMorpheus: Mutation Testing using Large Language Modelscited by 8
- 2023Perfect is the enemy of test oraclecited by 6
- 2024Mutation-based Consistency Testing for Evaluating the Code Understanding Capability of LLMscited by 6
- 2024Large Language Models for Equivalent Mutant Detection: How Far Are We?cited by 6
4 more
- 2024Observation-based unit test generation at Metacited by 5
- 2024Finding Missed Code Size Optimizations in Compilers using LLMscited by 5
- 2021Practical Mutation Testing at Scalecited by 3
- 2022Keeping Mutation Test Suites Consistent and Relevant with Long-Standing Mutantscited by 1
Built on by
Citing papers per year: 2025: 8; 2026: 15.
23 papers.
Sort:
By area:
- 2025Hallucination Detection in Large Language Models with Metamorphic Relationscited by 24
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 13
- 2025Learning to Generate Unit Test via Adversarial Reinforcement Learningcited by 11
- 2026Test vs Mutant: Adversarial LLM Agents for Robust Unit Test Generationcited by 6
- 2026Are Coding Agents Generating Over-Mocked Tests? An Empirical Studycited by 5
- 2025AI-Driven Tools in Modern Software Quality Assurance: An Assessment of Benefits, Challenges, and Future Directionscited by 3
- 2025EvoGPT: Leveraging LLM-Driven Seed Diversity to Improve Search-Based Test Suite Generationcited by 2
- 2025textttReMind: Understanding Deductive Code Reasoning in LLMscited by 2
- 2026RM -RF: Reward Model for Run-Free Unit Test Evaluationcited by 2
- 2025Harden and Catch for Just-in-Time Assured LLM-Based Software Testing: Open Research Challengescited by 1
- 2025A Blueprint for AI-Driven Software Quality: Integrating LLMs with Established Standardscited by 1
- 2026Just-in-Time Catching Test Generation at Metacited by 1
11 more
- 2026Are Performance-Optimization Benchmarks Reliably Measuring Coding Agents?cited by 1
- 2026Inside the Skill Market: From Software Engineering Activities to Reusable Agent Skillscited by 1
- 2026Groundability, Not Scale Alone: When Weak Reviewers Can Audit Strong Coding Agentscited by 1
- 2026Multi-Agent Coordinated Rename Refactoringcited by 0
- 2026LLMs taking shortcuts in test generation: A study with SAP HANA and LevelDBcited by 0
- 2026Program Structure-aware Language Models: Targeted Software Testing beyond Textual Semanticscited by 0
- 2026PBT-Bench: Benchmarking AI Agents on Property-Based Testingcited by 0
- 2026MuMuTestUp: Mutation-based Multi-Agent Test Case Updatecited by 0
- 2026Automated Vulnerability Injection in Smart Contracts Using Large Language Modelscited by 0
- 2026VibeCheck: Assessing the Quality of LLM-Generated Unit Tests: A Multi-agent Empirical Study across Heterogeneous Repositoriescited by 0
- 2026Measuring the Checker: Mutation Analysis for GPU-Kernel Benchmark Oraclescited by 0
- 2026Groundability, Not Scale Alone: When Weak Reviewers Can Audit Strong Coding Agents1 Oct 2026
- 2026VibeCheck: Assessing the Quality of LLM-Generated Unit Tests: A Multi-agent Empirical Study across Heterogeneous Repositories5 Sep 2026
- 2026Measuring the Checker: Mutation Analysis for GPU-Kernel Benchmark Oracles2 Sep 2026
- 2026Automated Vulnerability Injection in Smart Contracts Using Large Language Models2 Sep 2026
- 2026Inside the Skill Market: From Software Engineering Activities to Reusable Agent Skills10 Jul 2026
- 2026Are Performance-Optimization Benchmarks Reliably Measuring Coding Agents?1 Jul 2026
- 2026MuMuTestUp: Mutation-based Multi-Agent Test Case Update19 May 2026
- 2026PBT-Bench: Benchmarking AI Agents on Property-Based Testing13 May 2026
- 2026Program Structure-aware Language Models: Targeted Software Testing beyond Textual Semantics20 Apr 2026
- 2026LLMs taking shortcuts in test generation: A study with SAP HANA and LevelDB15 Apr 2026
- 2026Test vs Mutant: Adversarial LLM Agents for Robust Unit Test Generation8 Feb 2026
- 2026Are Coding Agents Generating Over-Mocked Tests? An Empirical Study30 Jan 2026
11 more
- 2026Just-in-Time Catching Test Generation at Meta30 Jan 2026
- 2026RM -RF: Reward Model for Run-Free Unit Test Evaluation19 Jan 2026
- 2026Multi-Agent Coordinated Rename Refactoring1 Jan 2026
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025textttReMind: Understanding Deductive Code Reasoning in LLMs1 Nov 2025
- 2025Learning to Generate Unit Test via Adversarial Reinforcement Learning28 Aug 2025
- 2025AI-Driven Tools in Modern Software Quality Assurance: An Assessment of Benefits, Challenges, and Future Directions19 Jun 2025
- 2025A Blueprint for AI-Driven Software Quality: Integrating LLMs with Established Standards19 May 2025
- 2025EvoGPT: Leveraging LLM-Driven Seed Diversity to Improve Search-Based Test Suite Generation18 May 2025
- 2025Harden and Catch for Just-in-Time Assured LLM-Based Software Testing: Open Research Challenges23 Apr 2025
- 2025Hallucination Detection in Large Language Models with Metamorphic Relations20 Feb 2025
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 13
- 2026Test vs Mutant: Adversarial LLM Agents for Robust Unit Test Generationcited by 6
- 2026Are Coding Agents Generating Over-Mocked Tests? An Empirical Studycited by 5
- 2026Are Performance-Optimization Benchmarks Reliably Measuring Coding Agents?cited by 1
- 2026Groundability, Not Scale Alone: When Weak Reviewers Can Audit Strong Coding Agentscited by 1
- 2026Multi-Agent Coordinated Rename Refactoringcited by 0
- 2026PBT-Bench: Benchmarking AI Agents on Property-Based Testingcited by 0
- 2026MuMuTestUp: Mutation-based Multi-Agent Test Case Updatecited by 0
- 2026VibeCheck: Assessing the Quality of LLM-Generated Unit Tests: A Multi-agent Empirical Study across Heterogeneous Repositoriescited by 0
- 2026Groundability, Not Scale Alone: When Weak Reviewers Can Audit Strong Coding Agents1 Oct 2026
- 2026VibeCheck: Assessing the Quality of LLM-Generated Unit Tests: A Multi-agent Empirical Study across Heterogeneous Repositories5 Sep 2026
- 2026Are Performance-Optimization Benchmarks Reliably Measuring Coding Agents?1 Jul 2026
- 2026MuMuTestUp: Mutation-based Multi-Agent Test Case Update19 May 2026
- 2026PBT-Bench: Benchmarking AI Agents on Property-Based Testing13 May 2026
- 2026Test vs Mutant: Adversarial LLM Agents for Robust Unit Test Generation8 Feb 2026
- 2026Are Coding Agents Generating Over-Mocked Tests? An Empirical Study30 Jan 2026
- 2026Multi-Agent Coordinated Rename Refactoring1 Jan 2026
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025Hallucination Detection in Large Language Models with Metamorphic Relationscited by 24
- 2025Learning to Generate Unit Test via Adversarial Reinforcement Learningcited by 11
- 2025AI-Driven Tools in Modern Software Quality Assurance: An Assessment of Benefits, Challenges, and Future Directionscited by 3
- 2025EvoGPT: Leveraging LLM-Driven Seed Diversity to Improve Search-Based Test Suite Generationcited by 2
- 2026RM -RF: Reward Model for Run-Free Unit Test Evaluationcited by 2
- 2025Harden and Catch for Just-in-Time Assured LLM-Based Software Testing: Open Research Challengescited by 1
- 2025A Blueprint for AI-Driven Software Quality: Integrating LLMs with Established Standardscited by 1
- 2026Just-in-Time Catching Test Generation at Metacited by 1
- 2026Inside the Skill Market: From Software Engineering Activities to Reusable Agent Skillscited by 1
- 2026LLMs taking shortcuts in test generation: A study with SAP HANA and LevelDBcited by 0
- 2026Program Structure-aware Language Models: Targeted Software Testing beyond Textual Semanticscited by 0
- 2026Automated Vulnerability Injection in Smart Contracts Using Large Language Modelscited by 0
12 most cited of 13 All 13 (JSON)
- 2026Measuring the Checker: Mutation Analysis for GPU-Kernel Benchmark Oracles2 Sep 2026
- 2026Automated Vulnerability Injection in Smart Contracts Using Large Language Models2 Sep 2026
- 2026Inside the Skill Market: From Software Engineering Activities to Reusable Agent Skills10 Jul 2026
- 2026Program Structure-aware Language Models: Targeted Software Testing beyond Textual Semantics20 Apr 2026
- 2026LLMs taking shortcuts in test generation: A study with SAP HANA and LevelDB15 Apr 2026
- 2026Just-in-Time Catching Test Generation at Meta30 Jan 2026
- 2026RM -RF: Reward Model for Run-Free Unit Test Evaluation19 Jan 2026
- 2025Learning to Generate Unit Test via Adversarial Reinforcement Learning28 Aug 2025
- 2025AI-Driven Tools in Modern Software Quality Assurance: An Assessment of Benefits, Challenges, and Future Directions19 Jun 2025
- 2025A Blueprint for AI-Driven Software Quality: Integrating LLMs with Established Standards19 May 2025
- 2025EvoGPT: Leveraging LLM-Driven Seed Diversity to Improve Search-Based Test Suite Generation18 May 2025
- 2025Harden and Catch for Just-in-Time Assured LLM-Based Software Testing: Open Research Challenges23 Apr 2025
12 newest of 13 All 13 (JSON)