paper-with-me

Papers

CodeSense: a Real-World Benchmark and Dataset for Code Semantic Reasoning

2025-05-31 · Monoshi Kumar Roy, Simin Chen, Benjamin Steenhoek, Jinjun Peng, Gail Kaiser, Baishakhi Ray, Wei Le

Understanding and reasoning about code semantics is essential for enhancing code LLMs' abilities to solve real-world software engineering (SE) tasks. Although several code reasoning benchmarks exist, most rely on synthetic datasets or educational coding problems and focus on coarse-grained reasoning tasks such as input/output prediction, limiting their effectiveness in evaluating LLMs in practical SE contexts. To bridge this gap, we propose CodeSense, the first benchmark that makes available a spectrum of fine-grained code reasoning tasks concerned with the software engineering of real-world code. We collected Python, C and Java software projects from real-world repositories. We executed tests from these repositories, collected their execution traces, and constructed a ground truth dataset for fine-grained semantic reasoning tasks. We then performed comprehensive evaluations on state-of-the-art LLMs. Our results show a clear performance gap for the models to handle fine-grained reasoning tasks. Although prompting techniques such as chain-of-thought and in-context learning helped, the lack of code semantics in LLMs fundamentally limit models' capabilities of code reasoning. Besides dataset, benchmark and evaluation, our work produced an execution tracing framework and tool set that make it easy to collect ground truth for fine-grained SE reasoning tasks, offering a strong basis for future benchmark construction and model post training. Our code and data are located at https://codesense-bench.github.io/.

📄 PDF Abstract BibTeX arXiv:2506.00750

Code (0)

등록된 구현이 없습니다.

Tasks

In-Context Learning

Methods 이 논문이 사용한 방법론

Focus 설명 없음
SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

A Large-scale Class-level Benchmark Dataset for Code Generation with LLMs

2025-04-22 · Musfiqur Rahman, SayedHassan Khatoonabadi, Emad Shihab

Recent advancements in large language models (LLMs) have demonstrated promising capabilities in code generation tasks. However, most existing benchmarks focus on isolated functions and fail to capture the complexity of r…

BenchmarkingClass-level Code GenerationCode Generation

"Newspaper Eat" Means "Not Tasty": A Taxonomy and Benchmark for Coded Language in Real-World Chinese Online Reviews

2026-01-12 · Ruyuan Wan, Changye Li, Ting-Hao 'Kenneth' Huang arxiv

Coded language is an important part of human communication. It refers to cases where users intentionally encode meaning so that the surface text differs from the intended meaning and must be decoded to be understood. Cur…

ORBIT: A Real-World Few-Shot Dataset for Teachable Object Recognition

2021-04-08 · ICCV 2021 10 · Daniela Massiceti, Luisa Zintgraf, John Bronskill, Lida Theodorou 외

Object recognition has made great advances in the last decade, but predominately still relies on many high-quality training examples per object category. In contrast, learning new objects from only a few examples could e…

Few-Shot Image ClassificationFew-Shot LearningObjectObject Recognition

EvoCodeBench: An Evolving Code Generation Benchmark Aligned with Real-World Code Repositories

2024-03-31 · Jia Li, Ge Li, Xuanming Zhang, Yihong Dong 외

How to evaluate Large Language Models (LLMs) in code generation is an open question. Existing benchmarks demonstrate poor alignment with real-world code repositories and are insufficient to evaluate the coding abilities …

Code Generation

Do Text-to-Vis Benchmarks Test Real Use of Visualisations?

2024-07-29 · Hy Nguyen, Xuefei He, Andrew Reeson, Cecile Paris 외

Large language models are able to generate code for visualisations in response to simple user requests. This is a useful application and an appealing one for NLP research because plots of data provide grounding for langu…