You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix MAP-Elites eviction/zombie bugs, harden library API, swap CI model to dhara
Bug fixes:
- database.py: protect MAP-Elites cell owners during population eviction
(non-elite/homeless programs are removed first) — fixes#454 bug 1.
- database.py: remove programs displaced from their cell that become orphaned
(in no island, owning no cell) instead of leaking them as unsampleable
"zombies" that consume population slots — fixes#454 bug 2.
- api.py: fix run_evolution() with a lambda evaluator generating
`return <lambda>(...)` (SyntaxError); extract and bind the lambda expression
so the generated evaluator module is self-contained and subprocess-safe.
- controller.py: pass usedforsecurity=False to hashlib.md5 (seed derivation is
not security-sensitive) to satisfy SAST weak-hash checks.
Testing / CI:
- Swap the integration-test model from google/gemma-3-270m-it to
codelion/dhara-250m (served via optillm). Bound max_tokens to 256 in the
integration configs: dhara does not stop at the ChatML <|im_end|> marker, so
unbounded it rambled to the 4096-token default (10-20 min per call).
- Run the FULL integration suite in CI (drop the `-m "not slow"` filter) so
contributor PRs are exercised end-to-end; raise the job timeout to 90 min.
- Add tests: elite protection, orphan removal, initial-program artifacts,
and a real-LLM iteration/checkpoint test (moved out of the unit suite so it
no longer skips when no server is present). Update snapshot/parallel tests
that relied on the zombie behaviour to use distinct islands.
- Fix MockEvaluator (missing get_pending_artifacts) and the hardcoded model in
the library-API test config. Remove a stale .bak test file.
Security:
- Add a Frame SAST workflow that scans PR-changed Python files (SARIF ->
code scanning, non-blocking).
Bump version to 0.3.0.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments