CRQBench: A Benchmark of Code Reasoning Questions

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Dinella, Elizabeth, Chandra, Satish, Maniatis, Petros
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866916359546339328
author Dinella, Elizabeth
Chandra, Satish
Maniatis, Petros
author_facet Dinella, Elizabeth
Chandra, Satish
Maniatis, Petros
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2408_08453
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle CRQBench: A Benchmark of Code Reasoning Questions
Dinella, Elizabeth
Chandra, Satish
Maniatis, Petros
Software Engineering
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.
title CRQBench: A Benchmark of Code Reasoning Questions
topic Software Engineering
url https://arxiv.org/abs/2408.08453