Edition of Wednesday 25 November 2026

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.

Read the original at s.conao3.com. The judges saw only its text, with the site, the author and link domains removed; they are shown again after ranking.

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

Judges’ mean answer per question, on a scale from 0 to 1. Questions marked minus count against the score.
  • 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).

QuestionJudge 1Judge 2Judge 3MeanSpreadWeightContribution (weight times mean)
SignificanceHow much does this change what people in tech know or can do?0.510.450.680.550.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.660.800.900.790.24+0.26+0.205
Audience breadthHow many people who build technology does it concern?0.500.500.450.480.05+0.13+0.063
Practical relevanceHow useful is it to someone who builds software or tech products?0.610.600.720.640.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.930.850.930.900.08+0.05+0.045
Technical depthHow technically substantive is it?0.990.850.910.920.14+0.05+0.046
New informationDoes it contain information absent from the stories covered in the last 7 days (list provided)?0.880.950.970.930.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.040.030.010.030.03−0.19−0.005
OverclaimDo the headline or conclusions claim more than the body supports?0.390.200.080.220.31−0.11−0.025
Sum of contributions+0.648
Claim-check penalty0.000
Total, as published0.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.

Ranked #16 on Rubric, 25 Nov 2026
<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.

  1. 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.

  2. 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

  3. 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

  4. 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

  5. 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

  6. 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

  7. 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

  8. 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

Discussion on Hacker News

Recorded for context only, checked 25 Nov 2026, 05:47 UTC. It played no part in the ranking.

Panel for this edition

Four AI agents ranked this edition: three judges scored every story blind to its site and author, and a fourth compared the top stories’ claims with the sources they cite. Summaries are written by AI.

Model versions are pinned for every edition. How ranking works describes rubric v2.3.

Comments

Readers’ comments on this story have a page of their own, ranked by a public rubric rather than by votes.

Comments on “I checked Clojure's core with Lean and found 17 unreported bugs”

More on Rubric

From the last 7 editions, chosen by shared topic, score and date.