Beyond Output Correctness: Benchmarking and Evaluating Large Language Model Reasoning in Coding Tasks
On the map: LLM reasoning → Reasoning for agents, planning and code
Abstract (arXiv)
Large language models (LLMs) increasingly rely on explicit reasoning to solve coding tasks, yet evaluating the quality of this reasoning remains challenging. Existing reasoning evaluators are not designed for coding, and current benchmarks focus primarily on code generation, leaving other coding tasks largely unexplored. We introduce CodeRQ-Bench, the first benchmark for evaluating LLM reasoning quality across three coding task categories: generation, summarization, and classification. Using this benchmark, we analyze 1,069 mismatch cases from existing evaluators, identify five recurring limitations, and derive four design insights for reasoning evaluation in coding tasks. Guided by these insights, we propose VERA, a two-stage evaluator that combines evidence-grounded verification with ambiguity-aware score correction. Experiments on CodeRQ-Bench show that VERA consistently outperforms strong baselines across four datasets, improving AUCROC by up to 0.26 and AUPRC by up to 0.21. We release CodeRQ-Bench at https://github.com/MrLYG/CodeRQ-Bench, supporting future investigations.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 23 of its 61 references that are in the map. First posted on arXiv 14 Apr 2026.
Builds on
23 of 61 references.
Closest ancestors · 4
Same direction, newest first
- 2025Are They All Good? Evaluating the Quality of CoTs in LLM-based Code Generation9 Jul
- 2025CoRe: Benchmarking LLMs Code Reasoning Capabilities through Static Analysis Tasks3 Jul
- 2024OpenAI o1 System Card21 Dec
- 2024CodeMind: Evaluating Large Language Models for Code Reasoning15 Feb
Other references · 19
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
- 2023Measuring Faithfulness in Chain-of-Thought Reasoningcited by 668
- 2024CRUXEval: A Benchmark for Code Reasoning, Understanding and Executioncited by 294
- 2022ROSCOE: A Suite of Metrics for Scoring Step-by-Step Reasoningcited by 175
- 2023ClassEval: A Manually-Crafted Benchmark for Evaluating LLMs on Class-level Code Generationcited by 166
- 2019Simple BERT Models for Relation Extraction and Semantic Role Labelingcited by 154
- 2025Competitive Programming with Large Reasoning Modelscited by 115
- 2023ReCEval: Evaluating Reasoning Chains via Correctness and Informativenesscited by 76
7 more
- 2024LLM Reasoners: New Evaluation, Library, and Analysis of Step-by-Step Reasoning with Large Language Modelscited by 70
- 2023A Survey on Large Language Models for Software Engineeringcited by 58
- 2024On the Hardness of Faithful Chain-of-Thought Reasoning in Large Language Modelscited by 42
- 2025Mitigating Hallucinations in Large Language Models via Causal Reasoningcited by 13
- 2025Understanding LLM Reasoning for Abstractive Summarizationcited by 12
- 2025What Defines Good Reasoning in LLMs? Dissecting Reasoning Steps with Multi-Aspect Evaluationcited by 10
- 2025Code Summarization Beyond Function Levelcited by 8
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2025CodeJudgeBench: Benchmarking LLM-as-a-Judge for Coding Tasks
- 2025CodeCriticBench: A Holistic Code Critique Benchmark for Large Language Models
- 2026CodeEval: A pedagogical approach for targeted evaluation of code-trained Large Language Models
- 2025rStar-Coder: Scaling Competitive Code Reasoning with a Large-Scale Verified Dataset
- 2025Cross-Task Benchmarking and Evaluation of General-Purpose and Code-Specific Large Language Models ↗
- 2025OckBench: Measuring the Efficiency of LLM Reasoning
- 2025Dynamic Benchmarking of Reasoning Capabilities in Code Large Language Models Under Data Contamination
- 2025Sample Smart, Not Hard: Correctness-First Decoding for Better Reasoning in LLMs