AI Paper Atlas

Research map / Large language models / Agents, code and math

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

Monoshi Kumar Roy, Simin Chen, Benjamin Steenhoek, Jinjun Peng, Gail Kaiser, Baishakhi Ray, Wei Le

ICLR 2026 · Large language models › Agents, code and math · approach: Code generation benchmarks · 17 citations (OpenAlex)

Read the paperCheck your idea against 137,217 papers

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
increase block size from 1 to 3 statements (ablation)LLMs on output prediction · CodeSense Python/C blocksaccuracyHurt
predict input from output instead of output from input (ablation)LLMs on function-level prediction · CodeSense functionsaccuracyHurt
add API definitions to the prompt for API-call statements (ablation)LLM prompting · CodeSense statement predictionaccuracyNo clear effect
add more few-shot examples to the prompt (ablation)LLM prompting · CodeSense statement and loop predictionaccuracyImproved
use shots relevant to the query (same statement type or same function) instead of random shots (ablation)LLM prompting · CodeSense statement and loop predictionaccuracyImproved
add simple chain-of-thought prompt (think step by step) (ablation)LLM prompting · CodeSense statement predictionaccuracyNo clear effect
add simple chain-of-thought prompt to loop property prediction (ablation)LLM prompting · CodeSense post-loop predictionaccuracyMixed
ask for abstract values with only a definition in a zero-shot prompt (ablation)LLM prompting · CodeSense approximation tasksaccuracyNo clear effect
add 3-shot examples with abstract outputs (ablation)LLM prompting · CodeSense approximation tasksaccuracyImproved
evaluate C instead of Java or Python for output prediction (ablation)LLMs · CodeSense input/output predictionaccuracyHurt
use reasoning models instead of non-reasoning models on statement prediction (ablation)LLMs · CodeSense statement-levelaccuracyNo clear effect

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy