import React from 'react'; const STRATEGY_ORDER = ['engine_w', 'random_null', 'coverage']; const STRATEGY_LABEL = { engine_w: '엔진', random_null: '무작위', coverage: '커버리지' }; export default function TrackRecordCard({ byStrategy }) { if (!byStrategy) return null; const rows = STRATEGY_ORDER.filter((s) => byStrategy[s]); return (

누적 성적표

{rows.length === 0 ? (

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

) : ( <> {rows.map((s) => { const a = byStrategy[s]; return ( ); })}
전략 누적 장수 회차수 1등 2등 3등 4등 5등
{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}

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

)}
); }