CoCoST: Automatic Complex Code Generation with Online Searching and Correctness Testing
Not on the map. Why?
Abstract (arXiv)
Large Language Models have revolutionized code generation ability by converting natural language descriptions into executable code. However, generating complex code within real-world scenarios remains challenging due to intricate structures, subtle bugs, understanding of advanced data types, and lack of supplementary contents. To address these challenges, we introduce the CoCoST framework, which enhances complex code generation by online searching for more information with planned queries and correctness testing for code refinement. Moreover, CoCoST serializes the complex inputs and outputs to improve comprehension and generates test cases to ensure the adaptability for real-world applications. CoCoST is validated through rigorous experiments on the DS-1000 and ClassEval datasets. Experimental results show that CoCoST substantially improves the quality of complex code generation, highlighting its potential to enhance the practicality of LLMs in generating complex code.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 17 of its 21 references that are in the map. First posted on arXiv 20 Mar 2024.
Builds on
17 of 21 references.
References · 17
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,722
- 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
- 2023Teaching Large Language Models to Self-Debugcited by 963
- 2021Measuring Coding Challenge Competence With APPScited by 879
- 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
- 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 442
- 2022CodeT: Code Generation with Generated Testscited by 369
- 2023FreshLLMs: Refreshing Large Language Models with Search Engine Augmentationcited by 308
- 2023SantaCoder: don't reach for the stars!cited by 169
5 more
- 2023ClassEval: A Manually-Crafted Benchmark for Evaluating LLMs on Class-level Code Generationcited by 166
- 2022DocPrompting: Generating Code by Retrieving the Docscited by 151
- 2023Self-Edit: Fault-Aware Code Editor for Code Generationcited by 110
- 2023CodeChain: Towards Modular Code Generation Through Chain of Self-revisions with Representative Sub-modulescited by 58
- 2023Text2Analysis: A Benchmark of Table Question Answering with Advanced Data Analysis and Unclear Queriescited by 38
Built on by
Citing papers per year: 2025: 2; 2026: 5.
7 papers.
- 2025HoarePrompt: Structural Reasoning About Program Correctness in Natural Languagecited by 7
- 2026LLM-Based Agentic Systems for Software Engineering: Challenges and Opportunitiescited by 7
- 2026ShortCoder: Knowledge-Augmented Syntax Optimization for Token-Efficient Code Generationcited by 3
- 2025Evaluating Software Process Models for Multi-Agent Class-Level Code Generationcited by 2
- 2026EvoSci: A Bio-Inspired Multi-Agent Framework for the Evolution of Scientific Discoverycited by 2
- 2026Automated Customization of LLMs for Enterprise Code Repositories Using Semantic Scopescited by 0
- 2026DuET: Dual Execution for Test Output Prediction with Generated Code and Pseudocodecited by 0
- 2026EvoSci: A Bio-Inspired Multi-Agent Framework for the Evolution of Scientific Discovery20 May 2026
- 2026DuET: Dual Execution for Test Output Prediction with Generated Code and Pseudocode13 Apr 2026
- 2026Automated Customization of LLMs for Enterprise Code Repositories Using Semantic Scopes5 Feb 2026
- 2026LLM-Based Agentic Systems for Software Engineering: Challenges and Opportunities14 Jan 2026
- 2026ShortCoder: Knowledge-Augmented Syntax Optimization for Token-Efficient Code Generation14 Jan 2026
- 2025Evaluating Software Process Models for Multi-Agent Class-Level Code Generation12 Nov 2025
- 2025HoarePrompt: Structural Reasoning About Program Correctness in Natural Language25 Mar 2025