CodeGenLink:一种查找自动生成代码可能来源与许可证的工具
CodeGenLink: A Tool to Find the Likely Origin and License of Automatically Generated Code
AI总结:
针对LLM生成代码缺乏来源信息、存在可信度与版权许可风险的问题,提出Visual Studio Code的GitHub CoPilot扩展CodeGenLink,结合LLM与网页搜索检索相似代码链接并分析相似度,可过滤无关链接并提供来源许可证信息。
摘要:
如今大语言模型(LLM)被广泛应用于软件开发任务中。与复用从网络获取的代码不同,由于缺乏代码来源信息,开发者对LLM生成的代码存在可信度不足以及可能违反版权或许可证的担忧。本文提出CodeGenLink,这是一款面向Visual Studio Code的GitHub CoPilot扩展,旨在:(1)推荐包含与自动生成代码高度相似代码的链接;(2)尽可能指明代码可能来源的许可证。CodeGenLink结合LLM及其网页搜索功能检索候选链接,随后对生成代码与检索到的代码进行相似度分析。初步结果表明,CodeGenLink通过相似度分析有效过滤了无关链接,并在可行时提供许可证信息。工具地址:https://github.com/danielebifolco/CodeGenLink 工具演示视频:https://youtu.be/M6nqjBf9_pw
英文摘要:
Large Language Models (LLMs) are widely used in software development tasks nowadays. Unlike reusing code taken from the Web, for LLMs' generated code, developers are concerned about its lack of trustworthiness and possible copyright or licensing violations, due to the lack of code provenance information. This paper proposes CodeGenLink, a GitHub CoPilot extension for Visual Studio Code aimed at (i) suggesting links containing code very similar to automatically generated code, and (ii) whenever possible, indicating the license of the likely origin of the code. CodeGenLink retrieves candidate links by combining LLMs with their web search features and then performs similarity analysis between the generated and retrieved code. Preliminary results show that CodeGenLink effectively filters unrelated links via similarity analysis and provides licensing information when available. Tool URL: https://github.com/danielebifolco/CodeGenLink Tool Video: https://youtu.be/M6nqjBf9_pw
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。