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>
126 lines
4.0 KiB
JSON
126 lines
4.0 KiB
JSON
{
|
|
"formula_id": "PASS_100_CRITERIA_V2",
|
|
"gate": "BLOCK_EXECUTION",
|
|
"pass_100_allowed": false,
|
|
"score_0_100": 50.0,
|
|
"passed_count": 6,
|
|
"failed_count": 6,
|
|
"failed_criteria": [
|
|
"OPERATIONAL_TRUTH_SCORE_100",
|
|
"PERFORMANCE_READINESS_GE_90",
|
|
"EXPORT_GATE_READY",
|
|
"FINAL_EXECUTION_HTS_READY",
|
|
"HTS_ORDER_COUNT_GT_0",
|
|
"EXECUTION_READINESS_MATRIX_PASS_100"
|
|
],
|
|
"criteria": [
|
|
{
|
|
"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"
|
|
},
|
|
{
|
|
"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"
|
|
},
|
|
{
|
|
"criterion_id": "CONFIDENCE_CAP_BASIS_GE_90",
|
|
"actual": 93.0,
|
|
"target": ">= 90",
|
|
"passed": true,
|
|
"source_json": "data_quality_reconciliation_v1.json",
|
|
"formula_id": "DATA_QUALITY_RECONCILIATION_V1",
|
|
"remediation": "NONE"
|
|
},
|
|
{
|
|
"criterion_id": "OPERATIONAL_TRUTH_SCORE_100",
|
|
"actual": 89.12,
|
|
"target": "== 100 and gate PASS_100",
|
|
"passed": false,
|
|
"source_json": "operational_truth_score_v1.json",
|
|
"formula_id": "OPERATIONAL_TRUTH_SCORE_V1",
|
|
"remediation": "remove all truth blockers"
|
|
},
|
|
{
|
|
"criterion_id": "EXECUTION_TRUTH_SCORE_100",
|
|
"actual": 100.0,
|
|
"target": "== 100",
|
|
"passed": true,
|
|
"source_json": "operational_truth_score_v1.json",
|
|
"formula_id": "OPERATIONAL_TRUTH_SCORE_V1",
|
|
"remediation": "NONE"
|
|
},
|
|
{
|
|
"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": "accumulate operating T+20 samples"
|
|
},
|
|
{
|
|
"criterion_id": "SMART_CASH_VALUE_DAMAGE_LE_10",
|
|
"actual": 0.0,
|
|
"target": "<= 10",
|
|
"passed": true,
|
|
"source_json": "smart_cash_recovery_v7.json",
|
|
"formula_id": "SMART_CASH_RECOVERY_V7",
|
|
"remediation": "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"
|
|
},
|
|
{
|
|
"criterion_id": "EXPORT_GATE_READY",
|
|
"actual": "AUDIT_ONLY",
|
|
"target": "EXPORT_READY and allowed true",
|
|
"passed": false,
|
|
"source_json": "final_execution_decision_v2.json",
|
|
"formula_id": "FINAL_EXECUTION_DECISION_V2",
|
|
"remediation": "rerun GAS export until export_gate_json.hts_entry_allowed=true"
|
|
},
|
|
{
|
|
"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": "remove truth/export/readiness blockers"
|
|
},
|
|
{
|
|
"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": "order_blueprint_json must contain PASS validation rows"
|
|
},
|
|
{
|
|
"criterion_id": "EXECUTION_READINESS_MATRIX_PASS_100",
|
|
"actual": "WATCH_PENDING_SAMPLE",
|
|
"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": "raise every readiness axis to 100 or keep EXPLAIN_ONLY"
|
|
}
|
|
]
|
|
} |