← 研踪 PaperTrailarXiv:2611.30093 · v1
AEGIS: Evidence-Guided Set Decisions for Requirement-to-Code Traceability
首次提交 2026-11-23 13:52
版本更新 2026-11-23 13:52
雷达观测 2026-11-24 14:50
摘要
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@5 by 33.21% and 52.28%, and MAP by 38.58% and 49.08%, respectively.
作者备注:Code, data, and supplementary material: https://doi.org/10.5281/zenodo.23944184
观测到的版本
相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。
v1 · 2026-11-23 13:52 · 最新观测版本
AEGIS: Evidence-Guided Set Decisions for Requirement-to-Code Traceability
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@5 by 33.21% and 52.28%, and MAP by 38.58% and 49.08%, respectively.
查看此版本解读 →查看此版本原文 ↗