Repository navigation
feat: retire and deprioritize parents whose mutations always score 0.0 - #874
Merged
Merged
Conversation
Previously the child's numeric interestingness score was discarded after the keep/skip decision, so every non-find ticked the same mutations_since_last_find counter. A parent producing warm near-misses (score 8-9, real gradient) was indistinguishable from one producing only stone-cold 0.0 children (no gradient at all); both burned the full CORPUS_STERILITY_LIMIT (599) leash at full selection weight. Now the score flows onto NoChangeResult via a new ScoringManager.evaluate_interestingness() ((bool, float|None); score_and_decide_interestingness is kept as a thin bool wrapper). The orchestrator tracks a per-parent consecutive_zero_score streak (reset by any warm child or find, untouched by non-measurements like duplicates or resource-kills), retires parents early at COLD_STERILITY_LIMIT (100), and CorpusScheduler applies a graduated coldness penalty so cold parents are selected less often before retirement. Closes #873 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Summary
0.0— no coverage/timing/JIT-vitals signal, no gradient) from warm parents producing sub-threshold near-misses, which were previously treated identically.NoChangeResult(via newScoringManager.evaluate_interestingness();score_and_decide_interestingnesskept as a thinboolwrapper) and tracks a per-parentconsecutive_zero_scorestreak (reset by any warm child/find; untouched by non-measurements like duplicates or resource-kills).COLD_STERILITY_LIMIT(100) instead of the bluntCORPUS_STERILITY_LIMIT(599), and adds a graduated coldness penalty (COLDNESS_PENALTY_*, Heuristic 6) toCorpusSchedulerso cold parents are selected less often before retirement.02_the_evolutionary_loop.md+05_state_and_data_formats.mdupdates, plus CLAUDE.md staleness fixes (missingjit_seeds.py/jit_bug_patterns.py/utils.py, native-seeding prerequisite).Test plan
evaluate_interestingness, and_record_new_findreset.pytest tests/).ruff check+ruff formatclean;mypy lafleur/introduces zero new errors.Closes #873
🤖 Generated with Claude Code