feat: integrate v2 backtest validation pipeline (#305) #313
Reference in New Issue
Block a user
Delete Branch "feature/issue-305-backtest-pipeline-integration"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Linked Issue
Scope
REQ-V2-005,REQ-V2-006,REQ-V2-007TASK-V2-007,TASK-V2-010,TASK-V2-011,TASK-V2-012TEST-ACC-012,TEST-ACC-013,TEST-ACC-014Ticket Stage
ObservedMain -> Verifier Directive Contract
src/analysis/backtest_pipeline.py통합 경로(CostGuard -> TripleBarrier -> WalkForward)pytest -q tests/test_backtest_pipeline_integration.py tests/test_triple_barrier.py tests/test_walk_forward_split.py tests/test_backtest_cost_guard.py tests/test_backtest_execution_model.pyruff check src/analysis/backtest_pipeline.py tests/test_backtest_pipeline_integration.pyrun_id,folds,label_distribution) 생성Coverage MatrixVerifier Coverage Matrix (Required)
test_pipeline_cost_guard_fail_fasttest_pipeline_happy_path_returns_fold_and_artifact_contracttest_pipeline_fold_leakage_guardB0/B1/M1)test_pipeline_deterministic_seed_free_deterministic_resultNOT_OBSERVED가 1개라도 있으면 승인/머지 금지.Gitea Preflight
docs/commands.md와docs/workflow.md트러블슈팅 선확인tea사용 (gh미사용)Session Handover Gate
python3 scripts/session_handover_check.py --strict통과workflow/session-handover.md최신 엔트리가 현재 브랜치/당일(UTC) 기준으로 갱신됨### 2026-02-27 | session=codex-issue305-ticket-branchRuntime Evidence
Approval Gate
Validation
[Reviewer Agent]\nReview result: no blocking findings.\n- 통합 경로(CostGuard -> TripleBarrier -> WalkForward) 확인\n- 결과 아티팩트 계약(run_id/folds/label_distribution) 확인\n- 누수 검사 유틸 및 통합 테스트 구성 적절
[Static Verifier Agent] APPROVED\nCoverage Matrix:\n| Item | Evidence | Status |\n|---|---|---|\n| CostGuard fail-fast | test_pipeline_cost_guard_fail_fast | PASS |\n| TripleBarrier labeling in orchestration | test_pipeline_happy_path_returns_fold_and_artifact_contract | PASS |\n| WalkForward purge/embargo no leakage | test_pipeline_fold_leakage_guard | PASS |\n| Baseline report B0/B1/M1 | happy-path baseline score names | PASS |\n| Deterministic rerun | test_pipeline_deterministic_seed_free_deterministic_result | PASS |\n| NOT_OBSERVED | N/A | 0 |
[Runtime Verifier Agent] APPROVED\n- Scope: 통합 파이프라인 실행 가능성/행동 검증(테스트 기반 관측)\n- Observation: fail-fast, fold 생성, 라벨 분포/아티팩트 생성, baseline 계산 모두 관측\n- NOT_OBSERVED: 0\n- Note: 본 티켓은 오프라인 분석 경로로 라이브 마켓 런타임 모니터링 대상 아님
[Developer Agent]\nReviewer feedback 반영 상태:\n- 추가 수정 필요 없음(블로킹 이슈 없음)\n- 검증 명령 재실행:\n - pytest -q tests/test_backtest_pipeline_integration.py tests/test_triple_barrier.py tests/test_walk_forward_split.py tests/test_backtest_cost_guard.py tests/test_backtest_execution_model.py\n - ruff check src/analysis/backtest_pipeline.py tests/test_backtest_pipeline_integration.py
[Verifier Consolidated]
Coverage Matrix: