Research map / Large language models / Agents, code and math
MuCoCo: Automated Consistency Testing of Code LLMs
Chua Jin Chou, Khant That Lwin, Ezekiel Soremekun
Singapore University of Technology and Design · Royal Holloway University of London
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use MuCoCo semantic-preserving mutations instead of Turbulence parameter instantiation | consistency testing · Turbulence dataset, all tasks | consistency error rate: 33.8 -> 41.39 | Improved |
| use MuCoCo instead of Turbulence for test generation | consistency testing · Turbulence dataset, all tasks | # consistency errors: 279,241 -> 1,781,288 | Improved |
| MuCoCo vs Turbulence on code generation error rate | consistency testing · Turbulence dataset, code generation | consistency error rate: 7.46 -> 5.80 | Hurt |
| use a reasoning model (GPT-5) instead of non-reasoning LLMs | LLMs under test · all MuCoCo settings | inconsistency rate: 2.92% (GPT-5) vs 21.22% (LLaMA-3.1) | Improved |
| apply lexical mutations instead of syntactic (ablation) | MuCoCo · all models and datasets | inconsistency rate: 11.59 -> 16.28 | Hurt |
| apply logical mutations instead of syntactic (ablation) | MuCoCo · all models and datasets | inconsistency rate: 11.59 -> 13.91 | Hurt |
| move from input prediction to code generation tasks (ablation) | MuCoCo · task type | inconsistency rate: 6.65 -> 27.15 | Hurt |
| use two mutations instead of a single mutation (ablation) | MuCoCo · additional experiment | inconsistency rate: +5.81% | Hurt |
| raise model confidence threshold (ablation) | open-weight LLMs · additional experiment | inconsistency rate: 8.03% -> 1.89% | Improved |
| use ensemble of models (ablation) | LLMs under test · additional experiment | inconsistency rate: 14.82% -> 2.94% | Improved |
| use logical mutations (commutative reordering, constant unfolding) (ablation) | MuCoCo · model accuracy | accuracy | Hurt |
Open problems this paper states
- “Evaluated only on Python programs, so it may not directly apply to other programming languages.” → Evaluated on Python or one other language only. (an open problem in execution-based code verification)
- “Syntactic mutations depend on the programming language and may require redesign for other languages.” → Evaluated on Python or one other language only. (an open problem in execution-based code verification)
Open problems in execution-based code verification
Can execution-based code verification be trusted beyond Python, small benchmarks and the tests it relies on?
- Evaluated on Python or one other language only. · 17 papers state it
- Only a few models were tested, and larger ones were left out. · 16 papers state it
- Passing the tests does not show the code is correct. · 15 papers state it
Closest papers by meaning
- Beyond Accuracy: Evaluating Self-Consistency of Code Large Language Models with IdentityChain (ICLR 2024 · similarity 0.86)
- CoRe: Benchmarking LLMs’ Code Reasoning Capabilities through Static Analysis Tasks (NeurIPS 2025 · similarity 0.85)
- Unsupervised Evaluation of Code LLMs with Round-Trip Correctness (ICML 2024 · similarity 0.85)
- How efficient is LLM-generated code? A rigorous & high-standard benchmark (ICLR 2025 · similarity 0.85)
- CodeHalu: Investigating Code Hallucinations in LLMs via Execution-based Verification (AAAI 2025 · similarity 0.85)
- CodeSync: Synchronizing Large Language Models with Dynamic Code Evolution at Scale (ICML 2025 · similarity 0.85)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.