EvoCoGen: Collaborative Code Generation Guided by Evolutionary Coupling | AMiner
EvoCoGen: Collaborative Code Generation Guided by Evolutionary Coupling
Zhe Sun,Bei Guan,Yunpeng Zhang,Junyu Li,Yongji Wang
2026 29th International Conference on Computer Supported Cooperative Work in Design (CSCWD)(2026)
Integration Innovation Center
被引用0|浏览2
摘要
In asynchronous software development, a single change often requires synchronized updates across multiple files, posing a significant challenge for collaborative code generation. Current approaches often overlook the implicit collaborative knowledge embedded in the project’s evolutionary history. To bridge this gap, we propose EvoCoGen, a framework that leverages a Weighted Evolutionary Coupling Graph (WECG). Unlike static analysis, which misses implicit dependencies, and traditional frequency-based methods prone to noise, we introduce Time-Weighted Mutual Information (TWMI). This metric integrates commit recency, focus, and statistical independence to robustly model co-evolution. WECG serves as a dynamic knowledge base, guiding Large Language Models (LLMs) to generate coherent cross-file modifications. Experiments on six open-source and industrial projects reveal that coupling effectiveness is contingent on "commit culture": TWMI excels in projects with skewed/heavy-tailed distributions via its denoising capability, while traditional methods suit stable environments. Moreover, WECG-guided LLMs consistently equal or outperform baselines lacking evolutionary context, particularly excelling in capturing implicit dependencies invisible to static tools. This work offers a socio-technical perspective: by making implicit coordination explicit, LLMs are empowered to not only "understand code" but also "understand collaboration".
更多
查看译文
关键词
Collaborative Development,Evolutionary Coupling,Mining Software Repositories,Software Knowledge Graph,Code Generation,Large Language Models