Repository navigation
Conversation
Author
|
The optimizer test group and Ruff check for the new regression module pass locally. The two Actions workflows are waiting for maintainer approval ( |
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.
Fixes #294.
MAP-Elites currently admits non-finite fitness into its archive. With evaluator
scores
[NaN, 1.0]in one cell, the real optimization loop returns bestfitness
NaNand acceptance history[True, False]: the finite improvementcannot replace the invalid elite. Infinite feature descriptors are also
silently clipped into boundary cells.
This extends the existing numeric validation to reject non-finite fitness and
descriptors with field-specific
ValueErrors before archive admission orbinning. NaN descriptors previously failed later inside integer conversion;
they now receive the same clear field-specific diagnostic. Existing selection,
mutation, finite signed fitness, and finite out-of-range descriptor clipping
behavior is preserved.
Validation
Built on
main@e3df900662443e94dd92141be5633b040a69a70a.python -m pytest tests/src/optimizers --ignore=tests/src/optimizers/test_sew_workflow_scheme.py -q-> 30 passed
git diff --checkpassed.The full suite was not run because this environment lacks optional
RAG/workflow dependencies. No GPU runs, live LLM calls, or optimization-quality
claims are included.
Refresh
This replaces #295 on the current
mainbase. The earlier PR had no maintainerreview and had fallen below active review queues.
AI assistance: Codex reproduced the failure, prepared the patch and ran the
checks. No independent human review is claimed.