Beyond Output Correctness: Benchmarking and Evaluating Large Language Model Reasoning in Coding Tasks

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Li, Yuangang, Chen, Justin Tian Jin, Yu, Ethan, Hong, David, Ahmed, Iftekhar
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917406363877376
author Li, Yuangang
Chen, Justin Tian Jin
Yu, Ethan
Hong, David
Ahmed, Iftekhar
author_facet Li, Yuangang
Chen, Justin Tian Jin
Yu, Ethan
Hong, David
Ahmed, Iftekhar
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2604_12379
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Beyond Output Correctness: Benchmarking and Evaluating Large Language Model Reasoning in Coding Tasks
Li, Yuangang
Chen, Justin Tian Jin
Yu, Ethan
Hong, David
Ahmed, Iftekhar
Software Engineering
Artificial Intelligence
Machine Learning
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.
title Beyond Output Correctness: Benchmarking and Evaluating Large Language Model Reasoning in Coding Tasks
topic Software Engineering
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2604.12379