使用真实源代码片段对 Tabby 编码助手进行质量评估
Quality evaluation of Tabby coding assistant using real source code snippets
AI总结:
本文提出一个基于经典算法与数据结构实现的评估流水线,通过圈复杂度、Halstead 指标和文本相似度矩阵,测量开源 TabbyML 编码助手在真实代码片段上的辅助质量与可用性。
摘要:
大型语言模型已成为软件开发中的流行工具,提供编码辅助。由于自然语言提示的存在,准确测量此类工具所生成代码的准确性与可靠性是一项挑战。我们提出一个简单的流水线,该流水线使用经典且通用的算法与数据结构的最新实现。我们专注于测量 TabbyML 代码助手的质量,原因在于其开放许可证以及在语言模型选择上的灵活性。我们的结果以圈复杂度、Halstead 的 Bugs & Effort 指标以及四种基于文本的相似度矩阵呈现,描绘了 TabbyML 在编码辅助任务中的可用性。
英文摘要:
Large language models have become a popular tool in software development, providing coding assistance. The proper measurement of the accuracy and reliability of the code produced by such tools is a challenge due to natural language prompts. We propose a simple pipeline that uses state-of-the-art implementation of classic and universal genres of algorithms and data structures. We focus on measuring the quality of TabbyML code assistant due to its open licence and the flexibility in the choice of the language model. Our results presented as cyclomatic complexity, Halstead's Bugs \& Effort and four text-based similarity matrices depict the usability of TabbyML in coding assistance tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。