Repository navigation
feat(rsi): semantic genetic crossover, hybrid L1/L2 diagnostic council, ablation benchmark & persistent Studio save - #27
Merged
ZhuLinsen merged 3 commits intoNov 22, 2026
Conversation
…ouncil, ablation benchmark & persistent studio save
…n and add workflow guard test
ZhuLinsen
deleted the
feat/semantic-crossover-hybrid-l2-and-ablation-benchmark
branch
November 22, 2026 02:48
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.
改了什么 / What Changed
Semantic DSL Genetic Crossover (
src/alphaevo/rsi/crossover.py,src/alphaevo/rsi/engine.py,src/alphaevo/rsi/trajectory.py)SemanticCrossoverBreeder(exit_graft,filter_graft,trigger_blend) enforcing complexity caps, structural deduplication, andStrategyMutator-compatible exit change descriptors checked bySelfCritic/ Prosecutor.StockRSIEngine.run()(crossovers_tried,crossovers_kept,secondary_parent_id), DPO trajectory export (RSITrajectoryStep.secondary_parent_id), Arena snapshots, andrender_evolution_tree_svg(dashed purple#a855f7crossover edges +🧬Xbadges).Bottleneck-Aware Hybrid LLM L1 Council & Hybrid L2 Co-STEER (
src/alphaevo/rsi/council.py,src/alphaevo/rsi/co_steer.py)_format_diagnostic_contextandHeterogeneousCouncil.audit_changes, routing liveStrategyBottleneckReport,BlindSpotCluster, activeExecutableScars, and Charter mission notes directly into Proposer/Prosecutor LLM & CLI prompts with graceful deterministic fallback on malformed/missing responses.BlindSpotMinerwith transient hybrid LLM factor synthesis (_try_llm_synthesize), AST whitelist + runtime PIT lookahead rejection, causal quantile threshold calibration (_calibrate_causal_threshold), and 7 cluster-ordered pure-OHLCV templates (addedclose_location_value_5dandatr_expansion_ratio_14d).Reproducible Multi-Strategy Ablation Benchmark (
src/alphaevo/rsi/benchmark.py, CLI, Web, MCP)run_evolution_benchmark&render_benchmark_markdowncomparingbaselinevs.l1_onlyvs.l1_l2_crossoverunder locked chronological holdout + optional Tier-2 Null Audit.alphaevo rsi benchmarkCLI command,POST /api/rsi/benchmark, and MCP toolalphaevo_benchmark_strategies(12 MCP tools total).Persistent Studio Save & Arena / Docs / Pages Sync
POST /api/strategies/save+ Web Studio Save Champion to Store (#btn-save-champion), Ablation Benchmark panel (#btn-benchmark), and Arena CLI flags (--crossover/--no-crossover,--proposer-model,--prosecutor-model).https://zhulinsen.github.io/alphaevo/viaarena-daily.yml) and updatedREADME.md,docs/README_CN.md,SKILL.md,AGENTS.md, andCHANGELOG.md.为什么 / Why
exit_graft,filter_graft,trigger_blend) while preserving strict L0 falsification gates.baselinevsl1_onlyvsl1_l2_crossover) and one-click champion persistence inside Web Studio.验证情况 / Verification
.venv/bin/ruff format --check src/ tests/unit/test_phase8_crossover_hybrid_l2_benchmark.py→136 files already formatted.venv/bin/ruff check src/ tests/ scripts/→All checks passed!.venv/bin/mypy src/alphaevo/ --ignore-missing-imports→Success: no issues found in 135 source filesLAZY CLI OK) & Node--checkon Web Studio + Arena HTML scripts (web_ui rc=0,arena_html rc=0) passed..venv/bin/pytest tests/unit/ tests/integration/ -q --tb=short -m "not network"→1083 passed, 2 warningstest_tier2_null_audit_zero_false_promotions_with_l2_and_crossover,n_worlds=2, L1+L2+Crossover enabled) →passed=True, false_promotions=0.alphaevo-0.2.0-py3-none-any.whlin clean/tmp/phase8-smokevenv):alphaevo version,alphaevo mcpping,alphaevo arena run --rounds 2(4 strategies, Portfolio Return+3.70%, Sharpe1.41, MaxDD1.7%, Shadow Hash ChainVERIFIED), andalphaevo rsi benchmark --rounds 2 --no-null-audit(WHEEL SMOKE OK).arena-daily.ymlrun44914629099succeeded (evolve-arena+deploy-pages) → live athttps://zhulinsen.github.io/alphaevo/.git diff --stat main -- src/alphaevo/truth/ src/alphaevo/evaluator/metrics.py→ empty (L0 UNTOUCHED OK).风险点与免责声明 / Risks & Disclaimer
v0.2.0) until all CI checks pass and user confirms.仅用于量化策略研究与防过拟合验证闭环,不构成任何投资建议或收益承诺).