AEGIS: Evidence-Guided Set Decisions for Requirement-to-Code Traceability
Zhiyao Wang, Yiming Peng, Munan Li, Mingyue Zhang, Guanghong Li, Jialong Li, Tatsuhiro Tsuchiya
Key points
From the paper's conclusion- We propose AEGIS, which combines retrieval evidence and code relations to construct and revise trace sets under a project-wide review budget.
Abstract
Requirement-to-code traceability recovery identifies code artifacts that implement a requirement, but manual review costs limit how many candidates developers can inspect. Code relations can reveal candidates missed by textual retrieval, yet can also introduce code unrelated to the requirement. We propose AEGIS, which combines retrieval evidence and code relations to construct and revise trace sets under a project-wide review budget. Grouped retrieval and semantic retrieval supply candidates. A set objective combines relevance to the requirement with structural compatibility. Local search constructs sets of different sizes, and dynamic programming selects one set per requirement within the budget. Call-context admission then compares replacements using evidence from arguments and return values in calls involving protected members, while bounding retrieval-score loss. Across 13 projects, AEGIS achieves the highest project-macro average on nine of ten evaluation metrics among the compared methods. Relative to same-corpus adaptations of TAROT-VSM and FTLR+MC, it improves F$_1$@5 by 33.21% and 52.28%, and MAP by 38.58% and 49.08%, respectively.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Rethinking Requirement-to-Code Traceability Through Single-Agent and Multi-Agent ApproachesarXiv · 2026
- TraceRank: configurable review support for requirements traceability recoveryFrontiers in Computer Science · 2026
- Rivet: Utility-Preserving Context Control for Repository-Level Coding AgentsarXiv · 2026
- RepoTrace: Improving Requirement Tracing in Multi-Round Agent InteractionsarXiv · 2026
- Testing Retrieval-Augmented Generation Systems with Chunk CoverageProceedings of the ACM on software engineering. · 2026
- The Code of Theseus: Can Agents Rebuild Software from Recovered Design Documents?arXiv · 2026