Research map / Large language models / Agents, code and math
DualGauge: Automated Joint Security-Functionality Benchmarking of Specification-Only Code Generation by LLMs and Coding Agents
Rupam Patir, Keyan Guo, Suvadra Barua, Abhijeet Pathak, Dinesh Gudimetla, Jiawei Guo, Hongxin Hu, Haipeng Cai
State University of New York at Buffalo
Read the paperPlace an idea next to itCheck your own paper ↗
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 changed | Where | Measured | Effect |
|---|---|---|---|
| measure joint security-functionality instead of functional correctness alone | strongest model gpt-5-medium · DualGauge Python | pass@1 vs secure-pass@1: 38.6 -> 14.8 | Hurt |
| add agentic loop (OpenHands) on top of GPT-5.4 | Codex (GPT-5.4) · DualGauge Python | secure-pass@1: 24.3 -> 9.5 | Hurt |
| use Claude Code (Opus 4.7) agent instead of direct Opus 4.7 generation | Claude Opus 4.7 · DualGauge Python | pass@1: 33.9 -> 21.7 | Hurt |
| use Codex agent (GPT-5.4) instead of direct gpt-5-medium | gpt-5-medium · DualGauge Python | secure-pass@1: 14.8 -> 24.3 | Improved |
| increase model scale | LLMs · DualGauge | secure coverage | No clear effect |
| enable extended thinking, quantization or code specialization | LLMs · DualGauge | functional and security metrics | Mixed |
| agent iteration on self-generated tests | OpenHands · Python problems where code was revised (15%) | gap to Codex: gap widened by up to 6 points on both axes | Hurt |
Open problems this paper states
- “LLM-based runtime evaluator can err on ambiguous traces, complex edge cases and unfamiliar libraries.” → Scores depend on an LLM judge that may not match human judgment. (an open problem in software engineering agents)
Open problems in software engineering agents
Do coding-agent results hold beyond Python, small benchmarks and LLM judges?
- Tested on Python or a few languages, so other languages are untested. · 20 papers state it
- Benchmarks are small, with only 100 to a few hundred tasks. · 14 papers state it
- Scores depend on an LLM judge that may not match human judgment. · 11 papers state it
Closest papers by meaning
- RealSec-bench: A Benchmark for Evaluating Secure Code Generation in Real-World Repositories (ACL 2026 · similarity 0.91)
- Benchmarking Correctness and Security in Multi-Turn Code Generation (EMNLP 2026 · similarity 0.90)
- DOMAINEVAL: An Auto-Constructed Benchmark for Multi-Domain Code Generation (AAAI 2025 · similarity 0.89)
- AlphaVerus: Bootstrapping Formally Verified Code Generation through Self-Improving Translation and Treefinement (ICML 2025 · similarity 0.88)
- BaxBench: Can LLMs Generate Correct and Secure Backends? (ICML 2025 · similarity 0.88)
- SEC-bench: Automated Benchmarking of LLM Agents on Real-World Software Security Tasks (NeurIPS 2025 · similarity 0.88)
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.