WBS-7.3: GAS→Python 마이그레이션 5개 항목 완료 (F14, F02-F06)

- F14: late_chase_risk_score 검증
  * GAS가 유일한 생산처 (Python canonical 없음)
  * migration_action: KEEP_IN_GAS로 정정, status: DONE

- F02/F03/F04/F06: priceBasis 로직 포팅
  * formulas/price_basis_v1.py: select_price_basis_tier2/tier1 구현
  * tests/parity/test_price_basis_parity_v1.py: 8 parity 테스트 (모두 PASS)
  * GAS Number.isFinite() 의미론 정확히 재현 (math.isfinite 사용)
  * 모든 테스트 112/112 PASS

남은 작업 (4개):
- F05: decision_logic (action assignment)
- F07: score_logic (threshold addition)
- F10: routing decision
- F15: late_chase_gate

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-06-22 22:45:00 +09:00
parent 4266039d1c
commit af1236202d
64 changed files with 13127 additions and 2760 deletions
+28
View File
@@ -199,3 +199,31 @@ operational_rules:
- "entry_mrs_score는 진입 당일 macro 탭 MRS_COMPUTED 행의 Close 값."
- "fc_bucket=Y인 거래는 explore_loss_budget 누적에 포함. 월말 집계."
- "연속 5회 손절(no_bet) 발동 시 runDataFeed에서 EE_Est=0으로 출력 — 신규 진입 자동 억제."
# ─────────────────────────────────────────────────────────────────────────────
# 팩터별 성과 피드백 및 정직 성과증빙 규칙 (P6-T04)
# ─────────────────────────────────────────────────────────────────────────────
honest_performance_guard:
formula_id: HONEST_PERFORMANCE_GUARD_V1
rules:
- rule_id: HP001
desc: "Live 표본 수가 30건 미만인 지표는 active 승격 근거로 사용 금지 (calibration_state=INSUFFICIENT_SAMPLES 강제)"
condition: "live_sample_count < 30"
action: "LOCK_CALIBRATION"
- rule_id: HP002
desc: "Replay 데이터와 Live 데이터를 혼합하여 성과 지표를 산출하는 행위 금지 (replay_in_live_stats == 0)"
condition: "replay_in_live_stats > 0"
action: "INVALIDATE_METRICS"
- rule_id: HP003
desc: "팩터별 성과(T+5/T+20/T+60) 결과를 horizon별로 분리해서 추적 및 저장한다."
required_fields:
- "ticker"
- "action"
- "horizon"
- "factor_set"
- "outcome"
acceptance_criteria:
factor_outcome_join_rate_pct: 95.0
live_sample_under_30_unlock_count: 0
replay_live_mixed_metric_count: 0