PUBLICATIONS / 论文

把仓库上下文带回代码精炼。

当前仅展示已核验且能够明确对应本人身份的正式成果。

01
ACM TOSEM2026FIRST AUTHOR

Code Refinement with Repository Context: How Far are We?

Ke Wang, Peng Lan, Jiakun Liu, Shengbing Ren, Lingfeng Bao, Junxiao Han, David Lo, Zhifang Liao

工作摘要

超过 60% 的真实代码精炼场景依赖仓库级知识,而既有方法通常只读取评论与单个代码片段。该工作构建 ReCoRe-Bench:1,000 个来自 328 个 Python、Java 和 JavaScript 仓库的高质量实例;提出 ReDIs Match 衡量标识符检索与解析是否正确,并以 RepoRefiner 验证仓库上下文对可靠代码精炼的价值。

1,000精炼实例
328开源仓库
3编程语言
ReCoReBenchmark
DOI ↗10.1145/3820059

BIBTEX

引用

@article{wang2026code,
  title   = {Code Refinement with Repository Context: How Far are We?},
  author  = {Wang, Ke and Lan, Peng and Liu, Jiakun and Ren, Shengbing
             and Bao, Lingfeng and Han, Junxiao and Lo, David and Liao, Zhifang},
  journal = {ACM Transactions on Software Engineering and Methodology},
  year    = {2026},
  doi     = {10.1145/3820059}
}