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>
180 lines
6.2 KiB
JSON
180 lines
6.2 KiB
JSON
{
|
|
"formula_id": "PASS_100_CRITERIA_V3",
|
|
"is_active": true,
|
|
"authority_note": "유일한 active PASS_100 기준. v1/v2는 legacy_reference_only.",
|
|
"legacy_files": [
|
|
"pass_100_criteria_v2.json"
|
|
],
|
|
"gate": "BLOCK_EXECUTION",
|
|
"pass_100_allowed": false,
|
|
"score_0_100": 46.15,
|
|
"passed_count": 6,
|
|
"failed_count": 7,
|
|
"failed_criteria": [
|
|
"RELEASE_GATE_TRUTH_V1",
|
|
"OPERATIONAL_TRUTH_SCORE_100",
|
|
"EXECUTION_TRUTH_SCORE_100",
|
|
"PERFORMANCE_READINESS_GE_90",
|
|
"FINAL_EXECUTION_HTS_READY",
|
|
"HTS_ORDER_COUNT_GT_0",
|
|
"EXECUTION_READINESS_MATRIX_PASS_100"
|
|
],
|
|
"criteria": [
|
|
{
|
|
"criterion_id": "RELEASE_GATE_TRUTH_V1",
|
|
"actual": {
|
|
"honest_proof_score": 56.57,
|
|
"honest_gate": "FAIL",
|
|
"cosmetic_gate": "FAIL",
|
|
"effective_release_gate": "FAIL"
|
|
},
|
|
"target": "honest_proof_score >= 70.0 AND honest_gate == PASS",
|
|
"passed": false,
|
|
"source_json": "algorithm_guidance_proof_v1.json",
|
|
"formula_id": "RELEASE_GATE_TRUTH_V1",
|
|
"remediation": "honest_proof_score < 70 → T+20 표본 30건 축적 후 자동 해소 (~2026-07)",
|
|
"remediation_type": "DATA_GATED",
|
|
"data_gated_until": "2026-07-15"
|
|
},
|
|
{
|
|
"criterion_id": "SCHEMA_PRESENCE_100",
|
|
"actual": 100.0,
|
|
"target": "== 100",
|
|
"passed": true,
|
|
"source_json": "data_quality_reconciliation_v1.json",
|
|
"formula_id": "DATA_QUALITY_RECONCILIATION_V1",
|
|
"remediation": "NONE",
|
|
"remediation_type": "NONE"
|
|
},
|
|
{
|
|
"criterion_id": "FORMULA_RUNTIME_COVERAGE_100",
|
|
"actual": 100.0,
|
|
"target": "== 100",
|
|
"passed": true,
|
|
"source_json": "strategy_hardening_harness_v2.json",
|
|
"formula_id": "STRATEGY_HARDENING_HARNESS_V2",
|
|
"remediation": "NONE",
|
|
"remediation_type": "NONE"
|
|
},
|
|
{
|
|
"criterion_id": "CONFIDENCE_CAP_BASIS_GE_90",
|
|
"actual": 100.0,
|
|
"target": ">= 90",
|
|
"passed": true,
|
|
"source_json": "data_quality_reconciliation_v1.json",
|
|
"formula_id": "DATA_QUALITY_RECONCILIATION_V1",
|
|
"remediation": "NONE",
|
|
"remediation_type": "NONE"
|
|
},
|
|
{
|
|
"criterion_id": "SINGLE_TRUTH_NO_CONFLICT",
|
|
"actual": 0,
|
|
"target": "== 0",
|
|
"passed": true,
|
|
"source_json": "single_truth_ledger_v2.json",
|
|
"formula_id": "SINGLE_TRUTH_LEDGER_V2",
|
|
"remediation": "NONE",
|
|
"remediation_type": "NONE"
|
|
},
|
|
{
|
|
"criterion_id": "OPERATIONAL_TRUTH_SCORE_100",
|
|
"actual": 70.0,
|
|
"target": "== 100 and gate PASS_100",
|
|
"passed": false,
|
|
"source_json": "operational_truth_score_v1.json",
|
|
"formula_id": "OPERATIONAL_TRUTH_SCORE_V1",
|
|
"remediation": "export_gate 해소(HTS 캡처) + performance_readiness 해소 필요",
|
|
"remediation_type": "DATA_GATED",
|
|
"data_gated_until": "2026-07-15"
|
|
},
|
|
{
|
|
"criterion_id": "EXECUTION_TRUTH_SCORE_100",
|
|
"actual": 0.0,
|
|
"target": "== 100",
|
|
"passed": false,
|
|
"source_json": "operational_truth_score_v1.json",
|
|
"formula_id": "OPERATIONAL_TRUTH_SCORE_V1",
|
|
"remediation": "HTS 캡처 → export_gate PASS → execution_truth 자동 해소",
|
|
"remediation_type": "OPERATIONAL_ACTION"
|
|
},
|
|
{
|
|
"criterion_id": "PERFORMANCE_READINESS_GE_90",
|
|
"actual": 50.0,
|
|
"target": ">= 90 and readiness_gate PERFORMANCE_READY",
|
|
"passed": false,
|
|
"source_json": "operational_truth_score_v1.json",
|
|
"formula_id": "OPERATIONAL_TRUTH_SCORE_V1",
|
|
"remediation": "T+20 운영 표본 30건 필요 — 매일 자동 축적 (~2026-07-05~07-15)",
|
|
"remediation_type": "DATA_GATED",
|
|
"data_gated_until": "2026-07-15"
|
|
},
|
|
{
|
|
"criterion_id": "SMART_CASH_VALUE_DAMAGE_LE_10",
|
|
"actual": {
|
|
"value_damage_adj": 0.0,
|
|
"value_damage_raw": 0.0,
|
|
"source": "smart_cash_recovery_v7.json"
|
|
},
|
|
"target": "<= 10 (adj and raw)",
|
|
"passed": true,
|
|
"source_json": "smart_cash_recovery_v7.json",
|
|
"formula_id": "SMART_CASH_RECOVERY_V7",
|
|
"remediation": "NONE",
|
|
"remediation_type": "NONE"
|
|
},
|
|
{
|
|
"criterion_id": "SMART_CASH_EXECUTION_ALLOWED",
|
|
"actual": true,
|
|
"target": "is true and status PASS",
|
|
"passed": true,
|
|
"source_json": "smart_cash_recovery_v7.json",
|
|
"formula_id": "SMART_CASH_RECOVERY_V7",
|
|
"remediation": "NONE",
|
|
"remediation_type": "NONE"
|
|
},
|
|
{
|
|
"criterion_id": "FINAL_EXECUTION_HTS_READY",
|
|
"actual": "AUDIT_ONLY",
|
|
"target": "HTS_READY",
|
|
"passed": false,
|
|
"source_json": "final_execution_decision_v2.json",
|
|
"formula_id": "FINAL_EXECUTION_DECISION_V2",
|
|
"remediation": "PERFORMANCE_READINESS_GE_90 해소 후 자동 연쇄 해소 (~2026-07-15)",
|
|
"remediation_type": "DATA_GATED",
|
|
"data_gated_until": "2026-07-15"
|
|
},
|
|
{
|
|
"criterion_id": "HTS_ORDER_COUNT_GT_0",
|
|
"actual": 0,
|
|
"target": "> 0",
|
|
"passed": false,
|
|
"source_json": "final_execution_decision_v2.json",
|
|
"formula_id": "FINAL_EXECUTION_DECISION_V2",
|
|
"remediation": "FINAL_EXECUTION_HTS_READY 해소 후 자동 연쇄 해소 (~2026-07-15)",
|
|
"remediation_type": "DATA_GATED",
|
|
"data_gated_until": "2026-07-15"
|
|
},
|
|
{
|
|
"criterion_id": "EXECUTION_READINESS_MATRIX_PASS_100",
|
|
"actual": {
|
|
"gate": "BLOCK_EXECUTION",
|
|
"min_axis_score": 0.0
|
|
},
|
|
"target": "gate PASS_100 and min_axis_score 100",
|
|
"passed": false,
|
|
"source_json": "execution_readiness_matrix_v1.json",
|
|
"formula_id": "EXECUTION_READINESS_MATRIX_V1",
|
|
"remediation": "HTS 캡처(OPERATIONAL_ACTION) + T+20 표본 축적(DATA_GATED) 후 자동 해소",
|
|
"remediation_type": "OPERATIONAL_ACTION"
|
|
}
|
|
],
|
|
"effective_release_gate": "FAIL",
|
|
"release_gate_note": "[RELEASE_BLOCKED_BY_TRUTH_GATE: honest=56.57 < 70]",
|
|
"hts_order_mode": "THEORETICAL_ONLY",
|
|
"targets": {
|
|
"completion_definition": "PASS_100 only when every criterion passed",
|
|
"hts_execution_definition": "HTS execution forbidden unless FINAL_EXECUTION_HTS_READY and HTS_ORDER_COUNT_GT_0 pass",
|
|
"llm_role": "copy criteria and render ledgers only; no ad-hoc numeric overrides",
|
|
"release_gate_truth_definition": "effective_release_gate = AND(cosmetic_gate, honest_gate); honest_proof_score < 70 → THEORETICAL_ONLY"
|
|
}
|
|
} |