All postsLONG-FORM5 min read
How to Find Duplicate GitHub Issues With a Free Local Filter
I tested BM25, local embeddings, and a hybrid on 1,003 duplicate issue pairs, then examined matches, misses, and the limits of a pre-submit check.
Donald Knuth paused reviewing error reports submitted after November 25, 2026; his sampling indicates most recent reports repeat earlier submissions. I tested a free local duplicate finder on Anthropic’s Claude Code tracker to see whether it could surface the original before another report gets filed.
What Knuth’s page says
Donald Knuth, the author of The Art of Computer Programming, says LLMs made his readers so productive that error reports arrive faster than he can read them. He insists on personally verifying corrections. His random sampling indicates the vast majority of errors reported in recent weeks repeat issues others already submitted.
His page supplies no sample size, incoming-report total, or measured duplicate percentage. The policy covers reports submitted after November 25, 2026: review waits until he posts an updated known-errors list for the relevant book. As of November 29, the welcome list contains no books. Reopening depends on each book’s list, and the page gives no reopening date. It also supplies no posting date for the policy.
Curl’s dated reporting changes
Daniel Stenberg’s January 26, 2026 post announced that curl’s bug bounty would end January 31. He attributed the decision to AI-generated submissions, worsening human reports, and incentives to poke holes. Those are his judgments about reporting pressure.
His February 25 post announced security reporting would return to HackerOne on March 1, with the bounty still ended. On June 15, he announced a vulnerability-reporting pause starting July 1, with resumption planned for August 3. Ordinary issues and pull requests would remain open.
On October 20, he cited an avalanche of vulnerability reports. From October 26, low- and medium-severity reports were directed to public GitHub issues; high and critical reports stayed private. These posts concern security reporting and supply no measured duplicate rate.
GitHub already suggests possible matches
GitHub documents suggestions in its repository new-issue flow. After you fill in the title and the body reaches 100 characters, it may show up to three existing issues. Suggestions leave submission available. That gives my test a practical cutoff: did the exact named original appear among the first three results?
What Anthropic’s tracker records
The GitHub search API snapshot was assembled across queries on November 29, 2026, around 10:06 PM ET. It counted 109,617 issues: 15,420 open and 94,197 closed. Across all time, 23,951 were closed as duplicate. That close reason records a triage decision whose correctness I haven’t independently checked.
For November 1–28, 6,057 issues were closed, including 1,229 closed as duplicate. This window follows closure dates; creation dates can be earlier. Of those duplicate closures, 102 came from a bot account, each with its automatic-closure comment. People’s accounts closed 1,127, including 250 on November 15 and 787 on November 20. Account type leaves the tools they used unknown. We also don’t know who or what wrote these issues.
How the bot is configured
I inspected the repository files at commit 800e2c8. The workflow triggers when an issue opens and invokes Claude Code’s /dedupe command with claude-sonnet-5-5. The files establish configured behavior; successful execution on every issue remains unconfirmed.
The intended sequence checks whether to skip an issue, summarizes it, launches five parallel search agents with different search terms, and uses another agent to filter likely false matches. Surviving candidates can produce up to three suggestions.
The closure workflow is scheduled daily at 09:00 UTC. Its script requires the latest retrieved duplicate suggestion to be at least three days old. A retrieved later comment or the issue author’s thumbs-down on that suggestion blocks closure. Issue, comment, and reaction retrieval have pagination limits. Three days is an eligibility threshold; closure can occur on a later run. I leave the bot’s accuracy unscored.
My local filter and its results
Start with the 703 pairs where a different account filed the original. With worst-case ties, the hybrid placed that exact original in the top three for 48.9%, and in the top ten for 72.0%. Embeddings alone reached 47.2% in the top three; BM25 reached 41.4%.
BM25 scores shared words. Local embeddings represent text as vectors compared by cosine similarity. My hybrid fuses the two rankings. I ran nomic-embed-text v1.5 through llama.cpp on my Mac. The model card lists Apache-2.0. This run cost $0 using local software and GitHub’s free public API; hardware and electricity remain costs.
The full test contains 1,003 duplicate pairs pointing to 579 originals, closed from people’s accounts November 1–28. I excluded 102 bot closures, 107 pairs whose named original wasn’t older, 16 with no original named, and one missing from the pool. Each report searched issues created before it. Text used titles and cleaned bodies, removed repeated form boilerplate, and was cut to 700 characters. A hit requires the exact named original. Every equally scored candidate counts ahead of it.
Another 300 pairs came from the same account as their original. The three largest threads contained 102, 65, and 18 duplicates, each an account repeating its own original. These near-copies often tie. On this subset, hybrid top-three retrieval was 41.3%. Keyword top-one retrieval changed from 55.0% with ties favoring the original to 22.7% with ties against it. Finding copies leaves ambiguity about which came first.
Selecting only the earliest eligible duplicate per original leaves 579 pairs and gives each original equal weight. Hybrid top-three retrieval reached 62.3%. Across all 1,003 pairs, its top-three result was 46.7%.
Three examples show what the score means:
- Issue #7136 found its original, #5466, at rank one, despite one being a feature request and the other a bug.
- Issue #101454 retrieved another repeat, #88148, first. Its named original, #76022, ranked 41.
- Issue #100164 placed its named original, #84581, at rank 187.
Across the full test, 320 of 1,003 pairs, or 32%, had the exact original below rank ten. These three example ranks and that count hold under both tie rules.
Embedding the 109,618-issue pool took 331.7 seconds under shared load. After indexing, keyword scoring averaged 8.8–9.7 milliseconds and vector comparison 3.3–3.5 milliseconds across two saved runs. A new report also needs embedding. These component timings leave the complete submission flow unmeasured.
This covers one repository, one closure window, and one snapshot. Snapshot text includes later edits, and keyword statistics use the whole pool, so the test cannot recreate filing-time search exactly. I didn’t recheck every close decision. Duplicate-only selection cannot measure wrong suggestions on genuinely new reports.
Before you file — my opinion
Search the tracker and known-issues list. Ask an AI or local finder for possible repeats, then open the top three and compare symptoms and reproduction steps. If yours differs, explain the difference and link what you checked.
If you maintain — my opinion
I’d offer a keyword-plus-embedding pre-check that suggests candidates and leaves closure to a person. Keep a public known-issues list and request versions, environment, a minimal reproduction, and similar reports already checked. Leave room to explain differences, keep sensitive security details within the project’s disclosure process, and make any automatic-closure objection route visible.
Daily email
Get each breakdown in your inbox.
One email each evening, right after the Short goes live: the AI tool it covers, the full write-up with sources, and how to get paid for it. Free, and you can unsubscribe anytime.
Sources
- Knuth’s policy: statements, cutoff, and welcome list.
- Daniel Stenberg: January 26, February 25, June 15, and October 20.
- GitHub issue creation: suggestion conditions.
- Anthropic’s pinned workflow, command, comment script, closure script, and closure schedule.
- My firsthand lab: lab/RESULTS.md; measured claims and evidence indexed in claims.json.