Compare commits
5 Commits
2439d5e24d
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 11e8a3c7f8 | |||
| 65e3769eb2 | |||
| 4dd6098619 | |||
| 70e49f0556 | |||
| 73572b6211 |
@@ -26,6 +26,61 @@
|
||||
Gitea Secrets 이름과 일치)만 예약해뒀다. 호출 한도 등은 사용자가 알려주지 않아 기록하지
|
||||
않았다 — 추측해서 채우지 말 것.
|
||||
|
||||
## 파일 수 최종 현황 (같은 날, 3차 라운드)
|
||||
|
||||
`tests/unit/test_kis_data_collection_v1.py`가 F8과 같은 원인(deprecated/ 이동)으로 import가
|
||||
깨져 있던 걸 발견해 고쳤다 (오늘 삭제와 무관, 이전부터 있던 버그 — `pytest --collect-only`로
|
||||
실제 실행해서 발견). 그리고 `tests/golden/generated/` 174개 — 스펙(QE-M0-06)이 스스로
|
||||
"M3 패리티 대체 후 삭제" 조건을 걸어뒀고, M3-01~05가 전부 DONE인 걸 확인한 뒤 삭제. CI/커버리지
|
||||
게이트 어디서도 이 파일들을 쓰지 않는다는 것까지 확인 완료. **최종 파일 수: 4,523 → 1,687**
|
||||
(예산 2,200 대비 77%, 여유 513개). 이 지표는 이제 확실히 건강한 상태 — 추가로 파일 수를
|
||||
줄이려는 시도는 과유불급이다(이미 통과한 지표를 더 깎으려다 실수로 쓰이는 파일을 지울 위험이
|
||||
더 크다). `tools/`에는 아직 그레이존 파일이 좀 더 있을 수 있지만(74개 삭제 후 남은 것들은
|
||||
전부 검토 완료), 더 뒤지는 것보다 실제 필요가 생겼을 때 개별적으로 판단하는 게 낫다.
|
||||
|
||||
## orphan 스크립트 정리 (같은 날, 2차 조사)
|
||||
|
||||
`tools/*.py` + `src/quant_engine/*.py` 619개 파일 전수 스캔(파일명이 저장소 어디에도 안 나오는
|
||||
것 탐지) 결과 81개 orphan 후보 발견. 두 단계로 나눠 총 74개 삭제:
|
||||
- 1차 34개: 명백한 버전 중복(`_v2`/`_correct`/`_properly` 짝) + tools/에 섞인 임시 테스트/디버그
|
||||
스크립트.
|
||||
- 2차 40개: WBS 티켓 전용 1회성 스크립트 + 기타 build_*/validate_* 진단 도구. **주의**: 스크립트
|
||||
자체 이름 검색만으로는 부족했다 — 47개 후보 중 7개는 이름은 안 불려도 만들어내는
|
||||
`Temp/*.json` 산출물이 다른 도구에서 계속 읽히고 있어 실제로는 살아있었다
|
||||
(`build_outcome_ledger_v1.py`, `build_pre_distribution_early_warning_v3.py`,
|
||||
`build_shadow_ledger_v1.py`, `build_p2_01_live_outcome_ledger.py`,
|
||||
`build_p2_02_calibration_promotion.py`, `build_p1_01_execution_verdict_unify.py`,
|
||||
`run_release_ci_gate_v2.py` — 이 7개는 삭제하지 않고 남겨둠). **다음에 orphan 스캔할 때는
|
||||
스크립트명뿐 아니라 그 스크립트가 쓰는 `Temp/*.json` 출력 경로까지 같이 검색할 것.**
|
||||
|
||||
나머지 orphan 후보(그레이존 밖, 원래 81개에 없던 것들)는 손대지 않았다 — 전수조사가 아니라
|
||||
`tools/`+`src/quant_engine/`만 스캔한 결과다.
|
||||
|
||||
## GatherTradingData.xlsx 관련 (같은 날, 추가 조사)
|
||||
|
||||
로컬에는 `.xlsx`가 없지만, 운영 서버(`~/QuantEngineByItz/GatherTradingData.json`)에는 이미
|
||||
xlsx→json 변환이 끝난 정본 시드 파일이 있다 (저장소 자체 설계 문서
|
||||
`docs/GATHERTRADINGDATA_XLSX_DECISION_2026-06-21.md`가 "json을 정본으로, xlsx는 미추적"으로
|
||||
결정한 바로 그 파일). SCP로 로컬에 받아왔다(`./GatherTradingData.json`, gitignore 대상이라
|
||||
커밋 안 됨). 그런데 `tools/run_release_dag_v3.py`의 `convert_xlsx` 노드는 xlsx 파일이 실제로
|
||||
없으면 무조건 하드 실패하도록 짜여 있어(캐시/스킵 로직 없음, 코드 주석에 "optional 최적화,
|
||||
아직 미구현"이라고 명시됨), json이 이미 있어도 release DAG를 처음부터 끝까지 돌릴 수는 없다.
|
||||
|
||||
남은 WBS 태스크 10개(QE-M3-03, M4-01~05, M5-01~04)를 이 json만으로 복구하려 했으나:
|
||||
- **M3-03**: `engine_history.factor_output_history`에 최근 24시간 데이터가 있어야 하는 라이브
|
||||
신선도 게이트 — 데이터 유무와 무관, 운영 파이프라인이 최근 실제로 돌았는지에 달림.
|
||||
- **M4-01~04, M5-01~03**: `Temp/backtest_result_v1.json` 등은 Python 스크립트가 아니라
|
||||
**`src/dotnet/QuantEngine.Tools`/`QuantEngine.Web`를 실제로 띄우고 Playwright로 백테스트/
|
||||
캘리브레이션 화면을 조작해야** 생성된다(M4-05 검증 커맨드가 `npx playwright test` →
|
||||
`verify_wbs_task_v1.py` 순서인 게 근거). 로컬 웹서버 기동 + Playwright 브라우저 설치 +
|
||||
실제 가격/팩터 이력 DB 데이터 충분 여부까지 얽혀 있어 이번 세션에서는 시도하지 않았다.
|
||||
- **M4-05, M5-04**: 위와 같은 이유로 막힘.
|
||||
|
||||
다음 세션에서 이어가려면: SSH 터널 + `dotnet watch run --project QuantEngine.Web` +
|
||||
`npx playwright test --project=evidence tests/e2e/evidence/qe-m4-05-backtest.spec.ts` 순으로
|
||||
시도. DB에 실제 가격 이력이 충분한지부터 확인할 것 (부족하면 백테스트 자체가 의미있는 결과를
|
||||
못 낼 수 있음).
|
||||
|
||||
## 추가 발견 (같은 날, entropy 정리 이후)
|
||||
|
||||
- **`Temp/*` 전체 삭제가 WBS 검증 캐시를 깼다.** `tools/verify_wbs_task_v1.py`가 만드는
|
||||
|
||||
@@ -1,126 +0,0 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import ast
|
||||
import json
|
||||
import re
|
||||
from dataclasses import dataclass
|
||||
from pathlib import Path
|
||||
|
||||
from src.quant_engine.refactor_master_helpers import ROOT, collect_gas_files
|
||||
|
||||
|
||||
FORBIDDEN_TOKENS = ("decision", "sizing", "stop_loss", "take_profit", "risk_score")
|
||||
ALLOWED_TOKENS = ("collect", "normalize", "export", "display")
|
||||
|
||||
_JS_BLOCK_COMMENT_RE = re.compile(r"/\*.*?\*/", re.S)
|
||||
_JS_LINE_COMMENT_RE = re.compile(r"//.*?$", re.M)
|
||||
_JS_STRING_RE = re.compile(
|
||||
r"""(?x)
|
||||
(?:
|
||||
"(?:\\.|[^"\\])*"
|
||||
| '(?:\\.|[^'\\])*'
|
||||
| `(?:\\.|[^`\\])*`
|
||||
)
|
||||
"""
|
||||
)
|
||||
|
||||
|
||||
@dataclass
|
||||
class FunctionRow:
|
||||
file: str
|
||||
name: str
|
||||
line: int
|
||||
allowed_responsibility: str
|
||||
matched_tokens: list[str]
|
||||
|
||||
|
||||
def classify(name: str, body: str, file_name: str) -> tuple[str, list[str]]:
|
||||
cleaned = _JS_BLOCK_COMMENT_RE.sub(" ", body)
|
||||
cleaned = _JS_LINE_COMMENT_RE.sub(" ", cleaned)
|
||||
cleaned = _JS_STRING_RE.sub(" ", cleaned)
|
||||
low = f"{name}\n{cleaned}".lower()
|
||||
matched_forbidden = [
|
||||
tok
|
||||
for tok in FORBIDDEN_TOKENS
|
||||
if re.search(rf"(?<![A-Za-z0-9_]){re.escape(tok)}(?![A-Za-z0-9_])", low)
|
||||
]
|
||||
matched_allowed = [
|
||||
tok
|
||||
for tok in ALLOWED_TOKENS
|
||||
if re.search(rf"(?<![A-Za-z0-9_]){re.escape(tok)}(?![A-Za-z0-9_])", low)
|
||||
]
|
||||
if matched_forbidden:
|
||||
return "forbidden", matched_forbidden
|
||||
if matched_allowed or file_name == "gas_harness_rows.gs":
|
||||
return "allowed", matched_allowed or ["harness_rows"]
|
||||
return "helper", []
|
||||
|
||||
|
||||
def function_bodies(path: Path) -> list[tuple[str, int, str]]:
|
||||
text = path.read_text(encoding="utf-8", errors="ignore")
|
||||
lines = text.splitlines()
|
||||
header_indexes: list[tuple[str, int]] = []
|
||||
header_re = re.compile(r"^(?:function\s+([A-Za-z0-9_]+)|(?:var|let|const)\s+([A-Za-z0-9_]+)\s*=\s*function\b)")
|
||||
for idx, line in enumerate(lines):
|
||||
stripped = line.strip()
|
||||
m = header_re.match(stripped)
|
||||
if m:
|
||||
name = (m.group(1) or m.group(2) or "").strip()
|
||||
header_indexes.append((name, idx))
|
||||
results: list[tuple[str, int, str]] = []
|
||||
for name, start_idx in header_indexes:
|
||||
brace_depth = 0
|
||||
end_idx = len(lines)
|
||||
started = False
|
||||
for idx in range(start_idx, len(lines)):
|
||||
scan = lines[idx]
|
||||
scan = _JS_BLOCK_COMMENT_RE.sub(" ", scan)
|
||||
scan = _JS_LINE_COMMENT_RE.sub(" ", scan)
|
||||
scan = _JS_STRING_RE.sub(" ", scan)
|
||||
brace_depth += scan.count("{")
|
||||
if scan.count("{"):
|
||||
started = True
|
||||
brace_depth -= scan.count("}")
|
||||
if started and brace_depth <= 0:
|
||||
end_idx = idx + 1
|
||||
break
|
||||
body = "\n".join(lines[start_idx:end_idx])
|
||||
results.append((name, start_idx + 1, body))
|
||||
return results
|
||||
|
||||
|
||||
def build_audit_payload() -> dict:
|
||||
rows: list[FunctionRow] = []
|
||||
for path in collect_gas_files():
|
||||
for name, line, body in function_bodies(path):
|
||||
allowed_responsibility, matched_tokens = classify(name, body, path.name)
|
||||
rows.append(
|
||||
FunctionRow(
|
||||
file=str(path.relative_to(ROOT)),
|
||||
name=name,
|
||||
line=line,
|
||||
allowed_responsibility=allowed_responsibility,
|
||||
matched_tokens=matched_tokens,
|
||||
)
|
||||
)
|
||||
inventory_coverage_pct = 100.0 if rows else 0.0
|
||||
forbidden_rows = [row for row in rows if row.allowed_responsibility == "forbidden"]
|
||||
return {
|
||||
"formula_id": "GAS_BUSINESS_LOGIC_AUDIT_V1",
|
||||
"function_inventory_coverage_pct": inventory_coverage_pct,
|
||||
"function_count": len(rows),
|
||||
"forbidden_function_count": len(forbidden_rows),
|
||||
"approved_exceptions": [
|
||||
"runtime_report_rendering",
|
||||
"data_collection_helpers",
|
||||
],
|
||||
"rows": [row.__dict__ for row in rows],
|
||||
"gate": "PASS" if inventory_coverage_pct >= 100.0 else "FAIL",
|
||||
}
|
||||
|
||||
|
||||
def write_audit(out_path: Path) -> dict:
|
||||
result = build_audit_payload()
|
||||
out_path.parent.mkdir(parents=True, exist_ok=True)
|
||||
out_path.write_text(json.dumps(result, ensure_ascii=False, indent=2), encoding="utf-8")
|
||||
return result
|
||||
@@ -1 +0,0 @@
|
||||
"""Auto-generated package."""
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for ABSOLUTE_RISK_STOP_V1."""
|
||||
|
||||
def test_absolute_risk_stop_v1_golden_stub_exists() -> None:
|
||||
assert 'ABSOLUTE_RISK_STOP_V1'
|
||||
|
||||
def test_absolute_risk_stop_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for ALGORITHM_GUIDANCE_PROOF_V1."""
|
||||
|
||||
def test_algorithm_guidance_proof_v1_golden_stub_exists() -> None:
|
||||
assert 'ALGORITHM_GUIDANCE_PROOF_V1'
|
||||
|
||||
def test_algorithm_guidance_proof_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for ALPHA_EVALUATION_WINDOW_V1."""
|
||||
|
||||
def test_alpha_evaluation_window_v1_golden_stub_exists() -> None:
|
||||
assert 'ALPHA_EVALUATION_WINDOW_V1'
|
||||
|
||||
def test_alpha_evaluation_window_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for ALPHA_FEEDBACK_LOOP_V1."""
|
||||
|
||||
def test_alpha_feedback_loop_v1_golden_stub_exists() -> None:
|
||||
assert 'ALPHA_FEEDBACK_LOOP_V1'
|
||||
|
||||
def test_alpha_feedback_loop_v1_declares_outputs() -> None:
|
||||
outputs = [{'field': 'alpha_feedback_json', 'subfields': ['eligible_t20_fail_rate', 'eligible_t60_fail_rate', 'recommended_filter_adjustments', 'cases_analyzed']}]
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for ANTI_CHASE_V1."""
|
||||
|
||||
def test_anti_chase_v1_golden_stub_exists() -> None:
|
||||
assert 'ANTI_CHASE_V1'
|
||||
|
||||
def test_anti_chase_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for ANTI_CHASING_VELOCITY_V1."""
|
||||
|
||||
def test_anti_chasing_velocity_v1_golden_stub_exists() -> None:
|
||||
assert 'ANTI_CHASING_VELOCITY_V1'
|
||||
|
||||
def test_anti_chasing_velocity_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for ANTI_LATE_ENTRY_GATE_V2."""
|
||||
|
||||
def test_anti_late_entry_gate_v2_golden_stub_exists() -> None:
|
||||
assert 'ANTI_LATE_ENTRY_GATE_V2'
|
||||
|
||||
def test_anti_late_entry_gate_v2_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for ANTI_WHIPSAW_GATE_V1."""
|
||||
|
||||
def test_anti_whipsaw_gate_v1_golden_stub_exists() -> None:
|
||||
assert 'ANTI_WHIPSAW_GATE_V1'
|
||||
|
||||
def test_anti_whipsaw_gate_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for ARTIFACT_FRESHNESS_GATE_V1."""
|
||||
|
||||
def test_artifact_freshness_gate_v1_golden_stub_exists() -> None:
|
||||
assert 'ARTIFACT_FRESHNESS_GATE_V1'
|
||||
|
||||
def test_artifact_freshness_gate_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for AUDIT_REPLAY_SNAPSHOT_V1."""
|
||||
|
||||
def test_audit_replay_snapshot_v1_golden_stub_exists() -> None:
|
||||
assert 'AUDIT_REPLAY_SNAPSHOT_V1'
|
||||
|
||||
def test_audit_replay_snapshot_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for BENCHMARK_RELATIVE_TIMESERIES_V1."""
|
||||
|
||||
def test_benchmark_relative_timeseries_v1_golden_stub_exists() -> None:
|
||||
assert 'BENCHMARK_RELATIVE_TIMESERIES_V1'
|
||||
|
||||
def test_benchmark_relative_timeseries_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for BLANK_CELL_AUDIT_V1."""
|
||||
|
||||
def test_blank_cell_audit_v1_golden_stub_exists() -> None:
|
||||
assert 'BLANK_CELL_AUDIT_V1'
|
||||
|
||||
def test_blank_cell_audit_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for BREAKEVEN_RATCHET_V1."""
|
||||
|
||||
def test_breakeven_ratchet_v1_golden_stub_exists() -> None:
|
||||
assert 'BREAKEVEN_RATCHET_V1'
|
||||
|
||||
def test_breakeven_ratchet_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for BREAKOUT_FAILURE_STOP_V1."""
|
||||
|
||||
def test_breakout_failure_stop_v1_golden_stub_exists() -> None:
|
||||
assert 'BREAKOUT_FAILURE_STOP_V1'
|
||||
|
||||
def test_breakout_failure_stop_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for BREAKOUT_QUALITY_GATE_V2."""
|
||||
|
||||
def test_breakout_quality_gate_v2_golden_stub_exists() -> None:
|
||||
assert 'BREAKOUT_QUALITY_GATE_V2'
|
||||
|
||||
def test_breakout_quality_gate_v2_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for CANONICAL_ARTIFACT_RESOLVER_V1."""
|
||||
|
||||
def test_canonical_artifact_resolver_v1_golden_stub_exists() -> None:
|
||||
assert 'CANONICAL_ARTIFACT_RESOLVER_V1'
|
||||
|
||||
def test_canonical_artifact_resolver_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for CANONICAL_METRICS_V1."""
|
||||
|
||||
def test_canonical_metrics_v1_golden_stub_exists() -> None:
|
||||
assert 'CANONICAL_METRICS_V1'
|
||||
|
||||
def test_canonical_metrics_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for CAPITAL_STYLE_ALLOCATION_V1."""
|
||||
|
||||
def test_capital_style_allocation_v1_golden_stub_exists() -> None:
|
||||
assert 'CAPITAL_STYLE_ALLOCATION_V1'
|
||||
|
||||
def test_capital_style_allocation_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for CASH_CREATION_PURPOSE_LOCK_V1."""
|
||||
|
||||
def test_cash_creation_purpose_lock_v1_golden_stub_exists() -> None:
|
||||
assert 'CASH_CREATION_PURPOSE_LOCK_V1'
|
||||
|
||||
def test_cash_creation_purpose_lock_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for CASH_FLOOR_V1."""
|
||||
|
||||
def test_cash_floor_v1_golden_stub_exists() -> None:
|
||||
assert 'CASH_FLOOR_V1'
|
||||
|
||||
def test_cash_floor_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for CASH_RAISE_PARETO_EXECUTOR_V2."""
|
||||
|
||||
def test_cash_raise_pareto_executor_v2_golden_stub_exists() -> None:
|
||||
assert 'CASH_RAISE_PARETO_EXECUTOR_V2'
|
||||
|
||||
def test_cash_raise_pareto_executor_v2_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for CASH_RAISE_VALUE_OPTIMIZER_V3."""
|
||||
|
||||
def test_cash_raise_value_optimizer_v3_golden_stub_exists() -> None:
|
||||
assert 'CASH_RAISE_VALUE_OPTIMIZER_V3'
|
||||
|
||||
def test_cash_raise_value_optimizer_v3_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for CASH_RATIOS_V1."""
|
||||
|
||||
def test_cash_ratios_v1_golden_stub_exists() -> None:
|
||||
assert 'CASH_RATIOS_V1'
|
||||
|
||||
def test_cash_ratios_v1_declares_outputs() -> None:
|
||||
outputs = {'settlement_cash_ratio': 'settlement_cash / total_asset * 100', 'total_cash_ratio': 'settlement_cash / total_asset * 100', 'buy_power_cash': 'settlement_cash - reserved_order_amount', 'buy_power_ratio': '(settlement_cash - reserved_order_amount) / total_asset * 100', 'post_trade_total_cash_ratio': '(settlement_cash - planned_buy_amount + sell_cash_proceeds_d2) / total_asset * 100'}
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for CASH_RECOVERY_OPTIMIZER_V1."""
|
||||
|
||||
def test_cash_recovery_optimizer_v1_golden_stub_exists() -> None:
|
||||
assert 'CASH_RECOVERY_OPTIMIZER_V1'
|
||||
|
||||
def test_cash_recovery_optimizer_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for CASH_RECOVERY_OPTIMIZER_V4."""
|
||||
|
||||
def test_cash_recovery_optimizer_v4_golden_stub_exists() -> None:
|
||||
assert 'CASH_RECOVERY_OPTIMIZER_V4'
|
||||
|
||||
def test_cash_recovery_optimizer_v4_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for CASH_RECOVERY_V1."""
|
||||
|
||||
def test_cash_recovery_v1_golden_stub_exists() -> None:
|
||||
assert 'CASH_RECOVERY_V1'
|
||||
|
||||
def test_cash_recovery_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for CASHFLOW_QUALITY_SIGNAL_V1."""
|
||||
|
||||
def test_cashflow_quality_signal_v1_golden_stub_exists() -> None:
|
||||
assert 'CASHFLOW_QUALITY_SIGNAL_V1'
|
||||
|
||||
def test_cashflow_quality_signal_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for CASHFLOW_STABILITY_GATE_V1."""
|
||||
|
||||
def test_cashflow_stability_gate_v1_golden_stub_exists() -> None:
|
||||
assert 'CASHFLOW_STABILITY_GATE_V1'
|
||||
|
||||
def test_cashflow_stability_gate_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for CLA_REGIME_EXIT_CONDITION_V1."""
|
||||
|
||||
def test_cla_regime_exit_condition_v1_golden_stub_exists() -> None:
|
||||
assert 'CLA_REGIME_EXIT_CONDITION_V1'
|
||||
|
||||
def test_cla_regime_exit_condition_v1_declares_outputs() -> None:
|
||||
outputs = [{'field': 'cla_exit_status', 'unit': 'enum [CLA_ACTIVE,CLA_EXIT_WARNING,CLA_EXIT_CONFIRMED]'}, {'field': 'cla_exit_signals_triggered', 'unit': 'list'}, {'field': 'cla_exit_total_weight', 'unit': 'int'}]
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for COMPLETION_GAP_V1."""
|
||||
|
||||
def test_completion_gap_v1_golden_stub_exists() -> None:
|
||||
assert 'COMPLETION_GAP_V1'
|
||||
|
||||
def test_completion_gap_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for COMPOSITE_VERDICT_V1."""
|
||||
|
||||
def test_composite_verdict_v1_golden_stub_exists() -> None:
|
||||
assert 'COMPOSITE_VERDICT_V1'
|
||||
|
||||
def test_composite_verdict_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for COMPREHENSIVE_PROPOSAL_V1."""
|
||||
|
||||
def test_comprehensive_proposal_v1_golden_stub_exists() -> None:
|
||||
assert 'COMPREHENSIVE_PROPOSAL_V1'
|
||||
|
||||
def test_comprehensive_proposal_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for CONSECUTIVE_STREAK_V1."""
|
||||
|
||||
def test_consecutive_streak_v1_golden_stub_exists() -> None:
|
||||
assert 'CONSECUTIVE_STREAK_V1'
|
||||
|
||||
def test_consecutive_streak_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for CONTINUOUS_EVALUATION_DASHBOARD_V1."""
|
||||
|
||||
def test_continuous_evaluation_dashboard_v1_golden_stub_exists() -> None:
|
||||
assert 'CONTINUOUS_EVALUATION_DASHBOARD_V1'
|
||||
|
||||
def test_continuous_evaluation_dashboard_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for CROSS_SECTION_CONSISTENCY_V1."""
|
||||
|
||||
def test_cross_section_consistency_v1_golden_stub_exists() -> None:
|
||||
assert 'CROSS_SECTION_CONSISTENCY_V1'
|
||||
|
||||
def test_cross_section_consistency_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for DATA_INTEGRITY_100_LOCK_V1."""
|
||||
|
||||
def test_data_integrity_100_lock_v1_golden_stub_exists() -> None:
|
||||
assert 'DATA_INTEGRITY_100_LOCK_V1'
|
||||
|
||||
def test_data_integrity_100_lock_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for DATA_INTEGRITY_100_LOCK_V2."""
|
||||
|
||||
def test_data_integrity_100_lock_v2_golden_stub_exists() -> None:
|
||||
assert 'DATA_INTEGRITY_100_LOCK_V2'
|
||||
|
||||
def test_data_integrity_100_lock_v2_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for DATA_INTEGRITY_SCORE_V1."""
|
||||
|
||||
def test_data_integrity_score_v1_golden_stub_exists() -> None:
|
||||
assert 'DATA_INTEGRITY_SCORE_V1'
|
||||
|
||||
def test_data_integrity_score_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for DATA_MATURITY_TRUTH_GATE_V1."""
|
||||
|
||||
def test_data_maturity_truth_gate_v1_golden_stub_exists() -> None:
|
||||
assert 'DATA_MATURITY_TRUTH_GATE_V1'
|
||||
|
||||
def test_data_maturity_truth_gate_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for DATA_MATURITY_TRUTH_GATE_VALIDATOR_V1."""
|
||||
|
||||
def test_data_maturity_truth_gate_validator_v1_golden_stub_exists() -> None:
|
||||
assert 'DATA_MATURITY_TRUTH_GATE_VALIDATOR_V1'
|
||||
|
||||
def test_data_maturity_truth_gate_validator_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for DATA_QUALITY_GATE_V2_PY."""
|
||||
|
||||
def test_data_quality_gate_v2_py_golden_stub_exists() -> None:
|
||||
assert 'DATA_QUALITY_GATE_V2_PY'
|
||||
|
||||
def test_data_quality_gate_v2_py_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for DATA_QUALITY_GATE_V3."""
|
||||
|
||||
def test_data_quality_gate_v3_golden_stub_exists() -> None:
|
||||
assert 'DATA_QUALITY_GATE_V3'
|
||||
|
||||
def test_data_quality_gate_v3_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for DETERMINISTIC_ROUTING_ENGINE_V1."""
|
||||
|
||||
def test_deterministic_routing_engine_v1_golden_stub_exists() -> None:
|
||||
assert 'DETERMINISTIC_ROUTING_ENGINE_V1'
|
||||
|
||||
def test_deterministic_routing_engine_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for DISTRIBUTION_SELL_DETECTOR_V1."""
|
||||
|
||||
def test_distribution_sell_detector_v1_golden_stub_exists() -> None:
|
||||
assert 'DISTRIBUTION_SELL_DETECTOR_V1'
|
||||
|
||||
def test_distribution_sell_detector_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for DIVERGENCE_SCORE_V1."""
|
||||
|
||||
def test_divergence_score_v1_golden_stub_exists() -> None:
|
||||
assert 'DIVERGENCE_SCORE_V1'
|
||||
|
||||
def test_divergence_score_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for DRAWDOWN_GUARD_V1."""
|
||||
|
||||
def test_drawdown_guard_v1_golden_stub_exists() -> None:
|
||||
assert 'DRAWDOWN_GUARD_V1'
|
||||
|
||||
def test_drawdown_guard_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for DYNAMIC_HEAT_GATE_V1."""
|
||||
|
||||
def test_dynamic_heat_gate_v1_golden_stub_exists() -> None:
|
||||
assert 'DYNAMIC_HEAT_GATE_V1'
|
||||
|
||||
def test_dynamic_heat_gate_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for EARNINGS_GROWTH_QUALITY_GATE_V1."""
|
||||
|
||||
def test_earnings_growth_quality_gate_v1_golden_stub_exists() -> None:
|
||||
assert 'EARNINGS_GROWTH_QUALITY_GATE_V1'
|
||||
|
||||
def test_earnings_growth_quality_gate_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for EARNINGS_QUALITY_SIGNAL_V1."""
|
||||
|
||||
def test_earnings_quality_signal_v1_golden_stub_exists() -> None:
|
||||
assert 'EARNINGS_QUALITY_SIGNAL_V1'
|
||||
|
||||
def test_earnings_quality_signal_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for ECP_RISK_SCALE_V1."""
|
||||
|
||||
def test_ecp_risk_scale_v1_golden_stub_exists() -> None:
|
||||
assert 'ECP_RISK_SCALE_V1'
|
||||
|
||||
def test_ecp_risk_scale_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for EJCE_DIVERGENCE_AUDIT_V1."""
|
||||
|
||||
def test_ejce_divergence_audit_v1_golden_stub_exists() -> None:
|
||||
assert 'EJCE_DIVERGENCE_AUDIT_V1'
|
||||
|
||||
def test_ejce_divergence_audit_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for EJCE_VIEW_RENDERER_V1."""
|
||||
|
||||
def test_ejce_view_renderer_v1_golden_stub_exists() -> None:
|
||||
assert 'EJCE_VIEW_RENDERER_V1'
|
||||
|
||||
def test_ejce_view_renderer_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for ENTRY_TIMING_DECILE_FACTOR_V1."""
|
||||
|
||||
def test_entry_timing_decile_factor_v1_golden_stub_exists() -> None:
|
||||
assert 'ENTRY_TIMING_DECILE_FACTOR_V1'
|
||||
|
||||
def test_entry_timing_decile_factor_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for EXECUTION_CAPACITY_LADDER_V1."""
|
||||
|
||||
def test_execution_capacity_ladder_v1_golden_stub_exists() -> None:
|
||||
assert 'EXECUTION_CAPACITY_LADDER_V1'
|
||||
|
||||
def test_execution_capacity_ladder_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for EXECUTION_METHOD_LADDER_V1."""
|
||||
|
||||
def test_execution_method_ladder_v1_golden_stub_exists() -> None:
|
||||
assert 'EXECUTION_METHOD_LADDER_V1'
|
||||
|
||||
def test_execution_method_ladder_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for EXECUTION_PLAN_COMPILER_V1."""
|
||||
|
||||
def test_execution_plan_compiler_v1_golden_stub_exists() -> None:
|
||||
assert 'EXECUTION_PLAN_COMPILER_V1'
|
||||
|
||||
def test_execution_plan_compiler_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for EXECUTION_QUALITY_SCORE_V1."""
|
||||
|
||||
def test_execution_quality_score_v1_golden_stub_exists() -> None:
|
||||
assert 'EXECUTION_QUALITY_SCORE_V1'
|
||||
|
||||
def test_execution_quality_score_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for EXPECTED_EDGE_V1."""
|
||||
|
||||
def test_expected_edge_v1_golden_stub_exists() -> None:
|
||||
assert 'EXPECTED_EDGE_V1'
|
||||
|
||||
def test_expected_edge_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for FIFTY_TWO_WEEK_HIGH_TRIGGER_V1."""
|
||||
|
||||
def test_fifty_two_week_high_trigger_v1_golden_stub_exists() -> None:
|
||||
assert 'FIFTY_TWO_WEEK_HIGH_TRIGGER_V1'
|
||||
|
||||
def test_fifty_two_week_high_trigger_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for FINAL_JUDGMENT_GATE_V1."""
|
||||
|
||||
def test_final_judgment_gate_v1_golden_stub_exists() -> None:
|
||||
assert 'FINAL_JUDGMENT_GATE_V1'
|
||||
|
||||
def test_final_judgment_gate_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for FINANCIAL_HEALTH_SCORE_V1."""
|
||||
|
||||
def test_financial_health_score_v1_golden_stub_exists() -> None:
|
||||
assert 'FINANCIAL_HEALTH_SCORE_V1'
|
||||
|
||||
def test_financial_health_score_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for FLOW_ACCELERATION_V1."""
|
||||
|
||||
def test_flow_acceleration_v1_golden_stub_exists() -> None:
|
||||
assert 'FLOW_ACCELERATION_V1'
|
||||
|
||||
def test_flow_acceleration_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for FLOW_CREDIT_V1."""
|
||||
|
||||
def test_flow_credit_v1_golden_stub_exists() -> None:
|
||||
assert 'FLOW_CREDIT_V1'
|
||||
|
||||
def test_flow_credit_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for FOLLOW_THROUGH_DAY_CONFIRM_V1."""
|
||||
|
||||
def test_follow_through_day_confirm_v1_golden_stub_exists() -> None:
|
||||
assert 'FOLLOW_THROUGH_DAY_CONFIRM_V1'
|
||||
|
||||
def test_follow_through_day_confirm_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for FORECAST_SIMULATION_ENGINE_V1."""
|
||||
|
||||
def test_forecast_simulation_engine_v1_golden_stub_exists() -> None:
|
||||
assert 'FORECAST_SIMULATION_ENGINE_V1'
|
||||
|
||||
def test_forecast_simulation_engine_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for FUNDAMENTAL_MULTI_FACTOR_SCORE_V2."""
|
||||
|
||||
def test_fundamental_multi_factor_score_v2_golden_stub_exists() -> None:
|
||||
assert 'FUNDAMENTAL_MULTI_FACTOR_SCORE_V2'
|
||||
|
||||
def test_fundamental_multi_factor_score_v2_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for FUNDAMENTAL_MULTIFACTOR_V3."""
|
||||
|
||||
def test_fundamental_multifactor_v3_golden_stub_exists() -> None:
|
||||
assert 'FUNDAMENTAL_MULTIFACTOR_V3'
|
||||
|
||||
def test_fundamental_multifactor_v3_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for FUNDAMENTAL_QUALITY_GATE_V1."""
|
||||
|
||||
def test_fundamental_quality_gate_v1_golden_stub_exists() -> None:
|
||||
assert 'FUNDAMENTAL_QUALITY_GATE_V1'
|
||||
|
||||
def test_fundamental_quality_gate_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for FUNDAMENTAL_RAW_INGEST_V1."""
|
||||
|
||||
def test_fundamental_raw_ingest_v1_golden_stub_exists() -> None:
|
||||
assert 'FUNDAMENTAL_RAW_INGEST_V1'
|
||||
|
||||
def test_fundamental_raw_ingest_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for GOLDEN_CROSS_SIGNAL_V1."""
|
||||
|
||||
def test_golden_cross_signal_v1_golden_stub_exists() -> None:
|
||||
assert 'GOLDEN_CROSS_SIGNAL_V1'
|
||||
|
||||
def test_golden_cross_signal_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for GROWTH_RATE_SIGNAL_V1."""
|
||||
|
||||
def test_growth_rate_signal_v1_golden_stub_exists() -> None:
|
||||
assert 'GROWTH_RATE_SIGNAL_V1'
|
||||
|
||||
def test_growth_rate_signal_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for HARNESS_DATA_FRESHNESS_GATE_V1."""
|
||||
|
||||
def test_harness_data_freshness_gate_v1_golden_stub_exists() -> None:
|
||||
assert 'HARNESS_DATA_FRESHNESS_GATE_V1'
|
||||
|
||||
def test_harness_data_freshness_gate_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for HEAT_CONCENTRATION_ALERT_V1."""
|
||||
|
||||
def test_heat_concentration_alert_v1_golden_stub_exists() -> None:
|
||||
assert 'HEAT_CONCENTRATION_ALERT_V1'
|
||||
|
||||
def test_heat_concentration_alert_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for HORIZON_ALLOCATION_LOCK_V1."""
|
||||
|
||||
def test_horizon_allocation_lock_v1_golden_stub_exists() -> None:
|
||||
assert 'HORIZON_ALLOCATION_LOCK_V1'
|
||||
|
||||
def test_horizon_allocation_lock_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for HORIZON_CLASSIFICATION_V1."""
|
||||
|
||||
def test_horizon_classification_v1_golden_stub_exists() -> None:
|
||||
assert 'HORIZON_CLASSIFICATION_V1'
|
||||
|
||||
def test_horizon_classification_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for IMMUTABLE_DECISION_LEDGER_V1."""
|
||||
|
||||
def test_immutable_decision_ledger_v1_golden_stub_exists() -> None:
|
||||
assert 'IMMUTABLE_DECISION_LEDGER_V1'
|
||||
|
||||
def test_immutable_decision_ledger_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for INTRADAY_ACTION_MATRIX_V1."""
|
||||
|
||||
def test_intraday_action_matrix_v1_golden_stub_exists() -> None:
|
||||
assert 'INTRADAY_ACTION_MATRIX_V1'
|
||||
|
||||
def test_intraday_action_matrix_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for INVESTMENT_QUALITY_HEADLINE_V1."""
|
||||
|
||||
def test_investment_quality_headline_v1_golden_stub_exists() -> None:
|
||||
assert 'INVESTMENT_QUALITY_HEADLINE_V1'
|
||||
|
||||
def test_investment_quality_headline_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for K2_STAGED_REBOUND_SELL_V1."""
|
||||
|
||||
def test_k2_staged_rebound_sell_v1_golden_stub_exists() -> None:
|
||||
assert 'K2_STAGED_REBOUND_SELL_V1'
|
||||
|
||||
def test_k2_staged_rebound_sell_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for LEADER_LIFECYCLE_GATE_V1."""
|
||||
|
||||
def test_leader_lifecycle_gate_v1_golden_stub_exists() -> None:
|
||||
assert 'LEADER_LIFECYCLE_GATE_V1'
|
||||
|
||||
def test_leader_lifecycle_gate_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for LEADER_POSITION_WEIGHT_CAP_V1."""
|
||||
|
||||
def test_leader_position_weight_cap_v1_golden_stub_exists() -> None:
|
||||
assert 'LEADER_POSITION_WEIGHT_CAP_V1'
|
||||
|
||||
def test_leader_position_weight_cap_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for LIQUIDITY_FLOW_SIGNAL_V1."""
|
||||
|
||||
def test_liquidity_flow_signal_v1_golden_stub_exists() -> None:
|
||||
assert 'LIQUIDITY_FLOW_SIGNAL_V1'
|
||||
|
||||
def test_liquidity_flow_signal_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for LLM_NARRATIVE_TEMPLATE_LOCK_V1."""
|
||||
|
||||
def test_llm_narrative_template_lock_v1_golden_stub_exists() -> None:
|
||||
assert 'LLM_NARRATIVE_TEMPLATE_LOCK_V1'
|
||||
|
||||
def test_llm_narrative_template_lock_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for LLM_SERVING_CONSTRAINT_V1."""
|
||||
|
||||
def test_llm_serving_constraint_v1_golden_stub_exists() -> None:
|
||||
assert 'LLM_SERVING_CONSTRAINT_V1'
|
||||
|
||||
def test_llm_serving_constraint_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for MACRO_EVENT_TICKER_IMPACT_V1."""
|
||||
|
||||
def test_macro_event_ticker_impact_v1_golden_stub_exists() -> None:
|
||||
assert 'MACRO_EVENT_TICKER_IMPACT_V1'
|
||||
|
||||
def test_macro_event_ticker_impact_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for MARKET_RISK_SCORE_V1."""
|
||||
|
||||
def test_market_risk_score_v1_golden_stub_exists() -> None:
|
||||
assert 'MARKET_RISK_SCORE_V1'
|
||||
|
||||
def test_market_risk_score_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for MARKET_SHARE_MOMENTUM_PROXY_V1."""
|
||||
|
||||
def test_market_share_momentum_proxy_v1_golden_stub_exists() -> None:
|
||||
assert 'MARKET_SHARE_MOMENTUM_PROXY_V1'
|
||||
|
||||
def test_market_share_momentum_proxy_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for MARKET_SHARE_SIGNAL_V2."""
|
||||
|
||||
def test_market_share_signal_v2_golden_stub_exists() -> None:
|
||||
assert 'MARKET_SHARE_SIGNAL_V2'
|
||||
|
||||
def test_market_share_signal_v2_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for MARKET_WEIGHT_AWARE_CLUSTER_GATE_V1."""
|
||||
|
||||
def test_market_weight_aware_cluster_gate_v1_golden_stub_exists() -> None:
|
||||
assert 'MARKET_WEIGHT_AWARE_CLUSTER_GATE_V1'
|
||||
|
||||
def test_market_weight_aware_cluster_gate_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for MEAN_REVERSION_GATE_V1."""
|
||||
|
||||
def test_mean_reversion_gate_v1_golden_stub_exists() -> None:
|
||||
assert 'MEAN_REVERSION_GATE_V1'
|
||||
|
||||
def test_mean_reversion_gate_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for MODEL_GOVERNANCE_KILL_SWITCH_V1."""
|
||||
|
||||
def test_model_governance_kill_switch_v1_golden_stub_exists() -> None:
|
||||
assert 'MODEL_GOVERNANCE_KILL_SWITCH_V1'
|
||||
|
||||
def test_model_governance_kill_switch_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for OVERHANG_PRESSURE_V1."""
|
||||
|
||||
def test_overhang_pressure_v1_golden_stub_exists() -> None:
|
||||
assert 'OVERHANG_PRESSURE_V1'
|
||||
|
||||
def test_overhang_pressure_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for OVERSOLD_DELAY_V1."""
|
||||
|
||||
def test_oversold_delay_v1_golden_stub_exists() -> None:
|
||||
assert 'OVERSOLD_DELAY_V1'
|
||||
|
||||
def test_oversold_delay_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for PATTERN_BLACKLIST_AUTO_V1."""
|
||||
|
||||
def test_pattern_blacklist_auto_v1_golden_stub_exists() -> None:
|
||||
assert 'PATTERN_BLACKLIST_AUTO_V1'
|
||||
|
||||
def test_pattern_blacklist_auto_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for PEG_SCORE_V1."""
|
||||
|
||||
def test_peg_score_v1_golden_stub_exists() -> None:
|
||||
assert 'PEG_SCORE_V1'
|
||||
|
||||
def test_peg_score_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for PORTFOLIO_ALPHA_CONFIDENCE_PER_TICKER_V1."""
|
||||
|
||||
def test_portfolio_alpha_confidence_per_ticker_v1_golden_stub_exists() -> None:
|
||||
assert 'PORTFOLIO_ALPHA_CONFIDENCE_PER_TICKER_V1'
|
||||
|
||||
def test_portfolio_alpha_confidence_per_ticker_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
@@ -1,9 +0,0 @@
|
||||
"""Auto-generated golden test stub for PORTFOLIO_BAND_STATUS_V1."""
|
||||
|
||||
def test_portfolio_band_status_v1_golden_stub_exists() -> None:
|
||||
assert 'PORTFOLIO_BAND_STATUS_V1'
|
||||
|
||||
def test_portfolio_band_status_v1_declares_outputs() -> None:
|
||||
outputs = []
|
||||
assert isinstance(outputs, list)
|
||||
assert outputs
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user