mlsanityData to 7 Oct 2026

CodeS: Natural Language to Code Repository via Multi-Layer Sketch

arXiv 2403.16443 ↗First posted 25 Mar 2024cs.CL cs.AI cs.SEcited by 28

Not on the map. Why?

Abstract (arXiv)

The impressive performance of large language models (LLMs) on code-related tasks has shown the potential of fully automated software development. In light of this, we introduce a new software engineering task, namely Natural Language to code Repository (NL2Repo). This task aims to generate an entire code repository from its natural language requirements. To address this task, we propose a simple yet effective framework CodeS, which decomposes NL2Repo into multiple sub-tasks by a multi-layer sketch. Specifically, CodeS includes three modules: RepoSketcher, FileSketcher, and SketchFiller. RepoSketcher first generates a repository's directory structure for given requirements; FileSketcher then generates a file sketch for each file in the generated structure; SketchFiller finally fills in the details for each function in the generated file sketch. To rigorously assess CodeS on the NL2Repo task, we carry out evaluations through both automated benchmarking and manual feedback analysis. For benchmark-based evaluation, we craft a repository-oriented benchmark, SketchEval, and design an evaluation metric, SketchBLEU. For feedback-based evaluation, we develop a VSCode plugin for CodeS and engage 30 participants in conducting empirical studies. Extensive experiments prove the effectiveness and practicality of CodeS on the NL2Repo task.

Key facts. Cited by 28 papers in the map (data through 7 Oct 2026). Builds on 46 of its 68 references that are in the map. First posted on arXiv 25 Mar 2024.

Builds on

46 of 68 references.

References · 46

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2022Training language models to follow instructions with human feedbackcited by 15,712
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  4. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  5. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  6. 2021Program Synthesis with Large Language Modelscited by 3,509
  7. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  8. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
  9. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  10. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  11. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
  12. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
34 more
  1. 2021Measuring Coding Challenge Competence With APPScited by 879
  2. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
  3. 2023StarCoder: may the source be with you!cited by 790
  4. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
  5. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
  6. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
  7. 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
  8. 2024StarCoder 2 and The Stack v2: The Next Generationcited by 484
  9. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
  10. 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 442
  11. 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 357
  12. 2023RepoBench: Benchmarking Repository-Level Code Auto-Completion Systemscited by 346
  13. 2023CodeGeeX: A Pre-Trained Model for Code Generation with Multilingual Benchmarking on HumanEval-Xcited by 294
  14. 2023Auto-GPT for Online Decision Making: Benchmarks and Additional Opinionscited by 250
  15. 2023LongLoRA: Efficient Fine-tuning of Long-Context Large Language Modelscited by 243
  16. 2024When Scaling Meets LLM Finetuning: The Effect of Data, Model and Finetuning Methodcited by 201
  17. 2023CrossCodeEval: A Diverse and Multilingual Benchmark for Cross-File Code Completioncited by 181
  18. 2018Learning to Mine Aligned Code and Natural Language Pairs from Stack Overflowcited by 165
  19. 2022GitHub Copilot AI pair programmer: Asset or Liability?cited by 150
  20. 2022Large Language Models Meet NL2Code: A Surveycited by 135
  21. 2018Mapping Language to Code in Programmatic Contextcited by 104
  22. 2024Code Generation with AlphaCodium: From Prompt Engineering to Flow Engineeringcited by 100
  23. 2022CERT: Continual Pre-Training on Sketches for Library-Oriented Code Generationcited by 87
  24. 2024Long-Context Language Modeling with Parallel Context Encodingcited by 84
  25. 2024StepCoder: Improve Code Generation with Reinforcement Learning from Compiler Feedbackcited by 74
  26. 2023PanGu-Coder2: Boosting Large Language Models for Code with Ranking Feedbackcited by 69
  27. 2022Parsel: Algorithmic Reasoning with Language Models by Composing Decompositionscited by 62
  28. 2022PanGu-Coder: Program Synthesis with Function-Level Language Modelingcited by 47
  29. 2020Creative Sketch Generationcited by 44
  30. 2022Autoregressive Structured Prediction with Language Modelscited by 43
  31. 2023SkCoder: A Sketch-based Approach for Automatic Code Generationcited by 40
  32. 2023Outline, Then Details: Syntactically Guided Coarse-To-Fine Code Generationcited by 27
  33. 2016Learning a Natural Language Interface with Neural Programmercited by 14
  34. 2023ANPL: Towards Natural Programming with Interactive Decompositioncited by 13

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 7; 2025: 16; 2026: 5.

28 papers.

Sort:

By area:

  1. 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 173
  2. 2025Multi-SWE-bench: A Multilingual Benchmark for Issue Resolvingcited by 165
  3. 2024LLM-Based Multi-Agent Systems for Software Engineering: Literature Review, Vision and the Road Aheadcited by 155
  4. 2024CodeR: Issue Resolving with Multi-Agent and Task Graphscited by 89
  5. 2024CodexGraph: Bridging Large Language Models and Code Repositories via Code Graph Databasescited by 62
  6. 2024SWE-bench-java: A GitHub Issue Resolving Benchmark for Javacited by 34
  7. 2025ProjectEval: A Benchmark for Programming Agents Automated Evaluation on Project-Level Code Generationcited by 26
  8. 2025Large Language Model-based Data Science Agent: A Surveycited by 22
  9. 2025debug-gym: A Text-Based Environment for Interactive Debuggingcited by 19
  10. 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic Systemcited by 15
  11. 2025DeepCode: Open Agentic Codingcited by 14
  12. 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 13
16 more
  1. 2025Agentic AI Systems Applied to tasks in Financial Services: Modeling and model risk management crewscited by 12
  2. 2024The Devil is in the Neurons: Interpreting and Mitigating Social Biases in Pre-trained Language Modelscited by 6
  3. 2025Towards Realistic Project-Level Code Generation via Multi-Agent Collaboration and Semantic Architecture Modelingcited by 6
  4. 2026EvoCode-Bench: Evaluating Coding Agents in Multi-Turn Iterative Interactionscited by 6
  5. 2025OpsAgent: An Evolving Multi-agent System for Incident Management in Microservicescited by 5
  6. 2025RepoDebug: Repository-Level Multi-Task and Multi-Language Debugging Evaluation of Large Language Modelscited by 4
  7. 2025Towards Engineering Multi-Agent LLMs: A Protocol-Driven Approachcited by 4
  8. 2025Gistify! Codebase-Level Understanding via Runtime Executioncited by 4
  9. 2025SURGE: On the Potential of Large Language Models as General-Purpose Surrogate Code Executorscited by 3
  10. 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Qualitycited by 3
  11. 2025Designing LLM-based Multi-Agent Systems for Software Engineering Tasks: Quality Attributes, Design Patterns and Rationalecited by 3
  12. 2026ATM: CID-Brokered Pre-Write Admission for Multi-Agent Code Co-Synthesiscited by 3
  13. 2026CodeTeam: An LLM-Powered Multi-Agent Framework for Repository-Level Code Generationcited by 2
  14. 2026Repo0: Design-Driven Zero-to-All Code Generationcited by 2
  15. 2024Kotlin ML Pack: Technical Reportcited by 0
  16. 2026SWE-Journey: Towards More Realistic Evaluation of Coding Assistants through Long-Horizon, Multi-Turn Interactioncited by 0