Commit 601f6ae
authored
chore: bump operon pin to include NSGA2 reinserter fixes (#71)
* fix(bindings): shim OptimizerSummary over operon's tl::expected FitOutcome
operon's OptimizerSummary -> tl::expected<FitResult, FitFailure> (PR #122)
has no nanobind caster; flattens it back into the same field-level Python API.
* test(optimizer): cover CoefficientOptimizer success/failure via FitOutcome
Locks down the OptimizerSummary shim on both outcomes - success (fit
improves, coefficients applied) and failure (max_iter=0, matching the
Iterations()==0 contract GrammarEnumerationAlgorithm's C++ test depends on).
* build: bump operon pin to include the FitOutcome API in wheel builds
script/dependencies.py (linux/macos wheels) and the vcpkg port (windows
wheels) each hardcode their own operon rev, separate from flake.lock - both
were still on the pre-#122 API and failed to compile against this PR's
OptimizerSummary shim.
* fix(vcpkg): update MSVC patch context for the bumped operon rev
gaussian_likelihood.hpp gained a leading #include <algorithm> upstream,
shifting the patch's context lines enough that git apply rejected the hunk.
* build: bump operon pin, drop now-redundant <random> patch hunks
operon 79566dd7 adds the missing <random> includes upstream (was previously
patched in downstream); keeps only the /bigobj MSVC compile-flag hunk.
* chore: bump operon pin to include NSGA2 reinserter fixes
Picks up heal-research/operon#123 (reinserter delegation + two bug
fixes) and #124 (elitism as a ReinserterBase property); verified
building cleanly against the new pin.
* build: align vcpkg/wheel operon pins with flake.lock's final rev
ports/operon/portfile.cmake and script/dependencies.py were still
pinned to 79566dd7 (the intermediate bump), one commit behind
flake.lock's 78409afd; Windows and wheel builds were missing the
NSGA2 reinserter fixes this PR bumps to. SHA512 verified against the
GitHub archive tarball for the new ref.
* test(optimizer): assert Iterations == 0 on the early-return failure path
The failure-path test's own comment names this as the exact contract
GrammarEnumerationAlgorithm's C++ test depends on, but the test never
asserted it.1 parent 7168e1a commit 601f6ae
4 files changed
Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
85 | 86 | | |
86 | 87 | | |
0 commit comments