Contexi
Hacker News Show7/2 22:1964

Slopo:基于嵌入模型的非精确代码重复检测 CLI 工具

Show HN: CLI tool for detecting non-exact code duplication with embedding models

阅读原文 ↗

中文摘要

开发者 Rafal-qa 在 GitHub 上开源了 Slopo,这是一个命令行工具,旨在利用嵌入模型检测代码中的非精确重复片段。项目在 Hacker News 上获得 80 点热度并引发 35 条评论。该工具通过语义相似度分析,能够识别功能相似但写法不同的代码块,帮助开发者优化代码结构、减少冗余。

原文内容

Article URL: https://github.com/rafal-qa/slopo Comments URL: https://news.ycombinator.com/item?id=48762038 Points: 80 # Comments: 35