scimeatlas

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

Benchmarking Correctness and Security in Multi-Turn Code Generation

Ruchit Rawal, Jeffrey Yang Fan Chiang, Chihao Shen, Jeffery Siyuan Tian, Aastha Mahajan, Tom Goldstein, Yizheng Chen

EMNLP 2026Large language models › Agents, code and mathapproach: Software engineering agentsopen problems in this approach

University of Maryland, College Park

Read the paperPlace an idea next to itCheck your own paper ↗

12measured effects
3improved
2no clear effect
7hurt

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
move from single-turn to multi-turn expansionGPT-5 with Aider · MT-SecC&S: 53.0 -> 25.7Hurt
move from single-turn to multi-turn expansionClaude Opus 4 (thinking) · MT-SecC&S: 51.9 -> 30.8Hurt
move from single-turn to multi-turn expansionDeepSeek-V3 · MT-SecC&S: 39.8 -> 26.1Hurt
replace first two turns with unrelated prompts (MT-Random) to match context length (ablation)O4 Mini (thinking) · MT-SecCodePLTC&S: 56.8 (single-turn) -> 58 (MT-Random); 38.7 in MT-ExpansionNo clear effect
add security policy in final turn (ablation)O4 Mini (thinking) · MT-SecCodePLT expansionC&S: 30.6 -> 35.5Improved
add security policy in final turn (ablation)O3 (thinking) · MT-SecCodePLT expansionC&S: 31.0 -> 34.8Improved
add security policy in system prompt (ablation)DeepSeek-V3 · MT-SecCodePLT expansionC&S: 26.0 -> 24.1Hurt
add security policy in every turn instead of final turn (ablation)O3 (thinking) · MT-SecCodePLT expansionC&S: 34.8 -> 33.1Hurt
add security policy in multi-turn prompts (any position) (ablation)multi-turn models · MT-SecCodePLT expansionC&S vs single-turn no policy: best MT 35.5 vs ST 49.4 (O4 Mini)No clear effect
generate code diffs in turns 2 and 3 instead of full code (ablation)O4 Mini (thinking) · MT-SecCodePLT editingC&S: 48.1 -> 37.7Hurt
generate code diffs in turns 2 and 3 instead of full code (ablation)Qwen-2.5 Coder 32B · MT-SecCodePLT editingC&S: 42.9 -> 22.6Hurt
use thinking variant instead of non-thinkingClaude 3.7 Sonnet · MT-SecMT-average C&S: 35.4 -> 38.0Improved

Open problems in software engineering agents

Do coding-agent results hold beyond Python, small benchmarks and LLM judges?

All 5 open problems and what was already tried →

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