diff --git a/schemas/generated/__init__.py b/schemas/generated/__init__.py deleted file mode 100644 index 633c553c..00000000 --- a/schemas/generated/__init__.py +++ /dev/null @@ -1 +0,0 @@ -"""Auto-generated package.""" diff --git a/schemas/generated/absolute_risk_stop_v1.schema.json b/schemas/generated/absolute_risk_stop_v1.schema.json deleted file mode 100644 index b85d7330..00000000 --- a/schemas/generated/absolute_risk_stop_v1.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/ABSOLUTE_RISK_STOP_V1", - "title": "ABSOLUTE_RISK_STOP_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "ABSOLUTE_RISK_STOP_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "holdings", - "df_map" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/algorithm_guidance_proof_v1.schema.json b/schemas/generated/algorithm_guidance_proof_v1.schema.json deleted file mode 100644 index 27092618..00000000 --- a/schemas/generated/algorithm_guidance_proof_v1.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/ALGORITHM_GUIDANCE_PROOF_V1", - "title": "ALGORITHM_GUIDANCE_PROOF_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "ALGORITHM_GUIDANCE_PROOF_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/alpha_evaluation_window_v1.schema.json b/schemas/generated/alpha_evaluation_window_v1.schema.json deleted file mode 100644 index 1e6aa55c..00000000 --- a/schemas/generated/alpha_evaluation_window_v1.schema.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/ALPHA_EVALUATION_WINDOW_V1", - "title": "ALPHA_EVALUATION_WINDOW_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "ALPHA_EVALUATION_WINDOW_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "entry_date", - "position_class", - "t20_return_pct", - "t60_return_pct", - "benchmark_core_return_pct" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/alpha_feedback_loop_v1.schema.json b/schemas/generated/alpha_feedback_loop_v1.schema.json deleted file mode 100644 index a46dd005..00000000 --- a/schemas/generated/alpha_feedback_loop_v1.schema.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/ALPHA_FEEDBACK_LOOP_V1", - "title": "ALPHA_FEEDBACK_LOOP_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "ALPHA_FEEDBACK_LOOP_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "alpha_evaluation_window_json", - "saqg_v1", - "brt_verdict", - "market_regime" - ], - "x_formula_outputs": [ - { - "field": "alpha_feedback_json", - "subfields": [ - "eligible_t20_fail_rate", - "eligible_t60_fail_rate", - "recommended_filter_adjustments", - "cases_analyzed" - ] - } - ] -} diff --git a/schemas/generated/anti_chase_v1.schema.json b/schemas/generated/anti_chase_v1.schema.json deleted file mode 100644 index fd61ad9c..00000000 --- a/schemas/generated/anti_chase_v1.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/ANTI_CHASE_V1", - "title": "ANTI_CHASE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "ANTI_CHASE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/anti_chasing_velocity_v1.schema.json b/schemas/generated/anti_chasing_velocity_v1.schema.json deleted file mode 100644 index 3e7a6b7c..00000000 --- a/schemas/generated/anti_chasing_velocity_v1.schema.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/ANTI_CHASING_VELOCITY_V1", - "title": "ANTI_CHASING_VELOCITY_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "ANTI_CHASING_VELOCITY_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "close", - "close_1d_ago", - "close_5d_ago", - "market_regime" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/anti_late_entry_gate_v2.schema.json b/schemas/generated/anti_late_entry_gate_v2.schema.json deleted file mode 100644 index 1197bf80..00000000 --- a/schemas/generated/anti_late_entry_gate_v2.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/ANTI_LATE_ENTRY_GATE_V2", - "title": "ANTI_LATE_ENTRY_GATE_V2", - "type": "object", - "properties": { - "formula_id": { - "const": "ANTI_LATE_ENTRY_GATE_V2" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/anti_whipsaw_gate_v1.schema.json b/schemas/generated/anti_whipsaw_gate_v1.schema.json deleted file mode 100644 index ba7032af..00000000 --- a/schemas/generated/anti_whipsaw_gate_v1.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/ANTI_WHIPSAW_GATE_V1", - "title": "ANTI_WHIPSAW_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "ANTI_WHIPSAW_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "close_price", - "ma20", - "rsi14" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/artifact_freshness_gate_v1.schema.json b/schemas/generated/artifact_freshness_gate_v1.schema.json deleted file mode 100644 index cee56339..00000000 --- a/schemas/generated/artifact_freshness_gate_v1.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/ARTIFACT_FRESHNESS_GATE_V1", - "title": "ARTIFACT_FRESHNESS_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "ARTIFACT_FRESHNESS_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/audit_replay_snapshot_v1.schema.json b/schemas/generated/audit_replay_snapshot_v1.schema.json deleted file mode 100644 index 19f39d02..00000000 --- a/schemas/generated/audit_replay_snapshot_v1.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/AUDIT_REPLAY_SNAPSHOT_V1", - "title": "AUDIT_REPLAY_SNAPSHOT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "AUDIT_REPLAY_SNAPSHOT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/benchmark_relative_timeseries_v1.schema.json b/schemas/generated/benchmark_relative_timeseries_v1.schema.json deleted file mode 100644 index ec916f53..00000000 --- a/schemas/generated/benchmark_relative_timeseries_v1.schema.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/BENCHMARK_RELATIVE_TIMESERIES_V1", - "title": "BENCHMARK_RELATIVE_TIMESERIES_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "BENCHMARK_RELATIVE_TIMESERIES_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "price.ret5D", - "price.ret20D", - "price.ret60D", - "price.close", - "high52w", - "globalKospiRet5D_", - "globalKospiRet20D_", - "globalKospiRet60D_", - "globalKospiDrawdown_" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/blank_cell_audit_v1.schema.json b/schemas/generated/blank_cell_audit_v1.schema.json deleted file mode 100644 index 5f904215..00000000 --- a/schemas/generated/blank_cell_audit_v1.schema.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/BLANK_CELL_AUDIT_V1", - "title": "BLANK_CELL_AUDIT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "BLANK_CELL_AUDIT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "operational_report_json" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/breakeven_ratchet_v1.schema.json b/schemas/generated/breakeven_ratchet_v1.schema.json deleted file mode 100644 index eebdaa5d..00000000 --- a/schemas/generated/breakeven_ratchet_v1.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/BREAKEVEN_RATCHET_V1", - "title": "BREAKEVEN_RATCHET_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "BREAKEVEN_RATCHET_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "average_cost", - "highest_price_since_entry" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/breakout_failure_stop_v1.schema.json b/schemas/generated/breakout_failure_stop_v1.schema.json deleted file mode 100644 index f84661ee..00000000 --- a/schemas/generated/breakout_failure_stop_v1.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/BREAKOUT_FAILURE_STOP_V1", - "title": "BREAKOUT_FAILURE_STOP_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "BREAKOUT_FAILURE_STOP_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "prior_high", - "close_price", - "days_since_breakout" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/breakout_quality_gate_v2.schema.json b/schemas/generated/breakout_quality_gate_v2.schema.json deleted file mode 100644 index 356a5356..00000000 --- a/schemas/generated/breakout_quality_gate_v2.schema.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/BREAKOUT_QUALITY_GATE_V2", - "title": "BREAKOUT_QUALITY_GATE_V2", - "type": "object", - "properties": { - "formula_id": { - "const": "BREAKOUT_QUALITY_GATE_V2" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "close", - "ma20", - "ret_3d", - "ret_1d", - "disparity", - "rsi14", - "volume", - "avg_volume_5d", - "timing_score_exit", - "distribution_risk_score", - "late_chase_risk_score" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/canonical_artifact_resolver_v1.schema.json b/schemas/generated/canonical_artifact_resolver_v1.schema.json deleted file mode 100644 index 1dba9cb4..00000000 --- a/schemas/generated/canonical_artifact_resolver_v1.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CANONICAL_ARTIFACT_RESOLVER_V1", - "title": "CANONICAL_ARTIFACT_RESOLVER_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "CANONICAL_ARTIFACT_RESOLVER_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/canonical_metrics_v1.schema.json b/schemas/generated/canonical_metrics_v1.schema.json deleted file mode 100644 index 4132fe74..00000000 --- a/schemas/generated/canonical_metrics_v1.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CANONICAL_METRICS_V1", - "title": "CANONICAL_METRICS_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "CANONICAL_METRICS_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/capital_style_allocation_v1.schema.json b/schemas/generated/capital_style_allocation_v1.schema.json deleted file mode 100644 index 237a1250..00000000 --- a/schemas/generated/capital_style_allocation_v1.schema.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CAPITAL_STYLE_ALLOCATION_V1", - "title": "CAPITAL_STYLE_ALLOCATION_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "CAPITAL_STYLE_ALLOCATION_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "smart_money_flow_signal_v2_json", - "fundamental_multifactor_v3_json", - "macro_event_ticker_impact_v1_json", - "liquidity_flow_signal_v1_json" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/cash_creation_purpose_lock_v1.schema.json b/schemas/generated/cash_creation_purpose_lock_v1.schema.json deleted file mode 100644 index df067966..00000000 --- a/schemas/generated/cash_creation_purpose_lock_v1.schema.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CASH_CREATION_PURPOSE_LOCK_V1", - "title": "CASH_CREATION_PURPOSE_LOCK_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "CASH_CREATION_PURPOSE_LOCK_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "composite_verdict", - "rs_verdict", - "brt_verdict", - "excess_drawdown_pctp", - "recovery_ratio_20d", - "sfg_v1" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/cash_floor_v1.schema.json b/schemas/generated/cash_floor_v1.schema.json deleted file mode 100644 index e39e2d6a..00000000 --- a/schemas/generated/cash_floor_v1.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CASH_FLOOR_V1", - "title": "CASH_FLOOR_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "CASH_FLOOR_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "total_asset", - "settlement_cash_d2_krw", - "market_risk_score" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/cash_raise_pareto_executor_v2.schema.json b/schemas/generated/cash_raise_pareto_executor_v2.schema.json deleted file mode 100644 index cc7fb5d7..00000000 --- a/schemas/generated/cash_raise_pareto_executor_v2.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CASH_RAISE_PARETO_EXECUTOR_V2", - "title": "CASH_RAISE_PARETO_EXECUTOR_V2", - "type": "object", - "properties": { - "formula_id": { - "const": "CASH_RAISE_PARETO_EXECUTOR_V2" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/cash_raise_value_optimizer_v3.schema.json b/schemas/generated/cash_raise_value_optimizer_v3.schema.json deleted file mode 100644 index 57c169c1..00000000 --- a/schemas/generated/cash_raise_value_optimizer_v3.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CASH_RAISE_VALUE_OPTIMIZER_V3", - "title": "CASH_RAISE_VALUE_OPTIMIZER_V3", - "type": "object", - "properties": { - "formula_id": { - "const": "CASH_RAISE_VALUE_OPTIMIZER_V3" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/cash_ratios_v1.schema.json b/schemas/generated/cash_ratios_v1.schema.json deleted file mode 100644 index 5ec0c89d..00000000 --- a/schemas/generated/cash_ratios_v1.schema.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CASH_RATIOS_V1", - "title": "CASH_RATIOS_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "CASH_RATIOS_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "settlement_cash", - "reserved_order_amount", - "planned_buy_amount", - "sell_cash_proceeds_d2", - "total_asset" - ], - "x_formula_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" - } -} diff --git a/schemas/generated/cash_recovery_optimizer_v1.schema.json b/schemas/generated/cash_recovery_optimizer_v1.schema.json deleted file mode 100644 index ff97a091..00000000 --- a/schemas/generated/cash_recovery_optimizer_v1.schema.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CASH_RECOVERY_OPTIMIZER_V1", - "title": "CASH_RECOVERY_OPTIMIZER_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "CASH_RECOVERY_OPTIMIZER_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "cash_shortfall_target_krw", - "cash_shortfall_min_krw", - "sell_candidates_json", - "immediate_sell_qty", - "sell_limit_price", - "holding_qty" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/cash_recovery_optimizer_v4.schema.json b/schemas/generated/cash_recovery_optimizer_v4.schema.json deleted file mode 100644 index bc37edf1..00000000 --- a/schemas/generated/cash_recovery_optimizer_v4.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CASH_RECOVERY_OPTIMIZER_V4", - "title": "CASH_RECOVERY_OPTIMIZER_V4", - "type": "object", - "properties": { - "formula_id": { - "const": "CASH_RECOVERY_OPTIMIZER_V4" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/cash_recovery_v1.schema.json b/schemas/generated/cash_recovery_v1.schema.json deleted file mode 100644 index c833ab1e..00000000 --- a/schemas/generated/cash_recovery_v1.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CASH_RECOVERY_V1", - "title": "CASH_RECOVERY_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "CASH_RECOVERY_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/cashflow_quality_signal_v1.schema.json b/schemas/generated/cashflow_quality_signal_v1.schema.json deleted file mode 100644 index 633d4aa5..00000000 --- a/schemas/generated/cashflow_quality_signal_v1.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CASHFLOW_QUALITY_SIGNAL_V1", - "title": "CASHFLOW_QUALITY_SIGNAL_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "CASHFLOW_QUALITY_SIGNAL_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/cashflow_stability_gate_v1.schema.json b/schemas/generated/cashflow_stability_gate_v1.schema.json deleted file mode 100644 index 037d5a18..00000000 --- a/schemas/generated/cashflow_stability_gate_v1.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CASHFLOW_STABILITY_GATE_V1", - "title": "CASHFLOW_STABILITY_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "CASHFLOW_STABILITY_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "operating_cf_krw", - "free_cf_krw", - "accrual_ratio_pct" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/cla_regime_exit_condition_v1.schema.json b/schemas/generated/cla_regime_exit_condition_v1.schema.json deleted file mode 100644 index 1a22d485..00000000 --- a/schemas/generated/cla_regime_exit_condition_v1.schema.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CLA_REGIME_EXIT_CONDITION_V1", - "title": "CLA_REGIME_EXIT_CONDITION_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "CLA_REGIME_EXIT_CONDITION_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "ticker", - "rs_verdict", - "brt_verdict", - "frg_5d_sh", - "volume", - "avg_volume_5d", - "market_regime" - ], - "x_formula_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" - } - ] -} diff --git a/schemas/generated/completion_gap_v1.schema.json b/schemas/generated/completion_gap_v1.schema.json deleted file mode 100644 index 29f98d56..00000000 --- a/schemas/generated/completion_gap_v1.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/COMPLETION_GAP_V1", - "title": "COMPLETION_GAP_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "COMPLETION_GAP_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/composite_verdict_v1.schema.json b/schemas/generated/composite_verdict_v1.schema.json deleted file mode 100644 index 7f7c5060..00000000 --- a/schemas/generated/composite_verdict_v1.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/COMPOSITE_VERDICT_V1", - "title": "COMPOSITE_VERDICT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "COMPOSITE_VERDICT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "ss001_grade", - "rs_verdict" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/comprehensive_proposal_v1.schema.json b/schemas/generated/comprehensive_proposal_v1.schema.json deleted file mode 100644 index 1d6b60ca..00000000 --- a/schemas/generated/comprehensive_proposal_v1.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/COMPREHENSIVE_PROPOSAL_V1", - "title": "COMPREHENSIVE_PROPOSAL_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "COMPREHENSIVE_PROPOSAL_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/consecutive_streak_v1.schema.json b/schemas/generated/consecutive_streak_v1.schema.json deleted file mode 100644 index b66def21..00000000 --- a/schemas/generated/consecutive_streak_v1.schema.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CONSECUTIVE_STREAK_V1", - "title": "CONSECUTIVE_STREAK_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "CONSECUTIVE_STREAK_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "daily_close_changes" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/continuous_evaluation_dashboard_v1.schema.json b/schemas/generated/continuous_evaluation_dashboard_v1.schema.json deleted file mode 100644 index 40f19258..00000000 --- a/schemas/generated/continuous_evaluation_dashboard_v1.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CONTINUOUS_EVALUATION_DASHBOARD_V1", - "title": "CONTINUOUS_EVALUATION_DASHBOARD_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "CONTINUOUS_EVALUATION_DASHBOARD_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/cross_section_consistency_v1.schema.json b/schemas/generated/cross_section_consistency_v1.schema.json deleted file mode 100644 index a9d432e8..00000000 --- a/schemas/generated/cross_section_consistency_v1.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CROSS_SECTION_CONSISTENCY_V1", - "title": "CROSS_SECTION_CONSISTENCY_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "CROSS_SECTION_CONSISTENCY_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/data_integrity_100_lock_v1.schema.json b/schemas/generated/data_integrity_100_lock_v1.schema.json deleted file mode 100644 index d338c54c..00000000 --- a/schemas/generated/data_integrity_100_lock_v1.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/DATA_INTEGRITY_100_LOCK_V1", - "title": "DATA_INTEGRITY_100_LOCK_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "DATA_INTEGRITY_100_LOCK_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/data_integrity_100_lock_v2.schema.json b/schemas/generated/data_integrity_100_lock_v2.schema.json deleted file mode 100644 index e5902546..00000000 --- a/schemas/generated/data_integrity_100_lock_v2.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/DATA_INTEGRITY_100_LOCK_V2", - "title": "DATA_INTEGRITY_100_LOCK_V2", - "type": "object", - "properties": { - "formula_id": { - "const": "DATA_INTEGRITY_100_LOCK_V2" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/data_integrity_score_v1.schema.json b/schemas/generated/data_integrity_score_v1.schema.json deleted file mode 100644 index 75cefbd6..00000000 --- a/schemas/generated/data_integrity_score_v1.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/DATA_INTEGRITY_SCORE_V1", - "title": "DATA_INTEGRITY_SCORE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "DATA_INTEGRITY_SCORE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/data_maturity_truth_gate_v1.schema.json b/schemas/generated/data_maturity_truth_gate_v1.schema.json deleted file mode 100644 index 635bb714..00000000 --- a/schemas/generated/data_maturity_truth_gate_v1.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/DATA_MATURITY_TRUTH_GATE_V1", - "title": "DATA_MATURITY_TRUTH_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "DATA_MATURITY_TRUTH_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/data_maturity_truth_gate_validator_v1.schema.json b/schemas/generated/data_maturity_truth_gate_validator_v1.schema.json deleted file mode 100644 index c5597ad0..00000000 --- a/schemas/generated/data_maturity_truth_gate_validator_v1.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/DATA_MATURITY_TRUTH_GATE_VALIDATOR_V1", - "title": "DATA_MATURITY_TRUTH_GATE_VALIDATOR_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "DATA_MATURITY_TRUTH_GATE_VALIDATOR_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/data_quality_gate_v2_py.schema.json b/schemas/generated/data_quality_gate_v2_py.schema.json deleted file mode 100644 index 729dbc96..00000000 --- a/schemas/generated/data_quality_gate_v2_py.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/DATA_QUALITY_GATE_V2_PY", - "title": "DATA_QUALITY_GATE_V2_PY", - "type": "object", - "properties": { - "formula_id": { - "const": "DATA_QUALITY_GATE_V2_PY" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/data_quality_gate_v3.schema.json b/schemas/generated/data_quality_gate_v3.schema.json deleted file mode 100644 index 2edb1267..00000000 --- a/schemas/generated/data_quality_gate_v3.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/DATA_QUALITY_GATE_V3", - "title": "DATA_QUALITY_GATE_V3", - "type": "object", - "properties": { - "formula_id": { - "const": "DATA_QUALITY_GATE_V3" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/deterministic_routing_engine_v1.schema.json b/schemas/generated/deterministic_routing_engine_v1.schema.json deleted file mode 100644 index 2681457d..00000000 --- a/schemas/generated/deterministic_routing_engine_v1.schema.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/DETERMINISTIC_ROUTING_ENGINE_V1", - "title": "DETERMINISTIC_ROUTING_ENGINE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "DETERMINISTIC_ROUTING_ENGINE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "harness_context" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/distribution_sell_detector_v1.schema.json b/schemas/generated/distribution_sell_detector_v1.schema.json deleted file mode 100644 index 66e4c3a0..00000000 --- a/schemas/generated/distribution_sell_detector_v1.schema.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/DISTRIBUTION_SELL_DETECTOR_V1", - "title": "DISTRIBUTION_SELL_DETECTOR_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "DISTRIBUTION_SELL_DETECTOR_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "close", - "high52w", - "avg_volume_5d", - "volume", - "ret5d", - "flow_credit", - "frg_5d_sh", - "inst_5d_sh", - "rsi14", - "obv_slope_20d" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/divergence_score_v1.schema.json b/schemas/generated/divergence_score_v1.schema.json deleted file mode 100644 index 4ece52c0..00000000 --- a/schemas/generated/divergence_score_v1.schema.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/DIVERGENCE_SCORE_V1", - "title": "DIVERGENCE_SCORE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "DIVERGENCE_SCORE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "close_price", - "ma20", - "frg_5d_sh", - "inst_5d_sh", - "flow_credit", - "frg_20d_sh" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/drawdown_guard_v1.schema.json b/schemas/generated/drawdown_guard_v1.schema.json deleted file mode 100644 index 187bffc0..00000000 --- a/schemas/generated/drawdown_guard_v1.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/DRAWDOWN_GUARD_V1", - "title": "DRAWDOWN_GUARD_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "DRAWDOWN_GUARD_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "win_loss_streak_state", - "win_loss_streak_buy_scale" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/dynamic_heat_gate_v1.schema.json b/schemas/generated/dynamic_heat_gate_v1.schema.json deleted file mode 100644 index 4c0d432d..00000000 --- a/schemas/generated/dynamic_heat_gate_v1.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/DYNAMIC_HEAT_GATE_V1", - "title": "DYNAMIC_HEAT_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "DYNAMIC_HEAT_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "market_regime", - "total_heat_pct" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/earnings_growth_quality_gate_v1.schema.json b/schemas/generated/earnings_growth_quality_gate_v1.schema.json deleted file mode 100644 index ddf65403..00000000 --- a/schemas/generated/earnings_growth_quality_gate_v1.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/EARNINGS_GROWTH_QUALITY_GATE_V1", - "title": "EARNINGS_GROWTH_QUALITY_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "EARNINGS_GROWTH_QUALITY_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "eps_growth_qoq_pct", - "eps_growth_yoy_pct" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/earnings_quality_signal_v1.schema.json b/schemas/generated/earnings_quality_signal_v1.schema.json deleted file mode 100644 index 95fe0b76..00000000 --- a/schemas/generated/earnings_quality_signal_v1.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/EARNINGS_QUALITY_SIGNAL_V1", - "title": "EARNINGS_QUALITY_SIGNAL_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "EARNINGS_QUALITY_SIGNAL_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/ecp_risk_scale_v1.schema.json b/schemas/generated/ecp_risk_scale_v1.schema.json deleted file mode 100644 index e63e328c..00000000 --- a/schemas/generated/ecp_risk_scale_v1.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/ECP_RISK_SCALE_V1", - "title": "ECP_RISK_SCALE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "ECP_RISK_SCALE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "total_asset", - "total_asset_ma10" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/ejce_divergence_audit_v1.schema.json b/schemas/generated/ejce_divergence_audit_v1.schema.json deleted file mode 100644 index 1a3aa067..00000000 --- a/schemas/generated/ejce_divergence_audit_v1.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/EJCE_DIVERGENCE_AUDIT_V1", - "title": "EJCE_DIVERGENCE_AUDIT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "EJCE_DIVERGENCE_AUDIT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/ejce_view_renderer_v1.schema.json b/schemas/generated/ejce_view_renderer_v1.schema.json deleted file mode 100644 index 9060157e..00000000 --- a/schemas/generated/ejce_view_renderer_v1.schema.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/EJCE_VIEW_RENDERER_V1", - "title": "EJCE_VIEW_RENDERER_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "EJCE_VIEW_RENDERER_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "ejce_json", - "alpha_lead_json", - "breakout_quality_gate_json", - "anti_chasing_velocity_json", - "heat_concentration_json", - "portfolio_alpha_confidence" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/entry_timing_decile_factor_v1.schema.json b/schemas/generated/entry_timing_decile_factor_v1.schema.json deleted file mode 100644 index 8056b0d5..00000000 --- a/schemas/generated/entry_timing_decile_factor_v1.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/ENTRY_TIMING_DECILE_FACTOR_V1", - "title": "ENTRY_TIMING_DECILE_FACTOR_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "ENTRY_TIMING_DECILE_FACTOR_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "buy_timing_score", - "t5_ledger", - "cut_decile" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/execution_capacity_ladder_v1.schema.json b/schemas/generated/execution_capacity_ladder_v1.schema.json deleted file mode 100644 index 57418b01..00000000 --- a/schemas/generated/execution_capacity_ladder_v1.schema.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/EXECUTION_CAPACITY_LADDER_V1", - "title": "EXECUTION_CAPACITY_LADDER_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "EXECUTION_CAPACITY_LADDER_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "planned_order_amount_krw", - "avg_trade_value_20d_krw", - "intraday_trade_value_krw", - "orderbook_top3_depth_krw", - "spread_bps" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/execution_method_ladder_v1.schema.json b/schemas/generated/execution_method_ladder_v1.schema.json deleted file mode 100644 index 55d1a6c4..00000000 --- a/schemas/generated/execution_method_ladder_v1.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/EXECUTION_METHOD_LADDER_V1", - "title": "EXECUTION_METHOD_LADDER_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "EXECUTION_METHOD_LADDER_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "sell_timing_verdict", - "sell_waterfall_gate", - "smart_cash_recovery_gate" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/execution_plan_compiler_v1.schema.json b/schemas/generated/execution_plan_compiler_v1.schema.json deleted file mode 100644 index fc700063..00000000 --- a/schemas/generated/execution_plan_compiler_v1.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/EXECUTION_PLAN_COMPILER_V1", - "title": "EXECUTION_PLAN_COMPILER_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "EXECUTION_PLAN_COMPILER_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "order_capacity_krw", - "revalidation_snapshot", - "baseline_snapshot" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/execution_quality_score_v1.schema.json b/schemas/generated/execution_quality_score_v1.schema.json deleted file mode 100644 index ef2758f2..00000000 --- a/schemas/generated/execution_quality_score_v1.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/EXECUTION_QUALITY_SCORE_V1", - "title": "EXECUTION_QUALITY_SCORE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "EXECUTION_QUALITY_SCORE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/expected_edge_v1.schema.json b/schemas/generated/expected_edge_v1.schema.json deleted file mode 100644 index 0aaea1b2..00000000 --- a/schemas/generated/expected_edge_v1.schema.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/EXPECTED_EDGE_V1", - "title": "EXPECTED_EDGE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "EXPECTED_EDGE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "target_price", - "entry_price", - "stop_price", - "bayesian_confidence_multiplier", - "execution_cost_rate" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/fifty_two_week_high_trigger_v1.schema.json b/schemas/generated/fifty_two_week_high_trigger_v1.schema.json deleted file mode 100644 index afcc0ab1..00000000 --- a/schemas/generated/fifty_two_week_high_trigger_v1.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/FIFTY_TWO_WEEK_HIGH_TRIGGER_V1", - "title": "FIFTY_TWO_WEEK_HIGH_TRIGGER_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "FIFTY_TWO_WEEK_HIGH_TRIGGER_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "close_price", - "high52w" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/final_judgment_gate_v1.schema.json b/schemas/generated/final_judgment_gate_v1.schema.json deleted file mode 100644 index ebb4b2e5..00000000 --- a/schemas/generated/final_judgment_gate_v1.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/FINAL_JUDGMENT_GATE_V1", - "title": "FINAL_JUDGMENT_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "FINAL_JUDGMENT_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/financial_health_score_v1.schema.json b/schemas/generated/financial_health_score_v1.schema.json deleted file mode 100644 index f6ca1a6b..00000000 --- a/schemas/generated/financial_health_score_v1.schema.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/FINANCIAL_HEALTH_SCORE_V1", - "title": "FINANCIAL_HEALTH_SCORE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "FINANCIAL_HEALTH_SCORE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "roe_pct", - "operating_margin_pct", - "debt_to_equity", - "fcf_b", - "sector_type" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/flow_acceleration_v1.schema.json b/schemas/generated/flow_acceleration_v1.schema.json deleted file mode 100644 index c05ffc54..00000000 --- a/schemas/generated/flow_acceleration_v1.schema.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/FLOW_ACCELERATION_V1", - "title": "FLOW_ACCELERATION_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "FLOW_ACCELERATION_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "frg_5d_sh", - "frg_20d_sh", - "close_price", - "ma20" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/flow_credit_v1.schema.json b/schemas/generated/flow_credit_v1.schema.json deleted file mode 100644 index 916d0494..00000000 --- a/schemas/generated/flow_credit_v1.schema.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/FLOW_CREDIT_V1", - "title": "FLOW_CREDIT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "FLOW_CREDIT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "close_price", - "open_price", - "previous_close_price", - "volume", - "avg_volume_5d", - "frg_5d_sh", - "inst_5d_sh", - "flow_ok" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/follow_through_day_confirm_v1.schema.json b/schemas/generated/follow_through_day_confirm_v1.schema.json deleted file mode 100644 index 8f4b64d3..00000000 --- a/schemas/generated/follow_through_day_confirm_v1.schema.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/FOLLOW_THROUGH_DAY_CONFIRM_V1", - "title": "FOLLOW_THROUGH_DAY_CONFIRM_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "FOLLOW_THROUGH_DAY_CONFIRM_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "days_since_breakout", - "ret_since_breakout", - "vol_today", - "vol_breakout_day", - "close", - "ma20" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/forecast_simulation_engine_v1.schema.json b/schemas/generated/forecast_simulation_engine_v1.schema.json deleted file mode 100644 index 8193bb19..00000000 --- a/schemas/generated/forecast_simulation_engine_v1.schema.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/FORECAST_SIMULATION_ENGINE_V1", - "title": "FORECAST_SIMULATION_ENGINE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "FORECAST_SIMULATION_ENGINE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "net_profit_distribution_after_tax_fee_slippage", - "sample_count_total", - "sample_count_same_regime", - "execution_mode" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/fundamental_multi_factor_score_v2.schema.json b/schemas/generated/fundamental_multi_factor_score_v2.schema.json deleted file mode 100644 index fd289453..00000000 --- a/schemas/generated/fundamental_multi_factor_score_v2.schema.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/FUNDAMENTAL_MULTI_FACTOR_SCORE_V2", - "title": "FUNDAMENTAL_MULTI_FACTOR_SCORE_V2", - "type": "object", - "properties": { - "formula_id": { - "const": "FUNDAMENTAL_MULTI_FACTOR_SCORE_V2" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "roe_pct", - "opm_pct", - "revenue_growth_pct", - "op_income_growth_pct", - "market_share_proxy_pct", - "operating_cf_krw", - "free_cf_krw", - "debt_ratio_pct" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/fundamental_multifactor_v3.schema.json b/schemas/generated/fundamental_multifactor_v3.schema.json deleted file mode 100644 index 2c42c8c2..00000000 --- a/schemas/generated/fundamental_multifactor_v3.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/FUNDAMENTAL_MULTIFACTOR_V3", - "title": "FUNDAMENTAL_MULTIFACTOR_V3", - "type": "object", - "properties": { - "formula_id": { - "const": "FUNDAMENTAL_MULTIFACTOR_V3" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/fundamental_quality_gate_v1.schema.json b/schemas/generated/fundamental_quality_gate_v1.schema.json deleted file mode 100644 index da45667e..00000000 --- a/schemas/generated/fundamental_quality_gate_v1.schema.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/FUNDAMENTAL_QUALITY_GATE_V1", - "title": "FUNDAMENTAL_QUALITY_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "FUNDAMENTAL_QUALITY_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "roe_pct", - "op_income_growth_pct", - "debt_ratio_pct", - "operating_cf_krw", - "pe_ttm" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/fundamental_raw_ingest_v1.schema.json b/schemas/generated/fundamental_raw_ingest_v1.schema.json deleted file mode 100644 index db764bab..00000000 --- a/schemas/generated/fundamental_raw_ingest_v1.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/FUNDAMENTAL_RAW_INGEST_V1", - "title": "FUNDAMENTAL_RAW_INGEST_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "FUNDAMENTAL_RAW_INGEST_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/golden_cross_signal_v1.schema.json b/schemas/generated/golden_cross_signal_v1.schema.json deleted file mode 100644 index d4561eb4..00000000 --- a/schemas/generated/golden_cross_signal_v1.schema.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/GOLDEN_CROSS_SIGNAL_V1", - "title": "GOLDEN_CROSS_SIGNAL_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "GOLDEN_CROSS_SIGNAL_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "ma20", - "ma20_prev", - "ma60", - "ma60_prev" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/growth_rate_signal_v1.schema.json b/schemas/generated/growth_rate_signal_v1.schema.json deleted file mode 100644 index b00743a8..00000000 --- a/schemas/generated/growth_rate_signal_v1.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/GROWTH_RATE_SIGNAL_V1", - "title": "GROWTH_RATE_SIGNAL_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "GROWTH_RATE_SIGNAL_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/harness_data_freshness_gate_v1.schema.json b/schemas/generated/harness_data_freshness_gate_v1.schema.json deleted file mode 100644 index 9f081383..00000000 --- a/schemas/generated/harness_data_freshness_gate_v1.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/HARNESS_DATA_FRESHNESS_GATE_V1", - "title": "HARNESS_DATA_FRESHNESS_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "HARNESS_DATA_FRESHNESS_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "metadata.generated_at", - "metadata.market_date", - "today_date" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/heat_concentration_alert_v1.schema.json b/schemas/generated/heat_concentration_alert_v1.schema.json deleted file mode 100644 index e82e6bb7..00000000 --- a/schemas/generated/heat_concentration_alert_v1.schema.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/HEAT_CONCENTRATION_ALERT_V1", - "title": "HEAT_CONCENTRATION_ALERT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "HEAT_CONCENTRATION_ALERT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "heat_share_pct" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/horizon_allocation_lock_v1.schema.json b/schemas/generated/horizon_allocation_lock_v1.schema.json deleted file mode 100644 index 056ba628..00000000 --- a/schemas/generated/horizon_allocation_lock_v1.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/HORIZON_ALLOCATION_LOCK_V1", - "title": "HORIZON_ALLOCATION_LOCK_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "HORIZON_ALLOCATION_LOCK_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "invest_horizon", - "market_value_krw", - "total_asset_krw" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/horizon_classification_v1.schema.json b/schemas/generated/horizon_classification_v1.schema.json deleted file mode 100644 index c636da70..00000000 --- a/schemas/generated/horizon_classification_v1.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/HORIZON_CLASSIFICATION_V1", - "title": "HORIZON_CLASSIFICATION_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "HORIZON_CLASSIFICATION_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/immutable_decision_ledger_v1.schema.json b/schemas/generated/immutable_decision_ledger_v1.schema.json deleted file mode 100644 index 688b12a2..00000000 --- a/schemas/generated/immutable_decision_ledger_v1.schema.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/IMMUTABLE_DECISION_LEDGER_V1", - "title": "IMMUTABLE_DECISION_LEDGER_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "IMMUTABLE_DECISION_LEDGER_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "decision_id", - "input_hash_bundle", - "execution_mode", - "candidate_ids", - "selected_transition_id" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/intraday_action_matrix_v1.schema.json b/schemas/generated/intraday_action_matrix_v1.schema.json deleted file mode 100644 index 8a5e6c18..00000000 --- a/schemas/generated/intraday_action_matrix_v1.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/INTRADAY_ACTION_MATRIX_V1", - "title": "INTRADAY_ACTION_MATRIX_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "INTRADAY_ACTION_MATRIX_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "capture_time", - "market_date" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/investment_quality_headline_v1.schema.json b/schemas/generated/investment_quality_headline_v1.schema.json deleted file mode 100644 index 8f78386c..00000000 --- a/schemas/generated/investment_quality_headline_v1.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/INVESTMENT_QUALITY_HEADLINE_V1", - "title": "INVESTMENT_QUALITY_HEADLINE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "INVESTMENT_QUALITY_HEADLINE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/k2_staged_rebound_sell_v1.schema.json b/schemas/generated/k2_staged_rebound_sell_v1.schema.json deleted file mode 100644 index 5b86c7d8..00000000 --- a/schemas/generated/k2_staged_rebound_sell_v1.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/K2_STAGED_REBOUND_SELL_V1", - "title": "K2_STAGED_REBOUND_SELL_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "K2_STAGED_REBOUND_SELL_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "base_sell_qty", - "previous_close_price", - "atr20" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/leader_lifecycle_gate_v1.schema.json b/schemas/generated/leader_lifecycle_gate_v1.schema.json deleted file mode 100644 index 79bda5d2..00000000 --- a/schemas/generated/leader_lifecycle_gate_v1.schema.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/LEADER_LIFECYCLE_GATE_V1", - "title": "LEADER_LIFECYCLE_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "LEADER_LIFECYCLE_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "relative_strength_leads_sector", - "volume_quality_confirmed", - "above_ma60_or_reclaim_confirmed", - "earnings_revision_status", - "institutional_flow_status", - "current_role" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/leader_position_weight_cap_v1.schema.json b/schemas/generated/leader_position_weight_cap_v1.schema.json deleted file mode 100644 index b1519fe0..00000000 --- a/schemas/generated/leader_position_weight_cap_v1.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/LEADER_POSITION_WEIGHT_CAP_V1", - "title": "LEADER_POSITION_WEIGHT_CAP_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "LEADER_POSITION_WEIGHT_CAP_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "single_position_weight_json", - "market_regime" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/liquidity_flow_signal_v1.schema.json b/schemas/generated/liquidity_flow_signal_v1.schema.json deleted file mode 100644 index 883d1b87..00000000 --- a/schemas/generated/liquidity_flow_signal_v1.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/LIQUIDITY_FLOW_SIGNAL_V1", - "title": "LIQUIDITY_FLOW_SIGNAL_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "LIQUIDITY_FLOW_SIGNAL_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/llm_narrative_template_lock_v1.schema.json b/schemas/generated/llm_narrative_template_lock_v1.schema.json deleted file mode 100644 index 8af22630..00000000 --- a/schemas/generated/llm_narrative_template_lock_v1.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/LLM_NARRATIVE_TEMPLATE_LOCK_V1", - "title": "LLM_NARRATIVE_TEMPLATE_LOCK_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "LLM_NARRATIVE_TEMPLATE_LOCK_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/llm_serving_constraint_v1.schema.json b/schemas/generated/llm_serving_constraint_v1.schema.json deleted file mode 100644 index f0111be1..00000000 --- a/schemas/generated/llm_serving_constraint_v1.schema.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/LLM_SERVING_CONSTRAINT_V1", - "title": "LLM_SERVING_CONSTRAINT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "LLM_SERVING_CONSTRAINT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "harness_context" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/macro_event_ticker_impact_v1.schema.json b/schemas/generated/macro_event_ticker_impact_v1.schema.json deleted file mode 100644 index 17aba788..00000000 --- a/schemas/generated/macro_event_ticker_impact_v1.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/MACRO_EVENT_TICKER_IMPACT_V1", - "title": "MACRO_EVENT_TICKER_IMPACT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "MACRO_EVENT_TICKER_IMPACT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/market_risk_score_v1.schema.json b/schemas/generated/market_risk_score_v1.schema.json deleted file mode 100644 index 179bb270..00000000 --- a/schemas/generated/market_risk_score_v1.schema.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/MARKET_RISK_SCORE_V1", - "title": "MARKET_RISK_SCORE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "MARKET_RISK_SCORE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "vix_close", - "kospi_close", - "kospi_ma20", - "usd_krw", - "usd_jpy_2d_change_pct", - "credit_stress_status" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/market_share_momentum_proxy_v1.schema.json b/schemas/generated/market_share_momentum_proxy_v1.schema.json deleted file mode 100644 index b41e8216..00000000 --- a/schemas/generated/market_share_momentum_proxy_v1.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/MARKET_SHARE_MOMENTUM_PROXY_V1", - "title": "MARKET_SHARE_MOMENTUM_PROXY_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "MARKET_SHARE_MOMENTUM_PROXY_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "revenue_growth_pct", - "alpha_lead_score" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/market_share_signal_v2.schema.json b/schemas/generated/market_share_signal_v2.schema.json deleted file mode 100644 index e8d397a2..00000000 --- a/schemas/generated/market_share_signal_v2.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/MARKET_SHARE_SIGNAL_V2", - "title": "MARKET_SHARE_SIGNAL_V2", - "type": "object", - "properties": { - "formula_id": { - "const": "MARKET_SHARE_SIGNAL_V2" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/market_weight_aware_cluster_gate_v1.schema.json b/schemas/generated/market_weight_aware_cluster_gate_v1.schema.json deleted file mode 100644 index f9533098..00000000 --- a/schemas/generated/market_weight_aware_cluster_gate_v1.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/MARKET_WEIGHT_AWARE_CLUSTER_GATE_V1", - "title": "MARKET_WEIGHT_AWARE_CLUSTER_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "MARKET_WEIGHT_AWARE_CLUSTER_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "semiconductor_cluster_json", - "market_regime" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/mean_reversion_gate_v1.schema.json b/schemas/generated/mean_reversion_gate_v1.schema.json deleted file mode 100644 index 985f7d85..00000000 --- a/schemas/generated/mean_reversion_gate_v1.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/MEAN_REVERSION_GATE_V1", - "title": "MEAN_REVERSION_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "MEAN_REVERSION_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "close_price", - "ma20" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/model_governance_kill_switch_v1.schema.json b/schemas/generated/model_governance_kill_switch_v1.schema.json deleted file mode 100644 index c164d1dc..00000000 --- a/schemas/generated/model_governance_kill_switch_v1.schema.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/MODEL_GOVERNANCE_KILL_SWITCH_V1", - "title": "MODEL_GOVERNANCE_KILL_SWITCH_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "MODEL_GOVERNANCE_KILL_SWITCH_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "data_quarantine_rate_pct", - "implementation_shortfall_ratio", - "t5_hit_rate_pct", - "t5_sample_count", - "calibration_error", - "calibration_error_limit", - "account_mdd_pct", - "account_mdd_budget_pct" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/overhang_pressure_v1.schema.json b/schemas/generated/overhang_pressure_v1.schema.json deleted file mode 100644 index baec3af0..00000000 --- a/schemas/generated/overhang_pressure_v1.schema.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/OVERHANG_PRESSURE_V1", - "title": "OVERHANG_PRESSURE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "OVERHANG_PRESSURE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "frg_5d_sh", - "frg_20d_sh", - "volume", - "avg_volume_5d", - "flow_credit" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/oversold_delay_v1.schema.json b/schemas/generated/oversold_delay_v1.schema.json deleted file mode 100644 index a0769be5..00000000 --- a/schemas/generated/oversold_delay_v1.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/OVERSOLD_DELAY_V1", - "title": "OVERSOLD_DELAY_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "OVERSOLD_DELAY_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "rsi_14", - "current_price", - "cash_shortfall_krw" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/pattern_blacklist_auto_v1.schema.json b/schemas/generated/pattern_blacklist_auto_v1.schema.json deleted file mode 100644 index 309e1231..00000000 --- a/schemas/generated/pattern_blacklist_auto_v1.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/PATTERN_BLACKLIST_AUTO_V1", - "title": "PATTERN_BLACKLIST_AUTO_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "PATTERN_BLACKLIST_AUTO_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "trade_quality_json", - "monthly_history" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/peg_score_v1.schema.json b/schemas/generated/peg_score_v1.schema.json deleted file mode 100644 index 1f7c6450..00000000 --- a/schemas/generated/peg_score_v1.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/PEG_SCORE_V1", - "title": "PEG_SCORE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "PEG_SCORE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "forward_pe", - "eps_growth_3y_cagr_pct", - "sector_median_forward_pe" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/portfolio_alpha_confidence_per_ticker_v1.schema.json b/schemas/generated/portfolio_alpha_confidence_per_ticker_v1.schema.json deleted file mode 100644 index 6e872c19..00000000 --- a/schemas/generated/portfolio_alpha_confidence_per_ticker_v1.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/PORTFOLIO_ALPHA_CONFIDENCE_PER_TICKER_V1", - "title": "PORTFOLIO_ALPHA_CONFIDENCE_PER_TICKER_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "PORTFOLIO_ALPHA_CONFIDENCE_PER_TICKER_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/portfolio_band_status_v1.schema.json b/schemas/generated/portfolio_band_status_v1.schema.json deleted file mode 100644 index c9e070d5..00000000 --- a/schemas/generated/portfolio_band_status_v1.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/PORTFOLIO_BAND_STATUS_V1", - "title": "PORTFOLIO_BAND_STATUS_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "PORTFOLIO_BAND_STATUS_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "current_weight_pct", - "target_band_min_pct", - "target_band_max_pct" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/portfolio_beta_v1.schema.json b/schemas/generated/portfolio_beta_v1.schema.json deleted file mode 100644 index c7d9df31..00000000 --- a/schemas/generated/portfolio_beta_v1.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/PORTFOLIO_BETA_V1", - "title": "PORTFOLIO_BETA_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "PORTFOLIO_BETA_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "beta_i", - "market_value_i", - "total_equity_value" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/portfolio_correlation_gate_v1.schema.json b/schemas/generated/portfolio_correlation_gate_v1.schema.json deleted file mode 100644 index d22e6a15..00000000 --- a/schemas/generated/portfolio_correlation_gate_v1.schema.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/PORTFOLIO_CORRELATION_GATE_V1", - "title": "PORTFOLIO_CORRELATION_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "PORTFOLIO_CORRELATION_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "ticker", - "price.ret20D", - "beta_proxy", - "weight_pct" - ], - "x_formula_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]" - } - ] -} diff --git a/schemas/generated/portfolio_drawdown_gate_v1.schema.json b/schemas/generated/portfolio_drawdown_gate_v1.schema.json deleted file mode 100644 index 94cafe05..00000000 --- a/schemas/generated/portfolio_drawdown_gate_v1.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/PORTFOLIO_DRAWDOWN_GATE_V1", - "title": "PORTFOLIO_DRAWDOWN_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "PORTFOLIO_DRAWDOWN_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "portfolio_peak_krw", - "total_asset_krw" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/portfolio_transition_optimizer_v1.schema.json b/schemas/generated/portfolio_transition_optimizer_v1.schema.json deleted file mode 100644 index 9fbea370..00000000 --- a/schemas/generated/portfolio_transition_optimizer_v1.schema.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/PORTFOLIO_TRANSITION_UTILITY_V1", - "title": "PORTFOLIO_TRANSITION_UTILITY_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "PORTFOLIO_TRANSITION_UTILITY_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "ce70_net_profit_krw", - "tax_fee_slippage_krw", - "cash_repair_benefit_krw", - "concentration_reduction_benefit_krw", - "turnover_penalty_krw" - ], - "x_formula_outputs": [ - "transition_utility_krw", - "acceptance_margin_krw", - "selected_transition" - ] -} diff --git a/schemas/generated/portfolio_transition_utility_v1.schema.json b/schemas/generated/portfolio_transition_utility_v1.schema.json deleted file mode 100644 index 6a86580e..00000000 --- a/schemas/generated/portfolio_transition_utility_v1.schema.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/PORTFOLIO_TRANSITION_UTILITY_V1", - "title": "PORTFOLIO_TRANSITION_UTILITY_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "PORTFOLIO_TRANSITION_UTILITY_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "ce70_net_profit_krw", - "tax_fee_slippage_krw", - "cash_repair_benefit_krw", - "concentration_reduction_benefit_krw", - "turnover_penalty_krw" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/position_count_limit_v1.schema.json b/schemas/generated/position_count_limit_v1.schema.json deleted file mode 100644 index dcd5d2ea..00000000 --- a/schemas/generated/position_count_limit_v1.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/POSITION_COUNT_LIMIT_V1", - "title": "POSITION_COUNT_LIMIT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "POSITION_COUNT_LIMIT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "position_count", - "market_regime" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/position_size_regime_scale_v1.schema.json b/schemas/generated/position_size_regime_scale_v1.schema.json deleted file mode 100644 index 8c9020b7..00000000 --- a/schemas/generated/position_size_regime_scale_v1.schema.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/POSITION_SIZE_REGIME_SCALE_V1", - "title": "POSITION_SIZE_REGIME_SCALE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "POSITION_SIZE_REGIME_SCALE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "market_regime" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/position_size_v1.schema.json b/schemas/generated/position_size_v1.schema.json deleted file mode 100644 index 3a56a609..00000000 --- a/schemas/generated/position_size_v1.schema.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/POSITION_SIZE_V1", - "title": "POSITION_SIZE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "POSITION_SIZE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "total_asset", - "final_risk_budget", - "atr20", - "atr_multiplier", - "available_cash", - "entry_price", - "target_weight_limit_amount", - "sector_limit_amount", - "liquidity_limit_amount" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/prediction_accuracy_harness_v2.schema.json b/schemas/generated/prediction_accuracy_harness_v2.schema.json deleted file mode 100644 index b815553c..00000000 --- a/schemas/generated/prediction_accuracy_harness_v2.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/PREDICTION_ACCURACY_HARNESS_V2", - "title": "PREDICTION_ACCURACY_HARNESS_V2", - "type": "object", - "properties": { - "formula_id": { - "const": "PREDICTION_ACCURACY_HARNESS_V2" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/predictive_alpha_report_lock_v2.schema.json b/schemas/generated/predictive_alpha_report_lock_v2.schema.json deleted file mode 100644 index 04941116..00000000 --- a/schemas/generated/predictive_alpha_report_lock_v2.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/PREDICTIVE_ALPHA_REPORT_LOCK_V2", - "title": "PREDICTIVE_ALPHA_REPORT_LOCK_V2", - "type": "object", - "properties": { - "formula_id": { - "const": "PREDICTIVE_ALPHA_REPORT_LOCK_V2" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/profit_giveback_ratchet_factor_v1.schema.json b/schemas/generated/profit_giveback_ratchet_factor_v1.schema.json deleted file mode 100644 index 06ed139e..00000000 --- a/schemas/generated/profit_giveback_ratchet_factor_v1.schema.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/PROFIT_GIVEBACK_RATCHET_FACTOR_V1", - "title": "PROFIT_GIVEBACK_RATCHET_FACTOR_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "PROFIT_GIVEBACK_RATCHET_FACTOR_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "prev_trail_stop", - "high_since_entry", - "atr20", - "market_regime", - "profit_pct" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/profit_lock_ratchet_v1.schema.json b/schemas/generated/profit_lock_ratchet_v1.schema.json deleted file mode 100644 index c9bf05a1..00000000 --- a/schemas/generated/profit_lock_ratchet_v1.schema.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/PROFIT_LOCK_RATCHET_V1", - "title": "PROFIT_LOCK_RATCHET_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "PROFIT_LOCK_RATCHET_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "average_cost", - "tier_completed", - "highest_price_since_entry", - "atr20" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/profit_lock_stage_v1.schema.json b/schemas/generated/profit_lock_stage_v1.schema.json deleted file mode 100644 index bdfee8a2..00000000 --- a/schemas/generated/profit_lock_stage_v1.schema.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/PROFIT_LOCK_STAGE_V1", - "title": "PROFIT_LOCK_STAGE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "PROFIT_LOCK_STAGE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "profit_pct" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/profit_ratchet_tiered_v2.schema.json b/schemas/generated/profit_ratchet_tiered_v2.schema.json deleted file mode 100644 index 237c4d35..00000000 --- a/schemas/generated/profit_ratchet_tiered_v2.schema.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/PROFIT_RATCHET_TIERED_V2", - "title": "PROFIT_RATCHET_TIERED_V2", - "type": "object", - "properties": { - "formula_id": { - "const": "PROFIT_RATCHET_TIERED_V2" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "profit_pct", - "profit_lock_stage", - "highest_close", - "atr20", - "average_cost", - "quantity", - "secular_leader_gate_active" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/pullback_entry_trigger_v1.schema.json b/schemas/generated/pullback_entry_trigger_v1.schema.json deleted file mode 100644 index 8840a222..00000000 --- a/schemas/generated/pullback_entry_trigger_v1.schema.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/PULLBACK_ENTRY_TRIGGER_V1", - "title": "PULLBACK_ENTRY_TRIGGER_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "PULLBACK_ENTRY_TRIGGER_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "velocity_1d", - "close", - "ma20", - "volume", - "avg_volume_5d", - "alpha_lead_score", - "anti_chasing_status" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/ratchet_trailing_general_v1.schema.json b/schemas/generated/ratchet_trailing_general_v1.schema.json deleted file mode 100644 index 5dfa82a6..00000000 --- a/schemas/generated/ratchet_trailing_general_v1.schema.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/RATCHET_TRAILING_GENERAL_V1", - "title": "RATCHET_TRAILING_GENERAL_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "RATCHET_TRAILING_GENERAL_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "Profit_Pct", - "Close", - "ATR20", - "High52W", - "Stop_Price_Est", - "Account_Avg_Cost" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/rebalance_cadence_gate_v1.schema.json b/schemas/generated/rebalance_cadence_gate_v1.schema.json deleted file mode 100644 index 7f53e2ac..00000000 --- a/schemas/generated/rebalance_cadence_gate_v1.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/REBALANCE_CADENCE_GATE_V1", - "title": "REBALANCE_CADENCE_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "REBALANCE_CADENCE_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "today_date", - "transition_utility_after_tax_cost_krw", - "hard_risk_block_active" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/rebound_capture_thesis_factor_v1.schema.json b/schemas/generated/rebound_capture_thesis_factor_v1.schema.json deleted file mode 100644 index 9530cfed..00000000 --- a/schemas/generated/rebound_capture_thesis_factor_v1.schema.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/REBOUND_CAPTURE_THESIS_FACTOR_V1", - "title": "REBOUND_CAPTURE_THESIS_FACTOR_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "REBOUND_CAPTURE_THESIS_FACTOR_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "rsi14", - "current_price", - "ma20", - "flow_credit", - "down_streak" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/regime_cash_uplift_v1.schema.json b/schemas/generated/regime_cash_uplift_v1.schema.json deleted file mode 100644 index 6b2a6010..00000000 --- a/schemas/generated/regime_cash_uplift_v1.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/REGIME_CASH_UPLIFT_V1", - "title": "REGIME_CASH_UPLIFT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "REGIME_CASH_UPLIFT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "market_regime", - "market_risk_score" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/regime_conditional_macro_factor_v1.schema.json b/schemas/generated/regime_conditional_macro_factor_v1.schema.json deleted file mode 100644 index 9f0a88ab..00000000 --- a/schemas/generated/regime_conditional_macro_factor_v1.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/REGIME_CONDITIONAL_MACRO_FACTOR_V1", - "title": "REGIME_CONDITIONAL_MACRO_FACTOR_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "REGIME_CONDITIONAL_MACRO_FACTOR_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "base_macro_score", - "ticker", - "ticker_type" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/regime_trim_guidance_v1.schema.json b/schemas/generated/regime_trim_guidance_v1.schema.json deleted file mode 100644 index bb4792a8..00000000 --- a/schemas/generated/regime_trim_guidance_v1.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/REGIME_TRIM_GUIDANCE_V1", - "title": "REGIME_TRIM_GUIDANCE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "REGIME_TRIM_GUIDANCE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "regime_adjusted_sell_priority_json", - "market_regime" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/relative_underperf_alert_v1.schema.json b/schemas/generated/relative_underperf_alert_v1.schema.json deleted file mode 100644 index 0c5ac3b3..00000000 --- a/schemas/generated/relative_underperf_alert_v1.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/RELATIVE_UNDERPERF_ALERT_V1", - "title": "RELATIVE_UNDERPERF_ALERT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "RELATIVE_UNDERPERF_ALERT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "holdings", - "df_map", - "kospi_ret20d" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/replacement_alpha_gate_v1.schema.json b/schemas/generated/replacement_alpha_gate_v1.schema.json deleted file mode 100644 index 73a2433e..00000000 --- a/schemas/generated/replacement_alpha_gate_v1.schema.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/REPLACEMENT_ALPHA_GATE_V1", - "title": "REPLACEMENT_ALPHA_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "REPLACEMENT_ALPHA_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "rs_verdict", - "ss001_grade", - "excess_ret_10d", - "portfolioStats.coreAvgSS001" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/risk_budget_cascade_v1.schema.json b/schemas/generated/risk_budget_cascade_v1.schema.json deleted file mode 100644 index b0c26c94..00000000 --- a/schemas/generated/risk_budget_cascade_v1.schema.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/RISK_BUDGET_CASCADE_V1", - "title": "RISK_BUDGET_CASCADE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "RISK_BUDGET_CASCADE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "base_risk_budget", - "net_return_feedback_multiplier", - "performance_brake_multiplier", - "regime_reset_multiplier", - "bayesian_confidence_multiplier", - "kelly_brake_multiplier" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/routing_decision_explain_lock_v1.schema.json b/schemas/generated/routing_decision_explain_lock_v1.schema.json deleted file mode 100644 index 36416b45..00000000 --- a/schemas/generated/routing_decision_explain_lock_v1.schema.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/ROUTING_DECISION_EXPLAIN_LOCK_V1", - "title": "ROUTING_DECISION_EXPLAIN_LOCK_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "ROUTING_DECISION_EXPLAIN_LOCK_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "export_gate_json" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/routing_execution_log_table_v1.schema.json b/schemas/generated/routing_execution_log_table_v1.schema.json deleted file mode 100644 index 6c1bd500..00000000 --- a/schemas/generated/routing_execution_log_table_v1.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/ROUTING_EXECUTION_LOG_TABLE_V1", - "title": "ROUTING_EXECUTION_LOG_TABLE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "ROUTING_EXECUTION_LOG_TABLE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "routing_execution_log", - "_harness_context" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/routing_serving_decision_trace_v2.schema.json b/schemas/generated/routing_serving_decision_trace_v2.schema.json deleted file mode 100644 index 60e74c51..00000000 --- a/schemas/generated/routing_serving_decision_trace_v2.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/ROUTING_SERVING_DECISION_TRACE_V2", - "title": "ROUTING_SERVING_DECISION_TRACE_V2", - "type": "object", - "properties": { - "formula_id": { - "const": "ROUTING_SERVING_DECISION_TRACE_V2" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "routing_trace_json", - "export_gate_json" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/rs_momentum_v1.schema.json b/schemas/generated/rs_momentum_v1.schema.json deleted file mode 100644 index 6a93456f..00000000 --- a/schemas/generated/rs_momentum_v1.schema.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/RS_MOMENTUM_V1", - "title": "RS_MOMENTUM_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "RS_MOMENTUM_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "close_price", - "ma20", - "avg_trade_value_5d", - "avg_trade_value_20d", - "relative_strength_1m_percentile" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/rs_ratio_v1.schema.json b/schemas/generated/rs_ratio_v1.schema.json deleted file mode 100644 index 39e1bfb5..00000000 --- a/schemas/generated/rs_ratio_v1.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/RS_RATIO_V1", - "title": "RS_RATIO_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "RS_RATIO_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "stock_close_5d_return", - "kospi_close_5d_return" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/rs_verdict_v1.schema.json b/schemas/generated/rs_verdict_v1.schema.json deleted file mode 100644 index 6faa7413..00000000 --- a/schemas/generated/rs_verdict_v1.schema.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/RS_VERDICT_V1", - "title": "RS_VERDICT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "RS_VERDICT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "price.ret10D", - "globalKospiRet10D_", - "rw_partial", - "flow_credit" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/rs_verdict_v2.schema.json b/schemas/generated/rs_verdict_v2.schema.json deleted file mode 100644 index c034d92c..00000000 --- a/schemas/generated/rs_verdict_v2.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/RS_VERDICT_V2", - "title": "RS_VERDICT_V2", - "type": "object", - "properties": { - "formula_id": { - "const": "RS_VERDICT_V2" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "rs_verdict_v1_raw", - "brt_verdict" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/satellite_aggregate_pnl_gate_v1.schema.json b/schemas/generated/satellite_aggregate_pnl_gate_v1.schema.json deleted file mode 100644 index 4942f2e4..00000000 --- a/schemas/generated/satellite_aggregate_pnl_gate_v1.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SATELLITE_AGGREGATE_PNL_GATE_V1", - "title": "SATELLITE_AGGREGATE_PNL_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SATELLITE_AGGREGATE_PNL_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "position_class", - "profit_loss" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/satellite_alpha_quality_gate_v1.schema.json b/schemas/generated/satellite_alpha_quality_gate_v1.schema.json deleted file mode 100644 index 924d7bd3..00000000 --- a/schemas/generated/satellite_alpha_quality_gate_v1.schema.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SATELLITE_ALPHA_QUALITY_GATE_V1", - "title": "SATELLITE_ALPHA_QUALITY_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SATELLITE_ALPHA_QUALITY_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "position_class", - "ss001_grade", - "price.ret20D", - "globalKospiRet20D_", - "recovery_ratio_20d", - "recovery_ratio_5d", - "excess_drawdown_pctp", - "frg_5d_sh", - "inst_5d_sh", - "rs_verdict" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/satellite_failure_gate_v1.schema.json b/schemas/generated/satellite_failure_gate_v1.schema.json deleted file mode 100644 index b1662410..00000000 --- a/schemas/generated/satellite_failure_gate_v1.schema.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SATELLITE_FAILURE_GATE_V1", - "title": "SATELLITE_FAILURE_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SATELLITE_FAILURE_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "satellite_holdings[].composite_verdict", - "satellite_holdings[].rs_verdict", - "satellite_holdings[].ret20d", - "satellite_holdings[].excess_ret_10d" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/satellite_lifecycle_gate_v1.schema.json b/schemas/generated/satellite_lifecycle_gate_v1.schema.json deleted file mode 100644 index 4aa3ad3f..00000000 --- a/schemas/generated/satellite_lifecycle_gate_v1.schema.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SATELLITE_LIFECYCLE_GATE_V1", - "title": "SATELLITE_LIFECYCLE_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SATELLITE_LIFECYCLE_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "ticker", - "composite_verdict", - "brt_verdict", - "excess_drawdown_pctp", - "entry_date", - "alpha_evaluation_window_json" - ], - "x_formula_outputs": [ - { - "field": "satellite_lifecycle_stage", - "unit": "enum [WATCH,PILOT,CONFIRMED,REVIEW,EXIT]" - }, - { - "field": "lifecycle_transition_reason", - "unit": "string" - }, - { - "field": "lifecycle_days_in_stage", - "unit": "int" - } - ] -} diff --git a/schemas/generated/scenario_shock_matrix_v1.schema.json b/schemas/generated/scenario_shock_matrix_v1.schema.json deleted file mode 100644 index 590985b5..00000000 --- a/schemas/generated/scenario_shock_matrix_v1.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SCENARIO_SHOCK_MATRIX_V1", - "title": "SCENARIO_SHOCK_MATRIX_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SCENARIO_SHOCK_MATRIX_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "net_profit_distribution_after_tax_fee_slippage", - "scenario_id" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/sea_timing_v1.schema.json b/schemas/generated/sea_timing_v1.schema.json deleted file mode 100644 index dc0d88bd..00000000 --- a/schemas/generated/sea_timing_v1.schema.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SEA_TIMING_V1", - "title": "SEA_TIMING_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SEA_TIMING_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "current_price", - "vwap", - "rsi_15m", - "volume_climax" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/sector_concentration_limit_v1.schema.json b/schemas/generated/sector_concentration_limit_v1.schema.json deleted file mode 100644 index a6b6273a..00000000 --- a/schemas/generated/sector_concentration_limit_v1.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SECTOR_CONCENTRATION_LIMIT_V1", - "title": "SECTOR_CONCENTRATION_LIMIT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SECTOR_CONCENTRATION_LIMIT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "sector_concentration_json", - "market_regime" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/sector_exposure_graph_v1.schema.json b/schemas/generated/sector_exposure_graph_v1.schema.json deleted file mode 100644 index 9f74c9e7..00000000 --- a/schemas/generated/sector_exposure_graph_v1.schema.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SECTOR_EXPOSURE_GRAPH_V1", - "title": "SECTOR_EXPOSURE_GRAPH_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SECTOR_EXPOSURE_GRAPH_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "direct_weight_pct", - "etf_constituents_json", - "etf_weight_pct", - "sector_id", - "peer_sector_betas" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/sector_rotation_momentum_v1.schema.json b/schemas/generated/sector_rotation_momentum_v1.schema.json deleted file mode 100644 index 00165212..00000000 --- a/schemas/generated/sector_rotation_momentum_v1.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SECTOR_ROTATION_MOMENTUM_V1", - "title": "SECTOR_ROTATION_MOMENTUM_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SECTOR_ROTATION_MOMENTUM_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "sector", - "momentum_state" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/sector_rotation_radar_v1.schema.json b/schemas/generated/sector_rotation_radar_v1.schema.json deleted file mode 100644 index 8495892d..00000000 --- a/schemas/generated/sector_rotation_radar_v1.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SECTOR_ROTATION_RADAR_V1", - "title": "SECTOR_ROTATION_RADAR_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SECTOR_ROTATION_RADAR_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "sector_smartmoney_5d", - "sector_rank", - "sector_top2_names" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/sell_execution_timing_v1.schema.json b/schemas/generated/sell_execution_timing_v1.schema.json deleted file mode 100644 index 0bd1bc24..00000000 --- a/schemas/generated/sell_execution_timing_v1.schema.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SELL_EXECUTION_TIMING_V1", - "title": "SELL_EXECUTION_TIMING_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SELL_EXECUTION_TIMING_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "gap_down_pct", - "intraday_drop", - "rsi14", - "intraday_change", - "time_slot_label" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/sell_lot_pareto_selector_v1.schema.json b/schemas/generated/sell_lot_pareto_selector_v1.schema.json deleted file mode 100644 index 3c4caab2..00000000 --- a/schemas/generated/sell_lot_pareto_selector_v1.schema.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SELL_LOT_PARETO_SELECTOR_V1", - "title": "SELL_LOT_PARETO_SELECTOR_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SELL_LOT_PARETO_SELECTOR_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "avoided_tail_loss_krw", - "cash_repair_benefit_krw", - "concentration_reduction_benefit_krw", - "tax_loss_benefit_krw", - "tax_fee_slippage_krw", - "reentry_cost_krw", - "missed_upside_penalty_krw" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/sell_price_sanity_v1.schema.json b/schemas/generated/sell_price_sanity_v1.schema.json deleted file mode 100644 index ff0a3ec6..00000000 --- a/schemas/generated/sell_price_sanity_v1.schema.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SELL_PRICE_SANITY_V1", - "title": "SELL_PRICE_SANITY_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SELL_PRICE_SANITY_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "sell_limit_price", - "stop_loss_price", - "current_price", - "tick_unit" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/sell_slippage_budget_factor_v1.schema.json b/schemas/generated/sell_slippage_budget_factor_v1.schema.json deleted file mode 100644 index db298a18..00000000 --- a/schemas/generated/sell_slippage_budget_factor_v1.schema.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SELL_SLIPPAGE_BUDGET_FACTOR_V1", - "title": "SELL_SLIPPAGE_BUDGET_FACTOR_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SELL_SLIPPAGE_BUDGET_FACTOR_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "adv20", - "current_price", - "sell_qty", - "emergency_full_sell" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/sell_value_preservation_tiered_v2.schema.json b/schemas/generated/sell_value_preservation_tiered_v2.schema.json deleted file mode 100644 index 3f4607fc..00000000 --- a/schemas/generated/sell_value_preservation_tiered_v2.schema.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SELL_VALUE_PRESERVATION_TIERED_V2", - "title": "SELL_VALUE_PRESERVATION_TIERED_V2", - "type": "object", - "properties": { - "formula_id": { - "const": "SELL_VALUE_PRESERVATION_TIERED_V2" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "emergency_full_sell", - "oversold_gate", - "rsi14", - "profit_lock_stage", - "velocity_5d", - "h2_priority_rank", - "rs_verdict", - "cash_shortfall_min_krw", - "waterfall_plan_json" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/sell_waterfall_engine_v1.schema.json b/schemas/generated/sell_waterfall_engine_v1.schema.json deleted file mode 100644 index 55d3b669..00000000 --- a/schemas/generated/sell_waterfall_engine_v1.schema.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SELL_WATERFALL_ENGINE_V1", - "title": "SELL_WATERFALL_ENGINE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SELL_WATERFALL_ENGINE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "cash_recovery_plan_json", - "emergency_full_sell", - "oversold_gate", - "rsi14", - "close", - "prev_close", - "atr20" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/sell_waterfall_engine_v2.schema.json b/schemas/generated/sell_waterfall_engine_v2.schema.json deleted file mode 100644 index d5a1dce7..00000000 --- a/schemas/generated/sell_waterfall_engine_v2.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SELL_WATERFALL_ENGINE_V2", - "title": "SELL_WATERFALL_ENGINE_V2", - "type": "object", - "properties": { - "formula_id": { - "const": "SELL_WATERFALL_ENGINE_V2" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/semiconductor_cluster_gate_v1.schema.json b/schemas/generated/semiconductor_cluster_gate_v1.schema.json deleted file mode 100644 index ac4e47fa..00000000 --- a/schemas/generated/semiconductor_cluster_gate_v1.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SEMICONDUCTOR_CLUSTER_GATE_V1", - "title": "SEMICONDUCTOR_CLUSTER_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SEMICONDUCTOR_CLUSTER_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "semiconductor_cluster_json", - "market_regime" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/single_position_weight_cap_v1.schema.json b/schemas/generated/single_position_weight_cap_v1.schema.json deleted file mode 100644 index b5c15703..00000000 --- a/schemas/generated/single_position_weight_cap_v1.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SINGLE_POSITION_WEIGHT_CAP_V1", - "title": "SINGLE_POSITION_WEIGHT_CAP_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SINGLE_POSITION_WEIGHT_CAP_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "single_position_weight_json", - "market_regime" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/smart_cash_recovery_v3.schema.json b/schemas/generated/smart_cash_recovery_v3.schema.json deleted file mode 100644 index 7d263f97..00000000 --- a/schemas/generated/smart_cash_recovery_v3.schema.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SMART_CASH_RECOVERY_V3", - "title": "SMART_CASH_RECOVERY_V3", - "type": "object", - "properties": { - "formula_id": { - "const": "SMART_CASH_RECOVERY_V3" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "value_preservation_scorer_v1_json", - "scrs_v2_json", - "market_regime_state", - "macro_risk_regime", - "ATR20", - "AvgTradeValue_5D_M", - "Spread_Pct" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/smart_money_flow_signal_v2.schema.json b/schemas/generated/smart_money_flow_signal_v2.schema.json deleted file mode 100644 index e068cd5b..00000000 --- a/schemas/generated/smart_money_flow_signal_v2.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SMART_MONEY_FLOW_SIGNAL_V2", - "title": "SMART_MONEY_FLOW_SIGNAL_V2", - "type": "object", - "properties": { - "formula_id": { - "const": "SMART_MONEY_FLOW_SIGNAL_V2" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/smart_money_liquidity_gate_v1.schema.json b/schemas/generated/smart_money_liquidity_gate_v1.schema.json deleted file mode 100644 index c7bb8d90..00000000 --- a/schemas/generated/smart_money_liquidity_gate_v1.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SMART_MONEY_LIQUIDITY_GATE_V1", - "title": "SMART_MONEY_LIQUIDITY_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SMART_MONEY_LIQUIDITY_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/state_vector_constructor_v1.schema.json b/schemas/generated/state_vector_constructor_v1.schema.json deleted file mode 100644 index bbb3c125..00000000 --- a/schemas/generated/state_vector_constructor_v1.schema.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/STATE_VECTOR_CONSTRUCTOR_V1", - "title": "STATE_VECTOR_CONSTRUCTOR_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "STATE_VECTOR_CONSTRUCTOR_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "cash_ladder", - "positions", - "sector_exposure_graph", - "factor_exposures", - "tax_lots", - "risk_bucket_weights", - "macro_regime_probabilities", - "goal_progress_pct" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/stop_action_ladder_v1.schema.json b/schemas/generated/stop_action_ladder_v1.schema.json deleted file mode 100644 index 8be99f6b..00000000 --- a/schemas/generated/stop_action_ladder_v1.schema.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/STOP_ACTION_LADDER_V1", - "title": "STOP_ACTION_LADDER_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "STOP_ACTION_LADDER_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "context" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/stop_breach_alert_v1.schema.json b/schemas/generated/stop_breach_alert_v1.schema.json deleted file mode 100644 index f9ccfced..00000000 --- a/schemas/generated/stop_breach_alert_v1.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/STOP_BREACH_ALERT_V1", - "title": "STOP_BREACH_ALERT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "STOP_BREACH_ALERT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "close_price", - "stop_price" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/stop_price_core_v1.schema.json b/schemas/generated/stop_price_core_v1.schema.json deleted file mode 100644 index b565d8f4..00000000 --- a/schemas/generated/stop_price_core_v1.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/STOP_PRICE_CORE_V1", - "title": "STOP_PRICE_CORE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "STOP_PRICE_CORE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "entry_price", - "atr20", - "current_price" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/stop_proposal_ladder_v1.schema.json b/schemas/generated/stop_proposal_ladder_v1.schema.json deleted file mode 100644 index 1dfbf26a..00000000 --- a/schemas/generated/stop_proposal_ladder_v1.schema.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/STOP_PROPOSAL_LADDER_V1", - "title": "STOP_PROPOSAL_LADDER_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "STOP_PROPOSAL_LADDER_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "position_class", - "holding_quantity", - "proposed_quantity", - "stop_price", - "profit_lock_stage", - "protected_stop_price", - "auto_trailing_stop", - "tp3_qty" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/strong_close_signal_v1.schema.json b/schemas/generated/strong_close_signal_v1.schema.json deleted file mode 100644 index 0c1819a9..00000000 --- a/schemas/generated/strong_close_signal_v1.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/STRONG_CLOSE_SIGNAL_V1", - "title": "STRONG_CLOSE_SIGNAL_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "STRONG_CLOSE_SIGNAL_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "close_price", - "high_price", - "low_price" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/take_profit_ladder_v1.schema.json b/schemas/generated/take_profit_ladder_v1.schema.json deleted file mode 100644 index 06f36896..00000000 --- a/schemas/generated/take_profit_ladder_v1.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/TAKE_PROFIT_LADDER_V1", - "title": "TAKE_PROFIT_LADDER_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "TAKE_PROFIT_LADDER_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "average_cost", - "quantity", - "position_class" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/take_profit_ladder_v2.schema.json b/schemas/generated/take_profit_ladder_v2.schema.json deleted file mode 100644 index c084ec12..00000000 --- a/schemas/generated/take_profit_ladder_v2.schema.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/TAKE_PROFIT_LADDER_V2", - "title": "TAKE_PROFIT_LADDER_V2", - "type": "object", - "properties": { - "formula_id": { - "const": "TAKE_PROFIT_LADDER_V2" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "average_cost", - "atr20", - "quantity", - "position_class" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/target_cash_pct_v1.schema.json b/schemas/generated/target_cash_pct_v1.schema.json deleted file mode 100644 index f9dbd826..00000000 --- a/schemas/generated/target_cash_pct_v1.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/TARGET_CASH_PCT_V1", - "title": "TARGET_CASH_PCT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "TARGET_CASH_PCT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "market_risk_score", - "cash_floor_regime_min_pct" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/tick_normalizer_v1.schema.json b/schemas/generated/tick_normalizer_v1.schema.json deleted file mode 100644 index 535c5b14..00000000 --- a/schemas/generated/tick_normalizer_v1.schema.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/TICK_NORMALIZER_V1", - "title": "TICK_NORMALIZER_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "TICK_NORMALIZER_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "raw_price" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/total_heat_v1.schema.json b/schemas/generated/total_heat_v1.schema.json deleted file mode 100644 index 3133ddb8..00000000 --- a/schemas/generated/total_heat_v1.schema.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/TOTAL_HEAT_V1", - "title": "TOTAL_HEAT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "TOTAL_HEAT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "average_cost", - "stop_price", - "quantity", - "total_asset" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/trade_quality_from_t5_v1.schema.json b/schemas/generated/trade_quality_from_t5_v1.schema.json deleted file mode 100644 index 635d5c22..00000000 --- a/schemas/generated/trade_quality_from_t5_v1.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/TRADE_QUALITY_FROM_T5_V1", - "title": "TRADE_QUALITY_FROM_T5_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "TRADE_QUALITY_FROM_T5_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/trade_quality_scorer_v1.schema.json b/schemas/generated/trade_quality_scorer_v1.schema.json deleted file mode 100644 index cd9d5a7f..00000000 --- a/schemas/generated/trade_quality_scorer_v1.schema.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/TRADE_QUALITY_SCORER_V1", - "title": "TRADE_QUALITY_SCORER_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "TRADE_QUALITY_SCORER_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "velocity_1d_at_entry", - "entry_price", - "ma20_at_entry", - "volume_ratio_at_entry", - "t5_return_pct", - "t20_vs_core_pctp", - "sell_price", - "ma20_at_sell", - "average_cost", - "price_t5_after_sell", - "cash_recovered_krw", - "cash_shortfall_min_krw" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/trailing_stop_price_v1.schema.json b/schemas/generated/trailing_stop_price_v1.schema.json deleted file mode 100644 index 6f2356d7..00000000 --- a/schemas/generated/trailing_stop_price_v1.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/TRAILING_STOP_PRICE_V1", - "title": "TRAILING_STOP_PRICE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "TRAILING_STOP_PRICE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "highest_price_since_entry", - "atr20", - "trailing_atr_multiplier" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/transition_set_enumerator_v1.schema.json b/schemas/generated/transition_set_enumerator_v1.schema.json deleted file mode 100644 index ca140148..00000000 --- a/schemas/generated/transition_set_enumerator_v1.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/TRANSITION_SET_ENUMERATOR_V1", - "title": "TRANSITION_SET_ENUMERATOR_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "TRANSITION_SET_ENUMERATOR_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "evaluated_candidates", - "max_set_size" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/trend_filter_gate_v1.schema.json b/schemas/generated/trend_filter_gate_v1.schema.json deleted file mode 100644 index 60e2f4d0..00000000 --- a/schemas/generated/trend_filter_gate_v1.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/TREND_FILTER_GATE_V1", - "title": "TREND_FILTER_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "TREND_FILTER_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "close_price", - "ma120", - "ma120_prev" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/value_preservation_scorer_v1.schema.json b/schemas/generated/value_preservation_scorer_v1.schema.json deleted file mode 100644 index a9172baf..00000000 --- a/schemas/generated/value_preservation_scorer_v1.schema.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/VALUE_PRESERVATION_SCORER_V1", - "title": "VALUE_PRESERVATION_SCORER_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "VALUE_PRESERVATION_SCORER_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "Close", - "MA20", - "MA60", - "ATR20", - "RSI14", - "BB_Position", - "Frg_5D", - "Inst_5D", - "AvgTradeValue_5D_M", - "AvgTradeValue_20D_M", - "Recovery_Ratio_5D", - "Stock_Drawdown_From_High_Pct" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/velocity_v1.schema.json b/schemas/generated/velocity_v1.schema.json deleted file mode 100644 index 352218b9..00000000 --- a/schemas/generated/velocity_v1.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/VELOCITY_V1", - "title": "VELOCITY_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "VELOCITY_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "close_price", - "previous_close_price", - "ret5d" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/verdict_consistency_lock_v1.schema.json b/schemas/generated/verdict_consistency_lock_v1.schema.json deleted file mode 100644 index 7b111e21..00000000 --- a/schemas/generated/verdict_consistency_lock_v1.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/VERDICT_CONSISTENCY_LOCK_V1", - "title": "VERDICT_CONSISTENCY_LOCK_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "VERDICT_CONSISTENCY_LOCK_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/schemas/generated/volatility_expansion_breakout_v1.schema.json b/schemas/generated/volatility_expansion_breakout_v1.schema.json deleted file mode 100644 index c3bfbab0..00000000 --- a/schemas/generated/volatility_expansion_breakout_v1.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/VOLATILITY_EXPANSION_BREAKOUT_V1", - "title": "VOLATILITY_EXPANSION_BREAKOUT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "VOLATILITY_EXPANSION_BREAKOUT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "bb_width", - "bb_width_20d_percentile", - "ret_1d" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/walk_forward_bootstrap_v1.schema.json b/schemas/generated/walk_forward_bootstrap_v1.schema.json deleted file mode 100644 index d36023c1..00000000 --- a/schemas/generated/walk_forward_bootstrap_v1.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/WALK_FORWARD_BOOTSTRAP_V1", - "title": "WALK_FORWARD_BOOTSTRAP_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "WALK_FORWARD_BOOTSTRAP_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "historical_returns", - "current_regime_state", - "bootstrap_method" - ], - "x_formula_outputs": [] -} diff --git a/schemas/generated/weekly_legacy_transfer_plan_v1.schema.json b/schemas/generated/weekly_legacy_transfer_plan_v1.schema.json deleted file mode 100644 index 17ef93d5..00000000 --- a/schemas/generated/weekly_legacy_transfer_plan_v1.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/WEEKLY_LEGACY_TRANSFER_PLAN_V1", - "title": "WEEKLY_LEGACY_TRANSFER_PLAN_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "WEEKLY_LEGACY_TRANSFER_PLAN_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "weekly_legacy_to_cma_transfer_plan_krw", - "transfer_confirmed", - "transfer_confirmed_amount_krw" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/generate_models_from_schema.py b/src/quant_engine/generate_models_from_schema.py deleted file mode 100644 index 63a6b953..00000000 --- a/src/quant_engine/generate_models_from_schema.py +++ /dev/null @@ -1,121 +0,0 @@ -"""generate_models_from_schema.py — schema model generation - -Mirrors schemas/generated/*.schema.json into src/quant_engine/models/generated -as lightweight Python model descriptors. -""" -from __future__ import annotations - -import argparse -import json -from pathlib import Path -from typing import Any - - -ROOT = Path(__file__).resolve().parents[2] -SCHEMA_DIR = ROOT / "schemas" / "generated" -OUT_DIR = ROOT / "src" / "quant_engine" / "models" / "generated" - - -def load_json(path: Path) -> dict[str, Any]: - try: - obj = json.loads(path.read_text(encoding="utf-8")) - except Exception: - return {} - return obj if isinstance(obj, dict) else {} - - -def to_module_name(path: Path) -> str: - return path.stem.replace(".", "_").lower() - - -def render_module(schema_path: Path, schema: dict[str, Any]) -> str: - title = str(schema.get("title") or schema_path.stem) - schema_id = str(schema.get("$id") or f"schema://{title}") - schema_rel_path = str(schema_path.relative_to(ROOT)).replace("\\", "/") - props = schema.get("properties") if isinstance(schema.get("properties"), dict) else {} - required = schema.get("required") if isinstance(schema.get("required"), list) else [] - prop_names = list(props.keys()) - return ( - '"""Auto-generated schema model descriptor."""\n' - "from __future__ import annotations\n\n" - "from dataclasses import dataclass\n" - "import json\n" - "from pathlib import Path\n" - "from typing import Any\n\n" - f"SCHEMA_TITLE = {title!r}\n" - f"SCHEMA_ID = {schema_id!r}\n" - f"SCHEMA_PATH = {schema_rel_path!r}\n" - f"SCHEMA_PROPERTIES = {prop_names!r}\n" - f"SCHEMA_REQUIRED = {required!r}\n\n" - "@dataclass(frozen=True)\n" - "class SchemaModel:\n" - " title: str\n" - " schema_id: str\n" - " path: str\n" - " properties: list[str]\n" - " required: list[str]\n\n" - "def load_schema() -> dict[str, Any]:\n" - " return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8'))\n\n" - "def describe() -> SchemaModel:\n" - " return SchemaModel(\n" - " title=SCHEMA_TITLE,\n" - " schema_id=SCHEMA_ID,\n" - " path=SCHEMA_PATH,\n" - " properties=list(SCHEMA_PROPERTIES),\n" - " required=list(SCHEMA_REQUIRED),\n" - " )\n" - ) - - -def write_text(path: Path, text: str) -> None: - path.parent.mkdir(parents=True, exist_ok=True) - path.write_text(text, encoding="utf-8") - - -def main() -> int: - parser = argparse.ArgumentParser() - parser.add_argument("--schemas", default=str(SCHEMA_DIR)) - parser.add_argument("--out", default=str(OUT_DIR)) - parser.add_argument("--report", default=str(ROOT / "Temp" / "schema_model_generation_v1.json")) - args = parser.parse_args() - - schema_dir = Path(args.schemas) - out_dir = Path(args.out) - - schema_files = sorted(schema_dir.glob("*.schema.json")) - modules = [] - for schema_file in schema_files: - schema = load_json(schema_file) - module_name = to_module_name(schema_file) - modules.append(module_name) - write_text(out_dir / f"{module_name}.py", render_module(schema_file, schema)) - write_text(out_dir / f"{module_name}.schema.json", json.dumps(schema, ensure_ascii=False, indent=2) + "\n") - - write_text(out_dir / "__init__.py", '"""Auto-generated schema model package."""\n') - write_text( - out_dir.parent / "__init__.py", - '"""Auto-generated quant_engine.models package."""\n', - ) - write_text( - out_dir.parent.parent / "__init__.py", - '"""Canonical quant_engine package."""\n', - ) - write_text( - out_dir.parent.parent.parent / "__init__.py", - '"""Canonical src package."""\n', - ) - - report = { - "status": "OK", - "schema_count": len(schema_files), - "generated_module_count": len(modules), - "package_root": "src/quant_engine/models/generated", - "report_path": str(Path(args.report).relative_to(ROOT)), - } - write_text(Path(args.report), json.dumps(report, ensure_ascii=False, indent=2) + "\n") - print(json.dumps(report, ensure_ascii=False, indent=2)) - return 0 - - -if __name__ == "__main__": - raise SystemExit(main()) diff --git a/src/quant_engine/models/generated/__init__.py b/src/quant_engine/models/generated/__init__.py deleted file mode 100644 index 4dd851e7..00000000 --- a/src/quant_engine/models/generated/__init__.py +++ /dev/null @@ -1 +0,0 @@ -"""Auto-generated schema model package.""" diff --git a/src/quant_engine/models/generated/absolute_risk_stop_v1_schema.py b/src/quant_engine/models/generated/absolute_risk_stop_v1_schema.py deleted file mode 100644 index 7b6931ab..00000000 --- a/src/quant_engine/models/generated/absolute_risk_stop_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'ABSOLUTE_RISK_STOP_V1' -SCHEMA_ID = 'schema://formula/ABSOLUTE_RISK_STOP_V1' -SCHEMA_PATH = 'schemas/generated/absolute_risk_stop_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/absolute_risk_stop_v1_schema.schema.json b/src/quant_engine/models/generated/absolute_risk_stop_v1_schema.schema.json deleted file mode 100644 index b85d7330..00000000 --- a/src/quant_engine/models/generated/absolute_risk_stop_v1_schema.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/ABSOLUTE_RISK_STOP_V1", - "title": "ABSOLUTE_RISK_STOP_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "ABSOLUTE_RISK_STOP_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "holdings", - "df_map" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/algorithm_guidance_proof_v1_schema.py b/src/quant_engine/models/generated/algorithm_guidance_proof_v1_schema.py deleted file mode 100644 index 1c452217..00000000 --- a/src/quant_engine/models/generated/algorithm_guidance_proof_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'ALGORITHM_GUIDANCE_PROOF_V1' -SCHEMA_ID = 'schema://formula/ALGORITHM_GUIDANCE_PROOF_V1' -SCHEMA_PATH = 'schemas/generated/algorithm_guidance_proof_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/algorithm_guidance_proof_v1_schema.schema.json b/src/quant_engine/models/generated/algorithm_guidance_proof_v1_schema.schema.json deleted file mode 100644 index 27092618..00000000 --- a/src/quant_engine/models/generated/algorithm_guidance_proof_v1_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/ALGORITHM_GUIDANCE_PROOF_V1", - "title": "ALGORITHM_GUIDANCE_PROOF_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "ALGORITHM_GUIDANCE_PROOF_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/alpha_evaluation_window_v1_schema.py b/src/quant_engine/models/generated/alpha_evaluation_window_v1_schema.py deleted file mode 100644 index 66188ccf..00000000 --- a/src/quant_engine/models/generated/alpha_evaluation_window_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'ALPHA_EVALUATION_WINDOW_V1' -SCHEMA_ID = 'schema://formula/ALPHA_EVALUATION_WINDOW_V1' -SCHEMA_PATH = 'schemas/generated/alpha_evaluation_window_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/alpha_evaluation_window_v1_schema.schema.json b/src/quant_engine/models/generated/alpha_evaluation_window_v1_schema.schema.json deleted file mode 100644 index 1e6aa55c..00000000 --- a/src/quant_engine/models/generated/alpha_evaluation_window_v1_schema.schema.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/ALPHA_EVALUATION_WINDOW_V1", - "title": "ALPHA_EVALUATION_WINDOW_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "ALPHA_EVALUATION_WINDOW_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "entry_date", - "position_class", - "t20_return_pct", - "t60_return_pct", - "benchmark_core_return_pct" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/alpha_feedback_loop_v1_schema.py b/src/quant_engine/models/generated/alpha_feedback_loop_v1_schema.py deleted file mode 100644 index 2d76286b..00000000 --- a/src/quant_engine/models/generated/alpha_feedback_loop_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'ALPHA_FEEDBACK_LOOP_V1' -SCHEMA_ID = 'schema://formula/ALPHA_FEEDBACK_LOOP_V1' -SCHEMA_PATH = 'schemas/generated/alpha_feedback_loop_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/alpha_feedback_loop_v1_schema.schema.json b/src/quant_engine/models/generated/alpha_feedback_loop_v1_schema.schema.json deleted file mode 100644 index a46dd005..00000000 --- a/src/quant_engine/models/generated/alpha_feedback_loop_v1_schema.schema.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/ALPHA_FEEDBACK_LOOP_V1", - "title": "ALPHA_FEEDBACK_LOOP_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "ALPHA_FEEDBACK_LOOP_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "alpha_evaluation_window_json", - "saqg_v1", - "brt_verdict", - "market_regime" - ], - "x_formula_outputs": [ - { - "field": "alpha_feedback_json", - "subfields": [ - "eligible_t20_fail_rate", - "eligible_t60_fail_rate", - "recommended_filter_adjustments", - "cases_analyzed" - ] - } - ] -} diff --git a/src/quant_engine/models/generated/anti_chase_v1_schema.py b/src/quant_engine/models/generated/anti_chase_v1_schema.py deleted file mode 100644 index a694df02..00000000 --- a/src/quant_engine/models/generated/anti_chase_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'ANTI_CHASE_V1' -SCHEMA_ID = 'schema://formula/ANTI_CHASE_V1' -SCHEMA_PATH = 'schemas/generated/anti_chase_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/anti_chase_v1_schema.schema.json b/src/quant_engine/models/generated/anti_chase_v1_schema.schema.json deleted file mode 100644 index fd61ad9c..00000000 --- a/src/quant_engine/models/generated/anti_chase_v1_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/ANTI_CHASE_V1", - "title": "ANTI_CHASE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "ANTI_CHASE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/anti_chasing_velocity_v1_schema.py b/src/quant_engine/models/generated/anti_chasing_velocity_v1_schema.py deleted file mode 100644 index 39eeb83e..00000000 --- a/src/quant_engine/models/generated/anti_chasing_velocity_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'ANTI_CHASING_VELOCITY_V1' -SCHEMA_ID = 'schema://formula/ANTI_CHASING_VELOCITY_V1' -SCHEMA_PATH = 'schemas/generated/anti_chasing_velocity_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/anti_chasing_velocity_v1_schema.schema.json b/src/quant_engine/models/generated/anti_chasing_velocity_v1_schema.schema.json deleted file mode 100644 index 3e7a6b7c..00000000 --- a/src/quant_engine/models/generated/anti_chasing_velocity_v1_schema.schema.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/ANTI_CHASING_VELOCITY_V1", - "title": "ANTI_CHASING_VELOCITY_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "ANTI_CHASING_VELOCITY_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "close", - "close_1d_ago", - "close_5d_ago", - "market_regime" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/anti_late_entry_gate_v2_schema.py b/src/quant_engine/models/generated/anti_late_entry_gate_v2_schema.py deleted file mode 100644 index e2237ed9..00000000 --- a/src/quant_engine/models/generated/anti_late_entry_gate_v2_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'ANTI_LATE_ENTRY_GATE_V2' -SCHEMA_ID = 'schema://formula/ANTI_LATE_ENTRY_GATE_V2' -SCHEMA_PATH = 'schemas/generated/anti_late_entry_gate_v2.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/anti_late_entry_gate_v2_schema.schema.json b/src/quant_engine/models/generated/anti_late_entry_gate_v2_schema.schema.json deleted file mode 100644 index 1197bf80..00000000 --- a/src/quant_engine/models/generated/anti_late_entry_gate_v2_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/ANTI_LATE_ENTRY_GATE_V2", - "title": "ANTI_LATE_ENTRY_GATE_V2", - "type": "object", - "properties": { - "formula_id": { - "const": "ANTI_LATE_ENTRY_GATE_V2" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/anti_whipsaw_gate_v1_schema.py b/src/quant_engine/models/generated/anti_whipsaw_gate_v1_schema.py deleted file mode 100644 index 1657fa59..00000000 --- a/src/quant_engine/models/generated/anti_whipsaw_gate_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'ANTI_WHIPSAW_GATE_V1' -SCHEMA_ID = 'schema://formula/ANTI_WHIPSAW_GATE_V1' -SCHEMA_PATH = 'schemas/generated/anti_whipsaw_gate_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/anti_whipsaw_gate_v1_schema.schema.json b/src/quant_engine/models/generated/anti_whipsaw_gate_v1_schema.schema.json deleted file mode 100644 index ba7032af..00000000 --- a/src/quant_engine/models/generated/anti_whipsaw_gate_v1_schema.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/ANTI_WHIPSAW_GATE_V1", - "title": "ANTI_WHIPSAW_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "ANTI_WHIPSAW_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "close_price", - "ma20", - "rsi14" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/artifact_freshness_gate_v1_schema.py b/src/quant_engine/models/generated/artifact_freshness_gate_v1_schema.py deleted file mode 100644 index ada2f6de..00000000 --- a/src/quant_engine/models/generated/artifact_freshness_gate_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'ARTIFACT_FRESHNESS_GATE_V1' -SCHEMA_ID = 'schema://formula/ARTIFACT_FRESHNESS_GATE_V1' -SCHEMA_PATH = 'schemas/generated/artifact_freshness_gate_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/artifact_freshness_gate_v1_schema.schema.json b/src/quant_engine/models/generated/artifact_freshness_gate_v1_schema.schema.json deleted file mode 100644 index cee56339..00000000 --- a/src/quant_engine/models/generated/artifact_freshness_gate_v1_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/ARTIFACT_FRESHNESS_GATE_V1", - "title": "ARTIFACT_FRESHNESS_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "ARTIFACT_FRESHNESS_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/audit_replay_snapshot_v1_schema.py b/src/quant_engine/models/generated/audit_replay_snapshot_v1_schema.py deleted file mode 100644 index 64f88641..00000000 --- a/src/quant_engine/models/generated/audit_replay_snapshot_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'AUDIT_REPLAY_SNAPSHOT_V1' -SCHEMA_ID = 'schema://formula/AUDIT_REPLAY_SNAPSHOT_V1' -SCHEMA_PATH = 'schemas/generated/audit_replay_snapshot_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/audit_replay_snapshot_v1_schema.schema.json b/src/quant_engine/models/generated/audit_replay_snapshot_v1_schema.schema.json deleted file mode 100644 index 19f39d02..00000000 --- a/src/quant_engine/models/generated/audit_replay_snapshot_v1_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/AUDIT_REPLAY_SNAPSHOT_V1", - "title": "AUDIT_REPLAY_SNAPSHOT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "AUDIT_REPLAY_SNAPSHOT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/benchmark_relative_timeseries_v1_schema.py b/src/quant_engine/models/generated/benchmark_relative_timeseries_v1_schema.py deleted file mode 100644 index ffbad7f1..00000000 --- a/src/quant_engine/models/generated/benchmark_relative_timeseries_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'BENCHMARK_RELATIVE_TIMESERIES_V1' -SCHEMA_ID = 'schema://formula/BENCHMARK_RELATIVE_TIMESERIES_V1' -SCHEMA_PATH = 'schemas/generated/benchmark_relative_timeseries_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/benchmark_relative_timeseries_v1_schema.schema.json b/src/quant_engine/models/generated/benchmark_relative_timeseries_v1_schema.schema.json deleted file mode 100644 index ec916f53..00000000 --- a/src/quant_engine/models/generated/benchmark_relative_timeseries_v1_schema.schema.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/BENCHMARK_RELATIVE_TIMESERIES_V1", - "title": "BENCHMARK_RELATIVE_TIMESERIES_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "BENCHMARK_RELATIVE_TIMESERIES_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "price.ret5D", - "price.ret20D", - "price.ret60D", - "price.close", - "high52w", - "globalKospiRet5D_", - "globalKospiRet20D_", - "globalKospiRet60D_", - "globalKospiDrawdown_" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/blank_cell_audit_v1_schema.py b/src/quant_engine/models/generated/blank_cell_audit_v1_schema.py deleted file mode 100644 index 6aadef1b..00000000 --- a/src/quant_engine/models/generated/blank_cell_audit_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'BLANK_CELL_AUDIT_V1' -SCHEMA_ID = 'schema://formula/BLANK_CELL_AUDIT_V1' -SCHEMA_PATH = 'schemas/generated/blank_cell_audit_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/blank_cell_audit_v1_schema.schema.json b/src/quant_engine/models/generated/blank_cell_audit_v1_schema.schema.json deleted file mode 100644 index 5f904215..00000000 --- a/src/quant_engine/models/generated/blank_cell_audit_v1_schema.schema.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/BLANK_CELL_AUDIT_V1", - "title": "BLANK_CELL_AUDIT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "BLANK_CELL_AUDIT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "operational_report_json" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/breakeven_ratchet_v1_schema.py b/src/quant_engine/models/generated/breakeven_ratchet_v1_schema.py deleted file mode 100644 index c3ab22ab..00000000 --- a/src/quant_engine/models/generated/breakeven_ratchet_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'BREAKEVEN_RATCHET_V1' -SCHEMA_ID = 'schema://formula/BREAKEVEN_RATCHET_V1' -SCHEMA_PATH = 'schemas/generated/breakeven_ratchet_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/breakeven_ratchet_v1_schema.schema.json b/src/quant_engine/models/generated/breakeven_ratchet_v1_schema.schema.json deleted file mode 100644 index eebdaa5d..00000000 --- a/src/quant_engine/models/generated/breakeven_ratchet_v1_schema.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/BREAKEVEN_RATCHET_V1", - "title": "BREAKEVEN_RATCHET_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "BREAKEVEN_RATCHET_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "average_cost", - "highest_price_since_entry" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/breakout_failure_stop_v1_schema.py b/src/quant_engine/models/generated/breakout_failure_stop_v1_schema.py deleted file mode 100644 index f869953c..00000000 --- a/src/quant_engine/models/generated/breakout_failure_stop_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'BREAKOUT_FAILURE_STOP_V1' -SCHEMA_ID = 'schema://formula/BREAKOUT_FAILURE_STOP_V1' -SCHEMA_PATH = 'schemas/generated/breakout_failure_stop_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/breakout_failure_stop_v1_schema.schema.json b/src/quant_engine/models/generated/breakout_failure_stop_v1_schema.schema.json deleted file mode 100644 index f84661ee..00000000 --- a/src/quant_engine/models/generated/breakout_failure_stop_v1_schema.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/BREAKOUT_FAILURE_STOP_V1", - "title": "BREAKOUT_FAILURE_STOP_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "BREAKOUT_FAILURE_STOP_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "prior_high", - "close_price", - "days_since_breakout" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/breakout_quality_gate_v2_schema.py b/src/quant_engine/models/generated/breakout_quality_gate_v2_schema.py deleted file mode 100644 index 749ae0e3..00000000 --- a/src/quant_engine/models/generated/breakout_quality_gate_v2_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'BREAKOUT_QUALITY_GATE_V2' -SCHEMA_ID = 'schema://formula/BREAKOUT_QUALITY_GATE_V2' -SCHEMA_PATH = 'schemas/generated/breakout_quality_gate_v2.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/breakout_quality_gate_v2_schema.schema.json b/src/quant_engine/models/generated/breakout_quality_gate_v2_schema.schema.json deleted file mode 100644 index 356a5356..00000000 --- a/src/quant_engine/models/generated/breakout_quality_gate_v2_schema.schema.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/BREAKOUT_QUALITY_GATE_V2", - "title": "BREAKOUT_QUALITY_GATE_V2", - "type": "object", - "properties": { - "formula_id": { - "const": "BREAKOUT_QUALITY_GATE_V2" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "close", - "ma20", - "ret_3d", - "ret_1d", - "disparity", - "rsi14", - "volume", - "avg_volume_5d", - "timing_score_exit", - "distribution_risk_score", - "late_chase_risk_score" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/canonical_artifact_resolver_v1_schema.py b/src/quant_engine/models/generated/canonical_artifact_resolver_v1_schema.py deleted file mode 100644 index 148d889c..00000000 --- a/src/quant_engine/models/generated/canonical_artifact_resolver_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'CANONICAL_ARTIFACT_RESOLVER_V1' -SCHEMA_ID = 'schema://formula/CANONICAL_ARTIFACT_RESOLVER_V1' -SCHEMA_PATH = 'schemas/generated/canonical_artifact_resolver_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/canonical_artifact_resolver_v1_schema.schema.json b/src/quant_engine/models/generated/canonical_artifact_resolver_v1_schema.schema.json deleted file mode 100644 index 1dba9cb4..00000000 --- a/src/quant_engine/models/generated/canonical_artifact_resolver_v1_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CANONICAL_ARTIFACT_RESOLVER_V1", - "title": "CANONICAL_ARTIFACT_RESOLVER_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "CANONICAL_ARTIFACT_RESOLVER_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/canonical_metrics_v1_schema.py b/src/quant_engine/models/generated/canonical_metrics_v1_schema.py deleted file mode 100644 index d6c5fb7f..00000000 --- a/src/quant_engine/models/generated/canonical_metrics_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'CANONICAL_METRICS_V1' -SCHEMA_ID = 'schema://formula/CANONICAL_METRICS_V1' -SCHEMA_PATH = 'schemas/generated/canonical_metrics_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/canonical_metrics_v1_schema.schema.json b/src/quant_engine/models/generated/canonical_metrics_v1_schema.schema.json deleted file mode 100644 index 4132fe74..00000000 --- a/src/quant_engine/models/generated/canonical_metrics_v1_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CANONICAL_METRICS_V1", - "title": "CANONICAL_METRICS_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "CANONICAL_METRICS_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/capital_style_allocation_v1_schema.py b/src/quant_engine/models/generated/capital_style_allocation_v1_schema.py deleted file mode 100644 index a32ef837..00000000 --- a/src/quant_engine/models/generated/capital_style_allocation_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'CAPITAL_STYLE_ALLOCATION_V1' -SCHEMA_ID = 'schema://formula/CAPITAL_STYLE_ALLOCATION_V1' -SCHEMA_PATH = 'schemas/generated/capital_style_allocation_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/capital_style_allocation_v1_schema.schema.json b/src/quant_engine/models/generated/capital_style_allocation_v1_schema.schema.json deleted file mode 100644 index 237a1250..00000000 --- a/src/quant_engine/models/generated/capital_style_allocation_v1_schema.schema.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CAPITAL_STYLE_ALLOCATION_V1", - "title": "CAPITAL_STYLE_ALLOCATION_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "CAPITAL_STYLE_ALLOCATION_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "smart_money_flow_signal_v2_json", - "fundamental_multifactor_v3_json", - "macro_event_ticker_impact_v1_json", - "liquidity_flow_signal_v1_json" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/cash_creation_purpose_lock_v1_schema.py b/src/quant_engine/models/generated/cash_creation_purpose_lock_v1_schema.py deleted file mode 100644 index 640cac48..00000000 --- a/src/quant_engine/models/generated/cash_creation_purpose_lock_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'CASH_CREATION_PURPOSE_LOCK_V1' -SCHEMA_ID = 'schema://formula/CASH_CREATION_PURPOSE_LOCK_V1' -SCHEMA_PATH = 'schemas/generated/cash_creation_purpose_lock_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/cash_creation_purpose_lock_v1_schema.schema.json b/src/quant_engine/models/generated/cash_creation_purpose_lock_v1_schema.schema.json deleted file mode 100644 index df067966..00000000 --- a/src/quant_engine/models/generated/cash_creation_purpose_lock_v1_schema.schema.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CASH_CREATION_PURPOSE_LOCK_V1", - "title": "CASH_CREATION_PURPOSE_LOCK_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "CASH_CREATION_PURPOSE_LOCK_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "composite_verdict", - "rs_verdict", - "brt_verdict", - "excess_drawdown_pctp", - "recovery_ratio_20d", - "sfg_v1" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/cash_floor_v1_schema.py b/src/quant_engine/models/generated/cash_floor_v1_schema.py deleted file mode 100644 index 7f83da8b..00000000 --- a/src/quant_engine/models/generated/cash_floor_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'CASH_FLOOR_V1' -SCHEMA_ID = 'schema://formula/CASH_FLOOR_V1' -SCHEMA_PATH = 'schemas/generated/cash_floor_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/cash_floor_v1_schema.schema.json b/src/quant_engine/models/generated/cash_floor_v1_schema.schema.json deleted file mode 100644 index e39e2d6a..00000000 --- a/src/quant_engine/models/generated/cash_floor_v1_schema.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CASH_FLOOR_V1", - "title": "CASH_FLOOR_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "CASH_FLOOR_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "total_asset", - "settlement_cash_d2_krw", - "market_risk_score" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/cash_raise_pareto_executor_v2_schema.py b/src/quant_engine/models/generated/cash_raise_pareto_executor_v2_schema.py deleted file mode 100644 index ea90201d..00000000 --- a/src/quant_engine/models/generated/cash_raise_pareto_executor_v2_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'CASH_RAISE_PARETO_EXECUTOR_V2' -SCHEMA_ID = 'schema://formula/CASH_RAISE_PARETO_EXECUTOR_V2' -SCHEMA_PATH = 'schemas/generated/cash_raise_pareto_executor_v2.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/cash_raise_pareto_executor_v2_schema.schema.json b/src/quant_engine/models/generated/cash_raise_pareto_executor_v2_schema.schema.json deleted file mode 100644 index cc7fb5d7..00000000 --- a/src/quant_engine/models/generated/cash_raise_pareto_executor_v2_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CASH_RAISE_PARETO_EXECUTOR_V2", - "title": "CASH_RAISE_PARETO_EXECUTOR_V2", - "type": "object", - "properties": { - "formula_id": { - "const": "CASH_RAISE_PARETO_EXECUTOR_V2" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/cash_raise_value_optimizer_v3_schema.py b/src/quant_engine/models/generated/cash_raise_value_optimizer_v3_schema.py deleted file mode 100644 index da4af098..00000000 --- a/src/quant_engine/models/generated/cash_raise_value_optimizer_v3_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'CASH_RAISE_VALUE_OPTIMIZER_V3' -SCHEMA_ID = 'schema://formula/CASH_RAISE_VALUE_OPTIMIZER_V3' -SCHEMA_PATH = 'schemas/generated/cash_raise_value_optimizer_v3.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/cash_raise_value_optimizer_v3_schema.schema.json b/src/quant_engine/models/generated/cash_raise_value_optimizer_v3_schema.schema.json deleted file mode 100644 index 57c169c1..00000000 --- a/src/quant_engine/models/generated/cash_raise_value_optimizer_v3_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CASH_RAISE_VALUE_OPTIMIZER_V3", - "title": "CASH_RAISE_VALUE_OPTIMIZER_V3", - "type": "object", - "properties": { - "formula_id": { - "const": "CASH_RAISE_VALUE_OPTIMIZER_V3" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/cash_ratios_v1_schema.py b/src/quant_engine/models/generated/cash_ratios_v1_schema.py deleted file mode 100644 index ff1c645b..00000000 --- a/src/quant_engine/models/generated/cash_ratios_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'CASH_RATIOS_V1' -SCHEMA_ID = 'schema://formula/CASH_RATIOS_V1' -SCHEMA_PATH = 'schemas/generated/cash_ratios_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/cash_ratios_v1_schema.schema.json b/src/quant_engine/models/generated/cash_ratios_v1_schema.schema.json deleted file mode 100644 index 5ec0c89d..00000000 --- a/src/quant_engine/models/generated/cash_ratios_v1_schema.schema.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CASH_RATIOS_V1", - "title": "CASH_RATIOS_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "CASH_RATIOS_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "settlement_cash", - "reserved_order_amount", - "planned_buy_amount", - "sell_cash_proceeds_d2", - "total_asset" - ], - "x_formula_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" - } -} diff --git a/src/quant_engine/models/generated/cash_recovery_optimizer_v1_schema.py b/src/quant_engine/models/generated/cash_recovery_optimizer_v1_schema.py deleted file mode 100644 index f2c656f7..00000000 --- a/src/quant_engine/models/generated/cash_recovery_optimizer_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'CASH_RECOVERY_OPTIMIZER_V1' -SCHEMA_ID = 'schema://formula/CASH_RECOVERY_OPTIMIZER_V1' -SCHEMA_PATH = 'schemas/generated/cash_recovery_optimizer_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/cash_recovery_optimizer_v1_schema.schema.json b/src/quant_engine/models/generated/cash_recovery_optimizer_v1_schema.schema.json deleted file mode 100644 index ff97a091..00000000 --- a/src/quant_engine/models/generated/cash_recovery_optimizer_v1_schema.schema.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CASH_RECOVERY_OPTIMIZER_V1", - "title": "CASH_RECOVERY_OPTIMIZER_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "CASH_RECOVERY_OPTIMIZER_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "cash_shortfall_target_krw", - "cash_shortfall_min_krw", - "sell_candidates_json", - "immediate_sell_qty", - "sell_limit_price", - "holding_qty" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/cash_recovery_optimizer_v4_schema.py b/src/quant_engine/models/generated/cash_recovery_optimizer_v4_schema.py deleted file mode 100644 index 9377f1dd..00000000 --- a/src/quant_engine/models/generated/cash_recovery_optimizer_v4_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'CASH_RECOVERY_OPTIMIZER_V4' -SCHEMA_ID = 'schema://formula/CASH_RECOVERY_OPTIMIZER_V4' -SCHEMA_PATH = 'schemas/generated/cash_recovery_optimizer_v4.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/cash_recovery_optimizer_v4_schema.schema.json b/src/quant_engine/models/generated/cash_recovery_optimizer_v4_schema.schema.json deleted file mode 100644 index bc37edf1..00000000 --- a/src/quant_engine/models/generated/cash_recovery_optimizer_v4_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CASH_RECOVERY_OPTIMIZER_V4", - "title": "CASH_RECOVERY_OPTIMIZER_V4", - "type": "object", - "properties": { - "formula_id": { - "const": "CASH_RECOVERY_OPTIMIZER_V4" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/cash_recovery_v1_schema.py b/src/quant_engine/models/generated/cash_recovery_v1_schema.py deleted file mode 100644 index 7ef75857..00000000 --- a/src/quant_engine/models/generated/cash_recovery_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'CASH_RECOVERY_V1' -SCHEMA_ID = 'schema://formula/CASH_RECOVERY_V1' -SCHEMA_PATH = 'schemas/generated/cash_recovery_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/cash_recovery_v1_schema.schema.json b/src/quant_engine/models/generated/cash_recovery_v1_schema.schema.json deleted file mode 100644 index c833ab1e..00000000 --- a/src/quant_engine/models/generated/cash_recovery_v1_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CASH_RECOVERY_V1", - "title": "CASH_RECOVERY_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "CASH_RECOVERY_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/cashflow_quality_signal_v1_schema.py b/src/quant_engine/models/generated/cashflow_quality_signal_v1_schema.py deleted file mode 100644 index 8d1a3023..00000000 --- a/src/quant_engine/models/generated/cashflow_quality_signal_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'CASHFLOW_QUALITY_SIGNAL_V1' -SCHEMA_ID = 'schema://formula/CASHFLOW_QUALITY_SIGNAL_V1' -SCHEMA_PATH = 'schemas/generated/cashflow_quality_signal_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/cashflow_quality_signal_v1_schema.schema.json b/src/quant_engine/models/generated/cashflow_quality_signal_v1_schema.schema.json deleted file mode 100644 index 633d4aa5..00000000 --- a/src/quant_engine/models/generated/cashflow_quality_signal_v1_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CASHFLOW_QUALITY_SIGNAL_V1", - "title": "CASHFLOW_QUALITY_SIGNAL_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "CASHFLOW_QUALITY_SIGNAL_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/cashflow_stability_gate_v1_schema.py b/src/quant_engine/models/generated/cashflow_stability_gate_v1_schema.py deleted file mode 100644 index f953002c..00000000 --- a/src/quant_engine/models/generated/cashflow_stability_gate_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'CASHFLOW_STABILITY_GATE_V1' -SCHEMA_ID = 'schema://formula/CASHFLOW_STABILITY_GATE_V1' -SCHEMA_PATH = 'schemas/generated/cashflow_stability_gate_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/cashflow_stability_gate_v1_schema.schema.json b/src/quant_engine/models/generated/cashflow_stability_gate_v1_schema.schema.json deleted file mode 100644 index 037d5a18..00000000 --- a/src/quant_engine/models/generated/cashflow_stability_gate_v1_schema.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CASHFLOW_STABILITY_GATE_V1", - "title": "CASHFLOW_STABILITY_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "CASHFLOW_STABILITY_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "operating_cf_krw", - "free_cf_krw", - "accrual_ratio_pct" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/cla_regime_exit_condition_v1_schema.py b/src/quant_engine/models/generated/cla_regime_exit_condition_v1_schema.py deleted file mode 100644 index 31c43f05..00000000 --- a/src/quant_engine/models/generated/cla_regime_exit_condition_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'CLA_REGIME_EXIT_CONDITION_V1' -SCHEMA_ID = 'schema://formula/CLA_REGIME_EXIT_CONDITION_V1' -SCHEMA_PATH = 'schemas/generated/cla_regime_exit_condition_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/cla_regime_exit_condition_v1_schema.schema.json b/src/quant_engine/models/generated/cla_regime_exit_condition_v1_schema.schema.json deleted file mode 100644 index 1a22d485..00000000 --- a/src/quant_engine/models/generated/cla_regime_exit_condition_v1_schema.schema.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CLA_REGIME_EXIT_CONDITION_V1", - "title": "CLA_REGIME_EXIT_CONDITION_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "CLA_REGIME_EXIT_CONDITION_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "ticker", - "rs_verdict", - "brt_verdict", - "frg_5d_sh", - "volume", - "avg_volume_5d", - "market_regime" - ], - "x_formula_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" - } - ] -} diff --git a/src/quant_engine/models/generated/completion_gap_v1_schema.py b/src/quant_engine/models/generated/completion_gap_v1_schema.py deleted file mode 100644 index efcf8b2a..00000000 --- a/src/quant_engine/models/generated/completion_gap_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'COMPLETION_GAP_V1' -SCHEMA_ID = 'schema://formula/COMPLETION_GAP_V1' -SCHEMA_PATH = 'schemas/generated/completion_gap_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/completion_gap_v1_schema.schema.json b/src/quant_engine/models/generated/completion_gap_v1_schema.schema.json deleted file mode 100644 index 29f98d56..00000000 --- a/src/quant_engine/models/generated/completion_gap_v1_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/COMPLETION_GAP_V1", - "title": "COMPLETION_GAP_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "COMPLETION_GAP_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/composite_verdict_v1_schema.py b/src/quant_engine/models/generated/composite_verdict_v1_schema.py deleted file mode 100644 index 19a3a370..00000000 --- a/src/quant_engine/models/generated/composite_verdict_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'COMPOSITE_VERDICT_V1' -SCHEMA_ID = 'schema://formula/COMPOSITE_VERDICT_V1' -SCHEMA_PATH = 'schemas/generated/composite_verdict_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/composite_verdict_v1_schema.schema.json b/src/quant_engine/models/generated/composite_verdict_v1_schema.schema.json deleted file mode 100644 index 7f7c5060..00000000 --- a/src/quant_engine/models/generated/composite_verdict_v1_schema.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/COMPOSITE_VERDICT_V1", - "title": "COMPOSITE_VERDICT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "COMPOSITE_VERDICT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "ss001_grade", - "rs_verdict" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/comprehensive_proposal_v1_schema.py b/src/quant_engine/models/generated/comprehensive_proposal_v1_schema.py deleted file mode 100644 index 726ce695..00000000 --- a/src/quant_engine/models/generated/comprehensive_proposal_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'COMPREHENSIVE_PROPOSAL_V1' -SCHEMA_ID = 'schema://formula/COMPREHENSIVE_PROPOSAL_V1' -SCHEMA_PATH = 'schemas/generated/comprehensive_proposal_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/comprehensive_proposal_v1_schema.schema.json b/src/quant_engine/models/generated/comprehensive_proposal_v1_schema.schema.json deleted file mode 100644 index 1d6b60ca..00000000 --- a/src/quant_engine/models/generated/comprehensive_proposal_v1_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/COMPREHENSIVE_PROPOSAL_V1", - "title": "COMPREHENSIVE_PROPOSAL_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "COMPREHENSIVE_PROPOSAL_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/consecutive_streak_v1_schema.py b/src/quant_engine/models/generated/consecutive_streak_v1_schema.py deleted file mode 100644 index 9f31a8b6..00000000 --- a/src/quant_engine/models/generated/consecutive_streak_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'CONSECUTIVE_STREAK_V1' -SCHEMA_ID = 'schema://formula/CONSECUTIVE_STREAK_V1' -SCHEMA_PATH = 'schemas/generated/consecutive_streak_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/consecutive_streak_v1_schema.schema.json b/src/quant_engine/models/generated/consecutive_streak_v1_schema.schema.json deleted file mode 100644 index b66def21..00000000 --- a/src/quant_engine/models/generated/consecutive_streak_v1_schema.schema.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CONSECUTIVE_STREAK_V1", - "title": "CONSECUTIVE_STREAK_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "CONSECUTIVE_STREAK_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "daily_close_changes" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/continuous_evaluation_dashboard_v1_schema.py b/src/quant_engine/models/generated/continuous_evaluation_dashboard_v1_schema.py deleted file mode 100644 index b1d15703..00000000 --- a/src/quant_engine/models/generated/continuous_evaluation_dashboard_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'CONTINUOUS_EVALUATION_DASHBOARD_V1' -SCHEMA_ID = 'schema://formula/CONTINUOUS_EVALUATION_DASHBOARD_V1' -SCHEMA_PATH = 'schemas/generated/continuous_evaluation_dashboard_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/continuous_evaluation_dashboard_v1_schema.schema.json b/src/quant_engine/models/generated/continuous_evaluation_dashboard_v1_schema.schema.json deleted file mode 100644 index 40f19258..00000000 --- a/src/quant_engine/models/generated/continuous_evaluation_dashboard_v1_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CONTINUOUS_EVALUATION_DASHBOARD_V1", - "title": "CONTINUOUS_EVALUATION_DASHBOARD_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "CONTINUOUS_EVALUATION_DASHBOARD_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/cross_section_consistency_v1_schema.py b/src/quant_engine/models/generated/cross_section_consistency_v1_schema.py deleted file mode 100644 index d1a6e004..00000000 --- a/src/quant_engine/models/generated/cross_section_consistency_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'CROSS_SECTION_CONSISTENCY_V1' -SCHEMA_ID = 'schema://formula/CROSS_SECTION_CONSISTENCY_V1' -SCHEMA_PATH = 'schemas/generated/cross_section_consistency_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/cross_section_consistency_v1_schema.schema.json b/src/quant_engine/models/generated/cross_section_consistency_v1_schema.schema.json deleted file mode 100644 index a9d432e8..00000000 --- a/src/quant_engine/models/generated/cross_section_consistency_v1_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/CROSS_SECTION_CONSISTENCY_V1", - "title": "CROSS_SECTION_CONSISTENCY_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "CROSS_SECTION_CONSISTENCY_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/data_integrity_100_lock_v1_schema.py b/src/quant_engine/models/generated/data_integrity_100_lock_v1_schema.py deleted file mode 100644 index 22c50b84..00000000 --- a/src/quant_engine/models/generated/data_integrity_100_lock_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'DATA_INTEGRITY_100_LOCK_V1' -SCHEMA_ID = 'schema://formula/DATA_INTEGRITY_100_LOCK_V1' -SCHEMA_PATH = 'schemas/generated/data_integrity_100_lock_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/data_integrity_100_lock_v1_schema.schema.json b/src/quant_engine/models/generated/data_integrity_100_lock_v1_schema.schema.json deleted file mode 100644 index d338c54c..00000000 --- a/src/quant_engine/models/generated/data_integrity_100_lock_v1_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/DATA_INTEGRITY_100_LOCK_V1", - "title": "DATA_INTEGRITY_100_LOCK_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "DATA_INTEGRITY_100_LOCK_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/data_integrity_100_lock_v2_schema.py b/src/quant_engine/models/generated/data_integrity_100_lock_v2_schema.py deleted file mode 100644 index 97e9a65d..00000000 --- a/src/quant_engine/models/generated/data_integrity_100_lock_v2_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'DATA_INTEGRITY_100_LOCK_V2' -SCHEMA_ID = 'schema://formula/DATA_INTEGRITY_100_LOCK_V2' -SCHEMA_PATH = 'schemas/generated/data_integrity_100_lock_v2.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/data_integrity_100_lock_v2_schema.schema.json b/src/quant_engine/models/generated/data_integrity_100_lock_v2_schema.schema.json deleted file mode 100644 index e5902546..00000000 --- a/src/quant_engine/models/generated/data_integrity_100_lock_v2_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/DATA_INTEGRITY_100_LOCK_V2", - "title": "DATA_INTEGRITY_100_LOCK_V2", - "type": "object", - "properties": { - "formula_id": { - "const": "DATA_INTEGRITY_100_LOCK_V2" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/data_integrity_score_v1_schema.py b/src/quant_engine/models/generated/data_integrity_score_v1_schema.py deleted file mode 100644 index 9b28c52b..00000000 --- a/src/quant_engine/models/generated/data_integrity_score_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'DATA_INTEGRITY_SCORE_V1' -SCHEMA_ID = 'schema://formula/DATA_INTEGRITY_SCORE_V1' -SCHEMA_PATH = 'schemas/generated/data_integrity_score_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/data_integrity_score_v1_schema.schema.json b/src/quant_engine/models/generated/data_integrity_score_v1_schema.schema.json deleted file mode 100644 index 75cefbd6..00000000 --- a/src/quant_engine/models/generated/data_integrity_score_v1_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/DATA_INTEGRITY_SCORE_V1", - "title": "DATA_INTEGRITY_SCORE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "DATA_INTEGRITY_SCORE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/data_maturity_truth_gate_v1_schema.py b/src/quant_engine/models/generated/data_maturity_truth_gate_v1_schema.py deleted file mode 100644 index 3969209d..00000000 --- a/src/quant_engine/models/generated/data_maturity_truth_gate_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'DATA_MATURITY_TRUTH_GATE_V1' -SCHEMA_ID = 'schema://formula/DATA_MATURITY_TRUTH_GATE_V1' -SCHEMA_PATH = 'schemas/generated/data_maturity_truth_gate_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/data_maturity_truth_gate_v1_schema.schema.json b/src/quant_engine/models/generated/data_maturity_truth_gate_v1_schema.schema.json deleted file mode 100644 index 635bb714..00000000 --- a/src/quant_engine/models/generated/data_maturity_truth_gate_v1_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/DATA_MATURITY_TRUTH_GATE_V1", - "title": "DATA_MATURITY_TRUTH_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "DATA_MATURITY_TRUTH_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/data_maturity_truth_gate_validator_v1_schema.py b/src/quant_engine/models/generated/data_maturity_truth_gate_validator_v1_schema.py deleted file mode 100644 index e3c09e61..00000000 --- a/src/quant_engine/models/generated/data_maturity_truth_gate_validator_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'DATA_MATURITY_TRUTH_GATE_VALIDATOR_V1' -SCHEMA_ID = 'schema://formula/DATA_MATURITY_TRUTH_GATE_VALIDATOR_V1' -SCHEMA_PATH = 'schemas/generated/data_maturity_truth_gate_validator_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/data_maturity_truth_gate_validator_v1_schema.schema.json b/src/quant_engine/models/generated/data_maturity_truth_gate_validator_v1_schema.schema.json deleted file mode 100644 index c5597ad0..00000000 --- a/src/quant_engine/models/generated/data_maturity_truth_gate_validator_v1_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/DATA_MATURITY_TRUTH_GATE_VALIDATOR_V1", - "title": "DATA_MATURITY_TRUTH_GATE_VALIDATOR_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "DATA_MATURITY_TRUTH_GATE_VALIDATOR_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/data_quality_gate_v2_py_schema.py b/src/quant_engine/models/generated/data_quality_gate_v2_py_schema.py deleted file mode 100644 index 2ed18d69..00000000 --- a/src/quant_engine/models/generated/data_quality_gate_v2_py_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'DATA_QUALITY_GATE_V2_PY' -SCHEMA_ID = 'schema://formula/DATA_QUALITY_GATE_V2_PY' -SCHEMA_PATH = 'schemas/generated/data_quality_gate_v2_py.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/data_quality_gate_v2_py_schema.schema.json b/src/quant_engine/models/generated/data_quality_gate_v2_py_schema.schema.json deleted file mode 100644 index 729dbc96..00000000 --- a/src/quant_engine/models/generated/data_quality_gate_v2_py_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/DATA_QUALITY_GATE_V2_PY", - "title": "DATA_QUALITY_GATE_V2_PY", - "type": "object", - "properties": { - "formula_id": { - "const": "DATA_QUALITY_GATE_V2_PY" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/data_quality_gate_v3_schema.py b/src/quant_engine/models/generated/data_quality_gate_v3_schema.py deleted file mode 100644 index 0265b137..00000000 --- a/src/quant_engine/models/generated/data_quality_gate_v3_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'DATA_QUALITY_GATE_V3' -SCHEMA_ID = 'schema://formula/DATA_QUALITY_GATE_V3' -SCHEMA_PATH = 'schemas/generated/data_quality_gate_v3.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/data_quality_gate_v3_schema.schema.json b/src/quant_engine/models/generated/data_quality_gate_v3_schema.schema.json deleted file mode 100644 index 2edb1267..00000000 --- a/src/quant_engine/models/generated/data_quality_gate_v3_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/DATA_QUALITY_GATE_V3", - "title": "DATA_QUALITY_GATE_V3", - "type": "object", - "properties": { - "formula_id": { - "const": "DATA_QUALITY_GATE_V3" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/deterministic_routing_engine_v1_schema.py b/src/quant_engine/models/generated/deterministic_routing_engine_v1_schema.py deleted file mode 100644 index bffc4739..00000000 --- a/src/quant_engine/models/generated/deterministic_routing_engine_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'DETERMINISTIC_ROUTING_ENGINE_V1' -SCHEMA_ID = 'schema://formula/DETERMINISTIC_ROUTING_ENGINE_V1' -SCHEMA_PATH = 'schemas/generated/deterministic_routing_engine_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/deterministic_routing_engine_v1_schema.schema.json b/src/quant_engine/models/generated/deterministic_routing_engine_v1_schema.schema.json deleted file mode 100644 index 2681457d..00000000 --- a/src/quant_engine/models/generated/deterministic_routing_engine_v1_schema.schema.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/DETERMINISTIC_ROUTING_ENGINE_V1", - "title": "DETERMINISTIC_ROUTING_ENGINE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "DETERMINISTIC_ROUTING_ENGINE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "harness_context" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/distribution_sell_detector_v1_schema.py b/src/quant_engine/models/generated/distribution_sell_detector_v1_schema.py deleted file mode 100644 index 1ac4cbbd..00000000 --- a/src/quant_engine/models/generated/distribution_sell_detector_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'DISTRIBUTION_SELL_DETECTOR_V1' -SCHEMA_ID = 'schema://formula/DISTRIBUTION_SELL_DETECTOR_V1' -SCHEMA_PATH = 'schemas/generated/distribution_sell_detector_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/distribution_sell_detector_v1_schema.schema.json b/src/quant_engine/models/generated/distribution_sell_detector_v1_schema.schema.json deleted file mode 100644 index 66e4c3a0..00000000 --- a/src/quant_engine/models/generated/distribution_sell_detector_v1_schema.schema.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/DISTRIBUTION_SELL_DETECTOR_V1", - "title": "DISTRIBUTION_SELL_DETECTOR_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "DISTRIBUTION_SELL_DETECTOR_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "close", - "high52w", - "avg_volume_5d", - "volume", - "ret5d", - "flow_credit", - "frg_5d_sh", - "inst_5d_sh", - "rsi14", - "obv_slope_20d" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/divergence_score_v1_schema.py b/src/quant_engine/models/generated/divergence_score_v1_schema.py deleted file mode 100644 index 46bde871..00000000 --- a/src/quant_engine/models/generated/divergence_score_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'DIVERGENCE_SCORE_V1' -SCHEMA_ID = 'schema://formula/DIVERGENCE_SCORE_V1' -SCHEMA_PATH = 'schemas/generated/divergence_score_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/divergence_score_v1_schema.schema.json b/src/quant_engine/models/generated/divergence_score_v1_schema.schema.json deleted file mode 100644 index 4ece52c0..00000000 --- a/src/quant_engine/models/generated/divergence_score_v1_schema.schema.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/DIVERGENCE_SCORE_V1", - "title": "DIVERGENCE_SCORE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "DIVERGENCE_SCORE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "close_price", - "ma20", - "frg_5d_sh", - "inst_5d_sh", - "flow_credit", - "frg_20d_sh" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/drawdown_guard_v1_schema.py b/src/quant_engine/models/generated/drawdown_guard_v1_schema.py deleted file mode 100644 index bcaa4191..00000000 --- a/src/quant_engine/models/generated/drawdown_guard_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'DRAWDOWN_GUARD_V1' -SCHEMA_ID = 'schema://formula/DRAWDOWN_GUARD_V1' -SCHEMA_PATH = 'schemas/generated/drawdown_guard_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/drawdown_guard_v1_schema.schema.json b/src/quant_engine/models/generated/drawdown_guard_v1_schema.schema.json deleted file mode 100644 index 187bffc0..00000000 --- a/src/quant_engine/models/generated/drawdown_guard_v1_schema.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/DRAWDOWN_GUARD_V1", - "title": "DRAWDOWN_GUARD_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "DRAWDOWN_GUARD_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "win_loss_streak_state", - "win_loss_streak_buy_scale" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/dynamic_heat_gate_v1_schema.py b/src/quant_engine/models/generated/dynamic_heat_gate_v1_schema.py deleted file mode 100644 index c5ba9c1a..00000000 --- a/src/quant_engine/models/generated/dynamic_heat_gate_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'DYNAMIC_HEAT_GATE_V1' -SCHEMA_ID = 'schema://formula/DYNAMIC_HEAT_GATE_V1' -SCHEMA_PATH = 'schemas/generated/dynamic_heat_gate_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/dynamic_heat_gate_v1_schema.schema.json b/src/quant_engine/models/generated/dynamic_heat_gate_v1_schema.schema.json deleted file mode 100644 index 4c0d432d..00000000 --- a/src/quant_engine/models/generated/dynamic_heat_gate_v1_schema.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/DYNAMIC_HEAT_GATE_V1", - "title": "DYNAMIC_HEAT_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "DYNAMIC_HEAT_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "market_regime", - "total_heat_pct" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/earnings_growth_quality_gate_v1_schema.py b/src/quant_engine/models/generated/earnings_growth_quality_gate_v1_schema.py deleted file mode 100644 index 2cccf334..00000000 --- a/src/quant_engine/models/generated/earnings_growth_quality_gate_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'EARNINGS_GROWTH_QUALITY_GATE_V1' -SCHEMA_ID = 'schema://formula/EARNINGS_GROWTH_QUALITY_GATE_V1' -SCHEMA_PATH = 'schemas/generated/earnings_growth_quality_gate_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/earnings_growth_quality_gate_v1_schema.schema.json b/src/quant_engine/models/generated/earnings_growth_quality_gate_v1_schema.schema.json deleted file mode 100644 index ddf65403..00000000 --- a/src/quant_engine/models/generated/earnings_growth_quality_gate_v1_schema.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/EARNINGS_GROWTH_QUALITY_GATE_V1", - "title": "EARNINGS_GROWTH_QUALITY_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "EARNINGS_GROWTH_QUALITY_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "eps_growth_qoq_pct", - "eps_growth_yoy_pct" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/earnings_quality_signal_v1_schema.py b/src/quant_engine/models/generated/earnings_quality_signal_v1_schema.py deleted file mode 100644 index 0d0cc929..00000000 --- a/src/quant_engine/models/generated/earnings_quality_signal_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'EARNINGS_QUALITY_SIGNAL_V1' -SCHEMA_ID = 'schema://formula/EARNINGS_QUALITY_SIGNAL_V1' -SCHEMA_PATH = 'schemas/generated/earnings_quality_signal_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/earnings_quality_signal_v1_schema.schema.json b/src/quant_engine/models/generated/earnings_quality_signal_v1_schema.schema.json deleted file mode 100644 index 95fe0b76..00000000 --- a/src/quant_engine/models/generated/earnings_quality_signal_v1_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/EARNINGS_QUALITY_SIGNAL_V1", - "title": "EARNINGS_QUALITY_SIGNAL_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "EARNINGS_QUALITY_SIGNAL_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/ecp_risk_scale_v1_schema.py b/src/quant_engine/models/generated/ecp_risk_scale_v1_schema.py deleted file mode 100644 index 85fe8111..00000000 --- a/src/quant_engine/models/generated/ecp_risk_scale_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'ECP_RISK_SCALE_V1' -SCHEMA_ID = 'schema://formula/ECP_RISK_SCALE_V1' -SCHEMA_PATH = 'schemas/generated/ecp_risk_scale_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/ecp_risk_scale_v1_schema.schema.json b/src/quant_engine/models/generated/ecp_risk_scale_v1_schema.schema.json deleted file mode 100644 index e63e328c..00000000 --- a/src/quant_engine/models/generated/ecp_risk_scale_v1_schema.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/ECP_RISK_SCALE_V1", - "title": "ECP_RISK_SCALE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "ECP_RISK_SCALE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "total_asset", - "total_asset_ma10" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/ejce_divergence_audit_v1_schema.py b/src/quant_engine/models/generated/ejce_divergence_audit_v1_schema.py deleted file mode 100644 index 0f04aa11..00000000 --- a/src/quant_engine/models/generated/ejce_divergence_audit_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'EJCE_DIVERGENCE_AUDIT_V1' -SCHEMA_ID = 'schema://formula/EJCE_DIVERGENCE_AUDIT_V1' -SCHEMA_PATH = 'schemas/generated/ejce_divergence_audit_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/ejce_divergence_audit_v1_schema.schema.json b/src/quant_engine/models/generated/ejce_divergence_audit_v1_schema.schema.json deleted file mode 100644 index 1a3aa067..00000000 --- a/src/quant_engine/models/generated/ejce_divergence_audit_v1_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/EJCE_DIVERGENCE_AUDIT_V1", - "title": "EJCE_DIVERGENCE_AUDIT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "EJCE_DIVERGENCE_AUDIT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/ejce_view_renderer_v1_schema.py b/src/quant_engine/models/generated/ejce_view_renderer_v1_schema.py deleted file mode 100644 index 76dc3dd8..00000000 --- a/src/quant_engine/models/generated/ejce_view_renderer_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'EJCE_VIEW_RENDERER_V1' -SCHEMA_ID = 'schema://formula/EJCE_VIEW_RENDERER_V1' -SCHEMA_PATH = 'schemas/generated/ejce_view_renderer_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/ejce_view_renderer_v1_schema.schema.json b/src/quant_engine/models/generated/ejce_view_renderer_v1_schema.schema.json deleted file mode 100644 index 9060157e..00000000 --- a/src/quant_engine/models/generated/ejce_view_renderer_v1_schema.schema.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/EJCE_VIEW_RENDERER_V1", - "title": "EJCE_VIEW_RENDERER_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "EJCE_VIEW_RENDERER_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "ejce_json", - "alpha_lead_json", - "breakout_quality_gate_json", - "anti_chasing_velocity_json", - "heat_concentration_json", - "portfolio_alpha_confidence" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/entry_timing_decile_factor_v1_schema.py b/src/quant_engine/models/generated/entry_timing_decile_factor_v1_schema.py deleted file mode 100644 index 852985b2..00000000 --- a/src/quant_engine/models/generated/entry_timing_decile_factor_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'ENTRY_TIMING_DECILE_FACTOR_V1' -SCHEMA_ID = 'schema://formula/ENTRY_TIMING_DECILE_FACTOR_V1' -SCHEMA_PATH = 'schemas/generated/entry_timing_decile_factor_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/entry_timing_decile_factor_v1_schema.schema.json b/src/quant_engine/models/generated/entry_timing_decile_factor_v1_schema.schema.json deleted file mode 100644 index 8056b0d5..00000000 --- a/src/quant_engine/models/generated/entry_timing_decile_factor_v1_schema.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/ENTRY_TIMING_DECILE_FACTOR_V1", - "title": "ENTRY_TIMING_DECILE_FACTOR_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "ENTRY_TIMING_DECILE_FACTOR_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "buy_timing_score", - "t5_ledger", - "cut_decile" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/execution_capacity_ladder_v1_schema.py b/src/quant_engine/models/generated/execution_capacity_ladder_v1_schema.py deleted file mode 100644 index 08975ac0..00000000 --- a/src/quant_engine/models/generated/execution_capacity_ladder_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'EXECUTION_CAPACITY_LADDER_V1' -SCHEMA_ID = 'schema://formula/EXECUTION_CAPACITY_LADDER_V1' -SCHEMA_PATH = 'schemas/generated/execution_capacity_ladder_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/execution_capacity_ladder_v1_schema.schema.json b/src/quant_engine/models/generated/execution_capacity_ladder_v1_schema.schema.json deleted file mode 100644 index 57418b01..00000000 --- a/src/quant_engine/models/generated/execution_capacity_ladder_v1_schema.schema.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/EXECUTION_CAPACITY_LADDER_V1", - "title": "EXECUTION_CAPACITY_LADDER_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "EXECUTION_CAPACITY_LADDER_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "planned_order_amount_krw", - "avg_trade_value_20d_krw", - "intraday_trade_value_krw", - "orderbook_top3_depth_krw", - "spread_bps" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/execution_method_ladder_v1_schema.py b/src/quant_engine/models/generated/execution_method_ladder_v1_schema.py deleted file mode 100644 index afd22f30..00000000 --- a/src/quant_engine/models/generated/execution_method_ladder_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'EXECUTION_METHOD_LADDER_V1' -SCHEMA_ID = 'schema://formula/EXECUTION_METHOD_LADDER_V1' -SCHEMA_PATH = 'schemas/generated/execution_method_ladder_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/execution_method_ladder_v1_schema.schema.json b/src/quant_engine/models/generated/execution_method_ladder_v1_schema.schema.json deleted file mode 100644 index 55d1a6c4..00000000 --- a/src/quant_engine/models/generated/execution_method_ladder_v1_schema.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/EXECUTION_METHOD_LADDER_V1", - "title": "EXECUTION_METHOD_LADDER_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "EXECUTION_METHOD_LADDER_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "sell_timing_verdict", - "sell_waterfall_gate", - "smart_cash_recovery_gate" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/execution_plan_compiler_v1_schema.py b/src/quant_engine/models/generated/execution_plan_compiler_v1_schema.py deleted file mode 100644 index 895f3a6c..00000000 --- a/src/quant_engine/models/generated/execution_plan_compiler_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'EXECUTION_PLAN_COMPILER_V1' -SCHEMA_ID = 'schema://formula/EXECUTION_PLAN_COMPILER_V1' -SCHEMA_PATH = 'schemas/generated/execution_plan_compiler_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/execution_plan_compiler_v1_schema.schema.json b/src/quant_engine/models/generated/execution_plan_compiler_v1_schema.schema.json deleted file mode 100644 index fc700063..00000000 --- a/src/quant_engine/models/generated/execution_plan_compiler_v1_schema.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/EXECUTION_PLAN_COMPILER_V1", - "title": "EXECUTION_PLAN_COMPILER_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "EXECUTION_PLAN_COMPILER_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "order_capacity_krw", - "revalidation_snapshot", - "baseline_snapshot" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/execution_quality_score_v1_schema.py b/src/quant_engine/models/generated/execution_quality_score_v1_schema.py deleted file mode 100644 index 8c0d48fd..00000000 --- a/src/quant_engine/models/generated/execution_quality_score_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'EXECUTION_QUALITY_SCORE_V1' -SCHEMA_ID = 'schema://formula/EXECUTION_QUALITY_SCORE_V1' -SCHEMA_PATH = 'schemas/generated/execution_quality_score_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/execution_quality_score_v1_schema.schema.json b/src/quant_engine/models/generated/execution_quality_score_v1_schema.schema.json deleted file mode 100644 index ef2758f2..00000000 --- a/src/quant_engine/models/generated/execution_quality_score_v1_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/EXECUTION_QUALITY_SCORE_V1", - "title": "EXECUTION_QUALITY_SCORE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "EXECUTION_QUALITY_SCORE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/expected_edge_v1_schema.py b/src/quant_engine/models/generated/expected_edge_v1_schema.py deleted file mode 100644 index cf8e6c05..00000000 --- a/src/quant_engine/models/generated/expected_edge_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'EXPECTED_EDGE_V1' -SCHEMA_ID = 'schema://formula/EXPECTED_EDGE_V1' -SCHEMA_PATH = 'schemas/generated/expected_edge_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/expected_edge_v1_schema.schema.json b/src/quant_engine/models/generated/expected_edge_v1_schema.schema.json deleted file mode 100644 index 0aaea1b2..00000000 --- a/src/quant_engine/models/generated/expected_edge_v1_schema.schema.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/EXPECTED_EDGE_V1", - "title": "EXPECTED_EDGE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "EXPECTED_EDGE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "target_price", - "entry_price", - "stop_price", - "bayesian_confidence_multiplier", - "execution_cost_rate" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/fifty_two_week_high_trigger_v1_schema.py b/src/quant_engine/models/generated/fifty_two_week_high_trigger_v1_schema.py deleted file mode 100644 index 197acb51..00000000 --- a/src/quant_engine/models/generated/fifty_two_week_high_trigger_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'FIFTY_TWO_WEEK_HIGH_TRIGGER_V1' -SCHEMA_ID = 'schema://formula/FIFTY_TWO_WEEK_HIGH_TRIGGER_V1' -SCHEMA_PATH = 'schemas/generated/fifty_two_week_high_trigger_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/fifty_two_week_high_trigger_v1_schema.schema.json b/src/quant_engine/models/generated/fifty_two_week_high_trigger_v1_schema.schema.json deleted file mode 100644 index afcc0ab1..00000000 --- a/src/quant_engine/models/generated/fifty_two_week_high_trigger_v1_schema.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/FIFTY_TWO_WEEK_HIGH_TRIGGER_V1", - "title": "FIFTY_TWO_WEEK_HIGH_TRIGGER_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "FIFTY_TWO_WEEK_HIGH_TRIGGER_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "close_price", - "high52w" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/final_judgment_gate_v1_schema.py b/src/quant_engine/models/generated/final_judgment_gate_v1_schema.py deleted file mode 100644 index 98442a62..00000000 --- a/src/quant_engine/models/generated/final_judgment_gate_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'FINAL_JUDGMENT_GATE_V1' -SCHEMA_ID = 'schema://formula/FINAL_JUDGMENT_GATE_V1' -SCHEMA_PATH = 'schemas/generated/final_judgment_gate_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/final_judgment_gate_v1_schema.schema.json b/src/quant_engine/models/generated/final_judgment_gate_v1_schema.schema.json deleted file mode 100644 index ebb4b2e5..00000000 --- a/src/quant_engine/models/generated/final_judgment_gate_v1_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/FINAL_JUDGMENT_GATE_V1", - "title": "FINAL_JUDGMENT_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "FINAL_JUDGMENT_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/financial_health_score_v1_schema.py b/src/quant_engine/models/generated/financial_health_score_v1_schema.py deleted file mode 100644 index edffefdc..00000000 --- a/src/quant_engine/models/generated/financial_health_score_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'FINANCIAL_HEALTH_SCORE_V1' -SCHEMA_ID = 'schema://formula/FINANCIAL_HEALTH_SCORE_V1' -SCHEMA_PATH = 'schemas/generated/financial_health_score_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/financial_health_score_v1_schema.schema.json b/src/quant_engine/models/generated/financial_health_score_v1_schema.schema.json deleted file mode 100644 index f6ca1a6b..00000000 --- a/src/quant_engine/models/generated/financial_health_score_v1_schema.schema.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/FINANCIAL_HEALTH_SCORE_V1", - "title": "FINANCIAL_HEALTH_SCORE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "FINANCIAL_HEALTH_SCORE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "roe_pct", - "operating_margin_pct", - "debt_to_equity", - "fcf_b", - "sector_type" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/flow_acceleration_v1_schema.py b/src/quant_engine/models/generated/flow_acceleration_v1_schema.py deleted file mode 100644 index 4323bf3b..00000000 --- a/src/quant_engine/models/generated/flow_acceleration_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'FLOW_ACCELERATION_V1' -SCHEMA_ID = 'schema://formula/FLOW_ACCELERATION_V1' -SCHEMA_PATH = 'schemas/generated/flow_acceleration_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/flow_acceleration_v1_schema.schema.json b/src/quant_engine/models/generated/flow_acceleration_v1_schema.schema.json deleted file mode 100644 index c05ffc54..00000000 --- a/src/quant_engine/models/generated/flow_acceleration_v1_schema.schema.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/FLOW_ACCELERATION_V1", - "title": "FLOW_ACCELERATION_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "FLOW_ACCELERATION_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "frg_5d_sh", - "frg_20d_sh", - "close_price", - "ma20" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/flow_credit_v1_schema.py b/src/quant_engine/models/generated/flow_credit_v1_schema.py deleted file mode 100644 index 035d7f12..00000000 --- a/src/quant_engine/models/generated/flow_credit_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'FLOW_CREDIT_V1' -SCHEMA_ID = 'schema://formula/FLOW_CREDIT_V1' -SCHEMA_PATH = 'schemas/generated/flow_credit_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/flow_credit_v1_schema.schema.json b/src/quant_engine/models/generated/flow_credit_v1_schema.schema.json deleted file mode 100644 index 916d0494..00000000 --- a/src/quant_engine/models/generated/flow_credit_v1_schema.schema.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/FLOW_CREDIT_V1", - "title": "FLOW_CREDIT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "FLOW_CREDIT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "close_price", - "open_price", - "previous_close_price", - "volume", - "avg_volume_5d", - "frg_5d_sh", - "inst_5d_sh", - "flow_ok" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/follow_through_day_confirm_v1_schema.py b/src/quant_engine/models/generated/follow_through_day_confirm_v1_schema.py deleted file mode 100644 index 60096d66..00000000 --- a/src/quant_engine/models/generated/follow_through_day_confirm_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'FOLLOW_THROUGH_DAY_CONFIRM_V1' -SCHEMA_ID = 'schema://formula/FOLLOW_THROUGH_DAY_CONFIRM_V1' -SCHEMA_PATH = 'schemas/generated/follow_through_day_confirm_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/follow_through_day_confirm_v1_schema.schema.json b/src/quant_engine/models/generated/follow_through_day_confirm_v1_schema.schema.json deleted file mode 100644 index 8f4b64d3..00000000 --- a/src/quant_engine/models/generated/follow_through_day_confirm_v1_schema.schema.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/FOLLOW_THROUGH_DAY_CONFIRM_V1", - "title": "FOLLOW_THROUGH_DAY_CONFIRM_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "FOLLOW_THROUGH_DAY_CONFIRM_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "days_since_breakout", - "ret_since_breakout", - "vol_today", - "vol_breakout_day", - "close", - "ma20" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/forecast_simulation_engine_v1_schema.py b/src/quant_engine/models/generated/forecast_simulation_engine_v1_schema.py deleted file mode 100644 index fb375572..00000000 --- a/src/quant_engine/models/generated/forecast_simulation_engine_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'FORECAST_SIMULATION_ENGINE_V1' -SCHEMA_ID = 'schema://formula/FORECAST_SIMULATION_ENGINE_V1' -SCHEMA_PATH = 'schemas/generated/forecast_simulation_engine_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/forecast_simulation_engine_v1_schema.schema.json b/src/quant_engine/models/generated/forecast_simulation_engine_v1_schema.schema.json deleted file mode 100644 index 8193bb19..00000000 --- a/src/quant_engine/models/generated/forecast_simulation_engine_v1_schema.schema.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/FORECAST_SIMULATION_ENGINE_V1", - "title": "FORECAST_SIMULATION_ENGINE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "FORECAST_SIMULATION_ENGINE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "net_profit_distribution_after_tax_fee_slippage", - "sample_count_total", - "sample_count_same_regime", - "execution_mode" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/fundamental_multi_factor_score_v2_schema.py b/src/quant_engine/models/generated/fundamental_multi_factor_score_v2_schema.py deleted file mode 100644 index 97145b0e..00000000 --- a/src/quant_engine/models/generated/fundamental_multi_factor_score_v2_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'FUNDAMENTAL_MULTI_FACTOR_SCORE_V2' -SCHEMA_ID = 'schema://formula/FUNDAMENTAL_MULTI_FACTOR_SCORE_V2' -SCHEMA_PATH = 'schemas/generated/fundamental_multi_factor_score_v2.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/fundamental_multi_factor_score_v2_schema.schema.json b/src/quant_engine/models/generated/fundamental_multi_factor_score_v2_schema.schema.json deleted file mode 100644 index fd289453..00000000 --- a/src/quant_engine/models/generated/fundamental_multi_factor_score_v2_schema.schema.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/FUNDAMENTAL_MULTI_FACTOR_SCORE_V2", - "title": "FUNDAMENTAL_MULTI_FACTOR_SCORE_V2", - "type": "object", - "properties": { - "formula_id": { - "const": "FUNDAMENTAL_MULTI_FACTOR_SCORE_V2" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "roe_pct", - "opm_pct", - "revenue_growth_pct", - "op_income_growth_pct", - "market_share_proxy_pct", - "operating_cf_krw", - "free_cf_krw", - "debt_ratio_pct" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/fundamental_multifactor_v3_schema.py b/src/quant_engine/models/generated/fundamental_multifactor_v3_schema.py deleted file mode 100644 index 1d0f2ae3..00000000 --- a/src/quant_engine/models/generated/fundamental_multifactor_v3_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'FUNDAMENTAL_MULTIFACTOR_V3' -SCHEMA_ID = 'schema://formula/FUNDAMENTAL_MULTIFACTOR_V3' -SCHEMA_PATH = 'schemas/generated/fundamental_multifactor_v3.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/fundamental_multifactor_v3_schema.schema.json b/src/quant_engine/models/generated/fundamental_multifactor_v3_schema.schema.json deleted file mode 100644 index 2c42c8c2..00000000 --- a/src/quant_engine/models/generated/fundamental_multifactor_v3_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/FUNDAMENTAL_MULTIFACTOR_V3", - "title": "FUNDAMENTAL_MULTIFACTOR_V3", - "type": "object", - "properties": { - "formula_id": { - "const": "FUNDAMENTAL_MULTIFACTOR_V3" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/fundamental_quality_gate_v1_schema.py b/src/quant_engine/models/generated/fundamental_quality_gate_v1_schema.py deleted file mode 100644 index 2106dd6c..00000000 --- a/src/quant_engine/models/generated/fundamental_quality_gate_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'FUNDAMENTAL_QUALITY_GATE_V1' -SCHEMA_ID = 'schema://formula/FUNDAMENTAL_QUALITY_GATE_V1' -SCHEMA_PATH = 'schemas/generated/fundamental_quality_gate_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/fundamental_quality_gate_v1_schema.schema.json b/src/quant_engine/models/generated/fundamental_quality_gate_v1_schema.schema.json deleted file mode 100644 index da45667e..00000000 --- a/src/quant_engine/models/generated/fundamental_quality_gate_v1_schema.schema.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/FUNDAMENTAL_QUALITY_GATE_V1", - "title": "FUNDAMENTAL_QUALITY_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "FUNDAMENTAL_QUALITY_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "roe_pct", - "op_income_growth_pct", - "debt_ratio_pct", - "operating_cf_krw", - "pe_ttm" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/fundamental_raw_ingest_v1_schema.py b/src/quant_engine/models/generated/fundamental_raw_ingest_v1_schema.py deleted file mode 100644 index 11015bc5..00000000 --- a/src/quant_engine/models/generated/fundamental_raw_ingest_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'FUNDAMENTAL_RAW_INGEST_V1' -SCHEMA_ID = 'schema://formula/FUNDAMENTAL_RAW_INGEST_V1' -SCHEMA_PATH = 'schemas/generated/fundamental_raw_ingest_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/fundamental_raw_ingest_v1_schema.schema.json b/src/quant_engine/models/generated/fundamental_raw_ingest_v1_schema.schema.json deleted file mode 100644 index db764bab..00000000 --- a/src/quant_engine/models/generated/fundamental_raw_ingest_v1_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/FUNDAMENTAL_RAW_INGEST_V1", - "title": "FUNDAMENTAL_RAW_INGEST_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "FUNDAMENTAL_RAW_INGEST_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/gas_adapter_contract_schema.py b/src/quant_engine/models/generated/gas_adapter_contract_schema.py deleted file mode 100644 index 7507b91c..00000000 --- a/src/quant_engine/models/generated/gas_adapter_contract_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'gas_adapter_contract.v1' -SCHEMA_ID = 'schema://gas_adapter_contract.v1' -SCHEMA_PATH = 'schemas/generated/gas_adapter_contract.schema.json' -SCHEMA_PROPERTIES = ['schema_version', 'exports'] -SCHEMA_REQUIRED = ['schema_version', 'exports'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/gas_adapter_contract_schema.schema.json b/src/quant_engine/models/generated/gas_adapter_contract_schema.schema.json deleted file mode 100644 index 68f8035d..00000000 --- a/src/quant_engine/models/generated/gas_adapter_contract_schema.schema.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "title": "gas_adapter_contract.v1", - "type": "object", - "required": [ - "schema_version", - "exports" - ], - "properties": { - "schema_version": { - "type": "string" - }, - "exports": { - "type": "array", - "items": { - "type": "object", - "required": [ - "function_name", - "min_arity", - "max_arity", - "return_shape", - "sheet_key" - ], - "properties": { - "function_name": { - "type": "string" - }, - "min_arity": { - "type": "integer", - "minimum": 0 - }, - "max_arity": { - "type": "integer", - "minimum": 0 - }, - "return_shape": { - "type": "string" - }, - "sheet_key": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - }, - "additionalProperties": true -} diff --git a/src/quant_engine/models/generated/golden_cross_signal_v1_schema.py b/src/quant_engine/models/generated/golden_cross_signal_v1_schema.py deleted file mode 100644 index cca6d764..00000000 --- a/src/quant_engine/models/generated/golden_cross_signal_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'GOLDEN_CROSS_SIGNAL_V1' -SCHEMA_ID = 'schema://formula/GOLDEN_CROSS_SIGNAL_V1' -SCHEMA_PATH = 'schemas/generated/golden_cross_signal_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/golden_cross_signal_v1_schema.schema.json b/src/quant_engine/models/generated/golden_cross_signal_v1_schema.schema.json deleted file mode 100644 index d4561eb4..00000000 --- a/src/quant_engine/models/generated/golden_cross_signal_v1_schema.schema.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/GOLDEN_CROSS_SIGNAL_V1", - "title": "GOLDEN_CROSS_SIGNAL_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "GOLDEN_CROSS_SIGNAL_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "ma20", - "ma20_prev", - "ma60", - "ma60_prev" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/growth_rate_signal_v1_schema.py b/src/quant_engine/models/generated/growth_rate_signal_v1_schema.py deleted file mode 100644 index 6883ee2b..00000000 --- a/src/quant_engine/models/generated/growth_rate_signal_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'GROWTH_RATE_SIGNAL_V1' -SCHEMA_ID = 'schema://formula/GROWTH_RATE_SIGNAL_V1' -SCHEMA_PATH = 'schemas/generated/growth_rate_signal_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/growth_rate_signal_v1_schema.schema.json b/src/quant_engine/models/generated/growth_rate_signal_v1_schema.schema.json deleted file mode 100644 index b00743a8..00000000 --- a/src/quant_engine/models/generated/growth_rate_signal_v1_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/GROWTH_RATE_SIGNAL_V1", - "title": "GROWTH_RATE_SIGNAL_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "GROWTH_RATE_SIGNAL_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/harness_data_freshness_gate_v1_schema.py b/src/quant_engine/models/generated/harness_data_freshness_gate_v1_schema.py deleted file mode 100644 index f0707691..00000000 --- a/src/quant_engine/models/generated/harness_data_freshness_gate_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'HARNESS_DATA_FRESHNESS_GATE_V1' -SCHEMA_ID = 'schema://formula/HARNESS_DATA_FRESHNESS_GATE_V1' -SCHEMA_PATH = 'schemas/generated/harness_data_freshness_gate_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/harness_data_freshness_gate_v1_schema.schema.json b/src/quant_engine/models/generated/harness_data_freshness_gate_v1_schema.schema.json deleted file mode 100644 index 9f081383..00000000 --- a/src/quant_engine/models/generated/harness_data_freshness_gate_v1_schema.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/HARNESS_DATA_FRESHNESS_GATE_V1", - "title": "HARNESS_DATA_FRESHNESS_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "HARNESS_DATA_FRESHNESS_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "metadata.generated_at", - "metadata.market_date", - "today_date" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/heat_concentration_alert_v1_schema.py b/src/quant_engine/models/generated/heat_concentration_alert_v1_schema.py deleted file mode 100644 index 9adb12b6..00000000 --- a/src/quant_engine/models/generated/heat_concentration_alert_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'HEAT_CONCENTRATION_ALERT_V1' -SCHEMA_ID = 'schema://formula/HEAT_CONCENTRATION_ALERT_V1' -SCHEMA_PATH = 'schemas/generated/heat_concentration_alert_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/heat_concentration_alert_v1_schema.schema.json b/src/quant_engine/models/generated/heat_concentration_alert_v1_schema.schema.json deleted file mode 100644 index e82e6bb7..00000000 --- a/src/quant_engine/models/generated/heat_concentration_alert_v1_schema.schema.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/HEAT_CONCENTRATION_ALERT_V1", - "title": "HEAT_CONCENTRATION_ALERT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "HEAT_CONCENTRATION_ALERT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "heat_share_pct" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/horizon_allocation_lock_v1_schema.py b/src/quant_engine/models/generated/horizon_allocation_lock_v1_schema.py deleted file mode 100644 index de6a8ef3..00000000 --- a/src/quant_engine/models/generated/horizon_allocation_lock_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'HORIZON_ALLOCATION_LOCK_V1' -SCHEMA_ID = 'schema://formula/HORIZON_ALLOCATION_LOCK_V1' -SCHEMA_PATH = 'schemas/generated/horizon_allocation_lock_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/horizon_allocation_lock_v1_schema.schema.json b/src/quant_engine/models/generated/horizon_allocation_lock_v1_schema.schema.json deleted file mode 100644 index 056ba628..00000000 --- a/src/quant_engine/models/generated/horizon_allocation_lock_v1_schema.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/HORIZON_ALLOCATION_LOCK_V1", - "title": "HORIZON_ALLOCATION_LOCK_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "HORIZON_ALLOCATION_LOCK_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "invest_horizon", - "market_value_krw", - "total_asset_krw" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/horizon_classification_v1_schema.py b/src/quant_engine/models/generated/horizon_classification_v1_schema.py deleted file mode 100644 index d92dd2f5..00000000 --- a/src/quant_engine/models/generated/horizon_classification_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'HORIZON_CLASSIFICATION_V1' -SCHEMA_ID = 'schema://formula/HORIZON_CLASSIFICATION_V1' -SCHEMA_PATH = 'schemas/generated/horizon_classification_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/horizon_classification_v1_schema.schema.json b/src/quant_engine/models/generated/horizon_classification_v1_schema.schema.json deleted file mode 100644 index c636da70..00000000 --- a/src/quant_engine/models/generated/horizon_classification_v1_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/HORIZON_CLASSIFICATION_V1", - "title": "HORIZON_CLASSIFICATION_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "HORIZON_CLASSIFICATION_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/immutable_decision_ledger_v1_schema.py b/src/quant_engine/models/generated/immutable_decision_ledger_v1_schema.py deleted file mode 100644 index fad06145..00000000 --- a/src/quant_engine/models/generated/immutable_decision_ledger_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'IMMUTABLE_DECISION_LEDGER_V1' -SCHEMA_ID = 'schema://formula/IMMUTABLE_DECISION_LEDGER_V1' -SCHEMA_PATH = 'schemas/generated/immutable_decision_ledger_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/immutable_decision_ledger_v1_schema.schema.json b/src/quant_engine/models/generated/immutable_decision_ledger_v1_schema.schema.json deleted file mode 100644 index 688b12a2..00000000 --- a/src/quant_engine/models/generated/immutable_decision_ledger_v1_schema.schema.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/IMMUTABLE_DECISION_LEDGER_V1", - "title": "IMMUTABLE_DECISION_LEDGER_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "IMMUTABLE_DECISION_LEDGER_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "decision_id", - "input_hash_bundle", - "execution_mode", - "candidate_ids", - "selected_transition_id" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/intraday_action_matrix_v1_schema.py b/src/quant_engine/models/generated/intraday_action_matrix_v1_schema.py deleted file mode 100644 index 05037ead..00000000 --- a/src/quant_engine/models/generated/intraday_action_matrix_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'INTRADAY_ACTION_MATRIX_V1' -SCHEMA_ID = 'schema://formula/INTRADAY_ACTION_MATRIX_V1' -SCHEMA_PATH = 'schemas/generated/intraday_action_matrix_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/intraday_action_matrix_v1_schema.schema.json b/src/quant_engine/models/generated/intraday_action_matrix_v1_schema.schema.json deleted file mode 100644 index 8a5e6c18..00000000 --- a/src/quant_engine/models/generated/intraday_action_matrix_v1_schema.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/INTRADAY_ACTION_MATRIX_V1", - "title": "INTRADAY_ACTION_MATRIX_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "INTRADAY_ACTION_MATRIX_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "capture_time", - "market_date" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/investment_quality_headline_v1_schema.py b/src/quant_engine/models/generated/investment_quality_headline_v1_schema.py deleted file mode 100644 index 973d930b..00000000 --- a/src/quant_engine/models/generated/investment_quality_headline_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'INVESTMENT_QUALITY_HEADLINE_V1' -SCHEMA_ID = 'schema://formula/INVESTMENT_QUALITY_HEADLINE_V1' -SCHEMA_PATH = 'schemas/generated/investment_quality_headline_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/investment_quality_headline_v1_schema.schema.json b/src/quant_engine/models/generated/investment_quality_headline_v1_schema.schema.json deleted file mode 100644 index 8f78386c..00000000 --- a/src/quant_engine/models/generated/investment_quality_headline_v1_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/INVESTMENT_QUALITY_HEADLINE_V1", - "title": "INVESTMENT_QUALITY_HEADLINE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "INVESTMENT_QUALITY_HEADLINE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/k2_staged_rebound_sell_v1_schema.py b/src/quant_engine/models/generated/k2_staged_rebound_sell_v1_schema.py deleted file mode 100644 index bf663734..00000000 --- a/src/quant_engine/models/generated/k2_staged_rebound_sell_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'K2_STAGED_REBOUND_SELL_V1' -SCHEMA_ID = 'schema://formula/K2_STAGED_REBOUND_SELL_V1' -SCHEMA_PATH = 'schemas/generated/k2_staged_rebound_sell_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/k2_staged_rebound_sell_v1_schema.schema.json b/src/quant_engine/models/generated/k2_staged_rebound_sell_v1_schema.schema.json deleted file mode 100644 index 5b86c7d8..00000000 --- a/src/quant_engine/models/generated/k2_staged_rebound_sell_v1_schema.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/K2_STAGED_REBOUND_SELL_V1", - "title": "K2_STAGED_REBOUND_SELL_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "K2_STAGED_REBOUND_SELL_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "base_sell_qty", - "previous_close_price", - "atr20" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/leader_lifecycle_gate_v1_schema.py b/src/quant_engine/models/generated/leader_lifecycle_gate_v1_schema.py deleted file mode 100644 index af1b453a..00000000 --- a/src/quant_engine/models/generated/leader_lifecycle_gate_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'LEADER_LIFECYCLE_GATE_V1' -SCHEMA_ID = 'schema://formula/LEADER_LIFECYCLE_GATE_V1' -SCHEMA_PATH = 'schemas/generated/leader_lifecycle_gate_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/leader_lifecycle_gate_v1_schema.schema.json b/src/quant_engine/models/generated/leader_lifecycle_gate_v1_schema.schema.json deleted file mode 100644 index 79bda5d2..00000000 --- a/src/quant_engine/models/generated/leader_lifecycle_gate_v1_schema.schema.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/LEADER_LIFECYCLE_GATE_V1", - "title": "LEADER_LIFECYCLE_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "LEADER_LIFECYCLE_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "relative_strength_leads_sector", - "volume_quality_confirmed", - "above_ma60_or_reclaim_confirmed", - "earnings_revision_status", - "institutional_flow_status", - "current_role" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/leader_position_weight_cap_v1_schema.py b/src/quant_engine/models/generated/leader_position_weight_cap_v1_schema.py deleted file mode 100644 index 7c03b66c..00000000 --- a/src/quant_engine/models/generated/leader_position_weight_cap_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'LEADER_POSITION_WEIGHT_CAP_V1' -SCHEMA_ID = 'schema://formula/LEADER_POSITION_WEIGHT_CAP_V1' -SCHEMA_PATH = 'schemas/generated/leader_position_weight_cap_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/leader_position_weight_cap_v1_schema.schema.json b/src/quant_engine/models/generated/leader_position_weight_cap_v1_schema.schema.json deleted file mode 100644 index b1519fe0..00000000 --- a/src/quant_engine/models/generated/leader_position_weight_cap_v1_schema.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/LEADER_POSITION_WEIGHT_CAP_V1", - "title": "LEADER_POSITION_WEIGHT_CAP_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "LEADER_POSITION_WEIGHT_CAP_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "single_position_weight_json", - "market_regime" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/liquidity_flow_signal_v1_schema.py b/src/quant_engine/models/generated/liquidity_flow_signal_v1_schema.py deleted file mode 100644 index 323da1cd..00000000 --- a/src/quant_engine/models/generated/liquidity_flow_signal_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'LIQUIDITY_FLOW_SIGNAL_V1' -SCHEMA_ID = 'schema://formula/LIQUIDITY_FLOW_SIGNAL_V1' -SCHEMA_PATH = 'schemas/generated/liquidity_flow_signal_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/liquidity_flow_signal_v1_schema.schema.json b/src/quant_engine/models/generated/liquidity_flow_signal_v1_schema.schema.json deleted file mode 100644 index 883d1b87..00000000 --- a/src/quant_engine/models/generated/liquidity_flow_signal_v1_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/LIQUIDITY_FLOW_SIGNAL_V1", - "title": "LIQUIDITY_FLOW_SIGNAL_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "LIQUIDITY_FLOW_SIGNAL_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/llm_narrative_template_lock_v1_schema.py b/src/quant_engine/models/generated/llm_narrative_template_lock_v1_schema.py deleted file mode 100644 index ce28a27d..00000000 --- a/src/quant_engine/models/generated/llm_narrative_template_lock_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'LLM_NARRATIVE_TEMPLATE_LOCK_V1' -SCHEMA_ID = 'schema://formula/LLM_NARRATIVE_TEMPLATE_LOCK_V1' -SCHEMA_PATH = 'schemas/generated/llm_narrative_template_lock_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/llm_narrative_template_lock_v1_schema.schema.json b/src/quant_engine/models/generated/llm_narrative_template_lock_v1_schema.schema.json deleted file mode 100644 index 8af22630..00000000 --- a/src/quant_engine/models/generated/llm_narrative_template_lock_v1_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/LLM_NARRATIVE_TEMPLATE_LOCK_V1", - "title": "LLM_NARRATIVE_TEMPLATE_LOCK_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "LLM_NARRATIVE_TEMPLATE_LOCK_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/llm_serving_constraint_v1_schema.py b/src/quant_engine/models/generated/llm_serving_constraint_v1_schema.py deleted file mode 100644 index 134dd824..00000000 --- a/src/quant_engine/models/generated/llm_serving_constraint_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'LLM_SERVING_CONSTRAINT_V1' -SCHEMA_ID = 'schema://formula/LLM_SERVING_CONSTRAINT_V1' -SCHEMA_PATH = 'schemas/generated/llm_serving_constraint_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/llm_serving_constraint_v1_schema.schema.json b/src/quant_engine/models/generated/llm_serving_constraint_v1_schema.schema.json deleted file mode 100644 index f0111be1..00000000 --- a/src/quant_engine/models/generated/llm_serving_constraint_v1_schema.schema.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/LLM_SERVING_CONSTRAINT_V1", - "title": "LLM_SERVING_CONSTRAINT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "LLM_SERVING_CONSTRAINT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "harness_context" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/macro_event_ticker_impact_v1_schema.py b/src/quant_engine/models/generated/macro_event_ticker_impact_v1_schema.py deleted file mode 100644 index f663dea4..00000000 --- a/src/quant_engine/models/generated/macro_event_ticker_impact_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'MACRO_EVENT_TICKER_IMPACT_V1' -SCHEMA_ID = 'schema://formula/MACRO_EVENT_TICKER_IMPACT_V1' -SCHEMA_PATH = 'schemas/generated/macro_event_ticker_impact_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/macro_event_ticker_impact_v1_schema.schema.json b/src/quant_engine/models/generated/macro_event_ticker_impact_v1_schema.schema.json deleted file mode 100644 index 17aba788..00000000 --- a/src/quant_engine/models/generated/macro_event_ticker_impact_v1_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/MACRO_EVENT_TICKER_IMPACT_V1", - "title": "MACRO_EVENT_TICKER_IMPACT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "MACRO_EVENT_TICKER_IMPACT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/market_risk_score_v1_schema.py b/src/quant_engine/models/generated/market_risk_score_v1_schema.py deleted file mode 100644 index c1c9a534..00000000 --- a/src/quant_engine/models/generated/market_risk_score_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'MARKET_RISK_SCORE_V1' -SCHEMA_ID = 'schema://formula/MARKET_RISK_SCORE_V1' -SCHEMA_PATH = 'schemas/generated/market_risk_score_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/market_risk_score_v1_schema.schema.json b/src/quant_engine/models/generated/market_risk_score_v1_schema.schema.json deleted file mode 100644 index 179bb270..00000000 --- a/src/quant_engine/models/generated/market_risk_score_v1_schema.schema.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/MARKET_RISK_SCORE_V1", - "title": "MARKET_RISK_SCORE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "MARKET_RISK_SCORE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "vix_close", - "kospi_close", - "kospi_ma20", - "usd_krw", - "usd_jpy_2d_change_pct", - "credit_stress_status" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/market_share_momentum_proxy_v1_schema.py b/src/quant_engine/models/generated/market_share_momentum_proxy_v1_schema.py deleted file mode 100644 index 8689d7c5..00000000 --- a/src/quant_engine/models/generated/market_share_momentum_proxy_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'MARKET_SHARE_MOMENTUM_PROXY_V1' -SCHEMA_ID = 'schema://formula/MARKET_SHARE_MOMENTUM_PROXY_V1' -SCHEMA_PATH = 'schemas/generated/market_share_momentum_proxy_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/market_share_momentum_proxy_v1_schema.schema.json b/src/quant_engine/models/generated/market_share_momentum_proxy_v1_schema.schema.json deleted file mode 100644 index b41e8216..00000000 --- a/src/quant_engine/models/generated/market_share_momentum_proxy_v1_schema.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/MARKET_SHARE_MOMENTUM_PROXY_V1", - "title": "MARKET_SHARE_MOMENTUM_PROXY_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "MARKET_SHARE_MOMENTUM_PROXY_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "revenue_growth_pct", - "alpha_lead_score" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/market_share_signal_v2_schema.py b/src/quant_engine/models/generated/market_share_signal_v2_schema.py deleted file mode 100644 index 41aa387d..00000000 --- a/src/quant_engine/models/generated/market_share_signal_v2_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'MARKET_SHARE_SIGNAL_V2' -SCHEMA_ID = 'schema://formula/MARKET_SHARE_SIGNAL_V2' -SCHEMA_PATH = 'schemas/generated/market_share_signal_v2.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/market_share_signal_v2_schema.schema.json b/src/quant_engine/models/generated/market_share_signal_v2_schema.schema.json deleted file mode 100644 index e8d397a2..00000000 --- a/src/quant_engine/models/generated/market_share_signal_v2_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/MARKET_SHARE_SIGNAL_V2", - "title": "MARKET_SHARE_SIGNAL_V2", - "type": "object", - "properties": { - "formula_id": { - "const": "MARKET_SHARE_SIGNAL_V2" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/market_weight_aware_cluster_gate_v1_schema.py b/src/quant_engine/models/generated/market_weight_aware_cluster_gate_v1_schema.py deleted file mode 100644 index c114c249..00000000 --- a/src/quant_engine/models/generated/market_weight_aware_cluster_gate_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'MARKET_WEIGHT_AWARE_CLUSTER_GATE_V1' -SCHEMA_ID = 'schema://formula/MARKET_WEIGHT_AWARE_CLUSTER_GATE_V1' -SCHEMA_PATH = 'schemas/generated/market_weight_aware_cluster_gate_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/market_weight_aware_cluster_gate_v1_schema.schema.json b/src/quant_engine/models/generated/market_weight_aware_cluster_gate_v1_schema.schema.json deleted file mode 100644 index f9533098..00000000 --- a/src/quant_engine/models/generated/market_weight_aware_cluster_gate_v1_schema.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/MARKET_WEIGHT_AWARE_CLUSTER_GATE_V1", - "title": "MARKET_WEIGHT_AWARE_CLUSTER_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "MARKET_WEIGHT_AWARE_CLUSTER_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "semiconductor_cluster_json", - "market_regime" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/mean_reversion_gate_v1_schema.py b/src/quant_engine/models/generated/mean_reversion_gate_v1_schema.py deleted file mode 100644 index b5a02e38..00000000 --- a/src/quant_engine/models/generated/mean_reversion_gate_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'MEAN_REVERSION_GATE_V1' -SCHEMA_ID = 'schema://formula/MEAN_REVERSION_GATE_V1' -SCHEMA_PATH = 'schemas/generated/mean_reversion_gate_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/mean_reversion_gate_v1_schema.schema.json b/src/quant_engine/models/generated/mean_reversion_gate_v1_schema.schema.json deleted file mode 100644 index 985f7d85..00000000 --- a/src/quant_engine/models/generated/mean_reversion_gate_v1_schema.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/MEAN_REVERSION_GATE_V1", - "title": "MEAN_REVERSION_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "MEAN_REVERSION_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "close_price", - "ma20" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/model_governance_kill_switch_v1_schema.py b/src/quant_engine/models/generated/model_governance_kill_switch_v1_schema.py deleted file mode 100644 index 4478ac6e..00000000 --- a/src/quant_engine/models/generated/model_governance_kill_switch_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'MODEL_GOVERNANCE_KILL_SWITCH_V1' -SCHEMA_ID = 'schema://formula/MODEL_GOVERNANCE_KILL_SWITCH_V1' -SCHEMA_PATH = 'schemas/generated/model_governance_kill_switch_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/model_governance_kill_switch_v1_schema.schema.json b/src/quant_engine/models/generated/model_governance_kill_switch_v1_schema.schema.json deleted file mode 100644 index c164d1dc..00000000 --- a/src/quant_engine/models/generated/model_governance_kill_switch_v1_schema.schema.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/MODEL_GOVERNANCE_KILL_SWITCH_V1", - "title": "MODEL_GOVERNANCE_KILL_SWITCH_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "MODEL_GOVERNANCE_KILL_SWITCH_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "data_quarantine_rate_pct", - "implementation_shortfall_ratio", - "t5_hit_rate_pct", - "t5_sample_count", - "calibration_error", - "calibration_error_limit", - "account_mdd_pct", - "account_mdd_budget_pct" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/overhang_pressure_v1_schema.py b/src/quant_engine/models/generated/overhang_pressure_v1_schema.py deleted file mode 100644 index 6bacb132..00000000 --- a/src/quant_engine/models/generated/overhang_pressure_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'OVERHANG_PRESSURE_V1' -SCHEMA_ID = 'schema://formula/OVERHANG_PRESSURE_V1' -SCHEMA_PATH = 'schemas/generated/overhang_pressure_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/overhang_pressure_v1_schema.schema.json b/src/quant_engine/models/generated/overhang_pressure_v1_schema.schema.json deleted file mode 100644 index baec3af0..00000000 --- a/src/quant_engine/models/generated/overhang_pressure_v1_schema.schema.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/OVERHANG_PRESSURE_V1", - "title": "OVERHANG_PRESSURE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "OVERHANG_PRESSURE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "frg_5d_sh", - "frg_20d_sh", - "volume", - "avg_volume_5d", - "flow_credit" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/oversold_delay_v1_schema.py b/src/quant_engine/models/generated/oversold_delay_v1_schema.py deleted file mode 100644 index d2012810..00000000 --- a/src/quant_engine/models/generated/oversold_delay_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'OVERSOLD_DELAY_V1' -SCHEMA_ID = 'schema://formula/OVERSOLD_DELAY_V1' -SCHEMA_PATH = 'schemas/generated/oversold_delay_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/oversold_delay_v1_schema.schema.json b/src/quant_engine/models/generated/oversold_delay_v1_schema.schema.json deleted file mode 100644 index a0769be5..00000000 --- a/src/quant_engine/models/generated/oversold_delay_v1_schema.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/OVERSOLD_DELAY_V1", - "title": "OVERSOLD_DELAY_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "OVERSOLD_DELAY_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "rsi_14", - "current_price", - "cash_shortfall_krw" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/pattern_blacklist_auto_v1_schema.py b/src/quant_engine/models/generated/pattern_blacklist_auto_v1_schema.py deleted file mode 100644 index 785b2e22..00000000 --- a/src/quant_engine/models/generated/pattern_blacklist_auto_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'PATTERN_BLACKLIST_AUTO_V1' -SCHEMA_ID = 'schema://formula/PATTERN_BLACKLIST_AUTO_V1' -SCHEMA_PATH = 'schemas/generated/pattern_blacklist_auto_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/pattern_blacklist_auto_v1_schema.schema.json b/src/quant_engine/models/generated/pattern_blacklist_auto_v1_schema.schema.json deleted file mode 100644 index 309e1231..00000000 --- a/src/quant_engine/models/generated/pattern_blacklist_auto_v1_schema.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/PATTERN_BLACKLIST_AUTO_V1", - "title": "PATTERN_BLACKLIST_AUTO_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "PATTERN_BLACKLIST_AUTO_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "trade_quality_json", - "monthly_history" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/peg_score_v1_schema.py b/src/quant_engine/models/generated/peg_score_v1_schema.py deleted file mode 100644 index 539d0344..00000000 --- a/src/quant_engine/models/generated/peg_score_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'PEG_SCORE_V1' -SCHEMA_ID = 'schema://formula/PEG_SCORE_V1' -SCHEMA_PATH = 'schemas/generated/peg_score_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/peg_score_v1_schema.schema.json b/src/quant_engine/models/generated/peg_score_v1_schema.schema.json deleted file mode 100644 index 1f7c6450..00000000 --- a/src/quant_engine/models/generated/peg_score_v1_schema.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/PEG_SCORE_V1", - "title": "PEG_SCORE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "PEG_SCORE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "forward_pe", - "eps_growth_3y_cagr_pct", - "sector_median_forward_pe" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/portfolio_alpha_confidence_per_ticker_v1_schema.py b/src/quant_engine/models/generated/portfolio_alpha_confidence_per_ticker_v1_schema.py deleted file mode 100644 index ecadfc12..00000000 --- a/src/quant_engine/models/generated/portfolio_alpha_confidence_per_ticker_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'PORTFOLIO_ALPHA_CONFIDENCE_PER_TICKER_V1' -SCHEMA_ID = 'schema://formula/PORTFOLIO_ALPHA_CONFIDENCE_PER_TICKER_V1' -SCHEMA_PATH = 'schemas/generated/portfolio_alpha_confidence_per_ticker_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/portfolio_alpha_confidence_per_ticker_v1_schema.schema.json b/src/quant_engine/models/generated/portfolio_alpha_confidence_per_ticker_v1_schema.schema.json deleted file mode 100644 index 6e872c19..00000000 --- a/src/quant_engine/models/generated/portfolio_alpha_confidence_per_ticker_v1_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/PORTFOLIO_ALPHA_CONFIDENCE_PER_TICKER_V1", - "title": "PORTFOLIO_ALPHA_CONFIDENCE_PER_TICKER_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "PORTFOLIO_ALPHA_CONFIDENCE_PER_TICKER_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/portfolio_band_status_v1_schema.py b/src/quant_engine/models/generated/portfolio_band_status_v1_schema.py deleted file mode 100644 index 1e5f76b9..00000000 --- a/src/quant_engine/models/generated/portfolio_band_status_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'PORTFOLIO_BAND_STATUS_V1' -SCHEMA_ID = 'schema://formula/PORTFOLIO_BAND_STATUS_V1' -SCHEMA_PATH = 'schemas/generated/portfolio_band_status_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/portfolio_band_status_v1_schema.schema.json b/src/quant_engine/models/generated/portfolio_band_status_v1_schema.schema.json deleted file mode 100644 index c9e070d5..00000000 --- a/src/quant_engine/models/generated/portfolio_band_status_v1_schema.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/PORTFOLIO_BAND_STATUS_V1", - "title": "PORTFOLIO_BAND_STATUS_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "PORTFOLIO_BAND_STATUS_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "current_weight_pct", - "target_band_min_pct", - "target_band_max_pct" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/portfolio_beta_v1_schema.py b/src/quant_engine/models/generated/portfolio_beta_v1_schema.py deleted file mode 100644 index 3920e056..00000000 --- a/src/quant_engine/models/generated/portfolio_beta_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'PORTFOLIO_BETA_V1' -SCHEMA_ID = 'schema://formula/PORTFOLIO_BETA_V1' -SCHEMA_PATH = 'schemas/generated/portfolio_beta_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/portfolio_beta_v1_schema.schema.json b/src/quant_engine/models/generated/portfolio_beta_v1_schema.schema.json deleted file mode 100644 index c7d9df31..00000000 --- a/src/quant_engine/models/generated/portfolio_beta_v1_schema.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/PORTFOLIO_BETA_V1", - "title": "PORTFOLIO_BETA_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "PORTFOLIO_BETA_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "beta_i", - "market_value_i", - "total_equity_value" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/portfolio_correlation_gate_v1_schema.py b/src/quant_engine/models/generated/portfolio_correlation_gate_v1_schema.py deleted file mode 100644 index 8412d751..00000000 --- a/src/quant_engine/models/generated/portfolio_correlation_gate_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'PORTFOLIO_CORRELATION_GATE_V1' -SCHEMA_ID = 'schema://formula/PORTFOLIO_CORRELATION_GATE_V1' -SCHEMA_PATH = 'schemas/generated/portfolio_correlation_gate_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/portfolio_correlation_gate_v1_schema.schema.json b/src/quant_engine/models/generated/portfolio_correlation_gate_v1_schema.schema.json deleted file mode 100644 index d22e6a15..00000000 --- a/src/quant_engine/models/generated/portfolio_correlation_gate_v1_schema.schema.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/PORTFOLIO_CORRELATION_GATE_V1", - "title": "PORTFOLIO_CORRELATION_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "PORTFOLIO_CORRELATION_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "ticker", - "price.ret20D", - "beta_proxy", - "weight_pct" - ], - "x_formula_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]" - } - ] -} diff --git a/src/quant_engine/models/generated/portfolio_drawdown_gate_v1_schema.py b/src/quant_engine/models/generated/portfolio_drawdown_gate_v1_schema.py deleted file mode 100644 index ecbe58e1..00000000 --- a/src/quant_engine/models/generated/portfolio_drawdown_gate_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'PORTFOLIO_DRAWDOWN_GATE_V1' -SCHEMA_ID = 'schema://formula/PORTFOLIO_DRAWDOWN_GATE_V1' -SCHEMA_PATH = 'schemas/generated/portfolio_drawdown_gate_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/portfolio_drawdown_gate_v1_schema.schema.json b/src/quant_engine/models/generated/portfolio_drawdown_gate_v1_schema.schema.json deleted file mode 100644 index 94cafe05..00000000 --- a/src/quant_engine/models/generated/portfolio_drawdown_gate_v1_schema.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/PORTFOLIO_DRAWDOWN_GATE_V1", - "title": "PORTFOLIO_DRAWDOWN_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "PORTFOLIO_DRAWDOWN_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "portfolio_peak_krw", - "total_asset_krw" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/portfolio_transition_optimizer_v1_schema.py b/src/quant_engine/models/generated/portfolio_transition_optimizer_v1_schema.py deleted file mode 100644 index 33d73605..00000000 --- a/src/quant_engine/models/generated/portfolio_transition_optimizer_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'PORTFOLIO_TRANSITION_UTILITY_V1' -SCHEMA_ID = 'schema://formula/PORTFOLIO_TRANSITION_UTILITY_V1' -SCHEMA_PATH = 'schemas/generated/portfolio_transition_optimizer_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/portfolio_transition_optimizer_v1_schema.schema.json b/src/quant_engine/models/generated/portfolio_transition_optimizer_v1_schema.schema.json deleted file mode 100644 index 9fbea370..00000000 --- a/src/quant_engine/models/generated/portfolio_transition_optimizer_v1_schema.schema.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/PORTFOLIO_TRANSITION_UTILITY_V1", - "title": "PORTFOLIO_TRANSITION_UTILITY_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "PORTFOLIO_TRANSITION_UTILITY_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "ce70_net_profit_krw", - "tax_fee_slippage_krw", - "cash_repair_benefit_krw", - "concentration_reduction_benefit_krw", - "turnover_penalty_krw" - ], - "x_formula_outputs": [ - "transition_utility_krw", - "acceptance_margin_krw", - "selected_transition" - ] -} diff --git a/src/quant_engine/models/generated/portfolio_transition_utility_v1_schema.py b/src/quant_engine/models/generated/portfolio_transition_utility_v1_schema.py deleted file mode 100644 index 49914c40..00000000 --- a/src/quant_engine/models/generated/portfolio_transition_utility_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'PORTFOLIO_TRANSITION_UTILITY_V1' -SCHEMA_ID = 'schema://formula/PORTFOLIO_TRANSITION_UTILITY_V1' -SCHEMA_PATH = 'schemas/generated/portfolio_transition_utility_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/portfolio_transition_utility_v1_schema.schema.json b/src/quant_engine/models/generated/portfolio_transition_utility_v1_schema.schema.json deleted file mode 100644 index 6a86580e..00000000 --- a/src/quant_engine/models/generated/portfolio_transition_utility_v1_schema.schema.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/PORTFOLIO_TRANSITION_UTILITY_V1", - "title": "PORTFOLIO_TRANSITION_UTILITY_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "PORTFOLIO_TRANSITION_UTILITY_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "ce70_net_profit_krw", - "tax_fee_slippage_krw", - "cash_repair_benefit_krw", - "concentration_reduction_benefit_krw", - "turnover_penalty_krw" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/position_count_limit_v1_schema.py b/src/quant_engine/models/generated/position_count_limit_v1_schema.py deleted file mode 100644 index a57b2424..00000000 --- a/src/quant_engine/models/generated/position_count_limit_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'POSITION_COUNT_LIMIT_V1' -SCHEMA_ID = 'schema://formula/POSITION_COUNT_LIMIT_V1' -SCHEMA_PATH = 'schemas/generated/position_count_limit_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/position_count_limit_v1_schema.schema.json b/src/quant_engine/models/generated/position_count_limit_v1_schema.schema.json deleted file mode 100644 index dcd5d2ea..00000000 --- a/src/quant_engine/models/generated/position_count_limit_v1_schema.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/POSITION_COUNT_LIMIT_V1", - "title": "POSITION_COUNT_LIMIT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "POSITION_COUNT_LIMIT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "position_count", - "market_regime" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/position_size_regime_scale_v1_schema.py b/src/quant_engine/models/generated/position_size_regime_scale_v1_schema.py deleted file mode 100644 index 3397ce6e..00000000 --- a/src/quant_engine/models/generated/position_size_regime_scale_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'POSITION_SIZE_REGIME_SCALE_V1' -SCHEMA_ID = 'schema://formula/POSITION_SIZE_REGIME_SCALE_V1' -SCHEMA_PATH = 'schemas/generated/position_size_regime_scale_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/position_size_regime_scale_v1_schema.schema.json b/src/quant_engine/models/generated/position_size_regime_scale_v1_schema.schema.json deleted file mode 100644 index 8c9020b7..00000000 --- a/src/quant_engine/models/generated/position_size_regime_scale_v1_schema.schema.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/POSITION_SIZE_REGIME_SCALE_V1", - "title": "POSITION_SIZE_REGIME_SCALE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "POSITION_SIZE_REGIME_SCALE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "market_regime" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/position_size_v1_schema.py b/src/quant_engine/models/generated/position_size_v1_schema.py deleted file mode 100644 index 078ede79..00000000 --- a/src/quant_engine/models/generated/position_size_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'POSITION_SIZE_V1' -SCHEMA_ID = 'schema://formula/POSITION_SIZE_V1' -SCHEMA_PATH = 'schemas/generated/position_size_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/position_size_v1_schema.schema.json b/src/quant_engine/models/generated/position_size_v1_schema.schema.json deleted file mode 100644 index 3a56a609..00000000 --- a/src/quant_engine/models/generated/position_size_v1_schema.schema.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/POSITION_SIZE_V1", - "title": "POSITION_SIZE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "POSITION_SIZE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "total_asset", - "final_risk_budget", - "atr20", - "atr_multiplier", - "available_cash", - "entry_price", - "target_weight_limit_amount", - "sector_limit_amount", - "liquidity_limit_amount" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/prediction_accuracy_harness_v2_schema.py b/src/quant_engine/models/generated/prediction_accuracy_harness_v2_schema.py deleted file mode 100644 index 90805b5c..00000000 --- a/src/quant_engine/models/generated/prediction_accuracy_harness_v2_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'PREDICTION_ACCURACY_HARNESS_V2' -SCHEMA_ID = 'schema://formula/PREDICTION_ACCURACY_HARNESS_V2' -SCHEMA_PATH = 'schemas/generated/prediction_accuracy_harness_v2.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/prediction_accuracy_harness_v2_schema.schema.json b/src/quant_engine/models/generated/prediction_accuracy_harness_v2_schema.schema.json deleted file mode 100644 index b815553c..00000000 --- a/src/quant_engine/models/generated/prediction_accuracy_harness_v2_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/PREDICTION_ACCURACY_HARNESS_V2", - "title": "PREDICTION_ACCURACY_HARNESS_V2", - "type": "object", - "properties": { - "formula_id": { - "const": "PREDICTION_ACCURACY_HARNESS_V2" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/predictive_alpha_report_lock_v2_schema.py b/src/quant_engine/models/generated/predictive_alpha_report_lock_v2_schema.py deleted file mode 100644 index 2d6beebe..00000000 --- a/src/quant_engine/models/generated/predictive_alpha_report_lock_v2_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'PREDICTIVE_ALPHA_REPORT_LOCK_V2' -SCHEMA_ID = 'schema://formula/PREDICTIVE_ALPHA_REPORT_LOCK_V2' -SCHEMA_PATH = 'schemas/generated/predictive_alpha_report_lock_v2.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/predictive_alpha_report_lock_v2_schema.schema.json b/src/quant_engine/models/generated/predictive_alpha_report_lock_v2_schema.schema.json deleted file mode 100644 index 04941116..00000000 --- a/src/quant_engine/models/generated/predictive_alpha_report_lock_v2_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/PREDICTIVE_ALPHA_REPORT_LOCK_V2", - "title": "PREDICTIVE_ALPHA_REPORT_LOCK_V2", - "type": "object", - "properties": { - "formula_id": { - "const": "PREDICTIVE_ALPHA_REPORT_LOCK_V2" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/profit_giveback_ratchet_factor_v1_schema.py b/src/quant_engine/models/generated/profit_giveback_ratchet_factor_v1_schema.py deleted file mode 100644 index 409cd3aa..00000000 --- a/src/quant_engine/models/generated/profit_giveback_ratchet_factor_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'PROFIT_GIVEBACK_RATCHET_FACTOR_V1' -SCHEMA_ID = 'schema://formula/PROFIT_GIVEBACK_RATCHET_FACTOR_V1' -SCHEMA_PATH = 'schemas/generated/profit_giveback_ratchet_factor_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/profit_giveback_ratchet_factor_v1_schema.schema.json b/src/quant_engine/models/generated/profit_giveback_ratchet_factor_v1_schema.schema.json deleted file mode 100644 index 06ed139e..00000000 --- a/src/quant_engine/models/generated/profit_giveback_ratchet_factor_v1_schema.schema.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/PROFIT_GIVEBACK_RATCHET_FACTOR_V1", - "title": "PROFIT_GIVEBACK_RATCHET_FACTOR_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "PROFIT_GIVEBACK_RATCHET_FACTOR_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "prev_trail_stop", - "high_since_entry", - "atr20", - "market_regime", - "profit_pct" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/profit_lock_ratchet_v1_schema.py b/src/quant_engine/models/generated/profit_lock_ratchet_v1_schema.py deleted file mode 100644 index a3c56c0a..00000000 --- a/src/quant_engine/models/generated/profit_lock_ratchet_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'PROFIT_LOCK_RATCHET_V1' -SCHEMA_ID = 'schema://formula/PROFIT_LOCK_RATCHET_V1' -SCHEMA_PATH = 'schemas/generated/profit_lock_ratchet_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/profit_lock_ratchet_v1_schema.schema.json b/src/quant_engine/models/generated/profit_lock_ratchet_v1_schema.schema.json deleted file mode 100644 index c9bf05a1..00000000 --- a/src/quant_engine/models/generated/profit_lock_ratchet_v1_schema.schema.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/PROFIT_LOCK_RATCHET_V1", - "title": "PROFIT_LOCK_RATCHET_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "PROFIT_LOCK_RATCHET_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "average_cost", - "tier_completed", - "highest_price_since_entry", - "atr20" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/profit_lock_stage_v1_schema.py b/src/quant_engine/models/generated/profit_lock_stage_v1_schema.py deleted file mode 100644 index 2433b5f7..00000000 --- a/src/quant_engine/models/generated/profit_lock_stage_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'PROFIT_LOCK_STAGE_V1' -SCHEMA_ID = 'schema://formula/PROFIT_LOCK_STAGE_V1' -SCHEMA_PATH = 'schemas/generated/profit_lock_stage_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/profit_lock_stage_v1_schema.schema.json b/src/quant_engine/models/generated/profit_lock_stage_v1_schema.schema.json deleted file mode 100644 index bdfee8a2..00000000 --- a/src/quant_engine/models/generated/profit_lock_stage_v1_schema.schema.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/PROFIT_LOCK_STAGE_V1", - "title": "PROFIT_LOCK_STAGE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "PROFIT_LOCK_STAGE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "profit_pct" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/profit_ratchet_tiered_v2_schema.py b/src/quant_engine/models/generated/profit_ratchet_tiered_v2_schema.py deleted file mode 100644 index 8248341c..00000000 --- a/src/quant_engine/models/generated/profit_ratchet_tiered_v2_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'PROFIT_RATCHET_TIERED_V2' -SCHEMA_ID = 'schema://formula/PROFIT_RATCHET_TIERED_V2' -SCHEMA_PATH = 'schemas/generated/profit_ratchet_tiered_v2.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/profit_ratchet_tiered_v2_schema.schema.json b/src/quant_engine/models/generated/profit_ratchet_tiered_v2_schema.schema.json deleted file mode 100644 index 237c4d35..00000000 --- a/src/quant_engine/models/generated/profit_ratchet_tiered_v2_schema.schema.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/PROFIT_RATCHET_TIERED_V2", - "title": "PROFIT_RATCHET_TIERED_V2", - "type": "object", - "properties": { - "formula_id": { - "const": "PROFIT_RATCHET_TIERED_V2" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "profit_pct", - "profit_lock_stage", - "highest_close", - "atr20", - "average_cost", - "quantity", - "secular_leader_gate_active" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/pullback_entry_trigger_v1_schema.py b/src/quant_engine/models/generated/pullback_entry_trigger_v1_schema.py deleted file mode 100644 index b1fc4345..00000000 --- a/src/quant_engine/models/generated/pullback_entry_trigger_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'PULLBACK_ENTRY_TRIGGER_V1' -SCHEMA_ID = 'schema://formula/PULLBACK_ENTRY_TRIGGER_V1' -SCHEMA_PATH = 'schemas/generated/pullback_entry_trigger_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/pullback_entry_trigger_v1_schema.schema.json b/src/quant_engine/models/generated/pullback_entry_trigger_v1_schema.schema.json deleted file mode 100644 index 8840a222..00000000 --- a/src/quant_engine/models/generated/pullback_entry_trigger_v1_schema.schema.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/PULLBACK_ENTRY_TRIGGER_V1", - "title": "PULLBACK_ENTRY_TRIGGER_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "PULLBACK_ENTRY_TRIGGER_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "velocity_1d", - "close", - "ma20", - "volume", - "avg_volume_5d", - "alpha_lead_score", - "anti_chasing_status" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/ratchet_trailing_general_v1_schema.py b/src/quant_engine/models/generated/ratchet_trailing_general_v1_schema.py deleted file mode 100644 index 2dc79c5b..00000000 --- a/src/quant_engine/models/generated/ratchet_trailing_general_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'RATCHET_TRAILING_GENERAL_V1' -SCHEMA_ID = 'schema://formula/RATCHET_TRAILING_GENERAL_V1' -SCHEMA_PATH = 'schemas/generated/ratchet_trailing_general_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/ratchet_trailing_general_v1_schema.schema.json b/src/quant_engine/models/generated/ratchet_trailing_general_v1_schema.schema.json deleted file mode 100644 index 5dfa82a6..00000000 --- a/src/quant_engine/models/generated/ratchet_trailing_general_v1_schema.schema.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/RATCHET_TRAILING_GENERAL_V1", - "title": "RATCHET_TRAILING_GENERAL_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "RATCHET_TRAILING_GENERAL_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "Profit_Pct", - "Close", - "ATR20", - "High52W", - "Stop_Price_Est", - "Account_Avg_Cost" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/rebalance_cadence_gate_v1_schema.py b/src/quant_engine/models/generated/rebalance_cadence_gate_v1_schema.py deleted file mode 100644 index 4ce48efa..00000000 --- a/src/quant_engine/models/generated/rebalance_cadence_gate_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'REBALANCE_CADENCE_GATE_V1' -SCHEMA_ID = 'schema://formula/REBALANCE_CADENCE_GATE_V1' -SCHEMA_PATH = 'schemas/generated/rebalance_cadence_gate_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/rebalance_cadence_gate_v1_schema.schema.json b/src/quant_engine/models/generated/rebalance_cadence_gate_v1_schema.schema.json deleted file mode 100644 index 7f53e2ac..00000000 --- a/src/quant_engine/models/generated/rebalance_cadence_gate_v1_schema.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/REBALANCE_CADENCE_GATE_V1", - "title": "REBALANCE_CADENCE_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "REBALANCE_CADENCE_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "today_date", - "transition_utility_after_tax_cost_krw", - "hard_risk_block_active" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/rebound_capture_thesis_factor_v1_schema.py b/src/quant_engine/models/generated/rebound_capture_thesis_factor_v1_schema.py deleted file mode 100644 index 33e7d723..00000000 --- a/src/quant_engine/models/generated/rebound_capture_thesis_factor_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'REBOUND_CAPTURE_THESIS_FACTOR_V1' -SCHEMA_ID = 'schema://formula/REBOUND_CAPTURE_THESIS_FACTOR_V1' -SCHEMA_PATH = 'schemas/generated/rebound_capture_thesis_factor_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/rebound_capture_thesis_factor_v1_schema.schema.json b/src/quant_engine/models/generated/rebound_capture_thesis_factor_v1_schema.schema.json deleted file mode 100644 index 9530cfed..00000000 --- a/src/quant_engine/models/generated/rebound_capture_thesis_factor_v1_schema.schema.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/REBOUND_CAPTURE_THESIS_FACTOR_V1", - "title": "REBOUND_CAPTURE_THESIS_FACTOR_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "REBOUND_CAPTURE_THESIS_FACTOR_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "rsi14", - "current_price", - "ma20", - "flow_credit", - "down_streak" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/regime_cash_uplift_v1_schema.py b/src/quant_engine/models/generated/regime_cash_uplift_v1_schema.py deleted file mode 100644 index bd76521b..00000000 --- a/src/quant_engine/models/generated/regime_cash_uplift_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'REGIME_CASH_UPLIFT_V1' -SCHEMA_ID = 'schema://formula/REGIME_CASH_UPLIFT_V1' -SCHEMA_PATH = 'schemas/generated/regime_cash_uplift_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/regime_cash_uplift_v1_schema.schema.json b/src/quant_engine/models/generated/regime_cash_uplift_v1_schema.schema.json deleted file mode 100644 index 6b2a6010..00000000 --- a/src/quant_engine/models/generated/regime_cash_uplift_v1_schema.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/REGIME_CASH_UPLIFT_V1", - "title": "REGIME_CASH_UPLIFT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "REGIME_CASH_UPLIFT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "market_regime", - "market_risk_score" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/regime_conditional_macro_factor_v1_schema.py b/src/quant_engine/models/generated/regime_conditional_macro_factor_v1_schema.py deleted file mode 100644 index 1daed9b0..00000000 --- a/src/quant_engine/models/generated/regime_conditional_macro_factor_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'REGIME_CONDITIONAL_MACRO_FACTOR_V1' -SCHEMA_ID = 'schema://formula/REGIME_CONDITIONAL_MACRO_FACTOR_V1' -SCHEMA_PATH = 'schemas/generated/regime_conditional_macro_factor_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/regime_conditional_macro_factor_v1_schema.schema.json b/src/quant_engine/models/generated/regime_conditional_macro_factor_v1_schema.schema.json deleted file mode 100644 index 9f0a88ab..00000000 --- a/src/quant_engine/models/generated/regime_conditional_macro_factor_v1_schema.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/REGIME_CONDITIONAL_MACRO_FACTOR_V1", - "title": "REGIME_CONDITIONAL_MACRO_FACTOR_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "REGIME_CONDITIONAL_MACRO_FACTOR_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "base_macro_score", - "ticker", - "ticker_type" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/regime_trim_guidance_v1_schema.py b/src/quant_engine/models/generated/regime_trim_guidance_v1_schema.py deleted file mode 100644 index 9ea629a1..00000000 --- a/src/quant_engine/models/generated/regime_trim_guidance_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'REGIME_TRIM_GUIDANCE_V1' -SCHEMA_ID = 'schema://formula/REGIME_TRIM_GUIDANCE_V1' -SCHEMA_PATH = 'schemas/generated/regime_trim_guidance_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/regime_trim_guidance_v1_schema.schema.json b/src/quant_engine/models/generated/regime_trim_guidance_v1_schema.schema.json deleted file mode 100644 index bb4792a8..00000000 --- a/src/quant_engine/models/generated/regime_trim_guidance_v1_schema.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/REGIME_TRIM_GUIDANCE_V1", - "title": "REGIME_TRIM_GUIDANCE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "REGIME_TRIM_GUIDANCE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "regime_adjusted_sell_priority_json", - "market_regime" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/relative_underperf_alert_v1_schema.py b/src/quant_engine/models/generated/relative_underperf_alert_v1_schema.py deleted file mode 100644 index 6aa65ebd..00000000 --- a/src/quant_engine/models/generated/relative_underperf_alert_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'RELATIVE_UNDERPERF_ALERT_V1' -SCHEMA_ID = 'schema://formula/RELATIVE_UNDERPERF_ALERT_V1' -SCHEMA_PATH = 'schemas/generated/relative_underperf_alert_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/relative_underperf_alert_v1_schema.schema.json b/src/quant_engine/models/generated/relative_underperf_alert_v1_schema.schema.json deleted file mode 100644 index 0c5ac3b3..00000000 --- a/src/quant_engine/models/generated/relative_underperf_alert_v1_schema.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/RELATIVE_UNDERPERF_ALERT_V1", - "title": "RELATIVE_UNDERPERF_ALERT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "RELATIVE_UNDERPERF_ALERT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "holdings", - "df_map", - "kospi_ret20d" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/replacement_alpha_gate_v1_schema.py b/src/quant_engine/models/generated/replacement_alpha_gate_v1_schema.py deleted file mode 100644 index 8ff03b95..00000000 --- a/src/quant_engine/models/generated/replacement_alpha_gate_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'REPLACEMENT_ALPHA_GATE_V1' -SCHEMA_ID = 'schema://formula/REPLACEMENT_ALPHA_GATE_V1' -SCHEMA_PATH = 'schemas/generated/replacement_alpha_gate_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/replacement_alpha_gate_v1_schema.schema.json b/src/quant_engine/models/generated/replacement_alpha_gate_v1_schema.schema.json deleted file mode 100644 index 73a2433e..00000000 --- a/src/quant_engine/models/generated/replacement_alpha_gate_v1_schema.schema.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/REPLACEMENT_ALPHA_GATE_V1", - "title": "REPLACEMENT_ALPHA_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "REPLACEMENT_ALPHA_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "rs_verdict", - "ss001_grade", - "excess_ret_10d", - "portfolioStats.coreAvgSS001" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/risk_budget_cascade_v1_schema.py b/src/quant_engine/models/generated/risk_budget_cascade_v1_schema.py deleted file mode 100644 index ed67b9fa..00000000 --- a/src/quant_engine/models/generated/risk_budget_cascade_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'RISK_BUDGET_CASCADE_V1' -SCHEMA_ID = 'schema://formula/RISK_BUDGET_CASCADE_V1' -SCHEMA_PATH = 'schemas/generated/risk_budget_cascade_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/risk_budget_cascade_v1_schema.schema.json b/src/quant_engine/models/generated/risk_budget_cascade_v1_schema.schema.json deleted file mode 100644 index b0c26c94..00000000 --- a/src/quant_engine/models/generated/risk_budget_cascade_v1_schema.schema.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/RISK_BUDGET_CASCADE_V1", - "title": "RISK_BUDGET_CASCADE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "RISK_BUDGET_CASCADE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "base_risk_budget", - "net_return_feedback_multiplier", - "performance_brake_multiplier", - "regime_reset_multiplier", - "bayesian_confidence_multiplier", - "kelly_brake_multiplier" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/routing_decision_explain_lock_v1_schema.py b/src/quant_engine/models/generated/routing_decision_explain_lock_v1_schema.py deleted file mode 100644 index 5a911e1a..00000000 --- a/src/quant_engine/models/generated/routing_decision_explain_lock_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'ROUTING_DECISION_EXPLAIN_LOCK_V1' -SCHEMA_ID = 'schema://formula/ROUTING_DECISION_EXPLAIN_LOCK_V1' -SCHEMA_PATH = 'schemas/generated/routing_decision_explain_lock_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/routing_decision_explain_lock_v1_schema.schema.json b/src/quant_engine/models/generated/routing_decision_explain_lock_v1_schema.schema.json deleted file mode 100644 index 36416b45..00000000 --- a/src/quant_engine/models/generated/routing_decision_explain_lock_v1_schema.schema.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/ROUTING_DECISION_EXPLAIN_LOCK_V1", - "title": "ROUTING_DECISION_EXPLAIN_LOCK_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "ROUTING_DECISION_EXPLAIN_LOCK_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "export_gate_json" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/routing_execution_log_table_v1_schema.py b/src/quant_engine/models/generated/routing_execution_log_table_v1_schema.py deleted file mode 100644 index 4418fb69..00000000 --- a/src/quant_engine/models/generated/routing_execution_log_table_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'ROUTING_EXECUTION_LOG_TABLE_V1' -SCHEMA_ID = 'schema://formula/ROUTING_EXECUTION_LOG_TABLE_V1' -SCHEMA_PATH = 'schemas/generated/routing_execution_log_table_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/routing_execution_log_table_v1_schema.schema.json b/src/quant_engine/models/generated/routing_execution_log_table_v1_schema.schema.json deleted file mode 100644 index 6c1bd500..00000000 --- a/src/quant_engine/models/generated/routing_execution_log_table_v1_schema.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/ROUTING_EXECUTION_LOG_TABLE_V1", - "title": "ROUTING_EXECUTION_LOG_TABLE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "ROUTING_EXECUTION_LOG_TABLE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "routing_execution_log", - "_harness_context" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/routing_serving_decision_trace_v2_schema.py b/src/quant_engine/models/generated/routing_serving_decision_trace_v2_schema.py deleted file mode 100644 index f84a83f2..00000000 --- a/src/quant_engine/models/generated/routing_serving_decision_trace_v2_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'ROUTING_SERVING_DECISION_TRACE_V2' -SCHEMA_ID = 'schema://formula/ROUTING_SERVING_DECISION_TRACE_V2' -SCHEMA_PATH = 'schemas/generated/routing_serving_decision_trace_v2.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/routing_serving_decision_trace_v2_schema.schema.json b/src/quant_engine/models/generated/routing_serving_decision_trace_v2_schema.schema.json deleted file mode 100644 index 60e74c51..00000000 --- a/src/quant_engine/models/generated/routing_serving_decision_trace_v2_schema.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/ROUTING_SERVING_DECISION_TRACE_V2", - "title": "ROUTING_SERVING_DECISION_TRACE_V2", - "type": "object", - "properties": { - "formula_id": { - "const": "ROUTING_SERVING_DECISION_TRACE_V2" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "routing_trace_json", - "export_gate_json" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/rs_momentum_v1_schema.py b/src/quant_engine/models/generated/rs_momentum_v1_schema.py deleted file mode 100644 index fd85ecb9..00000000 --- a/src/quant_engine/models/generated/rs_momentum_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'RS_MOMENTUM_V1' -SCHEMA_ID = 'schema://formula/RS_MOMENTUM_V1' -SCHEMA_PATH = 'schemas/generated/rs_momentum_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/rs_momentum_v1_schema.schema.json b/src/quant_engine/models/generated/rs_momentum_v1_schema.schema.json deleted file mode 100644 index 6a93456f..00000000 --- a/src/quant_engine/models/generated/rs_momentum_v1_schema.schema.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/RS_MOMENTUM_V1", - "title": "RS_MOMENTUM_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "RS_MOMENTUM_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "close_price", - "ma20", - "avg_trade_value_5d", - "avg_trade_value_20d", - "relative_strength_1m_percentile" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/rs_ratio_v1_schema.py b/src/quant_engine/models/generated/rs_ratio_v1_schema.py deleted file mode 100644 index f5a52c3b..00000000 --- a/src/quant_engine/models/generated/rs_ratio_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'RS_RATIO_V1' -SCHEMA_ID = 'schema://formula/RS_RATIO_V1' -SCHEMA_PATH = 'schemas/generated/rs_ratio_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/rs_ratio_v1_schema.schema.json b/src/quant_engine/models/generated/rs_ratio_v1_schema.schema.json deleted file mode 100644 index 39e1bfb5..00000000 --- a/src/quant_engine/models/generated/rs_ratio_v1_schema.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/RS_RATIO_V1", - "title": "RS_RATIO_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "RS_RATIO_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "stock_close_5d_return", - "kospi_close_5d_return" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/rs_verdict_v1_schema.py b/src/quant_engine/models/generated/rs_verdict_v1_schema.py deleted file mode 100644 index 27a289f8..00000000 --- a/src/quant_engine/models/generated/rs_verdict_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'RS_VERDICT_V1' -SCHEMA_ID = 'schema://formula/RS_VERDICT_V1' -SCHEMA_PATH = 'schemas/generated/rs_verdict_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/rs_verdict_v1_schema.schema.json b/src/quant_engine/models/generated/rs_verdict_v1_schema.schema.json deleted file mode 100644 index 6faa7413..00000000 --- a/src/quant_engine/models/generated/rs_verdict_v1_schema.schema.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/RS_VERDICT_V1", - "title": "RS_VERDICT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "RS_VERDICT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "price.ret10D", - "globalKospiRet10D_", - "rw_partial", - "flow_credit" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/rs_verdict_v2_schema.py b/src/quant_engine/models/generated/rs_verdict_v2_schema.py deleted file mode 100644 index 6fcd3838..00000000 --- a/src/quant_engine/models/generated/rs_verdict_v2_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'RS_VERDICT_V2' -SCHEMA_ID = 'schema://formula/RS_VERDICT_V2' -SCHEMA_PATH = 'schemas/generated/rs_verdict_v2.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/rs_verdict_v2_schema.schema.json b/src/quant_engine/models/generated/rs_verdict_v2_schema.schema.json deleted file mode 100644 index c034d92c..00000000 --- a/src/quant_engine/models/generated/rs_verdict_v2_schema.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/RS_VERDICT_V2", - "title": "RS_VERDICT_V2", - "type": "object", - "properties": { - "formula_id": { - "const": "RS_VERDICT_V2" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "rs_verdict_v1_raw", - "brt_verdict" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/satellite_aggregate_pnl_gate_v1_schema.py b/src/quant_engine/models/generated/satellite_aggregate_pnl_gate_v1_schema.py deleted file mode 100644 index f1487491..00000000 --- a/src/quant_engine/models/generated/satellite_aggregate_pnl_gate_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'SATELLITE_AGGREGATE_PNL_GATE_V1' -SCHEMA_ID = 'schema://formula/SATELLITE_AGGREGATE_PNL_GATE_V1' -SCHEMA_PATH = 'schemas/generated/satellite_aggregate_pnl_gate_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/satellite_aggregate_pnl_gate_v1_schema.schema.json b/src/quant_engine/models/generated/satellite_aggregate_pnl_gate_v1_schema.schema.json deleted file mode 100644 index 4942f2e4..00000000 --- a/src/quant_engine/models/generated/satellite_aggregate_pnl_gate_v1_schema.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SATELLITE_AGGREGATE_PNL_GATE_V1", - "title": "SATELLITE_AGGREGATE_PNL_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SATELLITE_AGGREGATE_PNL_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "position_class", - "profit_loss" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/satellite_alpha_quality_gate_v1_schema.py b/src/quant_engine/models/generated/satellite_alpha_quality_gate_v1_schema.py deleted file mode 100644 index 578101fd..00000000 --- a/src/quant_engine/models/generated/satellite_alpha_quality_gate_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'SATELLITE_ALPHA_QUALITY_GATE_V1' -SCHEMA_ID = 'schema://formula/SATELLITE_ALPHA_QUALITY_GATE_V1' -SCHEMA_PATH = 'schemas/generated/satellite_alpha_quality_gate_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/satellite_alpha_quality_gate_v1_schema.schema.json b/src/quant_engine/models/generated/satellite_alpha_quality_gate_v1_schema.schema.json deleted file mode 100644 index 924d7bd3..00000000 --- a/src/quant_engine/models/generated/satellite_alpha_quality_gate_v1_schema.schema.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SATELLITE_ALPHA_QUALITY_GATE_V1", - "title": "SATELLITE_ALPHA_QUALITY_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SATELLITE_ALPHA_QUALITY_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "position_class", - "ss001_grade", - "price.ret20D", - "globalKospiRet20D_", - "recovery_ratio_20d", - "recovery_ratio_5d", - "excess_drawdown_pctp", - "frg_5d_sh", - "inst_5d_sh", - "rs_verdict" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/satellite_failure_gate_v1_schema.py b/src/quant_engine/models/generated/satellite_failure_gate_v1_schema.py deleted file mode 100644 index 527b97e8..00000000 --- a/src/quant_engine/models/generated/satellite_failure_gate_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'SATELLITE_FAILURE_GATE_V1' -SCHEMA_ID = 'schema://formula/SATELLITE_FAILURE_GATE_V1' -SCHEMA_PATH = 'schemas/generated/satellite_failure_gate_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/satellite_failure_gate_v1_schema.schema.json b/src/quant_engine/models/generated/satellite_failure_gate_v1_schema.schema.json deleted file mode 100644 index b1662410..00000000 --- a/src/quant_engine/models/generated/satellite_failure_gate_v1_schema.schema.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SATELLITE_FAILURE_GATE_V1", - "title": "SATELLITE_FAILURE_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SATELLITE_FAILURE_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "satellite_holdings[].composite_verdict", - "satellite_holdings[].rs_verdict", - "satellite_holdings[].ret20d", - "satellite_holdings[].excess_ret_10d" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/satellite_lifecycle_gate_v1_schema.py b/src/quant_engine/models/generated/satellite_lifecycle_gate_v1_schema.py deleted file mode 100644 index 7a0ec707..00000000 --- a/src/quant_engine/models/generated/satellite_lifecycle_gate_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'SATELLITE_LIFECYCLE_GATE_V1' -SCHEMA_ID = 'schema://formula/SATELLITE_LIFECYCLE_GATE_V1' -SCHEMA_PATH = 'schemas/generated/satellite_lifecycle_gate_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/satellite_lifecycle_gate_v1_schema.schema.json b/src/quant_engine/models/generated/satellite_lifecycle_gate_v1_schema.schema.json deleted file mode 100644 index 4aa3ad3f..00000000 --- a/src/quant_engine/models/generated/satellite_lifecycle_gate_v1_schema.schema.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SATELLITE_LIFECYCLE_GATE_V1", - "title": "SATELLITE_LIFECYCLE_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SATELLITE_LIFECYCLE_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "ticker", - "composite_verdict", - "brt_verdict", - "excess_drawdown_pctp", - "entry_date", - "alpha_evaluation_window_json" - ], - "x_formula_outputs": [ - { - "field": "satellite_lifecycle_stage", - "unit": "enum [WATCH,PILOT,CONFIRMED,REVIEW,EXIT]" - }, - { - "field": "lifecycle_transition_reason", - "unit": "string" - }, - { - "field": "lifecycle_days_in_stage", - "unit": "int" - } - ] -} diff --git a/src/quant_engine/models/generated/scenario_shock_matrix_v1_schema.py b/src/quant_engine/models/generated/scenario_shock_matrix_v1_schema.py deleted file mode 100644 index ac575906..00000000 --- a/src/quant_engine/models/generated/scenario_shock_matrix_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'SCENARIO_SHOCK_MATRIX_V1' -SCHEMA_ID = 'schema://formula/SCENARIO_SHOCK_MATRIX_V1' -SCHEMA_PATH = 'schemas/generated/scenario_shock_matrix_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/scenario_shock_matrix_v1_schema.schema.json b/src/quant_engine/models/generated/scenario_shock_matrix_v1_schema.schema.json deleted file mode 100644 index 590985b5..00000000 --- a/src/quant_engine/models/generated/scenario_shock_matrix_v1_schema.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SCENARIO_SHOCK_MATRIX_V1", - "title": "SCENARIO_SHOCK_MATRIX_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SCENARIO_SHOCK_MATRIX_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "net_profit_distribution_after_tax_fee_slippage", - "scenario_id" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/sea_timing_v1_schema.py b/src/quant_engine/models/generated/sea_timing_v1_schema.py deleted file mode 100644 index 08be0e01..00000000 --- a/src/quant_engine/models/generated/sea_timing_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'SEA_TIMING_V1' -SCHEMA_ID = 'schema://formula/SEA_TIMING_V1' -SCHEMA_PATH = 'schemas/generated/sea_timing_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/sea_timing_v1_schema.schema.json b/src/quant_engine/models/generated/sea_timing_v1_schema.schema.json deleted file mode 100644 index dc0d88bd..00000000 --- a/src/quant_engine/models/generated/sea_timing_v1_schema.schema.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SEA_TIMING_V1", - "title": "SEA_TIMING_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SEA_TIMING_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "current_price", - "vwap", - "rsi_15m", - "volume_climax" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/sector_concentration_limit_v1_schema.py b/src/quant_engine/models/generated/sector_concentration_limit_v1_schema.py deleted file mode 100644 index c924d82c..00000000 --- a/src/quant_engine/models/generated/sector_concentration_limit_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'SECTOR_CONCENTRATION_LIMIT_V1' -SCHEMA_ID = 'schema://formula/SECTOR_CONCENTRATION_LIMIT_V1' -SCHEMA_PATH = 'schemas/generated/sector_concentration_limit_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/sector_concentration_limit_v1_schema.schema.json b/src/quant_engine/models/generated/sector_concentration_limit_v1_schema.schema.json deleted file mode 100644 index a6b6273a..00000000 --- a/src/quant_engine/models/generated/sector_concentration_limit_v1_schema.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SECTOR_CONCENTRATION_LIMIT_V1", - "title": "SECTOR_CONCENTRATION_LIMIT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SECTOR_CONCENTRATION_LIMIT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "sector_concentration_json", - "market_regime" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/sector_exposure_graph_v1_schema.py b/src/quant_engine/models/generated/sector_exposure_graph_v1_schema.py deleted file mode 100644 index 1dede121..00000000 --- a/src/quant_engine/models/generated/sector_exposure_graph_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'SECTOR_EXPOSURE_GRAPH_V1' -SCHEMA_ID = 'schema://formula/SECTOR_EXPOSURE_GRAPH_V1' -SCHEMA_PATH = 'schemas/generated/sector_exposure_graph_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/sector_exposure_graph_v1_schema.schema.json b/src/quant_engine/models/generated/sector_exposure_graph_v1_schema.schema.json deleted file mode 100644 index 9f74c9e7..00000000 --- a/src/quant_engine/models/generated/sector_exposure_graph_v1_schema.schema.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SECTOR_EXPOSURE_GRAPH_V1", - "title": "SECTOR_EXPOSURE_GRAPH_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SECTOR_EXPOSURE_GRAPH_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "direct_weight_pct", - "etf_constituents_json", - "etf_weight_pct", - "sector_id", - "peer_sector_betas" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/sector_rotation_momentum_v1_schema.py b/src/quant_engine/models/generated/sector_rotation_momentum_v1_schema.py deleted file mode 100644 index 1dc0f725..00000000 --- a/src/quant_engine/models/generated/sector_rotation_momentum_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'SECTOR_ROTATION_MOMENTUM_V1' -SCHEMA_ID = 'schema://formula/SECTOR_ROTATION_MOMENTUM_V1' -SCHEMA_PATH = 'schemas/generated/sector_rotation_momentum_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/sector_rotation_momentum_v1_schema.schema.json b/src/quant_engine/models/generated/sector_rotation_momentum_v1_schema.schema.json deleted file mode 100644 index 00165212..00000000 --- a/src/quant_engine/models/generated/sector_rotation_momentum_v1_schema.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SECTOR_ROTATION_MOMENTUM_V1", - "title": "SECTOR_ROTATION_MOMENTUM_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SECTOR_ROTATION_MOMENTUM_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "sector", - "momentum_state" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/sector_rotation_radar_v1_schema.py b/src/quant_engine/models/generated/sector_rotation_radar_v1_schema.py deleted file mode 100644 index b6170e2a..00000000 --- a/src/quant_engine/models/generated/sector_rotation_radar_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'SECTOR_ROTATION_RADAR_V1' -SCHEMA_ID = 'schema://formula/SECTOR_ROTATION_RADAR_V1' -SCHEMA_PATH = 'schemas/generated/sector_rotation_radar_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/sector_rotation_radar_v1_schema.schema.json b/src/quant_engine/models/generated/sector_rotation_radar_v1_schema.schema.json deleted file mode 100644 index 8495892d..00000000 --- a/src/quant_engine/models/generated/sector_rotation_radar_v1_schema.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SECTOR_ROTATION_RADAR_V1", - "title": "SECTOR_ROTATION_RADAR_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SECTOR_ROTATION_RADAR_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "sector_smartmoney_5d", - "sector_rank", - "sector_top2_names" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/sell_execution_timing_v1_schema.py b/src/quant_engine/models/generated/sell_execution_timing_v1_schema.py deleted file mode 100644 index 3d02dfab..00000000 --- a/src/quant_engine/models/generated/sell_execution_timing_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'SELL_EXECUTION_TIMING_V1' -SCHEMA_ID = 'schema://formula/SELL_EXECUTION_TIMING_V1' -SCHEMA_PATH = 'schemas/generated/sell_execution_timing_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/sell_execution_timing_v1_schema.schema.json b/src/quant_engine/models/generated/sell_execution_timing_v1_schema.schema.json deleted file mode 100644 index 0bd1bc24..00000000 --- a/src/quant_engine/models/generated/sell_execution_timing_v1_schema.schema.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SELL_EXECUTION_TIMING_V1", - "title": "SELL_EXECUTION_TIMING_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SELL_EXECUTION_TIMING_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "gap_down_pct", - "intraday_drop", - "rsi14", - "intraday_change", - "time_slot_label" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/sell_lot_pareto_selector_v1_schema.py b/src/quant_engine/models/generated/sell_lot_pareto_selector_v1_schema.py deleted file mode 100644 index bdd61572..00000000 --- a/src/quant_engine/models/generated/sell_lot_pareto_selector_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'SELL_LOT_PARETO_SELECTOR_V1' -SCHEMA_ID = 'schema://formula/SELL_LOT_PARETO_SELECTOR_V1' -SCHEMA_PATH = 'schemas/generated/sell_lot_pareto_selector_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/sell_lot_pareto_selector_v1_schema.schema.json b/src/quant_engine/models/generated/sell_lot_pareto_selector_v1_schema.schema.json deleted file mode 100644 index 3c4caab2..00000000 --- a/src/quant_engine/models/generated/sell_lot_pareto_selector_v1_schema.schema.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SELL_LOT_PARETO_SELECTOR_V1", - "title": "SELL_LOT_PARETO_SELECTOR_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SELL_LOT_PARETO_SELECTOR_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "avoided_tail_loss_krw", - "cash_repair_benefit_krw", - "concentration_reduction_benefit_krw", - "tax_loss_benefit_krw", - "tax_fee_slippage_krw", - "reentry_cost_krw", - "missed_upside_penalty_krw" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/sell_price_sanity_v1_schema.py b/src/quant_engine/models/generated/sell_price_sanity_v1_schema.py deleted file mode 100644 index 6bb007e0..00000000 --- a/src/quant_engine/models/generated/sell_price_sanity_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'SELL_PRICE_SANITY_V1' -SCHEMA_ID = 'schema://formula/SELL_PRICE_SANITY_V1' -SCHEMA_PATH = 'schemas/generated/sell_price_sanity_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/sell_price_sanity_v1_schema.schema.json b/src/quant_engine/models/generated/sell_price_sanity_v1_schema.schema.json deleted file mode 100644 index ff0a3ec6..00000000 --- a/src/quant_engine/models/generated/sell_price_sanity_v1_schema.schema.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SELL_PRICE_SANITY_V1", - "title": "SELL_PRICE_SANITY_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SELL_PRICE_SANITY_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "sell_limit_price", - "stop_loss_price", - "current_price", - "tick_unit" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/sell_slippage_budget_factor_v1_schema.py b/src/quant_engine/models/generated/sell_slippage_budget_factor_v1_schema.py deleted file mode 100644 index 33724bae..00000000 --- a/src/quant_engine/models/generated/sell_slippage_budget_factor_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'SELL_SLIPPAGE_BUDGET_FACTOR_V1' -SCHEMA_ID = 'schema://formula/SELL_SLIPPAGE_BUDGET_FACTOR_V1' -SCHEMA_PATH = 'schemas/generated/sell_slippage_budget_factor_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/sell_slippage_budget_factor_v1_schema.schema.json b/src/quant_engine/models/generated/sell_slippage_budget_factor_v1_schema.schema.json deleted file mode 100644 index db298a18..00000000 --- a/src/quant_engine/models/generated/sell_slippage_budget_factor_v1_schema.schema.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SELL_SLIPPAGE_BUDGET_FACTOR_V1", - "title": "SELL_SLIPPAGE_BUDGET_FACTOR_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SELL_SLIPPAGE_BUDGET_FACTOR_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "adv20", - "current_price", - "sell_qty", - "emergency_full_sell" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/sell_value_preservation_tiered_v2_schema.py b/src/quant_engine/models/generated/sell_value_preservation_tiered_v2_schema.py deleted file mode 100644 index 0e6e4d63..00000000 --- a/src/quant_engine/models/generated/sell_value_preservation_tiered_v2_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'SELL_VALUE_PRESERVATION_TIERED_V2' -SCHEMA_ID = 'schema://formula/SELL_VALUE_PRESERVATION_TIERED_V2' -SCHEMA_PATH = 'schemas/generated/sell_value_preservation_tiered_v2.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/sell_value_preservation_tiered_v2_schema.schema.json b/src/quant_engine/models/generated/sell_value_preservation_tiered_v2_schema.schema.json deleted file mode 100644 index 3f4607fc..00000000 --- a/src/quant_engine/models/generated/sell_value_preservation_tiered_v2_schema.schema.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SELL_VALUE_PRESERVATION_TIERED_V2", - "title": "SELL_VALUE_PRESERVATION_TIERED_V2", - "type": "object", - "properties": { - "formula_id": { - "const": "SELL_VALUE_PRESERVATION_TIERED_V2" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "emergency_full_sell", - "oversold_gate", - "rsi14", - "profit_lock_stage", - "velocity_5d", - "h2_priority_rank", - "rs_verdict", - "cash_shortfall_min_krw", - "waterfall_plan_json" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/sell_waterfall_engine_v1_schema.py b/src/quant_engine/models/generated/sell_waterfall_engine_v1_schema.py deleted file mode 100644 index 14e51d69..00000000 --- a/src/quant_engine/models/generated/sell_waterfall_engine_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'SELL_WATERFALL_ENGINE_V1' -SCHEMA_ID = 'schema://formula/SELL_WATERFALL_ENGINE_V1' -SCHEMA_PATH = 'schemas/generated/sell_waterfall_engine_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/sell_waterfall_engine_v1_schema.schema.json b/src/quant_engine/models/generated/sell_waterfall_engine_v1_schema.schema.json deleted file mode 100644 index 55d3b669..00000000 --- a/src/quant_engine/models/generated/sell_waterfall_engine_v1_schema.schema.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SELL_WATERFALL_ENGINE_V1", - "title": "SELL_WATERFALL_ENGINE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SELL_WATERFALL_ENGINE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "cash_recovery_plan_json", - "emergency_full_sell", - "oversold_gate", - "rsi14", - "close", - "prev_close", - "atr20" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/sell_waterfall_engine_v2_schema.py b/src/quant_engine/models/generated/sell_waterfall_engine_v2_schema.py deleted file mode 100644 index 512e7780..00000000 --- a/src/quant_engine/models/generated/sell_waterfall_engine_v2_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'SELL_WATERFALL_ENGINE_V2' -SCHEMA_ID = 'schema://formula/SELL_WATERFALL_ENGINE_V2' -SCHEMA_PATH = 'schemas/generated/sell_waterfall_engine_v2.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/sell_waterfall_engine_v2_schema.schema.json b/src/quant_engine/models/generated/sell_waterfall_engine_v2_schema.schema.json deleted file mode 100644 index d5a1dce7..00000000 --- a/src/quant_engine/models/generated/sell_waterfall_engine_v2_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SELL_WATERFALL_ENGINE_V2", - "title": "SELL_WATERFALL_ENGINE_V2", - "type": "object", - "properties": { - "formula_id": { - "const": "SELL_WATERFALL_ENGINE_V2" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/semiconductor_cluster_gate_v1_schema.py b/src/quant_engine/models/generated/semiconductor_cluster_gate_v1_schema.py deleted file mode 100644 index dd489463..00000000 --- a/src/quant_engine/models/generated/semiconductor_cluster_gate_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'SEMICONDUCTOR_CLUSTER_GATE_V1' -SCHEMA_ID = 'schema://formula/SEMICONDUCTOR_CLUSTER_GATE_V1' -SCHEMA_PATH = 'schemas/generated/semiconductor_cluster_gate_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/semiconductor_cluster_gate_v1_schema.schema.json b/src/quant_engine/models/generated/semiconductor_cluster_gate_v1_schema.schema.json deleted file mode 100644 index ac4e47fa..00000000 --- a/src/quant_engine/models/generated/semiconductor_cluster_gate_v1_schema.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SEMICONDUCTOR_CLUSTER_GATE_V1", - "title": "SEMICONDUCTOR_CLUSTER_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SEMICONDUCTOR_CLUSTER_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "semiconductor_cluster_json", - "market_regime" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/single_position_weight_cap_v1_schema.py b/src/quant_engine/models/generated/single_position_weight_cap_v1_schema.py deleted file mode 100644 index 4ef3dccb..00000000 --- a/src/quant_engine/models/generated/single_position_weight_cap_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'SINGLE_POSITION_WEIGHT_CAP_V1' -SCHEMA_ID = 'schema://formula/SINGLE_POSITION_WEIGHT_CAP_V1' -SCHEMA_PATH = 'schemas/generated/single_position_weight_cap_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/single_position_weight_cap_v1_schema.schema.json b/src/quant_engine/models/generated/single_position_weight_cap_v1_schema.schema.json deleted file mode 100644 index b5c15703..00000000 --- a/src/quant_engine/models/generated/single_position_weight_cap_v1_schema.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SINGLE_POSITION_WEIGHT_CAP_V1", - "title": "SINGLE_POSITION_WEIGHT_CAP_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SINGLE_POSITION_WEIGHT_CAP_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "single_position_weight_json", - "market_regime" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/smart_cash_recovery_v3_schema.py b/src/quant_engine/models/generated/smart_cash_recovery_v3_schema.py deleted file mode 100644 index 61f295d9..00000000 --- a/src/quant_engine/models/generated/smart_cash_recovery_v3_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'SMART_CASH_RECOVERY_V3' -SCHEMA_ID = 'schema://formula/SMART_CASH_RECOVERY_V3' -SCHEMA_PATH = 'schemas/generated/smart_cash_recovery_v3.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/smart_cash_recovery_v3_schema.schema.json b/src/quant_engine/models/generated/smart_cash_recovery_v3_schema.schema.json deleted file mode 100644 index 7d263f97..00000000 --- a/src/quant_engine/models/generated/smart_cash_recovery_v3_schema.schema.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SMART_CASH_RECOVERY_V3", - "title": "SMART_CASH_RECOVERY_V3", - "type": "object", - "properties": { - "formula_id": { - "const": "SMART_CASH_RECOVERY_V3" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "value_preservation_scorer_v1_json", - "scrs_v2_json", - "market_regime_state", - "macro_risk_regime", - "ATR20", - "AvgTradeValue_5D_M", - "Spread_Pct" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/smart_money_flow_signal_v2_schema.py b/src/quant_engine/models/generated/smart_money_flow_signal_v2_schema.py deleted file mode 100644 index 9685c0eb..00000000 --- a/src/quant_engine/models/generated/smart_money_flow_signal_v2_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'SMART_MONEY_FLOW_SIGNAL_V2' -SCHEMA_ID = 'schema://formula/SMART_MONEY_FLOW_SIGNAL_V2' -SCHEMA_PATH = 'schemas/generated/smart_money_flow_signal_v2.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/smart_money_flow_signal_v2_schema.schema.json b/src/quant_engine/models/generated/smart_money_flow_signal_v2_schema.schema.json deleted file mode 100644 index e068cd5b..00000000 --- a/src/quant_engine/models/generated/smart_money_flow_signal_v2_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SMART_MONEY_FLOW_SIGNAL_V2", - "title": "SMART_MONEY_FLOW_SIGNAL_V2", - "type": "object", - "properties": { - "formula_id": { - "const": "SMART_MONEY_FLOW_SIGNAL_V2" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/smart_money_liquidity_gate_v1_schema.py b/src/quant_engine/models/generated/smart_money_liquidity_gate_v1_schema.py deleted file mode 100644 index 74e0c388..00000000 --- a/src/quant_engine/models/generated/smart_money_liquidity_gate_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'SMART_MONEY_LIQUIDITY_GATE_V1' -SCHEMA_ID = 'schema://formula/SMART_MONEY_LIQUIDITY_GATE_V1' -SCHEMA_PATH = 'schemas/generated/smart_money_liquidity_gate_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/smart_money_liquidity_gate_v1_schema.schema.json b/src/quant_engine/models/generated/smart_money_liquidity_gate_v1_schema.schema.json deleted file mode 100644 index c7bb8d90..00000000 --- a/src/quant_engine/models/generated/smart_money_liquidity_gate_v1_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/SMART_MONEY_LIQUIDITY_GATE_V1", - "title": "SMART_MONEY_LIQUIDITY_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "SMART_MONEY_LIQUIDITY_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/state_vector_constructor_v1_schema.py b/src/quant_engine/models/generated/state_vector_constructor_v1_schema.py deleted file mode 100644 index dad28188..00000000 --- a/src/quant_engine/models/generated/state_vector_constructor_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'STATE_VECTOR_CONSTRUCTOR_V1' -SCHEMA_ID = 'schema://formula/STATE_VECTOR_CONSTRUCTOR_V1' -SCHEMA_PATH = 'schemas/generated/state_vector_constructor_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/state_vector_constructor_v1_schema.schema.json b/src/quant_engine/models/generated/state_vector_constructor_v1_schema.schema.json deleted file mode 100644 index bbb3c125..00000000 --- a/src/quant_engine/models/generated/state_vector_constructor_v1_schema.schema.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/STATE_VECTOR_CONSTRUCTOR_V1", - "title": "STATE_VECTOR_CONSTRUCTOR_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "STATE_VECTOR_CONSTRUCTOR_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "cash_ladder", - "positions", - "sector_exposure_graph", - "factor_exposures", - "tax_lots", - "risk_bucket_weights", - "macro_regime_probabilities", - "goal_progress_pct" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/stop_action_ladder_v1_schema.py b/src/quant_engine/models/generated/stop_action_ladder_v1_schema.py deleted file mode 100644 index c89411be..00000000 --- a/src/quant_engine/models/generated/stop_action_ladder_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'STOP_ACTION_LADDER_V1' -SCHEMA_ID = 'schema://formula/STOP_ACTION_LADDER_V1' -SCHEMA_PATH = 'schemas/generated/stop_action_ladder_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/stop_action_ladder_v1_schema.schema.json b/src/quant_engine/models/generated/stop_action_ladder_v1_schema.schema.json deleted file mode 100644 index 8be99f6b..00000000 --- a/src/quant_engine/models/generated/stop_action_ladder_v1_schema.schema.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/STOP_ACTION_LADDER_V1", - "title": "STOP_ACTION_LADDER_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "STOP_ACTION_LADDER_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "context" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/stop_breach_alert_v1_schema.py b/src/quant_engine/models/generated/stop_breach_alert_v1_schema.py deleted file mode 100644 index a6c21cd4..00000000 --- a/src/quant_engine/models/generated/stop_breach_alert_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'STOP_BREACH_ALERT_V1' -SCHEMA_ID = 'schema://formula/STOP_BREACH_ALERT_V1' -SCHEMA_PATH = 'schemas/generated/stop_breach_alert_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/stop_breach_alert_v1_schema.schema.json b/src/quant_engine/models/generated/stop_breach_alert_v1_schema.schema.json deleted file mode 100644 index f9ccfced..00000000 --- a/src/quant_engine/models/generated/stop_breach_alert_v1_schema.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/STOP_BREACH_ALERT_V1", - "title": "STOP_BREACH_ALERT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "STOP_BREACH_ALERT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "close_price", - "stop_price" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/stop_price_core_v1_schema.py b/src/quant_engine/models/generated/stop_price_core_v1_schema.py deleted file mode 100644 index 24f46cda..00000000 --- a/src/quant_engine/models/generated/stop_price_core_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'STOP_PRICE_CORE_V1' -SCHEMA_ID = 'schema://formula/STOP_PRICE_CORE_V1' -SCHEMA_PATH = 'schemas/generated/stop_price_core_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/stop_price_core_v1_schema.schema.json b/src/quant_engine/models/generated/stop_price_core_v1_schema.schema.json deleted file mode 100644 index b565d8f4..00000000 --- a/src/quant_engine/models/generated/stop_price_core_v1_schema.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/STOP_PRICE_CORE_V1", - "title": "STOP_PRICE_CORE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "STOP_PRICE_CORE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "entry_price", - "atr20", - "current_price" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/stop_proposal_ladder_v1_schema.py b/src/quant_engine/models/generated/stop_proposal_ladder_v1_schema.py deleted file mode 100644 index a591f74a..00000000 --- a/src/quant_engine/models/generated/stop_proposal_ladder_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'STOP_PROPOSAL_LADDER_V1' -SCHEMA_ID = 'schema://formula/STOP_PROPOSAL_LADDER_V1' -SCHEMA_PATH = 'schemas/generated/stop_proposal_ladder_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/stop_proposal_ladder_v1_schema.schema.json b/src/quant_engine/models/generated/stop_proposal_ladder_v1_schema.schema.json deleted file mode 100644 index 1dfbf26a..00000000 --- a/src/quant_engine/models/generated/stop_proposal_ladder_v1_schema.schema.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/STOP_PROPOSAL_LADDER_V1", - "title": "STOP_PROPOSAL_LADDER_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "STOP_PROPOSAL_LADDER_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "position_class", - "holding_quantity", - "proposed_quantity", - "stop_price", - "profit_lock_stage", - "protected_stop_price", - "auto_trailing_stop", - "tp3_qty" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/strong_close_signal_v1_schema.py b/src/quant_engine/models/generated/strong_close_signal_v1_schema.py deleted file mode 100644 index d18fcf6f..00000000 --- a/src/quant_engine/models/generated/strong_close_signal_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'STRONG_CLOSE_SIGNAL_V1' -SCHEMA_ID = 'schema://formula/STRONG_CLOSE_SIGNAL_V1' -SCHEMA_PATH = 'schemas/generated/strong_close_signal_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/strong_close_signal_v1_schema.schema.json b/src/quant_engine/models/generated/strong_close_signal_v1_schema.schema.json deleted file mode 100644 index 0c1819a9..00000000 --- a/src/quant_engine/models/generated/strong_close_signal_v1_schema.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/STRONG_CLOSE_SIGNAL_V1", - "title": "STRONG_CLOSE_SIGNAL_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "STRONG_CLOSE_SIGNAL_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "close_price", - "high_price", - "low_price" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/take_profit_ladder_v1_schema.py b/src/quant_engine/models/generated/take_profit_ladder_v1_schema.py deleted file mode 100644 index 14b29aeb..00000000 --- a/src/quant_engine/models/generated/take_profit_ladder_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'TAKE_PROFIT_LADDER_V1' -SCHEMA_ID = 'schema://formula/TAKE_PROFIT_LADDER_V1' -SCHEMA_PATH = 'schemas/generated/take_profit_ladder_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/take_profit_ladder_v1_schema.schema.json b/src/quant_engine/models/generated/take_profit_ladder_v1_schema.schema.json deleted file mode 100644 index 06f36896..00000000 --- a/src/quant_engine/models/generated/take_profit_ladder_v1_schema.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/TAKE_PROFIT_LADDER_V1", - "title": "TAKE_PROFIT_LADDER_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "TAKE_PROFIT_LADDER_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "average_cost", - "quantity", - "position_class" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/take_profit_ladder_v2_schema.py b/src/quant_engine/models/generated/take_profit_ladder_v2_schema.py deleted file mode 100644 index f96346e8..00000000 --- a/src/quant_engine/models/generated/take_profit_ladder_v2_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'TAKE_PROFIT_LADDER_V2' -SCHEMA_ID = 'schema://formula/TAKE_PROFIT_LADDER_V2' -SCHEMA_PATH = 'schemas/generated/take_profit_ladder_v2.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/take_profit_ladder_v2_schema.schema.json b/src/quant_engine/models/generated/take_profit_ladder_v2_schema.schema.json deleted file mode 100644 index c084ec12..00000000 --- a/src/quant_engine/models/generated/take_profit_ladder_v2_schema.schema.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/TAKE_PROFIT_LADDER_V2", - "title": "TAKE_PROFIT_LADDER_V2", - "type": "object", - "properties": { - "formula_id": { - "const": "TAKE_PROFIT_LADDER_V2" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "average_cost", - "atr20", - "quantity", - "position_class" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/target_cash_pct_v1_schema.py b/src/quant_engine/models/generated/target_cash_pct_v1_schema.py deleted file mode 100644 index 0900de7d..00000000 --- a/src/quant_engine/models/generated/target_cash_pct_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'TARGET_CASH_PCT_V1' -SCHEMA_ID = 'schema://formula/TARGET_CASH_PCT_V1' -SCHEMA_PATH = 'schemas/generated/target_cash_pct_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/target_cash_pct_v1_schema.schema.json b/src/quant_engine/models/generated/target_cash_pct_v1_schema.schema.json deleted file mode 100644 index f9dbd826..00000000 --- a/src/quant_engine/models/generated/target_cash_pct_v1_schema.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/TARGET_CASH_PCT_V1", - "title": "TARGET_CASH_PCT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "TARGET_CASH_PCT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "market_risk_score", - "cash_floor_regime_min_pct" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/tick_normalizer_v1_schema.py b/src/quant_engine/models/generated/tick_normalizer_v1_schema.py deleted file mode 100644 index 32681154..00000000 --- a/src/quant_engine/models/generated/tick_normalizer_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'TICK_NORMALIZER_V1' -SCHEMA_ID = 'schema://formula/TICK_NORMALIZER_V1' -SCHEMA_PATH = 'schemas/generated/tick_normalizer_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/tick_normalizer_v1_schema.schema.json b/src/quant_engine/models/generated/tick_normalizer_v1_schema.schema.json deleted file mode 100644 index 535c5b14..00000000 --- a/src/quant_engine/models/generated/tick_normalizer_v1_schema.schema.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/TICK_NORMALIZER_V1", - "title": "TICK_NORMALIZER_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "TICK_NORMALIZER_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "raw_price" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/total_heat_v1_schema.py b/src/quant_engine/models/generated/total_heat_v1_schema.py deleted file mode 100644 index 55dde7c7..00000000 --- a/src/quant_engine/models/generated/total_heat_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'TOTAL_HEAT_V1' -SCHEMA_ID = 'schema://formula/TOTAL_HEAT_V1' -SCHEMA_PATH = 'schemas/generated/total_heat_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/total_heat_v1_schema.schema.json b/src/quant_engine/models/generated/total_heat_v1_schema.schema.json deleted file mode 100644 index 3133ddb8..00000000 --- a/src/quant_engine/models/generated/total_heat_v1_schema.schema.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/TOTAL_HEAT_V1", - "title": "TOTAL_HEAT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "TOTAL_HEAT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "average_cost", - "stop_price", - "quantity", - "total_asset" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/trade_quality_from_t5_v1_schema.py b/src/quant_engine/models/generated/trade_quality_from_t5_v1_schema.py deleted file mode 100644 index 67834299..00000000 --- a/src/quant_engine/models/generated/trade_quality_from_t5_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'TRADE_QUALITY_FROM_T5_V1' -SCHEMA_ID = 'schema://formula/TRADE_QUALITY_FROM_T5_V1' -SCHEMA_PATH = 'schemas/generated/trade_quality_from_t5_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/trade_quality_from_t5_v1_schema.schema.json b/src/quant_engine/models/generated/trade_quality_from_t5_v1_schema.schema.json deleted file mode 100644 index 635d5c22..00000000 --- a/src/quant_engine/models/generated/trade_quality_from_t5_v1_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/TRADE_QUALITY_FROM_T5_V1", - "title": "TRADE_QUALITY_FROM_T5_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "TRADE_QUALITY_FROM_T5_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/trade_quality_scorer_v1_schema.py b/src/quant_engine/models/generated/trade_quality_scorer_v1_schema.py deleted file mode 100644 index cef52c7d..00000000 --- a/src/quant_engine/models/generated/trade_quality_scorer_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'TRADE_QUALITY_SCORER_V1' -SCHEMA_ID = 'schema://formula/TRADE_QUALITY_SCORER_V1' -SCHEMA_PATH = 'schemas/generated/trade_quality_scorer_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/trade_quality_scorer_v1_schema.schema.json b/src/quant_engine/models/generated/trade_quality_scorer_v1_schema.schema.json deleted file mode 100644 index cd9d5a7f..00000000 --- a/src/quant_engine/models/generated/trade_quality_scorer_v1_schema.schema.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/TRADE_QUALITY_SCORER_V1", - "title": "TRADE_QUALITY_SCORER_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "TRADE_QUALITY_SCORER_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "velocity_1d_at_entry", - "entry_price", - "ma20_at_entry", - "volume_ratio_at_entry", - "t5_return_pct", - "t20_vs_core_pctp", - "sell_price", - "ma20_at_sell", - "average_cost", - "price_t5_after_sell", - "cash_recovered_krw", - "cash_shortfall_min_krw" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/trailing_stop_price_v1_schema.py b/src/quant_engine/models/generated/trailing_stop_price_v1_schema.py deleted file mode 100644 index 73e99fcf..00000000 --- a/src/quant_engine/models/generated/trailing_stop_price_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'TRAILING_STOP_PRICE_V1' -SCHEMA_ID = 'schema://formula/TRAILING_STOP_PRICE_V1' -SCHEMA_PATH = 'schemas/generated/trailing_stop_price_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/trailing_stop_price_v1_schema.schema.json b/src/quant_engine/models/generated/trailing_stop_price_v1_schema.schema.json deleted file mode 100644 index 6f2356d7..00000000 --- a/src/quant_engine/models/generated/trailing_stop_price_v1_schema.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/TRAILING_STOP_PRICE_V1", - "title": "TRAILING_STOP_PRICE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "TRAILING_STOP_PRICE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "highest_price_since_entry", - "atr20", - "trailing_atr_multiplier" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/transition_set_enumerator_v1_schema.py b/src/quant_engine/models/generated/transition_set_enumerator_v1_schema.py deleted file mode 100644 index 2feedeff..00000000 --- a/src/quant_engine/models/generated/transition_set_enumerator_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'TRANSITION_SET_ENUMERATOR_V1' -SCHEMA_ID = 'schema://formula/TRANSITION_SET_ENUMERATOR_V1' -SCHEMA_PATH = 'schemas/generated/transition_set_enumerator_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/transition_set_enumerator_v1_schema.schema.json b/src/quant_engine/models/generated/transition_set_enumerator_v1_schema.schema.json deleted file mode 100644 index ca140148..00000000 --- a/src/quant_engine/models/generated/transition_set_enumerator_v1_schema.schema.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/TRANSITION_SET_ENUMERATOR_V1", - "title": "TRANSITION_SET_ENUMERATOR_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "TRANSITION_SET_ENUMERATOR_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "evaluated_candidates", - "max_set_size" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/trend_filter_gate_v1_schema.py b/src/quant_engine/models/generated/trend_filter_gate_v1_schema.py deleted file mode 100644 index 60639065..00000000 --- a/src/quant_engine/models/generated/trend_filter_gate_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'TREND_FILTER_GATE_V1' -SCHEMA_ID = 'schema://formula/TREND_FILTER_GATE_V1' -SCHEMA_PATH = 'schemas/generated/trend_filter_gate_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/trend_filter_gate_v1_schema.schema.json b/src/quant_engine/models/generated/trend_filter_gate_v1_schema.schema.json deleted file mode 100644 index 60e2f4d0..00000000 --- a/src/quant_engine/models/generated/trend_filter_gate_v1_schema.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/TREND_FILTER_GATE_V1", - "title": "TREND_FILTER_GATE_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "TREND_FILTER_GATE_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "close_price", - "ma120", - "ma120_prev" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/value_preservation_scorer_v1_schema.py b/src/quant_engine/models/generated/value_preservation_scorer_v1_schema.py deleted file mode 100644 index 9ff3938d..00000000 --- a/src/quant_engine/models/generated/value_preservation_scorer_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'VALUE_PRESERVATION_SCORER_V1' -SCHEMA_ID = 'schema://formula/VALUE_PRESERVATION_SCORER_V1' -SCHEMA_PATH = 'schemas/generated/value_preservation_scorer_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/value_preservation_scorer_v1_schema.schema.json b/src/quant_engine/models/generated/value_preservation_scorer_v1_schema.schema.json deleted file mode 100644 index a9172baf..00000000 --- a/src/quant_engine/models/generated/value_preservation_scorer_v1_schema.schema.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/VALUE_PRESERVATION_SCORER_V1", - "title": "VALUE_PRESERVATION_SCORER_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "VALUE_PRESERVATION_SCORER_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "Close", - "MA20", - "MA60", - "ATR20", - "RSI14", - "BB_Position", - "Frg_5D", - "Inst_5D", - "AvgTradeValue_5D_M", - "AvgTradeValue_20D_M", - "Recovery_Ratio_5D", - "Stock_Drawdown_From_High_Pct" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/velocity_v1_schema.py b/src/quant_engine/models/generated/velocity_v1_schema.py deleted file mode 100644 index b8300041..00000000 --- a/src/quant_engine/models/generated/velocity_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'VELOCITY_V1' -SCHEMA_ID = 'schema://formula/VELOCITY_V1' -SCHEMA_PATH = 'schemas/generated/velocity_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/velocity_v1_schema.schema.json b/src/quant_engine/models/generated/velocity_v1_schema.schema.json deleted file mode 100644 index 352218b9..00000000 --- a/src/quant_engine/models/generated/velocity_v1_schema.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/VELOCITY_V1", - "title": "VELOCITY_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "VELOCITY_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "close_price", - "previous_close_price", - "ret5d" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/verdict_consistency_lock_v1_schema.py b/src/quant_engine/models/generated/verdict_consistency_lock_v1_schema.py deleted file mode 100644 index 8960d63e..00000000 --- a/src/quant_engine/models/generated/verdict_consistency_lock_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'VERDICT_CONSISTENCY_LOCK_V1' -SCHEMA_ID = 'schema://formula/VERDICT_CONSISTENCY_LOCK_V1' -SCHEMA_PATH = 'schemas/generated/verdict_consistency_lock_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/verdict_consistency_lock_v1_schema.schema.json b/src/quant_engine/models/generated/verdict_consistency_lock_v1_schema.schema.json deleted file mode 100644 index 7b111e21..00000000 --- a/src/quant_engine/models/generated/verdict_consistency_lock_v1_schema.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/VERDICT_CONSISTENCY_LOCK_V1", - "title": "VERDICT_CONSISTENCY_LOCK_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "VERDICT_CONSISTENCY_LOCK_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/volatility_expansion_breakout_v1_schema.py b/src/quant_engine/models/generated/volatility_expansion_breakout_v1_schema.py deleted file mode 100644 index 7575b25f..00000000 --- a/src/quant_engine/models/generated/volatility_expansion_breakout_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'VOLATILITY_EXPANSION_BREAKOUT_V1' -SCHEMA_ID = 'schema://formula/VOLATILITY_EXPANSION_BREAKOUT_V1' -SCHEMA_PATH = 'schemas/generated/volatility_expansion_breakout_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/volatility_expansion_breakout_v1_schema.schema.json b/src/quant_engine/models/generated/volatility_expansion_breakout_v1_schema.schema.json deleted file mode 100644 index c3bfbab0..00000000 --- a/src/quant_engine/models/generated/volatility_expansion_breakout_v1_schema.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/VOLATILITY_EXPANSION_BREAKOUT_V1", - "title": "VOLATILITY_EXPANSION_BREAKOUT_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "VOLATILITY_EXPANSION_BREAKOUT_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "bb_width", - "bb_width_20d_percentile", - "ret_1d" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/walk_forward_bootstrap_v1_schema.py b/src/quant_engine/models/generated/walk_forward_bootstrap_v1_schema.py deleted file mode 100644 index ac2d825d..00000000 --- a/src/quant_engine/models/generated/walk_forward_bootstrap_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'WALK_FORWARD_BOOTSTRAP_V1' -SCHEMA_ID = 'schema://formula/WALK_FORWARD_BOOTSTRAP_V1' -SCHEMA_PATH = 'schemas/generated/walk_forward_bootstrap_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/walk_forward_bootstrap_v1_schema.schema.json b/src/quant_engine/models/generated/walk_forward_bootstrap_v1_schema.schema.json deleted file mode 100644 index d36023c1..00000000 --- a/src/quant_engine/models/generated/walk_forward_bootstrap_v1_schema.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/WALK_FORWARD_BOOTSTRAP_V1", - "title": "WALK_FORWARD_BOOTSTRAP_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "WALK_FORWARD_BOOTSTRAP_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "historical_returns", - "current_regime_state", - "bootstrap_method" - ], - "x_formula_outputs": [] -} diff --git a/src/quant_engine/models/generated/weekly_legacy_transfer_plan_v1_schema.py b/src/quant_engine/models/generated/weekly_legacy_transfer_plan_v1_schema.py deleted file mode 100644 index 3ac15862..00000000 --- a/src/quant_engine/models/generated/weekly_legacy_transfer_plan_v1_schema.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Auto-generated schema model descriptor.""" -from __future__ import annotations - -from dataclasses import dataclass -import json -from pathlib import Path -from typing import Any - -SCHEMA_TITLE = 'WEEKLY_LEGACY_TRANSFER_PLAN_V1' -SCHEMA_ID = 'schema://formula/WEEKLY_LEGACY_TRANSFER_PLAN_V1' -SCHEMA_PATH = 'schemas/generated/weekly_legacy_transfer_plan_v1.schema.json' -SCHEMA_PROPERTIES = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] -SCHEMA_REQUIRED = ['formula_id', 'owner', 'status', 'inputs', 'outputs'] - -@dataclass(frozen=True) -class SchemaModel: - title: str - schema_id: str - path: str - properties: list[str] - required: list[str] - -def load_schema() -> dict[str, Any]: - return json.loads(Path(__file__).with_suffix('.schema.json').read_text(encoding='utf-8')) - -def describe() -> SchemaModel: - return SchemaModel( - title=SCHEMA_TITLE, - schema_id=SCHEMA_ID, - path=SCHEMA_PATH, - properties=list(SCHEMA_PROPERTIES), - required=list(SCHEMA_REQUIRED), - ) diff --git a/src/quant_engine/models/generated/weekly_legacy_transfer_plan_v1_schema.schema.json b/src/quant_engine/models/generated/weekly_legacy_transfer_plan_v1_schema.schema.json deleted file mode 100644 index 17ef93d5..00000000 --- a/src/quant_engine/models/generated/weekly_legacy_transfer_plan_v1_schema.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "schema://formula/WEEKLY_LEGACY_TRANSFER_PLAN_V1", - "title": "WEEKLY_LEGACY_TRANSFER_PLAN_V1", - "type": "object", - "properties": { - "formula_id": { - "const": "WEEKLY_LEGACY_TRANSFER_PLAN_V1" - }, - "owner": { - "type": "string" - }, - "status": { - "type": "string" - }, - "inputs": { - "type": "array", - "items": { - "type": "string" - } - }, - "outputs": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "formula_id", - "owner", - "status", - "inputs", - "outputs" - ], - "x_formula_inputs": [ - "weekly_legacy_to_cma_transfer_plan_krw", - "transfer_confirmed", - "transfer_confirmed_amount_krw" - ], - "x_formula_outputs": [] -} diff --git a/tools/generate_models_from_schema.py b/tools/generate_models_from_schema.py deleted file mode 100644 index 3bfc417e..00000000 --- a/tools/generate_models_from_schema.py +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env python3 -from __future__ import annotations - -import sys -from pathlib import Path - - -ROOT = Path(__file__).resolve().parent.parent -if str(ROOT) not in sys.path: - sys.path.insert(0, str(ROOT)) - -from src.quant_engine.generate_models_from_schema import * # noqa: F401,F403 - - -if __name__ == "__main__": - raise SystemExit(main()) diff --git a/tools/generate_schema_model_generation_evidence_v1.py b/tools/generate_schema_model_generation_evidence_v1.py deleted file mode 100644 index 153cd2cf..00000000 --- a/tools/generate_schema_model_generation_evidence_v1.py +++ /dev/null @@ -1,34 +0,0 @@ -"""Generate deterministic evidence for schema/model parity.""" -from __future__ import annotations - -import json -from pathlib import Path - -ROOT = Path(__file__).resolve().parents[1] -SCHEMA_DIR = ROOT / "schemas" / "generated" -OUT_DIR = ROOT / "src" / "quant_engine" / "models" / "generated" -REPORT = ROOT / "Temp" / "schema_model_generation_v1.json" - - -def main() -> int: - schema_count = len(list(SCHEMA_DIR.glob("*.schema.json"))) - module_count = len(list(OUT_DIR.glob("*.py"))) - payload = { - "formula_id": "SCHEMA_MODEL_GENERATION_V1", - "status": "OK" if module_count == schema_count + 1 else "FAIL", - "schema_count": schema_count, - "generated_module_count": schema_count, - "module_count": module_count, - "evidence": { - "schema_dir": str(SCHEMA_DIR.relative_to(ROOT)), - "model_dir": str(OUT_DIR.relative_to(ROOT)), - }, - } - REPORT.parent.mkdir(parents=True, exist_ok=True) - REPORT.write_text(json.dumps(payload, ensure_ascii=False, indent=2), encoding="utf-8") - print(json.dumps(payload, ensure_ascii=False, indent=2)) - return 0 if payload["status"] == "OK" else 1 - - -if __name__ == "__main__": - raise SystemExit(main()) diff --git a/tools/validate_schema_model_generation_v1.py b/tools/validate_schema_model_generation_v1.py deleted file mode 100644 index c2b18159..00000000 --- a/tools/validate_schema_model_generation_v1.py +++ /dev/null @@ -1,43 +0,0 @@ -"""validate_schema_model_generation_v1.py — schema model generation validator""" -from __future__ import annotations - -import json -from pathlib import Path - - -ROOT = Path(__file__).resolve().parents[1] -SCHEMA_DIR = ROOT / "schemas" / "generated" -OUT_DIR = ROOT / "src" / "quant_engine" / "models" / "generated" -REPORT = ROOT / "Temp" / "schema_model_generation_v1.json" - - -def main() -> int: - schema_count = len(list(SCHEMA_DIR.glob("*.schema.json"))) - module_count = len(list(OUT_DIR.glob("*.py"))) - if not REPORT.exists(): - print("SCHEMA_MODEL_GENERATION_FAIL: missing report") - return 1 - try: - report = json.loads(REPORT.read_text(encoding="utf-8")) - except Exception as exc: - print(f"SCHEMA_MODEL_GENERATION_FAIL: invalid report ({exc})") - return 1 - - ok = ( - report.get("status") == "OK" - and int(report.get("schema_count") or 0) == schema_count - and int(report.get("generated_module_count") or 0) == schema_count - and module_count == schema_count + 1 # generated modules + package __init__ - ) - if ok: - print("SCHEMA_MODEL_GENERATION_OK") - print(f"schema_count={schema_count} module_count={module_count}") - return 0 - - print("SCHEMA_MODEL_GENERATION_FAIL") - print(f"schema_count={schema_count} report={report} module_count={module_count}") - return 1 - - -if __name__ == "__main__": - raise SystemExit(main())