DuET: Dual Execution for Test Output Prediction with Generated Code and Pseudocode
Electronics and Telecommunications Research Institute · Seoul National University · LG AI Research · LG Corporation and University of Illinois, Chicago
PDF 由论文原始站点提供,PaperCompass 不保存论文文件。
摘要
This work addresses test output prediction, a key challenge in test case generation. To improve the reliability of predicted outputs by LLMs, prior approaches generate code first to ground predictions. One grounding strategy is direct execution of generated code, but even minor errors can cause failures. To address this, we introduce LLM-based pseudocode execution, which grounds prediction on more error-resilient pseudocode and simulates execution via LLM reasoning. We further propose DUET, a dual-execution framework that combines both approaches by functional majority voting. Our analysis shows the two approaches are complementary in overcoming the limitations of direct execution suffering from code errors, and pseudocode reasoning from hallucination. On LiveCodeBench, DUET achieves the state-of-the-art performance, improving Pass@1 by 13.6 pp. For filtering candidates in code generation, DUET shows the best Pass@1 on LiveCodeBenchEasy, BigCodeBench-Hard, DevEval and HumanEval(+).
论文信息
- 会议
- ACL 2026
- 年份
- 2026
- DOI
- 10.18653/v1/2026.findings-acl.2144