paper-with-me

Papers

ArchCode: Incorporating Software Requirements in Code Generation with Large Language Models

2024-08-02 · Hojae Han, Jaejin Kim, Jaeseok Yoo, Youngwon Lee, Seung-won Hwang

This paper aims to extend the code generation capability of large language models (LLMs) to automatically manage comprehensive software requirements from given textual descriptions. Such requirements include both functional (i.e. achieving expected behavior for inputs) and non-functional (e.g., time/space performance, robustness, maintainability) requirements. However, textual descriptions can either express requirements verbosely or may even omit some of them. We introduce ARCHCODE, a novel framework that leverages in-context learning to organize requirements observed in descriptions and to extrapolate unexpressed requirements from them. ARCHCODE generates requirements from given descriptions, conditioning them to produce code snippets and test cases. Each test case is tailored to one of the requirements, allowing for the ranking of code snippets based on the compliance of their execution results with the requirements. Public benchmarks show that ARCHCODE enhances to satisfy functional requirements, significantly improving Pass@k scores. Furthermore, we introduce HumanEval-NFR, the first evaluation of LLMs' non-functional requirements in code generation, demonstrating ARCHCODE's superiority over baseline methods. The implementation of ARCHCODE and the HumanEval-NFR benchmark are both publicly accessible.

📄 PDF Abstract BibTeX arXiv:2408.00994

Code (1)

ldilab/ArchCode 공식 구현

Tasks

Code GenerationHumanEvalIn-Context Learning

Similar Papers 제목 키워드 기반

ResearchCodeBench: Benchmarking LLMs on Implementing Novel Machine Learning Research Code

2025-06-02 · Tianyu Hua, Harper Hua, Violet Xiang, Benjamin Klieger 외

Large language models (LLMs) have shown promise in transforming machine learning research, yet their capability to faithfully implement novel ideas from recent research papers-ideas unseen during pretraining-remains uncl…

BenchmarkingCode Generation

ResearchCodeAgent: An LLM Multi-Agent System for Automated Codification of Research Methodologies

2025-04-28 · Shubham Gandhi, Dhruv Shah, Manasi Patwardhan, Lovekesh Vig 외

In this paper we introduce ResearchCodeAgent, a novel multi-agent system leveraging large language models (LLMs) agents to automate the codification of research methodologies described in machine learning literature. The…

BenchmarkingData Augmentation

Generating Automotive Code: Large Language Models for Software Development and Verification in Safety-Critical Systems

2025-06-04 · Sven Kirchner, Alois C. Knoll

Developing safety-critical automotive software presents significant challenges due to increasing system complexity and strict regulatory demands. This paper proposes a novel framework integrating Generative Artificial In…

BenchmarkingCode GenerationModel Selectiontest driven development

Deep Learning Models in Software Requirements Engineering

2021-05-17 · Maria Naumcheva

Requirements elicitation is an important phase of any software project: the errors in requirements are more expensive to fix than the errors introduced at later stages of software life cycle. Nevertheless, many projects …

Deep LearningSentence

Survey of GenAI for Automotive Software Development: From Requirements to Executable Code

2025-07-20 · Nenad Petrovic, Vahid Zolfaghari, Andre Schamschurko, Sven Kirchner 외 arxiv

Adoption of state-of-art Generative Artificial Intelligence (GenAI) aims to revolutionize many industrial areas by reducing the amount of human intervention needed and effort for handling complex underlying processes. Au…

Code Generation