Eleventh review of Level 3: the guard and the thread count; draft 14
An eleventh fresh session checked draft 13 at 16c8da9 (dev/l3-review-11/, six probes and the five
Level 3 test files, 1.26 CPU-hours). Verdict: not ready to freeze, with two blocking findings, four
to fix before the freeze and nine minor ones. I reran the six probes, the heavy three through the
pool. p1 to p5 gave the same values, field for field, every output hash included; p6's twelve
concurrent fetches collided in every trial again, 2 to 11 times in twelve against the reviewer's 5
to 11. The reviewer's files were put back before the commit.
Again no finding is a way through a check on the record. Both blocking findings are in what draft 13
added. The pre-push guard took the freeze's expected content from the commit being pushed, so a
cherry-pick or a fast-forward that changed harness/freeze.py but kept its V1 line went through,
as did a revert of the registration, a second or amended registering commit, a force push and a
deletion of main. That was my error: the guard was a second implementation of the freeze's rule,
and it disagreed with the first. And "made once" assumed a rerun made again is the same file, which
holds only at one BLAS thread count. A probe of my own ran the claim's SVD in fresh processes at
five thread settings: unpinned, four different outputs; pinned with threadpoolctl, one, even when
the process started at one thread.
Draft 14 has the guard load V1's own harness/freeze.py from git and run its registration check
on the pushed tip, and the hook run the check as the pushed tip and the remote's main hold it. Main
is never deleted and only moves forward. provenance.Run pins numpy's BLAS threads as it pins
torch's. The push check refuses a run record a rebase has stranded, and the hooks set pull.rebase
false. tools/register.py registers only as V1's author in a clone with the hooks. The texts say
where the guard does not reach and what "the same file" depends on. Ten of the new guard tests
failed when run against draft 13's guard and hook, as they should.
Draft 14's new guard tests first failed on three faults of my own in the tests (a branch made
twice, origin passed twice to a push, and a bare origin whose HEAD named no branch), and passed
once those were fixed. A test of twelve fetches at once passed six runs in a row, its control of
plain fetches colliding in each. The whole suite then passed on its first run: 555 tests in 22
minutes through the pool.