I checked Clojure's core with Lean and found 17 unreported bugs
Comments on “I checked Clojure's core with Lean and found 17 unreported bugs”
Claim-checked. Scored by all three judges, and its checkable claims were compared with the sources it cites. How far stories are checked
Naoya Yamashita (conao3) reports 17 previously unreported bugs in the Java-implemented part of Clojure 1.12.7, found by modeling integer and bit arithmetic in Lean 4 and differential-testing collections against java.util. The most serious are a reduce on vector-of that never returns past 65,504 elements, caused by a wrong bit mask, and a HAMT collision-node dissoc that can hide another key. The core HAMT and vector trees showed no mismatches. The author searched JIRA and ask.clojure.org, but the findings are one person's account and have not been independently confirmed.
Why it ranked
No. 16 of 128 with a score of 0.65. The panel rated it highest on new information (0.93) and technical depth (0.92), lowest on audience breadth (0.48). Placed No. 16, No. 36 by score alone: the placement terms moved other stories past it.
- AI judgeJudge 2claude-haiku-5-5
- Concrete, reproducible bugs in Clojure's core with patches and Lean proofs; strong technical depth and novel findings, limited to one language's community, so moderate breadth and significance.
- AI judgeJudge 3gpt-5.6-luna
- Detailed, reproducible formal verification and differential-testing work reports 17 concrete Clojure bugs, including severe correctness failures. It is highly technical and actionable for language/library maintainers, though impact is concentrated in the Clojure ecosystem.
Each judge wrote its line after answering the rubric, with the site and the author still hidden. Every answer behind this is in the table under Score.
Score
0.65total under rubric v2.3
- Significance0.55
- Reader interest0.79
- Audience breadth0.48
- Practical relevance0.64
- Substantiated0.90
- Technical depth0.92
- New information0.93
- Counts against: Promotional0.03
- Counts against: Overclaim0.22
Each judge’s answer per question (0–1), their mean and spread, and what the question adds to the score (weight × mean).
| Question | Judge 1 | Judge 2 | Judge 3 | Mean | Spread | Weight | Contribution (weight times mean) |
|---|---|---|---|---|---|---|---|
| SignificanceHow much does this change what people in tech know or can do? | 0.51 | 0.45 | 0.68 | 0.55 | 0.23 | +0.24 | +0.131 |
| Reader interestWould a well-informed senior engineer or tech founder want to read this today, and likely pass it on? | 0.66 | 0.80 | 0.90 | 0.79 | 0.24 | +0.26 | +0.205 |
| Audience breadthHow many people who build technology does it concern? | 0.50 | 0.50 | 0.45 | 0.48 | 0.05 | +0.13 | +0.063 |
| Practical relevanceHow useful is it to someone who builds software or tech products? | 0.61 | 0.60 | 0.72 | 0.64 | 0.12 | +0.22 | +0.142 |
| SubstantiatedHow well is it backed? Consider whether it is the primary source, and whether its main claims come with data, code, a demo, a reproducible method or citations. | 0.93 | 0.85 | 0.93 | 0.90 | 0.08 | +0.05 | +0.045 |
| Technical depthHow technically substantive is it? | 0.99 | 0.85 | 0.91 | 0.92 | 0.14 | +0.05 | +0.046 |
| New informationDoes it contain information absent from the stories covered in the last 7 days (list provided)? | 0.88 | 0.95 | 0.97 | 0.93 | 0.09 | +0.05 | +0.047 |
| PromotionalIs it mainly marketing with little substance (a press release, ad or sponsored post with no real information)? A launch post that carries real news is not promotional. | 0.04 | 0.03 | 0.01 | 0.03 | 0.03 | −0.19 | −0.005 |
| OverclaimDo the headline or conclusions claim more than the body supports? | 0.39 | 0.20 | 0.08 | 0.22 | 0.31 | −0.11 | −0.025 |
| Sum of contributions | +0.648 | ||||||
| Claim-check penalty | 0.000 | ||||||
| Total, as published | 0.648 | ||||||
Spread is the highest minus the lowest judge answer. marks a spread above 0.40: the judges disagree, and the story is marked contested.
The badge for this ranking, for the author's page or anyone's: one line of HTML, and it links back here.
<a href="https://rubric.hrih.si/editions/2026-11-25/16/"><img src="https://rubric.hrih.si/badge/2026-11-25/16.svg" alt="Ranked #16 on Rubric, 25 Nov 2026" width="245" height="28"></a>Claim check
Claim check: 2 no source given · 6 couldn’t check. Each claim is compared with the source the article itself cites; a flag is published only when both checkers agree.
No source givenNumber
The author found 17 bugs in Clojure's core that they could not find reported in Clojure's JIRA or on ask.clojure.org.
The article gives no link or citation for it.
The article says “I found 17 bugs that I could not find in Clojure's JIRA or on ask.clojure.org”
The source says No source to compare with.
Couldn’t checkDate
Clojure 1.12.7 was released on 2026-11-18.
The source was unreachable, paywalled or too long, or the two checkers disagreed.
The article says “I used Clojure 1.12.7, released on 2026-11-18, and JDK 21”
The source says No passage could be compared.
Source cited by the article: github.com/clojure/clojure/tree/clojure-1.12.7
Couldn’t checkNumber
Reducing a vector-of that has had drop applied never returns once the vector has 65505 or more elements.
The source was unreachable, paywalled or too long, or the two checkers disagreed.
The article says “If you drop from one and then reduce it, the call never returns once the vector has 65505 or more elements”
The source says No passage could be compared.
Source cited by the article: github.com/clojure/clojure/blob/clojure-1.12.7/src/clj/clojure/gvec.clj
Couldn’t checkDate
The 0xffe0 mask in gvec.clj has stayed in place since the 2010 commit that added internal-reduce.
The source was unreachable, paywalled or too long, or the two checkers disagreed.
The article says “The 0xffe0 mask has stayed in place since the 2010 commit that added internal-reduce”
The source says No passage could be compared.
Source cited by the article: github.com/clojure/clojure/commit/5b281880
Couldn’t checkCausal conclusion
HashCollisionNode.without passes the parameter hash instead of this.hash when building the new node, so dissoc with an equal key of a different hash records the wrong hash.
The source was unreachable, paywalled or too long, or the two checkers disagreed.
The article says “It should give the new node its own hash, this.hash, but it passes the parameter hash instead”
The source says No passage could be compared.
Source cited by the article: github.com/clojure/clojure/blob/clojure-1.12.7/src/jvm/clojure/lang/PersistentHashMap.java
Couldn’t checkCausal conclusion
CLJ-2864 removed the logic that read a function's return value as a Clojure truthy value when adapting to a functional interface, but Reflector.coerceAdapterReturn still applies RT.booleanCast, so typed and reflective removeIf calls differ.
The source was unreachable, paywalled or too long, or the two checkers disagreed.
The article says “That method still applies RT.booleanCast to a boolean return value, so the same .removeIf call gives a different result depending on the type hint”
The source says No passage could be compared.
Source cited by the article: github.com/clojure/clojure/blob/clojure-1.12.7/src/jvm/clojure/lang/Reflector.java
Couldn’t checkCausal conclusion
CLJ-962 fixed the negative-index bug in nth for subvec, but assoc still has it.
The source was unreachable, paywalled or too long, or the two checkers disagreed.
The article says “CLJ-962 fixed the same bug in nth, but assoc still has it”
The source says No passage could be compared.
Source cited by the article: clojure.atlassian.net/browse/CLJ-962
No source givenNumber
PersistentHashMap and PersistentHashSet matched java.util.HashMap over 3 million operations of differential testing, showing no mismatch.
The article gives no link or citation for it.
The article says “PersistentHashMap and PersistentHashSet matched java.util.HashMap over 3 million operations that mixed persistent and transient updates”
The source says No source to compare with.
Also covered by
No other coverage was clustered with this story.
Elsewhere
Elsewhere: HN 10 pts, not on front page
Recorded for context only, checked 25 Nov 2026, 05:47 UTC. It played no part in the ranking.