Repository navigation
Conversation
added 3 commits
November 23, 2026 01:37
The plan step lists hypot in `all` and, as a function of two arguments, in `pairs`, so the scheduled night runs twelve functions and sweeps hypot one argument a night by `pair-passes=alternate`, the same argument as atan2's. The header, the 256-job comment, dev/nightly.sh's usage and PLAN.md name it; SKILLS.md estimates its cost from the night of 22 November. Generated-by: Claude Code (Opus 5.5)
The replay takes the jobs in the order they started, with hypot's appended, not in matrix order. Generated-by: Claude Code (Opus 5.5)
…even-function entry bench/pool/nightly-2026-11-22.tsv and nightly-cost-2026-11-22.tsv are pool.py fetch's rows of 22 November (the scheduled night of eleven functions and the day's dispatch); the twelve-function estimate cites them for its 720, 57.8 and 87. The eleven-function entry says it was written before a night ran them and points to the measured night. Generated-by: Claude Code (Opus 5.5)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
Part of #34. The nightly's plan step lists hypot in
alland, as a function of two arguments, inpairs, so the scheduled night runs twelve functions and sweeps hypot one argument a night by the defaultpair-passes=alternate, the same argument as atan2's each night (one rotation for both); a dispatch can name it (functions=hypot).The mechanism needed no change, as for atan2 in #126: the matrices, the turn-over of
alternateandpool.py's patterns already handle a second pair function, and hypot's four faults reach hypot alone throughreach()'s default case.Other changes:
both; 32 shards of all twelve, 384, are refused).dev/nightly.sh's usage names hypot (the review nit on [VFDLIBM-34] Port hypot from fdlibm #143), and PLAN.md drops its sentence that the night does not list hypot yet.SKILLS.mdadds a twelve-function budget entry, an estimate from the night of 22 November (run 44994568244), and notes on the eleven-function entries that one night has since been read.Why are the changes needed?
hypot is ported (#143) and the night is the correctness run for the ports; until now it ran only by hand.
Does this PR introduce any user-facing change?
No (CI and docs only).
How was this patch tested?
The plan step's
run:block, extracted from the workflow and run locally with adateshim: the defaults make 24 sweep, 48 Arm and 24 fuzz entries;functions=hypotmakes 2, 4 and 2 underalternate,1and2, and 4, 8 and 2 underboth; 16 shards are accepted (192, or 224 withboth), and 32 shards and 32 Arm shards are refused.Each of hypot's four faults narrows the run to hypot;
hypot.noSuchFaultis refused;atan.dropLostill reaches atan and atan2 only, and withfunctions=hypotit is refused.Against main, runs without hypot (
functions=exp,log,atan2, withboth, andfault=atan.dropLo) write the same output, and the default night's matrices are main's with hypot's entries added.Over 64 consecutive days, atan2 and hypot get the same argument each night, it turns over at day 32, every slice night 0 to 31 meets both arguments of each, and every matrix stays under 256 entries.
By hand at 256 bits on 4 threads:
NIGHTLY_ARGUMENT=1and2withdev/nightly.sh sweep hypot 1023/4096 0x5eed 256andstripe:255/256pass;dev/nightly.sh fuzz hypot 20 0x5eed 256, and 10 s as an AVX2 host, pass; underhypot.dropT2the fuzz exits 1, and underhypot.dropY2the sweep exits 1.NightlyTest,PairHarnessTest,PlantedFaultTestandHarnessSelfTestpass, as dopool.py selftestandactionlint.The workflow's hypot jobs have not run on GitHub: that needs the merge, so the first night with them is their first run.
Cost, an estimate and not a reading: run 44994568244 (eleven functions) took 720 runner-minutes and 57.8 minutes of span, and atan2 was the most costly function at 87; at atan2's cost hypot adds 8 jobs and about 87 runner-minutes, and replaying the night's jobs in the order they started on its slots, hypot's appended, adds 4 to 8 minutes to Arm, the kind that ended last, so the span should be about 62 to 66 minutes, under the budget's 90. The sweep part of that estimate is high, because atan2's sweep checks two arms and hypot's checks one.
Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Opus 5.5)