Are LLMs Reliable Code Reviewers? Systematic Overcorrection in Requirement Conformance Judgement
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) have become essential tools in software development, widely used for requirements engineering, code generation and review tasks. Software engineers often rely on LLMs to verify if code implementation satisfy task requirements, thereby ensuring code robustness and accuracy. However, it remains unclear whether LLMs can reliably determine code against the given task descriptions, which is usually in a form of natural language specifications. In this paper, we uncover a systematic failure of LLMs in matching code to natural language requirements. Specifically, with widely adopted benchmarks and unified prompts design, we demonstrate that LLMs frequently misclassify correct code implementation as non-compliant or defective. Surprisingly, we find that more detailed prompt design, particularly with those requiring explanations and proposed corrections, leads to higher misjudgment rates, highlighting critical reliability issues for LLM-based code assistants. We further analyze the mechanisms driving these failures and evaluate the reliability of rationale-required judgments. Building on these findings, we propose a Fix-guided Verification Filter that treats the model proposed fix as executable counterfactual evidence, and validates the original and revised implementations using benchmark tests and spec-constrained augmented tests. Our results expose previously under-explored limitations in LLM-based code review capabilities, and provide practical guidance for integrating LLM-based reviewers with safeguards in automated review and development pipelines.
Key facts. Cited by 4 papers in the map (data through 13 Oct 2026). Builds on 51 of its 63 references that are in the map. First posted on arXiv 28 Feb 2026.
Builds on
51 of 63 references.
References · 51
- 2023GPT-4 Technical Reportcited by 18,278
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,376
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,502
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,492
- 2021Evaluating Large Language Models Trained on Codecited by 8,205
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,657
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,348
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,156
- 2021Program Synthesis with Large Language Modelscited by 3,573
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,367
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,274
- 2023Code Llama: Open Foundation Models for Codecited by 2,130
38 more
- 2022Survey of Hallucination in Natural Language Generationcited by 2,068
- 2022Competition-Level Code Generation with AlphaCodecited by 1,445
- 2024A Survey on LLM-as-a-Judgecited by 1,399
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,362
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,304
- 2024Chatbot Arena: An Open Platform for Evaluating LLMs by Human Preferencecited by 1,163
- 2023Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Promptingcited by 1,101
- 2022Red Teaming Language Models with Language Modelscited by 1,014
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 905
- 2021Measuring Coding Challenge Competence With APPScited by 891
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 884
- 2023Measuring Faithfulness in Chain-of-Thought Reasoningcited by 689
- 2024LLM Evaluators Recognize and Favor Their Own Generationscited by 664
- 2023A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPTcited by 616
- 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 609
- 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 497
- 2021Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributionscited by 427
- 2022A Systematic Evaluation of Large Language Models of Codecited by 362
- 2023JudgeLM: Fine-tuned Large Language Models are Scalable Judgescited by 359
- 2023PromptRobust: Towards Evaluating the Robustness of Large Language Models on Adversarial Promptscited by 224
- 2023OctoPack: Instruction Tuning Code Large Language Modelscited by 184
- 2023Navigate through Enigmatic Labyrinth A Survey of Chain of Thought Reasoning: Advances, Frontiers and Futurecited by 184
- 2024Who Validates the Validators? Aligning LLM-Assisted Evaluation of LLM Outputs with Human Preferencescited by 143
- 2022MultiPL-E: A Scalable and Extensible Approach to Benchmarking Neural Code Generationcited by 135
- 2024Graph Chain-of-Thought: Augmenting Large Language Models by Reasoning on Graphscited by 117
- 2024Making Reasoning Matter: Measuring and Improving Faithfulness of Chain-of-Thought Reasoningcited by 109
- 2024A Survey on LLM-based Code Generation for Low-Resource and Domain-Specific Programming Languagescited by 66
- 2023Towards Better Chain-of-Thought Prompting Strategies: A Surveycited by 62
- 2024CodeUltraFeedback: An LLM-as-a-Judge Dataset for Aligning Large Language Models to Coding Preferencescited by 56
- 2025Large Language Models Hallucination: A Comprehensive Surveycited by 49
- 2024CodeJudge: Evaluating Code Generation with Large Language Modelscited by 42
- 2025MCTS-Judge: Test-Time Scaling in LLM-as-a-Judge for Code Correctness Evaluationcited by 32
- 2024Evaluating Human-AI Collaboration: A Review and Methodological Frameworkcited by 25
- 2024ThinkRepair: Self-Directed Automated Program Repaircited by 23
- 2024AI-powered Code Review with LLMs: Early Resultscited by 22
- 2018A Comprehensive Study of Automatic Program Repair on the QuixBugs Benchmarkcited by 18
- 2024Exploring LLMs for Verifying Technical System Specifications Against Requirementscited by 7
- 2025Do Chains-of-Thoughts of Large Language Models Suffer from Hallucinations, Cognitive Biases, or Phobias in Bayesian Reasoning?cited by 4
50 most cited of 51 All 51 (JSON)
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026SlopCodeBench: Benchmarking How Coding Agents Degrade Over Long-Horizon Iterative Taskscited by 26
- 2026Cross-Model LLM Code Review: Should you use Claude to review Codex or vice versa?cited by 3
- 2026Simulation Code Generation for Fluid Systems using Large Language Models: Benchmarking Models and Prompting Strategiescited by 1
- 2026Prior Audit-Repair Context Shifts LLM Verifier Thresholds Toward Leniencycited by 0
- 2026Prior Audit-Repair Context Shifts LLM Verifier Thresholds Toward Leniency17 Aug 2026
- 2026Simulation Code Generation for Fluid Systems using Large Language Models: Benchmarking Models and Prompting Strategies31 Jul 2026
- 2026Cross-Model LLM Code Review: Should you use Claude to review Codex or vice versa?22 Jul 2026
- 2026SlopCodeBench: Benchmarking How Coding Agents Degrade Over Long-Horizon Iterative Tasks25 Mar 2026