Reproduce “CoRe: Benchmarking LLMs Code Reasoning Capabilities through Static Analysis Tasks” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Danning Xie, Mingwei Zheng, Xuwei Liu, Jiannan Wang, Chengpeng Wang, Lin Tan, Xiangyu Zhang
Purdue University researchers introduce CORE (Code Reasoning), a human-verified, multi-lingual benchmark designed to evaluate Large Language Models' fundamental static analysis capabilities for code in C/C++, Java, and Python. The benchmark assesses data dependency, control dependency, and information flow, revealing that while models can identify dependencies, they struggle with generating accurate reasoning traces and enumerating all relevant sources, especially with increasing code complexity.
Key insights
- LLMs specifically engineered for reasoning (e.g., Gemini 2.5 Pro, GPT-o3) consistently and significantly outperform general models on static code analysis tasks.
- Models struggle notably with tasks requiring multi-step reasoning, such as generating valid dependency traces and enumerating all relevant dependency sources, with information flow being the most challenging.
- Performance degrades with increasing function length and control flow complexity; LLMs also exhibit a bias towards sequential reasoning, struggling with non-sequential or 'reverse' dependencies.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.