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
+10
View File
@@ -7,6 +7,13 @@ meta:
purpose: >
LLM이 투자 판단을 임의 순서로 수행하지 않도록 상태 머신으로 절차를 고정한다.
각 상태는 통과 조건, 실패 시 행동, 참조 파일을 가진다.
conflict_precedence:
- risk_exit
- cash_floor
- anti_late_entry
- smart_money
- momentum
decision_flow:
initial_state: "MODEL_GOVERNANCE_GATE"
@@ -382,3 +389,6 @@ global_prohibitions:
- "POSITION_SIZING 이전에 정수 주문수량 출력 금지"
- "OUTPUT_VALIDATION 실패 상태에서 즉시 실행 플레이북 출력 금지"
- "BLOCKED 상태를 WATCH로 미화 금지. 차단 사유를 명시한다."
- "anti_late_entry gate 평가 이전에 BUY 또는 STAGED_BUY 결론 출력 금지"
- "anti_late_entry gate가 FAIL인 경우 BUY/STAGED_BUY의 매수 수량은 0으로 강제하며 action은 WATCH 또는 BLOCKED로 강등한다."