Skip to content

feat(persona): seeded evolution with held-out promotion gate - #91

Open
HugoXK wants to merge 1 commit into
mainfrom
janus/39-persona-evolution
Open

HugoXK wants to merge 1 commit into
mainfrom
janus/39-persona-evolution

Conversation

@HugoXK

@HugoXK HugoXK commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Refs JAN-039.

What changed

  • New core/janus/persona/evolution.py: deterministic evolutionary search over the persona profile with mutation, crossover, elitism, and a time-ordered train/validation split.
  • Promotion requires held-out Brier improvement over the baseline by a configurable threshold; otherwise the baseline persona is retained.
  • Persona id, version, and created_at derive from the seed/profile, so runs are reproducible.
  • Tests cover time ordering, disjoint splits, reproducibility, promotion refusal, versioning, profile bounds, and invalid inputs.

Verification

  • tests/test_persona_evolution.py: 5 tests pass locally.
  • No network, no external dependency, and no schema migration.

@HugoXK
HugoXK requested a review from HugoXK-bot as a code owner November 26, 2026 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant