Fig. 1 in words
One source, two tool versions · Sprint 25’s wheel, built twice with each · SHA-256 as an 8 × 8 square
1 Sprint 25’s wheel, built twice with each
- hatchling 1.32.4 · build 1 · 06334646fb0ae368… · 917 B
- = hatchling 1.32.4 · build 2 · 06334646fb0ae368… · 917 B
- NOT THE SAME
- hatchling 1.33.0 · build 1 · 5620af12e1711f04… · 913 B
- = hatchling 1.33.0 · build 2 · 5620af12e1711f04… · 913 B
- One cell per hex digit of the SHA-256 (0 dark → f bright). Same version, same square, to the bit. Hatchling 1.32.4 was current when Sprint 25 was posted (3 Oct 2026); 1.33.0 came out on 28 Oct 2026.
2 Inside the wheel · toytok-0.1.0.dist-info/WHEEL
- Wheel-Version: 1.0
- - Generator: hatchling 1.32.4
- + Generator: hatchling 1.33.0
- Root-Is-Purelib: true
- Tag: py3-none-any
- One line differs. RECORD changes with it, because it lists the SHA-256 of WHEEL. Compressed, WHEEL loses 1 byte and RECORD 3.
- Check: (86 - 85) + (204 - 201) = 4 = 917 - 913
Try It · Bash · Python 3.11.15 Run on 13 Nov 2026 · Output as printed
$ git clone -q https://github.com/MT24Learning/knowledge-sprint-series
$ cd knowledge-sprint-series/phases/phase-08-tokenization-and-parsing/code
$ python3.11 -m venv .venv && . .venv/bin/activate
$ pip install -q -r requirements.txt
$ mkdir pinned latest && S=../sprint25_publishing_a_package.py
$ cd pinned && PIP_CONSTRAINT=../constraints.txt python $S | sed -n 1,3p
1 06334646fb0ae368
2 06334646fb0ae368
toytok-0.1.0-py3-none-any.whl 917
$ cd ../latest && python $S | sed -n 1,3p
1 5620af12e1711f04
2 5620af12e1711f04
toytok-0.1.0-py3-none-any.whl 913
$ unzip -p toytok/dist/*.whl '*/WHEEL' | grep Generator
Generator: hatchling 1.33.0Code Availability What · Where · On which terms
- What One file per sprint: 41 Python programs, copied line by line from the images and ending with their printed output as comments, and 3 shell scripts of Phase 1’s commands. Each phase folder pins its packages to exact versions in requirements.txt and says how to run it.
- Where Browse: phases/…/code/ in the GitHub index. Cite: the Zenodo software record 10.5281/zenodo.24201674, linked to all 14 phase records.
- Terms Code: MIT License. Images and texts: CC BY-NC-SA 4.0.
Springer Nature’s code policy asks what, where and on which terms, and calls a GitHub link alone insufficient: it assigns no permanent identifier. The DOI does.
01 · Popular claim, tested Holds only with the same tool versions
“Same code, same result.”
Sprint 25’s code, built on 13 Nov 2026 without its pin, gives a different wheel: 913 B, not the 917 B on the image. Two builds with one version agree to the bit.
Reproducible Builds counts the build environment as an input; hatchling builds reproducibly by default.
02 · Bridge · The pin has a version too
Since pip 26.2, PIP_CONSTRAINT no longer reaches pip’s own build environments. With pip 26.3 and one pin file, pip wheel built with hatchling 1.33.0 under PIP_CONSTRAINT and 1.32.4 under PIP_BUILD_CONSTRAINT; python -m build (1.6.1) still applied PIP_CONSTRAINT.
NumPy too: NEP 19 lets Generator streams change between releases, so every folder using NumPy pins it.
Pinning is not proof. Read the Generator line of what you built.
03 · Rerun from the pins 13 Nov 2026
Sprints 1–3 purple · 4–11 blue · 12 amber · 13 blue · 14 green · 15 blue · 16–44 green
- 30 print exactly the lines on their images
- 10 print the same values, given in short form on the image
- 1 property test reports its pictured failing example
- 3 command scripts run to the end
Fresh environments · Python 3.11.15 (Phases 1–8), 3.13.18 (9–14)
Mini Project
Pick any phase folder and follow its README. Run one sprint’s file and compare your output with the comment lines at its end. Then loosen one pin and see what moves.
R Trusted Sources
- Reproducible Builds, “Definitions”: same source code, build environment and build instructions (reproducible-builds.org)
- Sandve, Nekrutenko, Taylor & Hovig (2013). Ten Simple Rules for Reproducible Computational Research. PLoS Comput Biol 9(10), e1003285
- NumPy, NEP 19 — Random number generator policy (R. Kern)
- PyPA, Binary distribution format (WHEEL, RECORD)
- pip 26.2 release notes (29 Jul 2026) and pip User Guide, “Constraints files”
- Hatch, build configuration (reproducible)
- Springer Nature, Code policy
- Open Source Initiative, The MIT License
- Creative Commons, CC BY-NC-SA 4.0
