Repository navigation
Conversation
Documentation build overview
48 files changed ·
|
Merging this PR will not alter performance
Comparing Footnotes
|
…cedure Co-Authored-By: Claude <noreply@anthropic.com>
f40ceb7 to
ee17432
Compare
|
Note The following content was generated by AI. Folded into #1232 and closed unmerged. Nothing is lost: this PR moved the — so #1232's pin already contains #33's commits. The waypoint gated nothing, and #1232's pin comment names all three upstream PRs. What this drops is the record that the suite was green against #33's head in isolation. That check was "nothing broke", and #1232 re-establishes it against a strict superset. The stack is now #1230 → #1232. Generated by Claude Code |
Note
The following content was generated by AI.
Second of three. Stacked on #1230; adopts energy-models/math-spec#33, which adds
check_partition(cases, schema)— the decision procedure that answers whether a set ofwhen:masks is disjoint, exhaustive and free of dead cases, with no data bound.This one is the pin and nothing else, and that is the whole finding. #33 adds a single self-contained module and wires it into no schema key:
cases:is not yet somethingexpressions:accepts, which #33 says outright and defers to #36. So it changes no surface this package parses, no AST node either lane walks, and no error text a user of this package can reach. There is nothing here to adopt beyond standing on the base that #36 needs — and the useful claim a consumer can make about it is the negative one, checked rather than assumed.What changed
The
math-specpin moves fromd414e87(#31's head) tobd2dcdb(#33's head), and the comment beside it names what the commit now carries.Verified
Full suite on Python 3.12, HiGHS: 2965 passed, 323 skipped, 1 xfailed — identical, test for test, to #1230's run beneath it.
ruff checkandruff format --checkclean.The 10 failures are the
gurobiandxpresssinks, whose wheels are not installed in this container; they fail the same way onmainand are unrelated to the pin.Not checked: those two sinks, and the typst golden tests, which skip for want of the binary. No measurement was taken and none is claimed.
Deliberately not done
check_partitionis not called from this package. It is upstream's to run during validation, which is what feat: API polish — check(), write(), LanguageError, Solution lifecycle #36 wires up; a second caller here would be a second place the same claim is made.Stays a draft while #1230 is. The pin advances again in the PR above this one, which is where
cases:becomes something a model can write.