News for hackers. Stuff that matters.
Re:Show HN: CLI tool for detecting non-exact code duplicatio... by rkochanowski on Thursday July 02, 2026 @05:40PM (#48767729)
My solution for false positives is simpler:

1. The tool uses only cosine similarity plus boost depending on distance in the codebase.

2. Classification with LLM. This can be done by coding agent used with project giving better results than integrating this pass in the tool. LLMs used for coding are pretty good.

I assumed that this is not a problem I need to solve inside the tool. I'm aware this is not deterministic, but this is by design.

Regarding information about raw similarity: currently, the score (raw similarity + boost) is visible in the report, so this value can be configured based on data. The raw similarity threshold can also be configured, but it's not displayed. I will think about how to handle this.

Re:Show HN: CLI tool for detecting non-exact code duplicatio... by AlexeyBelov on Friday July 03, 2026 @10:21AM (#48775422)
You're replying to an LLM bot.