diff --git a/src/pages/lotto/Evolver.css b/src/pages/lotto/Evolver.css index 77bd977..2fec4ff 100644 --- a/src/pages/lotto/Evolver.css +++ b/src/pages/lotto/Evolver.css @@ -58,6 +58,9 @@ .winner-card .winner-meta strong { color: #f1f5f9; font-weight: 600; } .winner-card .winner-chart { background: rgba(0,0,0,0.15); border-radius: 8px; padding: 8px; } +/* Backtest — WinnerAnalysisCard chart wrapper (standalone, not inside .winner-card) */ +.backtest-winner-chart { background: rgba(0,0,0,0.15); border-radius: 8px; padding: 8px; } + /* TrialsGrid */ .trials-grid .grid { display: grid; grid-template-columns: repeat(6, 1fr); diff --git a/src/pages/lotto/evolver/TrackRecordCard.jsx b/src/pages/lotto/evolver/TrackRecordCard.jsx index 82db1cc..72600c7 100644 --- a/src/pages/lotto/evolver/TrackRecordCard.jsx +++ b/src/pages/lotto/evolver/TrackRecordCard.jsx @@ -7,41 +7,50 @@ export default function TrackRecordCard({ byStrategy }) { if (!byStrategy) return null; const rows = STRATEGY_ORDER.filter((s) => byStrategy[s]); - if (rows.length === 0) return null; return (

누적 성적표

- - - - - - - - - - - - - {rows.map((s) => { - const a = byStrategy[s]; - return ( - - - - - - - + {rows.length === 0 ? ( +

아직 백테스트 데이터가 없습니다.

+ ) : ( + <> +
전략누적 장수회차수3등4등5등
{STRATEGY_LABEL[s] || s}{(a.n_tickets || 0).toLocaleString()}{a.draws || 0}{a['3rd'] || 0}{a['4th'] || 0}{a['5th'] || 0}
+ + + + + + + + + + - ); - })} - -
전략누적 장수회차수1등2등3등4등5등
-

- 엔진이 무작위를 넘지 못하면 분석에 통계적 우위가 없다는 정직한 증거입니다. -

+ + + {rows.map((s) => { + const a = byStrategy[s]; + return ( + + {STRATEGY_LABEL[s] || s} + {(a.n_tickets || 0).toLocaleString()} + {a.draws || 0} + {a['1st'] || 0} + {a['2nd'] || 0} + {a['3rd'] || 0} + {a['4th'] || 0} + {a['5th'] || 0} + + ); + })} + + +

+ 엔진이 무작위를 넘지 못하면 분석에 통계적 우위가 없다는 정직한 증거입니다. +

+ + )}
); } diff --git a/src/pages/lotto/evolver/WinnerAnalysisCard.jsx b/src/pages/lotto/evolver/WinnerAnalysisCard.jsx index c780f1a..af860b3 100644 --- a/src/pages/lotto/evolver/WinnerAnalysisCard.jsx +++ b/src/pages/lotto/evolver/WinnerAnalysisCard.jsx @@ -25,7 +25,7 @@ export default function WinnerAnalysisCard({ analysis }) { 이번 당첨조합 분석치 무작위 상위 {pct} -
+