feat: 리밸런싱 엔진 V1 + GAS 버그 수정 (2026-06-13)

주요 변경:
- 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>
This commit is contained in:
2026-06-13 13:20:14 +09:00
commit ee3e799de1
1474 changed files with 176087 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
# e2e tests
+2
View File
@@ -0,0 +1,2 @@
# golden tests
@@ -0,0 +1,6 @@
schema_version: formula_registry_v2_cases.v1
cases:
- formula_id: FINAL_DECISION_PACKET_V4
expected_gate: PASS
- formula_id: FACTOR_TAXONOMY_V1
expected_gate: PASS
+1
View File
@@ -0,0 +1 @@
"""Auto-generated package."""
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for ABSOLUTE_RISK_STOP_V1."""
def test_absolute_risk_stop_v1_golden_stub_exists() -> None:
assert 'ABSOLUTE_RISK_STOP_V1'
def test_absolute_risk_stop_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for ALGORITHM_GUIDANCE_PROOF_V1."""
def test_algorithm_guidance_proof_v1_golden_stub_exists() -> None:
assert 'ALGORITHM_GUIDANCE_PROOF_V1'
def test_algorithm_guidance_proof_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for ALPHA_EVALUATION_WINDOW_V1."""
def test_alpha_evaluation_window_v1_golden_stub_exists() -> None:
assert 'ALPHA_EVALUATION_WINDOW_V1'
def test_alpha_evaluation_window_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for ALPHA_FEEDBACK_LOOP_V1."""
def test_alpha_feedback_loop_v1_golden_stub_exists() -> None:
assert 'ALPHA_FEEDBACK_LOOP_V1'
def test_alpha_feedback_loop_v1_declares_outputs() -> None:
outputs = [{'field': 'alpha_feedback_json', 'subfields': ['eligible_t20_fail_rate', 'eligible_t60_fail_rate', 'recommended_filter_adjustments', 'cases_analyzed']}]
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for ANTI_CHASE_V1."""
def test_anti_chase_v1_golden_stub_exists() -> None:
assert 'ANTI_CHASE_V1'
def test_anti_chase_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for ANTI_CHASING_VELOCITY_V1."""
def test_anti_chasing_velocity_v1_golden_stub_exists() -> None:
assert 'ANTI_CHASING_VELOCITY_V1'
def test_anti_chasing_velocity_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for ANTI_LATE_ENTRY_GATE_V2."""
def test_anti_late_entry_gate_v2_golden_stub_exists() -> None:
assert 'ANTI_LATE_ENTRY_GATE_V2'
def test_anti_late_entry_gate_v2_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for ANTI_WHIPSAW_GATE_V1."""
def test_anti_whipsaw_gate_v1_golden_stub_exists() -> None:
assert 'ANTI_WHIPSAW_GATE_V1'
def test_anti_whipsaw_gate_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for ARTIFACT_FRESHNESS_GATE_V1."""
def test_artifact_freshness_gate_v1_golden_stub_exists() -> None:
assert 'ARTIFACT_FRESHNESS_GATE_V1'
def test_artifact_freshness_gate_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for AUDIT_REPLAY_SNAPSHOT_V1."""
def test_audit_replay_snapshot_v1_golden_stub_exists() -> None:
assert 'AUDIT_REPLAY_SNAPSHOT_V1'
def test_audit_replay_snapshot_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for BENCHMARK_RELATIVE_TIMESERIES_V1."""
def test_benchmark_relative_timeseries_v1_golden_stub_exists() -> None:
assert 'BENCHMARK_RELATIVE_TIMESERIES_V1'
def test_benchmark_relative_timeseries_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for BLANK_CELL_AUDIT_V1."""
def test_blank_cell_audit_v1_golden_stub_exists() -> None:
assert 'BLANK_CELL_AUDIT_V1'
def test_blank_cell_audit_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for BREAKEVEN_RATCHET_V1."""
def test_breakeven_ratchet_v1_golden_stub_exists() -> None:
assert 'BREAKEVEN_RATCHET_V1'
def test_breakeven_ratchet_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for BREAKOUT_QUALITY_GATE_V2."""
def test_breakout_quality_gate_v2_golden_stub_exists() -> None:
assert 'BREAKOUT_QUALITY_GATE_V2'
def test_breakout_quality_gate_v2_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for CANONICAL_ARTIFACT_RESOLVER_V1."""
def test_canonical_artifact_resolver_v1_golden_stub_exists() -> None:
assert 'CANONICAL_ARTIFACT_RESOLVER_V1'
def test_canonical_artifact_resolver_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for CANONICAL_METRICS_V1."""
def test_canonical_metrics_v1_golden_stub_exists() -> None:
assert 'CANONICAL_METRICS_V1'
def test_canonical_metrics_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for CAPITAL_STYLE_ALLOCATION_V1."""
def test_capital_style_allocation_v1_golden_stub_exists() -> None:
assert 'CAPITAL_STYLE_ALLOCATION_V1'
def test_capital_style_allocation_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for CASH_CREATION_PURPOSE_LOCK_V1."""
def test_cash_creation_purpose_lock_v1_golden_stub_exists() -> None:
assert 'CASH_CREATION_PURPOSE_LOCK_V1'
def test_cash_creation_purpose_lock_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for CASH_FLOOR_V1."""
def test_cash_floor_v1_golden_stub_exists() -> None:
assert 'CASH_FLOOR_V1'
def test_cash_floor_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for CASH_RAISE_PARETO_EXECUTOR_V2."""
def test_cash_raise_pareto_executor_v2_golden_stub_exists() -> None:
assert 'CASH_RAISE_PARETO_EXECUTOR_V2'
def test_cash_raise_pareto_executor_v2_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for CASH_RAISE_VALUE_OPTIMIZER_V3."""
def test_cash_raise_value_optimizer_v3_golden_stub_exists() -> None:
assert 'CASH_RAISE_VALUE_OPTIMIZER_V3'
def test_cash_raise_value_optimizer_v3_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for CASH_RATIOS_V1."""
def test_cash_ratios_v1_golden_stub_exists() -> None:
assert 'CASH_RATIOS_V1'
def test_cash_ratios_v1_declares_outputs() -> None:
outputs = {'settlement_cash_ratio': 'settlement_cash / total_asset * 100', 'total_cash_ratio': 'settlement_cash / total_asset * 100', 'buy_power_cash': 'settlement_cash - reserved_order_amount', 'buy_power_ratio': '(settlement_cash - reserved_order_amount) / total_asset * 100', 'post_trade_total_cash_ratio': '(settlement_cash - planned_buy_amount + sell_cash_proceeds_d2) / total_asset * 100'}
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for CASH_RECOVERY_OPTIMIZER_V1."""
def test_cash_recovery_optimizer_v1_golden_stub_exists() -> None:
assert 'CASH_RECOVERY_OPTIMIZER_V1'
def test_cash_recovery_optimizer_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for CASH_RECOVERY_OPTIMIZER_V4."""
def test_cash_recovery_optimizer_v4_golden_stub_exists() -> None:
assert 'CASH_RECOVERY_OPTIMIZER_V4'
def test_cash_recovery_optimizer_v4_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for CASH_RECOVERY_V1."""
def test_cash_recovery_v1_golden_stub_exists() -> None:
assert 'CASH_RECOVERY_V1'
def test_cash_recovery_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for CASHFLOW_QUALITY_SIGNAL_V1."""
def test_cashflow_quality_signal_v1_golden_stub_exists() -> None:
assert 'CASHFLOW_QUALITY_SIGNAL_V1'
def test_cashflow_quality_signal_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for CASHFLOW_STABILITY_GATE_V1."""
def test_cashflow_stability_gate_v1_golden_stub_exists() -> None:
assert 'CASHFLOW_STABILITY_GATE_V1'
def test_cashflow_stability_gate_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for CLA_REGIME_EXIT_CONDITION_V1."""
def test_cla_regime_exit_condition_v1_golden_stub_exists() -> None:
assert 'CLA_REGIME_EXIT_CONDITION_V1'
def test_cla_regime_exit_condition_v1_declares_outputs() -> None:
outputs = [{'field': 'cla_exit_status', 'unit': 'enum [CLA_ACTIVE,CLA_EXIT_WARNING,CLA_EXIT_CONFIRMED]'}, {'field': 'cla_exit_signals_triggered', 'unit': 'list'}, {'field': 'cla_exit_total_weight', 'unit': 'int'}]
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for COMPLETION_GAP_V1."""
def test_completion_gap_v1_golden_stub_exists() -> None:
assert 'COMPLETION_GAP_V1'
def test_completion_gap_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for COMPOSITE_VERDICT_V1."""
def test_composite_verdict_v1_golden_stub_exists() -> None:
assert 'COMPOSITE_VERDICT_V1'
def test_composite_verdict_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for COMPREHENSIVE_PROPOSAL_V1."""
def test_comprehensive_proposal_v1_golden_stub_exists() -> None:
assert 'COMPREHENSIVE_PROPOSAL_V1'
def test_comprehensive_proposal_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for CONTINUOUS_EVALUATION_DASHBOARD_V1."""
def test_continuous_evaluation_dashboard_v1_golden_stub_exists() -> None:
assert 'CONTINUOUS_EVALUATION_DASHBOARD_V1'
def test_continuous_evaluation_dashboard_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for CROSS_SECTION_CONSISTENCY_V1."""
def test_cross_section_consistency_v1_golden_stub_exists() -> None:
assert 'CROSS_SECTION_CONSISTENCY_V1'
def test_cross_section_consistency_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for DATA_INTEGRITY_100_LOCK_V1."""
def test_data_integrity_100_lock_v1_golden_stub_exists() -> None:
assert 'DATA_INTEGRITY_100_LOCK_V1'
def test_data_integrity_100_lock_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for DATA_INTEGRITY_100_LOCK_V2."""
def test_data_integrity_100_lock_v2_golden_stub_exists() -> None:
assert 'DATA_INTEGRITY_100_LOCK_V2'
def test_data_integrity_100_lock_v2_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for DATA_INTEGRITY_SCORE_V1."""
def test_data_integrity_score_v1_golden_stub_exists() -> None:
assert 'DATA_INTEGRITY_SCORE_V1'
def test_data_integrity_score_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for DATA_MATURITY_TRUTH_GATE_V1."""
def test_data_maturity_truth_gate_v1_golden_stub_exists() -> None:
assert 'DATA_MATURITY_TRUTH_GATE_V1'
def test_data_maturity_truth_gate_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for DATA_MATURITY_TRUTH_GATE_VALIDATOR_V1."""
def test_data_maturity_truth_gate_validator_v1_golden_stub_exists() -> None:
assert 'DATA_MATURITY_TRUTH_GATE_VALIDATOR_V1'
def test_data_maturity_truth_gate_validator_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for DATA_QUALITY_GATE_V2_PY."""
def test_data_quality_gate_v2_py_golden_stub_exists() -> None:
assert 'DATA_QUALITY_GATE_V2_PY'
def test_data_quality_gate_v2_py_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for DATA_QUALITY_GATE_V3."""
def test_data_quality_gate_v3_golden_stub_exists() -> None:
assert 'DATA_QUALITY_GATE_V3'
def test_data_quality_gate_v3_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for DETERMINISTIC_ROUTING_ENGINE_V1."""
def test_deterministic_routing_engine_v1_golden_stub_exists() -> None:
assert 'DETERMINISTIC_ROUTING_ENGINE_V1'
def test_deterministic_routing_engine_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for DISTRIBUTION_SELL_DETECTOR_V1."""
def test_distribution_sell_detector_v1_golden_stub_exists() -> None:
assert 'DISTRIBUTION_SELL_DETECTOR_V1'
def test_distribution_sell_detector_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for DIVERGENCE_SCORE_V1."""
def test_divergence_score_v1_golden_stub_exists() -> None:
assert 'DIVERGENCE_SCORE_V1'
def test_divergence_score_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for DRAWDOWN_GUARD_V1."""
def test_drawdown_guard_v1_golden_stub_exists() -> None:
assert 'DRAWDOWN_GUARD_V1'
def test_drawdown_guard_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for DYNAMIC_HEAT_GATE_V1."""
def test_dynamic_heat_gate_v1_golden_stub_exists() -> None:
assert 'DYNAMIC_HEAT_GATE_V1'
def test_dynamic_heat_gate_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for EARNINGS_GROWTH_QUALITY_GATE_V1."""
def test_earnings_growth_quality_gate_v1_golden_stub_exists() -> None:
assert 'EARNINGS_GROWTH_QUALITY_GATE_V1'
def test_earnings_growth_quality_gate_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for EARNINGS_QUALITY_SIGNAL_V1."""
def test_earnings_quality_signal_v1_golden_stub_exists() -> None:
assert 'EARNINGS_QUALITY_SIGNAL_V1'
def test_earnings_quality_signal_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for ECP_RISK_SCALE_V1."""
def test_ecp_risk_scale_v1_golden_stub_exists() -> None:
assert 'ECP_RISK_SCALE_V1'
def test_ecp_risk_scale_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for EJCE_DIVERGENCE_AUDIT_V1."""
def test_ejce_divergence_audit_v1_golden_stub_exists() -> None:
assert 'EJCE_DIVERGENCE_AUDIT_V1'
def test_ejce_divergence_audit_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for EJCE_VIEW_RENDERER_V1."""
def test_ejce_view_renderer_v1_golden_stub_exists() -> None:
assert 'EJCE_VIEW_RENDERER_V1'
def test_ejce_view_renderer_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for ENTRY_TIMING_DECILE_FACTOR_V1."""
def test_entry_timing_decile_factor_v1_golden_stub_exists() -> None:
assert 'ENTRY_TIMING_DECILE_FACTOR_V1'
def test_entry_timing_decile_factor_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for EXECUTION_METHOD_LADDER_V1."""
def test_execution_method_ladder_v1_golden_stub_exists() -> None:
assert 'EXECUTION_METHOD_LADDER_V1'
def test_execution_method_ladder_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for EXECUTION_QUALITY_SCORE_V1."""
def test_execution_quality_score_v1_golden_stub_exists() -> None:
assert 'EXECUTION_QUALITY_SCORE_V1'
def test_execution_quality_score_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for EXPECTED_EDGE_V1."""
def test_expected_edge_v1_golden_stub_exists() -> None:
assert 'EXPECTED_EDGE_V1'
def test_expected_edge_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for FINAL_JUDGMENT_GATE_V1."""
def test_final_judgment_gate_v1_golden_stub_exists() -> None:
assert 'FINAL_JUDGMENT_GATE_V1'
def test_final_judgment_gate_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for FINANCIAL_HEALTH_SCORE_V1."""
def test_financial_health_score_v1_golden_stub_exists() -> None:
assert 'FINANCIAL_HEALTH_SCORE_V1'
def test_financial_health_score_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for FLOW_ACCELERATION_V1."""
def test_flow_acceleration_v1_golden_stub_exists() -> None:
assert 'FLOW_ACCELERATION_V1'
def test_flow_acceleration_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for FLOW_CREDIT_V1."""
def test_flow_credit_v1_golden_stub_exists() -> None:
assert 'FLOW_CREDIT_V1'
def test_flow_credit_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for FOLLOW_THROUGH_DAY_CONFIRM_V1."""
def test_follow_through_day_confirm_v1_golden_stub_exists() -> None:
assert 'FOLLOW_THROUGH_DAY_CONFIRM_V1'
def test_follow_through_day_confirm_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for FUNDAMENTAL_MULTI_FACTOR_SCORE_V2."""
def test_fundamental_multi_factor_score_v2_golden_stub_exists() -> None:
assert 'FUNDAMENTAL_MULTI_FACTOR_SCORE_V2'
def test_fundamental_multi_factor_score_v2_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for FUNDAMENTAL_MULTIFACTOR_V3."""
def test_fundamental_multifactor_v3_golden_stub_exists() -> None:
assert 'FUNDAMENTAL_MULTIFACTOR_V3'
def test_fundamental_multifactor_v3_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for FUNDAMENTAL_QUALITY_GATE_V1."""
def test_fundamental_quality_gate_v1_golden_stub_exists() -> None:
assert 'FUNDAMENTAL_QUALITY_GATE_V1'
def test_fundamental_quality_gate_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for FUNDAMENTAL_RAW_INGEST_V1."""
def test_fundamental_raw_ingest_v1_golden_stub_exists() -> None:
assert 'FUNDAMENTAL_RAW_INGEST_V1'
def test_fundamental_raw_ingest_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for GROWTH_RATE_SIGNAL_V1."""
def test_growth_rate_signal_v1_golden_stub_exists() -> None:
assert 'GROWTH_RATE_SIGNAL_V1'
def test_growth_rate_signal_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for HARNESS_DATA_FRESHNESS_GATE_V1."""
def test_harness_data_freshness_gate_v1_golden_stub_exists() -> None:
assert 'HARNESS_DATA_FRESHNESS_GATE_V1'
def test_harness_data_freshness_gate_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for HEAT_CONCENTRATION_ALERT_V1."""
def test_heat_concentration_alert_v1_golden_stub_exists() -> None:
assert 'HEAT_CONCENTRATION_ALERT_V1'
def test_heat_concentration_alert_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for HORIZON_ALLOCATION_LOCK_V1."""
def test_horizon_allocation_lock_v1_golden_stub_exists() -> None:
assert 'HORIZON_ALLOCATION_LOCK_V1'
def test_horizon_allocation_lock_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for HORIZON_CLASSIFICATION_V1."""
def test_horizon_classification_v1_golden_stub_exists() -> None:
assert 'HORIZON_CLASSIFICATION_V1'
def test_horizon_classification_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for INTRADAY_ACTION_MATRIX_V1."""
def test_intraday_action_matrix_v1_golden_stub_exists() -> None:
assert 'INTRADAY_ACTION_MATRIX_V1'
def test_intraday_action_matrix_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for INVESTMENT_QUALITY_HEADLINE_V1."""
def test_investment_quality_headline_v1_golden_stub_exists() -> None:
assert 'INVESTMENT_QUALITY_HEADLINE_V1'
def test_investment_quality_headline_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for K2_STAGED_REBOUND_SELL_V1."""
def test_k2_staged_rebound_sell_v1_golden_stub_exists() -> None:
assert 'K2_STAGED_REBOUND_SELL_V1'
def test_k2_staged_rebound_sell_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for LEADER_POSITION_WEIGHT_CAP_V1."""
def test_leader_position_weight_cap_v1_golden_stub_exists() -> None:
assert 'LEADER_POSITION_WEIGHT_CAP_V1'
def test_leader_position_weight_cap_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for LIQUIDITY_FLOW_SIGNAL_V1."""
def test_liquidity_flow_signal_v1_golden_stub_exists() -> None:
assert 'LIQUIDITY_FLOW_SIGNAL_V1'
def test_liquidity_flow_signal_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for LLM_NARRATIVE_TEMPLATE_LOCK_V1."""
def test_llm_narrative_template_lock_v1_golden_stub_exists() -> None:
assert 'LLM_NARRATIVE_TEMPLATE_LOCK_V1'
def test_llm_narrative_template_lock_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for LLM_SERVING_CONSTRAINT_V1."""
def test_llm_serving_constraint_v1_golden_stub_exists() -> None:
assert 'LLM_SERVING_CONSTRAINT_V1'
def test_llm_serving_constraint_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for MACRO_EVENT_TICKER_IMPACT_V1."""
def test_macro_event_ticker_impact_v1_golden_stub_exists() -> None:
assert 'MACRO_EVENT_TICKER_IMPACT_V1'
def test_macro_event_ticker_impact_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for MARKET_RISK_SCORE_V1."""
def test_market_risk_score_v1_golden_stub_exists() -> None:
assert 'MARKET_RISK_SCORE_V1'
def test_market_risk_score_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for MARKET_SHARE_MOMENTUM_PROXY_V1."""
def test_market_share_momentum_proxy_v1_golden_stub_exists() -> None:
assert 'MARKET_SHARE_MOMENTUM_PROXY_V1'
def test_market_share_momentum_proxy_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for MARKET_SHARE_SIGNAL_V2."""
def test_market_share_signal_v2_golden_stub_exists() -> None:
assert 'MARKET_SHARE_SIGNAL_V2'
def test_market_share_signal_v2_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for MARKET_WEIGHT_AWARE_CLUSTER_GATE_V1."""
def test_market_weight_aware_cluster_gate_v1_golden_stub_exists() -> None:
assert 'MARKET_WEIGHT_AWARE_CLUSTER_GATE_V1'
def test_market_weight_aware_cluster_gate_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for MEAN_REVERSION_GATE_V1."""
def test_mean_reversion_gate_v1_golden_stub_exists() -> None:
assert 'MEAN_REVERSION_GATE_V1'
def test_mean_reversion_gate_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for OVERHANG_PRESSURE_V1."""
def test_overhang_pressure_v1_golden_stub_exists() -> None:
assert 'OVERHANG_PRESSURE_V1'
def test_overhang_pressure_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for OVERSOLD_DELAY_V1."""
def test_oversold_delay_v1_golden_stub_exists() -> None:
assert 'OVERSOLD_DELAY_V1'
def test_oversold_delay_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for PATTERN_BLACKLIST_AUTO_V1."""
def test_pattern_blacklist_auto_v1_golden_stub_exists() -> None:
assert 'PATTERN_BLACKLIST_AUTO_V1'
def test_pattern_blacklist_auto_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for PEG_SCORE_V1."""
def test_peg_score_v1_golden_stub_exists() -> None:
assert 'PEG_SCORE_V1'
def test_peg_score_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for PORTFOLIO_ALPHA_CONFIDENCE_PER_TICKER_V1."""
def test_portfolio_alpha_confidence_per_ticker_v1_golden_stub_exists() -> None:
assert 'PORTFOLIO_ALPHA_CONFIDENCE_PER_TICKER_V1'
def test_portfolio_alpha_confidence_per_ticker_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for PORTFOLIO_BAND_STATUS_V1."""
def test_portfolio_band_status_v1_golden_stub_exists() -> None:
assert 'PORTFOLIO_BAND_STATUS_V1'
def test_portfolio_band_status_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for PORTFOLIO_BETA_V1."""
def test_portfolio_beta_v1_golden_stub_exists() -> None:
assert 'PORTFOLIO_BETA_V1'
def test_portfolio_beta_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for PORTFOLIO_CORRELATION_GATE_V1."""
def test_portfolio_correlation_gate_v1_golden_stub_exists() -> None:
assert 'PORTFOLIO_CORRELATION_GATE_V1'
def test_portfolio_correlation_gate_v1_declares_outputs() -> None:
outputs = [{'field': 'satellite_cluster_beta'}, {'field': 'effective_portfolio_beta'}, {'field': 'high_corr_pairs', 'unit': 'list [{ticker1,ticker2,corr_coef}]'}, {'field': 'correlation_gate_status', 'unit': 'enum [CORRELATION_PASS,CORRELATION_WARN,CORRELATION_BLOCK]'}]
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for PORTFOLIO_DRAWDOWN_GATE_V1."""
def test_portfolio_drawdown_gate_v1_golden_stub_exists() -> None:
assert 'PORTFOLIO_DRAWDOWN_GATE_V1'
def test_portfolio_drawdown_gate_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for POSITION_COUNT_LIMIT_V1."""
def test_position_count_limit_v1_golden_stub_exists() -> None:
assert 'POSITION_COUNT_LIMIT_V1'
def test_position_count_limit_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for POSITION_SIZE_REGIME_SCALE_V1."""
def test_position_size_regime_scale_v1_golden_stub_exists() -> None:
assert 'POSITION_SIZE_REGIME_SCALE_V1'
def test_position_size_regime_scale_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for POSITION_SIZE_V1."""
def test_position_size_v1_golden_stub_exists() -> None:
assert 'POSITION_SIZE_V1'
def test_position_size_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for PREDICTION_ACCURACY_HARNESS_V2."""
def test_prediction_accuracy_harness_v2_golden_stub_exists() -> None:
assert 'PREDICTION_ACCURACY_HARNESS_V2'
def test_prediction_accuracy_harness_v2_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for PREDICTIVE_ALPHA_REPORT_LOCK_V2."""
def test_predictive_alpha_report_lock_v2_golden_stub_exists() -> None:
assert 'PREDICTIVE_ALPHA_REPORT_LOCK_V2'
def test_predictive_alpha_report_lock_v2_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs
@@ -0,0 +1,9 @@
"""Auto-generated golden test stub for PROFIT_GIVEBACK_RATCHET_FACTOR_V1."""
def test_profit_giveback_ratchet_factor_v1_golden_stub_exists() -> None:
assert 'PROFIT_GIVEBACK_RATCHET_FACTOR_V1'
def test_profit_giveback_ratchet_factor_v1_declares_outputs() -> None:
outputs = []
assert isinstance(outputs, list)
assert outputs

Some files were not shown because too many files have changed in this diff Show More