Skip to content

feat(autoresearch): quality-diversity archive replacing top-K in PromptOptimizer (#3222)#3419

Merged
mrveiss merged 1 commit intoDev_new_guifrom
issue/3222-qd-archive
Apr 3, 2026
Merged

feat(autoresearch): quality-diversity archive replacing top-K in PromptOptimizer (#3222)#3419
mrveiss merged 1 commit intoDev_new_guifrom
issue/3222-qd-archive

Conversation

@mrveiss
Copy link
Copy Markdown
Owner

@mrveiss mrveiss commented Apr 3, 2026

Summary

  • Rebases issue/3222-qd-archive onto current origin/Dev_new_gui (the QD archive implementation — Archive class, VariantArchiveEntry, archive-aware PromptOptimizer loop, Redis persistence — was already fully merged upstream via the second commit being dropped as already present)
  • Removes unused ScorerResult import from prompt_optimizer.py (F401)
  • Removes unused OptimizationStatus import from prompt_optimizer_test.py (F401)
  • Cleans up extra blank lines and normalises ScorerResult constructor call formatting in tests (W292, style)

The quality-diversity archive (Issue #3222) replaces the greedy top-K filter so all scored variants are retained across generations, with random-weighted parent selection (weighted by score) preventing premature convergence in prompt space.

Test Plan

  • flake8 clean on all three changed files (--max-line-length=100)
  • All 20 pytest tests pass (20 passed in 0.68s)

Closes #3222

Generated with Claude Code

…ptOptimizer (#3222)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mrveiss mrveiss merged commit 1408904 into Dev_new_gui Apr 3, 2026
3 of 4 checks passed
@mrveiss mrveiss deleted the issue/3222-qd-archive branch April 3, 2026 21:04
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 3, 2026

✅ SSOT Configuration Compliance: Passing

🎉 No hardcoded values detected that have SSOT config equivalents!

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