Skip to content
Book Open access

From Function to Repository: Towards Understanding and an Agentic Approach for Repo-Level Directed Input Generation

Oct 2026 · Proceedings of the 41st IEEE/ACM International Conference on Automated Software Engineering · pp. 3062-3074 · 0 citations · 52 references

TL;DR

AgenticDIG is designed, an agentic workflow that integrates target-oriented analysis, intention extraction, fault injection, fault injection, and iterative feedback to improve repository-level DIG.

Abstract

Directed Input Generation (DIG) aims to automatically construct an input that reaches a specified target program location. Although recent studies have shown promising results for Large Language Models (LLMs) in function-level DIG, it remains unclear whether such effectiveness generalizes to realistic repository-level testing scenarios. Unlike function-level settings, repository-level DIG requires reasoning over long call chains, project-specific input semantics, and complex execution conditions distributed across real software repositories. To address this gap, we present a comprehensive empirical study of repository-level directed input generation with LLMs. Specifically, we construct a benchmark, RepoEval, containing hard-to-cover target lines across mainstream programming languages, and evaluate multiple state-of-the-art LLMs under different context and output settings. Our results show that repository-level DIG remains substantially more challenging than prior simplified settings. While advanced models can cover a portion of targets (from 16.02% to 37.35%), their effectiveness is strongly compromised by repository specific semantic constraints, context settings, output formats, and external execution conditions. Based on these findings, we design AgenticDIG, an agentic workflow that integrates target-oriented analysis, intention extraction, fault injection, and iterative feedback to improve repository-level DIG. Evaluation shows that AgenticDIG improves target coverage by 43.56% relative to the best baseline.

Read PDF

Similar papers

#artificial intelligence Preprint Oct 2026

Benchmarking LLM Agents for Behaviorally Adequate Test Generation from Software Requirements

As large language model agents increasingly compile natural-language requirements into repository-level code, requirement-to-test generation grows in importance to provide validation constraints (or harness) to guide code generation. Yet it remains unclear whether current agents can generate tests that validate the req...

Bin-Hang Qi, Yi-Ming Liu, Yun Lin et al. · 0 citations
#small language model Book Open access Oct 2026

Towards Model-Driven Generation of Domain-Specific Modelling Agents for Local Language Models

Current frontier LLMs leverage vast training datasets with knowledge about a broad range of programming languages and frameworks, and can often solve tasks with minimal prompting. However, there are scenarios where remote LLMs are unsuitable, due to cost, privacy, security, or intellectual property concerns, and local...

Antonio García-Domínguez, Ionut Predoaia, T. Vu et al. · 0 citations

MTAC-IFBench: Benchmarking Instruction-Following in Multi-Turn Agentic Coding

Recently, the rapid development of large language models (LLMs) has reshaped software engineering by enabling autonomous code agents that plan, execute, and utilize external tools iteratively to tackle complex tasks. Beyond achieving functional correctness, these agents must faithfully follow process instructions and c...

Bo-Si Wen, Cun-Xiang Wang, Jia-Yi Gui et al. · 1 citation
Book Open access Oct 2026

BDD-Bench: A Behavior-Driven Benchmark for Coding Agents across the Application Lifecycle

The main contribution of this paper is BDD-Bench, a repository-level benchmark in which coding agents implement executable Gherkin specifications across an application's development lifecycle. Its 111 chronologically ordered instances come from five Python repositories. In lifecycle mode, the agent solves consecutive i...

Michał Jureczka, A. Paleczek, Aiden Campbell et al. · 0 citations
#artificial intelligence Preprint Oct 2026

Agent4Spec: An LLM-based Agentic System to Optimize API Specifications through Automated Validation and Market Analysis

Agent4Spec is presented, an autonomous multi-agent framework featuring two distinct pipelines: a validation pipeline that detects and self-corrects OpenAPI syntax errors, and a market analysis pipeline that conducts competitive research, identifies functional gaps against industry leaders, and automatically generates m...

Yong-Jian Tang, Costel Moraru, Doruk Tuncel et al. · 0 citations

E2E-SWE: Benchmarking LLMs on Building Working Codebases from Scratch

E2E-SWE is introduced, a benchmark for evaluating whether coding agents can build complete, functional software repositories end to end and finds substantial variation in end-to-end repository generation ability, providing strong model differentiation while leaving considerable headroom for future progress.

Hantian Ding, Chloe Bi, Jia-Cheng Zhu et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.