mlsanityData to 7 Oct 2026

CoCoST: Automatic Complex Code Generation with Online Searching and Correctness Testing

arXiv 2403.13583 ↗First posted 20 Mar 2024cs.SE cs.CL cs.LGcited by 7

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

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  2. 2021Program Synthesis with Large Language Modelscited by 3,509
  3. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  4. 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,722
  5. 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
  6. 2023Teaching Large Language Models to Self-Debugcited by 963
  7. 2021Measuring Coding Challenge Competence With APPScited by 879
  8. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
  9. 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 442
  10. 2022CodeT: Code Generation with Generated Testscited by 369
  11. 2023FreshLLMs: Refreshing Large Language Models with Search Engine Augmentationcited by 308
  12. 2023SantaCoder: don't reach for the stars!cited by 169
5 more
  1. 2023ClassEval: A Manually-Crafted Benchmark for Evaluating LLMs on Class-level Code Generationcited by 166
  2. 2022DocPrompting: Generating Code by Retrieving the Docscited by 151
  3. 2023Self-Edit: Fault-Aware Code Editor for Code Generationcited by 110
  4. 2023CodeChain: Towards Modular Code Generation Through Chain of Self-revisions with Representative Sub-modulescited by 58
  5. 2023Text2Analysis: A Benchmark of Table Question Answering with Advanced Data Analysis and Unclear Queriescited by 38

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 5.

7 papers.