CRQBench: A Benchmark of Code Reasoning Questions
<|reference_start|>CRQBench: A Benchmark of Code Reasoning Questions: Large Language Models have demonstrated exceptional proficiency on coding tasks, but it is challenging to precisely evaluate their code reasoning ability. Existing benchmarks are insufficient as they are unrealistic and conflate semantic reasoning ability with performance on software engineering tasks. We introduce CRQBench, a benchmark of 100 C++ code reasoning questions and answers derived from contextualized code review comments. To curate CRQBench, we use an LLM assistant alongside human inspection, reducing manual effort. We conduct an evaluation of GPT-4 on CRQBench and find that it produces correct responses grounded in the given context for 65 of the 100 questions.<|reference_end|>
@article{dinella2024crqbench:,
    title={CRQBench: A Benchmark of Code Reasoning Questions},
    author={Elizabeth Dinella, Satish Chandra, and Petros Maniatis},
    journal={arXiv preprint arXiv:2408.08453},
    year={2024},
    archivePrefix={arXiv},
    eprint={2408.08453},
    primaryClass={cs.SE}
}