Repository navigation
Conversation
Add explicit mutation budget carries and pure preparation/update operations for fixed and acceptance policies. Share lifecycle and numerical decisions across eager and functional APIs. Use complete eager budget state and a new nested checkpoint payload. Legacy optional-field checkpoints are unsupported. Acceptance policies now use floating-point ceilings and cap max_steps at 2**24. Keep dynamic-budget child mutation execution explicitly unsupported. Cover iteration reuse, promotion, clipping, immutability, JIT/scan, independent adapters, and save/resume behavior. Validation: pre-commit; default suite (1381 passed, 426 skipped); NumPy/JAX/PyTorch adaptation tests (127 passed, 19 CuPy skips). Docs build succeeds with three unavailable intersphinx inventories.
Documentation build overview
28 files changed ·
|
Share DE block preparation and finalization while retaining separate eager and functional loops. Reuse with_metrics and acai.cond, validate effective child capacities through one public entry point, and retain direct-call argument checks. Add regressions for effective capacity validation and unsupported dynamic children. The shared acceptance rounding, budget state, and checkpoint schema are unchanged.
Keep freeze, once-only update, advancement, and checkpoint rules in the focused eager and functional lifecycle test. Retain independent-run isolation coverage and use the compiled DE scan for mutation execution, zero-budget recovery, and RNG parity. Validation before commit: pre-commit and the documentation build passed; the default suite passed with 1381 tests and 425 skips, and the all-backend suite passed with 1894 tests and 111 skips.
Avoid extracting metrics from the output after attaching the computed result. Add return-type overloads to MutationMetrics.result so non-None state produces a non-None result without a runtime assertion.
This branch has not been deployed
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.
Add support for the adaptive mutation budget with DE via the functional API