Execution-Guided Code Generation

Overview

Execution-guided code generation uses evidence from running programs—such as test results, compiler errors, runtime traces, and rendered outputs—to help language models produce and repair code. Common approaches iteratively revise a candidate, generate or refine tests, select among candidates by comparing behavior, or train models with execution-based rewards and step-level feedback. These methods are evaluated on settings ranging from programming benchmarks such as HumanEval, MBPP, and LiveCodeBench to repository tasks, database queries, and generated interfaces. A key tension is that execution feedback can catch syntax and runtime failures but may be noisy, costly, or misleading when tests are incomplete or the model and verifier share a mistaken assumption.

Latest papers

CardsList

67 papers8 papers in the last four weeks, up 100% on the four weeks before. 0.0% of all new papers.

  1. Secure and Functional Code Generation with Self-Evaluation

    Oct 24, 2026Md Afif Al Mamun, Gias UddinSecure Code GenerationRetrieval-Augmented Code Generation

  2. Secure Agentic Coding through Counterexample-Grounded Feedback

    Oct 19, 2026Tue Le, Anh Nguyen Hoang, Gabriel Sasseville +3Secure Code GenerationAgentic Code Generation

  3. 3DCodeVerse: Exploring 3D Worlds as Code

    Oct 15, 2026Yipeng Gao, Ziyao Zeng, Jinfa Huang +16Agentic Code Generation3D Asset Generation

  4. HERO: Harnessing Evidence for Test-time Refinement and Prompt Optimization in Program Generation

    Oct 13, 2026Mingyu Lu, Timothy Ossowski, Tristan Naumann +2Automatic Prompt OptimizationLLM Code Generation

  5. Verification Trap: Understanding Test-Time Selection Failures under False Premises in Code Generation

    Oct 4, 2026Feng He, Hejia Wang, Linghao Meng +2Execution-Guided Code GenerationCode Generation Evaluation

  6. TeleGen: Improving LLM-Based Web Application Generation via Runtime Telemetry

    Oct 4, 2026Yujia Luo, Haonan Zhang, Jiasi Shen +2Web Application GenerationExecution-Guided Code Generation

  7. ReMCTS: Reflection-Enhanced Monte Carlo Tree Search for Code Generation

    Sep 28, 2026Huifei Wang, Xinying Huang, Yiheng Sun +1Execution-Guided Code GenerationLLM-Based Program Synthesis

  8. SciWalker: Synthesizing Scientific Coding Problems with Operator Graphs and Execution Feedback

    Sep 24, 2026Chenxi Li, Wenxuan Zeng, Yun Luo +4Execution-Guided Code GenerationScientific Code Generation

  9. Dynamic Adaptation of the LLM Context for Generating Routines with Coupled Semantics

    Sep 3, 2026Gnaneswar Villuri, Hashmath Shaik, Alex DoboliLLM-Based Program SynthesisExecution-Guided Code Generation

  10. Can Coding Agents Reproduce Official Statistics? Metadata, Retry Budget and the Limits of Execution Feedback in a Controlled Eurostat Benchmark

    Sep 2, 2026Sabina-Cristiana NeculaData Analysis AgentsAI Agent Benchmarks

  11. Rendering-in-the-Loop: An Execution-Driven Agent for Interactive Web Development

    Sep 2, 2026Yilong Guo, Hanqi Chen, Zixiao Ye +3Web Application GenerationExecution-Guided Code Generation

  12. Function-Level Execution Feedback for Code Preference Optimization

    Aug 23, 2026Idris Nechnech, Sehwan Kim, Jimin Seo +4Code GenerationPreference Optimization

  13. TDD-Agent: Test-Driven Reasoning for Code Generation

    Aug 17, 2026Hongyue Yu, Kefan Li, Jiakun Li +4Code GenerationExecution-Guided Code Generation

  14. VisEditBench: Can Vision-Language Models Edit Visualization Code from Multimodal Feedback?

    Aug 11, 2026Mizanur Rahman, Arshia Azimlu, Shadikur Rahman +4VLM EvaluationData Visualization

  15. Route-Align-Verify for Functional Correctness in Code Generation

    Aug 4, 2026Erxue Zhou, Jingxiang Meng, Aofan LiuExecution-Guided Code GenerationCode Generation

  16. TaPR: Test-Aware Policy Refinement for Feedback-Conditioned Code Generation

    Aug 1, 2026Aofan Liu, Jingxiang Meng, Fangxin Liu +1RL for Code GenerationReward Shaping

  17. MineValiCoder: Reliable Code Generation with Test Case Quality Mining and Bipartite Graph-Based Mutual Validation

    Jul 24, 2026Zhen Zhao, Qihang Yang, Feifei Dai +2Execution-Guided Code GenerationCode Generation

  18. DA-Studio: An Agentic System for End-to-End Data Analysis

    Jun 30, 2026Yizhe Liu, Shaolei Zhang, Ju FanExecution-Guided Code GenerationAgentic Workflows

  19. The Verifier is the Curriculum: Execution-Gated Self-Distillation for Cross-Family Game Generation

    Jun 23, 2026Chenyu Zhou, Qiliang Jiang, Shuning Wu +1Execution-Guided Code GenerationLanguage Model Distillation

  20. Complexity and Scale in AI-Assisted Workflow Management: A Federated Learning Case Study

    Jun 16, 2026Komal Thareja, Hamza Safri, Rajiv Mayani +2Execution-Guided Code GenerationCode Generation

  21. Unlocking LLM Code Correction with Iterative Feedback Loops

    Jun 16, 2026Le Zhang, Suresh KothariLLM Self-CorrectionExecution-Guided Code Generation

  22. AutoMine Solution for AV2 2026 Scenario Mining Challenge

    Jun 10, 2026Songliang Cao, Jiele Zhao, Yuru Wang +10VLMs for Autonomous DrivingExecution-Guided Code Generation

  23. ACE-SQL: Adaptive Co-Optimization via Empirical Credit Assignment for Text-to-SQL

    Jun 4, 2026Xiaobing Chen, Ai Jian, Eryu Guo +1Execution-Guided Code GenerationSchema Linking

  24. Bootstrapping Semantic Layer from Execution for Text-to-SQL

    Jun 4, 2026Youngwon Lee, Jaejin Kim, Seung-won HwangExecution-Guided Code GenerationText-to-SQL