ai-code-battle/cmd/acb-evolver/internal/crosspoll
jedarden d43cf83471 feat(evolver): island cross-pollination every 50 generations per §10.2
Adds cross-pollination logic that copies the top program from each island
to a random other island every 50 generations. When source and target
islands use different languages, the LLM translates the code. Generation
boundaries are tracked per-island to prevent duplicate events.

- New crosspoll package with boundary detection, migration, and LLM translation
- Added MaxGenerationByIsland DB query for generation counter tracking
- Integrated into RunEvolutionLoop with observability logging
- Tests for boundary logic, translation prompts, and target selection

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-22 15:13:27 -04:00
..
crosspoll.go feat(evolver): island cross-pollination every 50 generations per §10.2 2026-04-22 15:13:27 -04:00
crosspoll_test.go feat(evolver): island cross-pollination every 50 generations per §10.2 2026-04-22 15:13:27 -04:00