paper-with-me

Papers

TENET: One Step Toward Test-Driven Development for Repository-Level Code Generation

2025-09-29 · Yiran Hu, Nan Jiang, Shanchao Liang, Yi Wu, Lin Tan arxiv

Test-Driven Development (TDD) is a widely adopted practice that requires developers to create and execute tests alongside implementation. With recent advances in Large Language Models (LLMs), developers can shift from manually writing the code to defining tests as executable specifications and delegating code synthesis to AI agents. However, enabling repository-level TDD under developer-written tests is challenging, requiring: (1) specification enhancement: identifying a concise yet representative test subset from large suites with rich task semantics; (2) retrieval augmentation: using tests to guide reasoning and context retrieval; and (3) test-driven refinement: interpreting test feedback for iterative improvement. We propose TENET, an agentic framework for repository-level code generation under the TDD paradigm. TENET includes: (1) a test harness mechanism that selects a concise test suite to maximize diversity of the target usage scenarios; (2) a tailored agent toolset for efficient retrieval and debugging; and (3) a reflection-based refinement workflow that iteratively analyzes failures and updates implementations. TENET consistently outperforms the strongest baselines across backbones, achieving 69.08% and 81.77% Pass@1 on RepoCod and RepoEval with Claude Sonnet 4, improving by 9.49 and 2.17 percentage points, respectively. Additionally, we present the first systematic study of how test suite characteristics influence LLM agent performance in TDD settings.

📄 PDF Abstract BibTeX arXiv:2509.24148

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

Mini-ResEmoteNet: Leveraging Knowledge Distillation for Human-Centered Design

2025-01-30 · Amna Murtada, Omnia Abdelrhman, Tahani Abdalla Attia

Facial Emotion Recognition has emerged as increasingly pivotal in the domain of User Experience, notably within modern usability testing, as it facilitates a deeper comprehension of user satisfaction and engagement. This…

Emotion RecognitionFacial Emotion RecognitionFacial Expression Recognition (FER)Knowledge Distillation

Deja Vu at Scale: Paraphrase-Robust Detection of Duplicate Gherkin Steps in Behaviour-Driven Software Testing with Sentence-Transformer Embeddings and a 1.1M-Step Open Benchmark

2026-04-22 · Ali Hassaan Mughal, Noor Fatima, Muhammad Bilal arxiv

Context. Behaviour-Driven Development (BDD) suites in Gherkin accumulate step-text duplication with documented maintenance cost. Prior detectors either require runnable tests or are single-organisation, leaving a gap: a …

A Novel lightweight Convolutional Neural Network, ExquisiteNetV2

2021-05-19 · Shi-Yao Zhou, Chung-Yen Su

In the paper of ExquisiteNetV1, the ability of classification of ExquisiteNetV1 is worse than DenseNet. In this article, we propose a faster and better model ExquisiteNetV2. We conduct many experiments to evaluate its pe…

ClassificationImage Classification

RouteNet-Fermi: Network Modeling with Graph Neural Networks

2022-12-22 · Miquel Ferriol-Galmés, Jordi Paillisse, José Suárez-Varela, Krzysztof Rusek 외

Network models are an essential block of modern networks. For example, they are widely used in network planning and optimization. However, as networks increase in scale and complexity, some models present limitations, su…

Scheduling

TDFlow: Agentic Workflows for Test Driven Development

2025-10-27 · Kevin Han, Siddharth Maddikayala, Tim Knappe, Om Patel 외 arxiv

We introduce TDFlow, a novel test-driven agentic workflow that frames repository-scale software engineering as a test-resolution task, specifically designed to solve human-written tests. Given a set of tests, TDFlow repe…

Program Repair