carlok — zsh — 88×30
Carlo Perassi

$ grep -l contribution _posts/*.md

#contribution

18 posts tagged contribution. Back to the full blog.

home.sh projects.sh blog.sh writing.sh math.sh cv.sh

Contributed to zazzati/frizzi: fifteen merged pull requests in one evening on a passwordless event organiser

Frizzi is zazzati’s passwordless tool for finding a date that works: the organiser creates a poll and gets a private management link by email, guests see the group’s availability and vote, and everyone gets a link to edit their own answer — SvelteKit and TypeScript in front, Rust and Axum with PostgreSQL behind. On 20 November carlok opened fifteen pull requests against it and all fifteen were merged the same evening, +21,149 lines and −4,597: CI with pinned toolchains (#1), a portable e2e harness that no longer depends on how Mailpit gets installed (#2), Rust unit tests for templates, calendar and deadlines (#3) and Vitest coverage for the frontend logic (#4).

Contributed to zazzati/aurora: a mobile-first layout, touch controls, and the GPU reset behind Android's white screen

carlok contributed a mobile-first pass to zazzati/aurora, a Northern Lights simulator that renders the aurora over a WebGL globe, and the pull request was merged on 18 November (#1, 543 lines added and 75 removed, all in index.html). The substantive part is a crash fix: on Android Chrome with a Mali-G720, the WebGL context was lost about four seconds after the first frame, every run, and Chrome then blocked WebGL for the page on reload. Bisecting on the device showed it was not the 3D rendering — the crash happened with every draw call disabled — but makeEarthCanvas(), whose large land-polygon fill Chrome GPU-rasterizes into a 4096×2048 2D canvas; on that GPU the job hangs, the driver resets and every context on the page is lost.

Contributed to pymodbus and libmodbus: two Modbus servers disagreeing on the wire, four bugs

Four protocol-conformance bugs went upstream to the two Modbus implementations on 30 October, each found by differential testing one against the other: the same raw request put on the wire, the two answers compared byte for byte. pymodbus-dev/pymodbus#3074 was merged on 31 October by janiversen (three files, +39/−2): a Write Single Coil request (0x05) with a value other than 0xFF00 or 0x0000 used to be carried out — any non-zero value turned the coil on — and answered with an echoed 0xFF00 the client never sent, where the specification’s state diagram answers exception 03. WriteSingleCoilRequest now keeps the decoded value and datastore_update answers ILLEGAL_VALUE before touching the datastore.

contributed to The Alien Space of Science and joserfc: where the idea went, and a one-second JWT bug

Two things went upstream from alien-hunt. On alejandrohdez00/alien-space-of-science — the paper and code the sampler is adapted from — issue #2 says where the idea was taken: what replaces the paper’s trained coherence and availability models, the two results that survived a reproducer, and the two that did not. It asks for nothing.

contributed to urllib3: Timeout.read_timeout should honour total before a connection starts

Opened urllib3#5336, a one-property fix in Timeout.read_timeout. The docstring says that when a read timeout and a total are both given “the shorter timeout will be applied”, but before start_connect() has been called the property returns read as it is, so the longer one wins: Timeout(total=1, read=2).read_timeout is 2. After the connect clock starts it already returns min(total - elapsed, read), so the patch makes the not-started branch agree — no time has elapsed, hence min(total, read), the same value it returns immediately after start_connect().

contributed to telaviv/strong-six-exponentials: a licence request, so a theorem becomes a dependency

strong-six-exponentials is someone else’s Lean 4 formalisation of Roy’s strong six exponentials theorem — public since 18 October, on the same Lean and Mathlib revision — and it is the one hypothesis standing between diaz-modulus-lean and a batch of unconditional results: the library’s theorems take that theorem as the hypothesis hSSE, and the two statements are a short bridge apart. So the contribution to that project is a question rather than a patch, issue #1 opened on 23 October and addressed to Shawn Krisman: the repository has no LICENSE file while its file headers say Apache 2.0, so a licence with a named copyright holder is what would let the work depend on it through Lake, with credit in the README and the companion note.

contributed to pyasn1 and python-multipart: three ordering and chunking bugs

Three pull requests went upstream on 2026-10-21, each with a failing test first. On pyasn1/pyasn1, BitString ordering breaks on equal-length values: __lt__ and __gt__ compare length then value, but __le__ and __ge__ test len(a) <= len(b) or ..., already true when the lengths match, so the value is never reached — BitString(binValue='11') <= BitString(binValue='10') and the same pair with > both come back true. Comparing lengths strictly in the two operators fixes it, two tests go in and the suite moves from 1261 to 1263.

contributed to arminbiere/kissat: clause-section parse errors all point at line 1

Opened issue #83 on arminbiere/kissat, reporting that most parse errors in the clause section report line 1 whatever line they are actually on: an x on line 7 of a seven-line DIMACS file comes back as kissat: error: x.cnf:1: parse error: expected digit or '-'. The cause is in parse_dimacs, which counts lines in a local lineno and sets *lineno_ptr = 1 once at the start, copying the local value back only in NONL(...) and on success — every other error path returns its message directly, so the caller prints the initial 1. The report proposes a sibling macro of NONL that assigns the counter before returning, notes that CaDiCaL 3.0.1 reports the right line on the same input, and records that it was reproduced by hand against kissat 4.0.4 and current master by an LLM-assisted analysis. It was found while testing a DIMACS parser against the SATLIB uf* files that end with %, which is also how cdclkit closed the same roadmap item without reporting the % upstream.

LeanFrontier: a curvature-center tangency bridge from an outside contributor

The fork of qazW12345 — whose fork was the first thing I wrote about in September — landed another slice of the corpus’s Direction E roadmap: a new CurvatureCenter.Circle carrying a curvature plus a Euclidean centre in ℂ, a bendCenter, lossless conversions to and from EuclideanGeometry.Sphere ℂ, an IsExternallyTangent equation in reciprocal-curvature coordinates equivalent to Mathlib’s Sphere.IsExtTangent, and a Ford-circle specialization that recovers the accepted Farey-neighbour cross-determinant criterion. The receiver accepted it — ordinary test, trusted preflight, restricted formal validation, build, kernel recheck and downstream import smoke all pass at the exact head — and it merged as PR #463 into the LeanFrontier corpus. No new mathematics is claimed: the module deliberately stops before any claim that the algebraic Descartes Vieta reflection equals an inversive reflection, which the roadmap requires a geometric configuration for first.

Contributed to PalomarRegistry/PalomarSubmission: registration stopped creating archive copies

Contributed PalomarRegistry/PalomarSubmission#156: registration of an accepted submission had been “under way” for more than seven hours, the status page’s last event being 2026-09-28T08:09:00Z — The submitter asked for this result to be registered, with no palomar/… tag on the repository and no PalomarArchive copy created. The issue reports that this is not local to one submission: the newest repository in the PalomarArchive organisation was created at 06:50Z and none since, for anyone, while the rest of the pipeline looked healthy — 24 workflow runs started in PalomarSubmission since 09:00Z, 20 of them successful.

contributed to mathlib4: #43660 merged — unused hypotheses weakened in Data and Order

Contributed to leanprover-community/mathlib4: PR #43660 was merged into master on Sep 10, weakening unused hypotheses in Mathlib/Data/Finset/Pairwise.lean, Mathlib/Order/Antichain.lean and Mathlib/Order/Monotone/Extension.lean — five one-line binder changes, five insertions and five deletions. It answers a request on the mathlib Zulip to slice the machine-found weakenings into smaller, reviewable PRs, and the unused-assumptions pipeline supplied the edits: replace one binder with a weaker class, keep the proof unchanged, let the compiler decide. The larger #43503 — 32 typeclass weakenings across 29 files — is still open.

contributed to mathlib4: #43503 bundles 32 mechanically found typeclass weakenings

Contributed to leanprover-community/mathlib4: PR #43503 weakens unused typeclass assumptions on section variables across 29 files — 32 one-line changes, 32 insertions and 32 deletions. Each was found by the unused-assumptions pipeline (LLM + Lean 4 propose, the compiler decides): replace one binder with a weaker class, keep the proof unchanged, compile it alone. Every change built against its unmodified file, with the whole library compiling locally at 633b366493. It is one PR rather than many by deliberate choice, citing mathlib’s own #42214 (813 files of the same kind of change) as precedent; the background is on the mathlib Zulip, where a reader spotted a further simplification in one refactored file.

teorth/equational_theories: a PR correcting the paper's section 5.1 counts

Contributed to teorth/equational_theories a pull request correcting the paper’s section 5.1 brute-force counts: the two stated addends, 13,345,053 and 415,293, sum to 13,760,346 rather than the printed 13,632,566, and the “96.3% of the false ones” figure describes the first addend, not the total. The corrected numbers come from the project’s own All4x4Tables README, fixed earlier in #1335; the analysis is disclosed as AI-produced under human direction and reproducible from parsimagma.

parsimagma-greedy-cover: a refuter published on the SAIR Contributor Network

parsimagma-greedy-cover is now public on the SAIR Contributor Network, entered into the Mathematics Distillation Challenge Stage 2. It is a deterministic refuter with no LLM calls: given two equational laws it finds a finite magma satisfying the first and violating the second, and emits a Lean 4 certificate the organisers’ judge accepts under plain decide. The point of publishing is the ordering rather than the score — four instances of Z/2 refute 11,871,871 of the ETP’s 13,855,357 false implications, twenty-five refute 97.2%, and x ◇ y = 7x + 7y over Z/13 alone refutes 268 pairs that Vampire’s fmb, Mace4 and z3 on a ground encoding all fail to find. The honest number is on the item: 55 of 200 on the graded distribution, zero on the true half by design, and zero on the extra_hard category, which is selected against exactly this method.

teorth/equational_theories: 411 Vampire-unresolved implications have finite models

Contributed to teorth/equational_theories an issue reporting that the 1,062 Vampire-unresolved implications are not uniformly hard: at least 411 of them have finite countermodels on 9 to 32 elements. The analysis is reproducible from parsimagma and disclosed in the issue as AI-produced under human direction.

hrodrig/gghstats: selectable clone statistics merged upstream

The pull request adding selectable daily clone statistics to hrodrig/gghstats was merged upstream: the “Unique” line on the clones-over-time chart and the compact daily clone panel are now part of the project.

contributed to TauCetiProject/TauCeti: an import-density measurement

Opened issue #3954 on TauCetiProject/TauCeti, the machine-generated Lean 4 library, to thank its maintainer and share a measurement: replaying its public history shows internal import density rising from 0.40 to 1.55 per module. The report is the courtesy side of the lean-corpus-density analysis, which used TauCeti’s history as evidence that machine mathematics accumulates.

contributed to hrodrig/gghstats: selectable clone statistics

Contributed to hrodrig/gghstats with a pull request that adds selectable daily clone statistics to the repository index: a second “Unique” line on the clones-over-time chart with its legend enabled, plus a compact daily clone panel. The change makes unique cloners visible alongside total clone events.