Repository navigation
feat(rsi): diagnostic evolution brain, L2 Co-STEER fix, MAP-Elites grid, L3 lab & DPO trajectories - #26
Merged
ZhuLinsen merged 1 commit intoNov 21, 2026
Conversation
ZhuLinsen
changed the base branch from
feat/evolution-observatory-council-replay-and-pages
to
main
November 21, 2026 14:29
…er fix, MAP-Elites grid, L3 mechanism lab & DPO trajectory export
ZhuLinsen
force-pushed
the
feat/diagnostic-evolution-brain-l2-mapelites-and-l3-lab
branch
from
November 21, 2026 14:30
d9ee9ef to
47538dc
Compare
ZhuLinsen
deleted the
feat/diagnostic-evolution-brain-l2-mapelites-and-l3-lab
branch
November 21, 2026 14:34
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
Failure-Driven Entry Bottleneck X-Ray (
src/alphaevo/rsi/diagnostics.py)ConditionPassRate,StrategyBottleneckReport,analyze_entry_bottlenecks) computing per-condition pass rates and identifying chokepoints (zero_signal_lockout,choke_condition,and_conjunction_starvation,over_filtered,healthy) without inspecting returns or recording intoTrialLedger.RSIEvolutionEngine(src/alphaevo/rsi/engine.py) and exportedPOST /api/strategies/diagnose(Web Studio) andalphaevo_diagnose_bottlenecks(MCP tool).L2 Co-STEER Semantics Fix & PIT-Safe Factor Templates (
src/alphaevo/rsi/co_steer.py)bottleneck_hinttoBlindSpotCluster.BlindSpotMiner.steerso L2 factor synthesis triggers only whensignal_count >= 10, and routes"or"-logic strategies' synthesized factors toentry.filters(preserving triggers vs guards semantics) rather than mutating the OR trigger pool.trend_alignment_slope_20d,downside_vol_ratio_10d) plus Arena--l2/--no-l2toggle (enable_l2_factors).Council Structural Unlock & Expanded Exit Levers (
src/alphaevo/rsi/council.py)HeterogeneousCouncil.generate_candidatesand_build_heuristic_proposalsto acceptblind_spot&bottleneck, prioritizing structural OR-unlock, deduplicated coordinated bundles, and guard-product choke pruning (guard_group_pass_rate < 0.25) onzero_signal_lockout.pct,atr,rr, andtrailing, interleaved by failure cluster.DPO Trajectory Flywheel (
src/alphaevo/rsi/trajectory.py)RSITrajectoryStep,DPOPreferencePair,RSITrajectoryExport,build_rsi_trajectory,export_rsi_trajectory), automatically exportingrsi_trajectory.jsonlandrsi_dpo_pairs.jsonlwhenoutput_diris set.MAP-Elites 3×3 Archive SVG & Web Studio / MCP / Arena Upgrades
src/alphaevo/arena/: Addedmap_elites_cells,synthesized_factors,total_l2_factors_synthesized,enable_l2_factors, inline 3×3render_map_elites_svg, and embedded MAP-Elites grid inrender_arena_html.src/alphaevo/web/: AddedPOST /api/strategies/diagnose,POST /api/rsi/mechanism-ab(L3 Meta-RSI Harness A/B Lab),#enable-l2,#bottleneck-box,#lab-map-elites,#btn-export-dpo, and live SSE/stream payloads (map_elites_svg,bottleneck_report,dpo_pairs).src/alphaevo/mcp/server.py,SKILL.md,README.md,docs/README_CN.md,AGENTS.md,CHANGELOG.md: Updated docs and registeredalphaevo_diagnose_bottlenecks&alphaevo_mechanism_ab(11 MCP tools total).tests/unit/test_phase7_diagnostic_brain_l2_mapelites_l3_dpo.py: Added comprehensive unit, cold-import, L2 PIT, MAP-Elites, DPO, Web/MCP, and Tier-2 Null Audit tests.为什么 / Why
src/alphaevo/truth/,src/alphaevo/evaluator/metrics.py).验证情况 / Verification
ruff format --check src/ tests/unit/test_phase7_diagnostic_brain_l2_mapelites_l3_dpo.py→134 files already formattedruff check src/ tests/ scripts/→All checks passed!mypy src/alphaevo/ --ignore-missing-imports→Success: no issues found in 133 source filespytest tests/unit/ tests/integration/ -q --tb=short -m "not network"→1075 passed, 2 warningsalphaevo-0.2.0-py3-none-any.whl): CLI, MCP ping, andalphaevo arena run --rounds 2(4strategies,22council deliberations,0L0 promotions,11vetoes /6prosecutor, Portfolio Return+3.70%, Sharpe1.41, MaxDD1.7%, Shadow Hash ChainVERIFIED) passed (WHEEL SMOKE OK).rsi_reversionbenchmark (bundled_snapshot,2025-02-11→2026-04-10,max_rounds=4,max_candidates_per_round=3): R0 baseline0 sig(fit=0.010) → R1 OR unlock79 sig(fit=0.152) → R4 exit calibration44 sig, 52% wr, +4.01% avg(fit=0.397,stepping_stone); L2 synthesizedintraday_range_compression_10d.n_worlds=2, L1+L2 enabled):passed=True, false_promotions=0.git diff --stat feat/evolution-observatory-council-replay-and-pages -- src/alphaevo/truth/ src/alphaevo/evaluator/metrics.py→ empty (L0 Truth Kernel untouched).风险点与免责声明 / Risks & Disclaimer
feat/evolution-observatory-council-replay-and-pages); do not merge before PR feat: Strategy Evolution Observatory, Council Debate UX, Trade K-Line Replay, Live SSE & Pages (v0.2.0) #25 or without retargeting base tomain.仅用于量化投研闭环验证,不构成任何投资建议或收益承诺).