ee3e799de1
주요 변경: - tools/build_rebalance_engine_v1.py: REBALANCE_ENGINE_V1 신규 * account_snapshot 직접 합산(_build_snap_position_map) → 소수주 분리 행 병합 * 레짐 소스 macro.REGIME_PRELIM 최우선 (GAS 와 동일) - src/gas_adapter_parts/gdf_06_rebalance.gs: runRebalanceSheet_() 신규 * Logger.log / getSpreadsheet_() 로 run_all 연동 수정 - src/gas_adapter_parts/gdc_01_fetch_fundamentals.gs * _mergePositionRecord_(): 소수주 중복 행 합산 신규 * parseInt → parseFloat (qty, availQty) - src/gas_adapter_parts/gdf_01_price_metrics.gs * 미보유 종목 SELL_READY → WATCH_EXIT_SIGNAL - spec/41_release_dag.yaml: build_rebalance_sheet 노드 추가 (step_count 63) - spec/51_formula_lifecycle_registry.yaml: REBALANCE_ENGINE_V1 등록 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
64 lines
2.2 KiB
YAML
64 lines
2.2 KiB
YAML
schema_version: shadow_promotion_scorecard.v1
|
|
contract_id: H007_SHADOW_PROMOTION_SCORECARD
|
|
harness_file: tools/build_shadow_promotion_scorecard_v1.py
|
|
authority: spec/57_shadow_promotion_scorecard.yaml
|
|
created_at: '2026-06-10T23:29:00+09:00'
|
|
purpose: >
|
|
신규 팩터를 active로 올릴지 수치로 판단한다.
|
|
live 표본 30개 미만, 또는 drawdown 악화, 또는 conflict 비율 초과 시
|
|
active 승격을 차단한다.
|
|
|
|
promotion_gate_criteria:
|
|
live_sample_count_minimum: 30
|
|
edge_improvement:
|
|
metric: prediction_match_rate_improvement
|
|
minimum_delta_pct: 2.0
|
|
note: replay 표본은 포함하지 않는다. live 표본만 집계한다.
|
|
drawdown_constraint:
|
|
rule: 신규 팩터 적용 후 portfolio max drawdown이 기존 대비 악화되지 않아야 한다
|
|
tolerance_pct: 0.5
|
|
false_positive_reduction:
|
|
minimum_reduction_pct: 5.0
|
|
note: false positive = 매수 추천했으나 T+5 기준 손실 발생 건
|
|
conflict_rate_cap:
|
|
max_conflict_rate_pct: 10.0
|
|
note: 다른 active 팩터와 충돌하는 신호 비율
|
|
provenance_coverage:
|
|
required_pct: 100.0
|
|
|
|
forbidden_promotion_shortcuts:
|
|
- replay 성과를 live 성과로 혼용하여 승격 기준 달성 금지
|
|
- shadow 단계를 건너뛰고 바로 active 승격 금지
|
|
- LLM narrative로 promotion gate 완화 금지
|
|
- live_sample_count < 30인 팩터에 PASS_100 등급 부여 금지
|
|
|
|
inputs:
|
|
- field: shadow_ledger_v2.json
|
|
source: Temp/shadow_ledger_v2.json
|
|
required: true
|
|
- field: live_replay_separation_v3.json
|
|
source: Temp/live_replay_separation_v3.json
|
|
required: true
|
|
|
|
output_fields:
|
|
- name: promotion_candidates
|
|
type: list[dict]
|
|
description: 승격 가능 팩터 목록 (live_sample >= 30 and all gates pass)
|
|
- name: blocked_factors
|
|
type: list[dict]
|
|
description: 승격 차단 팩터 목록과 차단 사유
|
|
- name: gate
|
|
type: str
|
|
enum: [PASS, FAIL, WARN]
|
|
|
|
acceptance_criteria:
|
|
- live_sample_count_gte_30: true
|
|
- edge_improvement_positive: true
|
|
- drawdown_not_worse: true
|
|
- conflict_rate_within_cap: true
|
|
|
|
owner: quant_researcher
|
|
lifecycle_state: active
|
|
retirement_condition: >
|
|
팩터 승격 체계를 전면 재설계하는 계약이 등장할 때까지 유효하다.
|