feat: .NET 운영 리포트 렌더러와 CI 경로 전환

- operational_report.json/md와 final_decision_packet_v4 생성 경로를 .NET으로 전환했습니다.
- CI, 운영 게이트, 릴리스 DAG, 대시보드의 운영 진입점을 새 경로로 정렬했습니다.
- legacy Python 렌더러는 비운영으로 명시했습니다.
This commit is contained in:
2026-06-26 14:18:03 +09:00
parent 8f13bb4a48
commit 9e6e2ded2f
15 changed files with 649 additions and 120 deletions
+17 -6
View File
@@ -62,13 +62,24 @@ class _CalcVisitor(ast.NodeVisitor):
def main() -> int:
path = ROOT / "tools" / "render_operational_report.py"
path = ROOT / "src" / "dotnet" / "QuantEngine.Tools" / "Program.cs"
text = read_text(path)
tree = ast.parse(text)
visitor = _CalcVisitor()
visitor.source = text
visitor.visit(tree)
calc_lines = visitor.violations
if path.suffix.lower() == ".cs":
calc_lines = []
for idx, line in enumerate(text.splitlines(), start=1):
stripped = line.strip()
if not stripped or stripped.startswith("//"):
continue
if '"' in stripped or "'" in stripped:
continue
if any(token in stripped for token in [" + ", " - ", " * ", " / ", "Math.Round(", "Math.Min(", "Math.Max("]):
calc_lines.append({"line": str(idx), "text": stripped})
else:
tree = ast.parse(text)
visitor = _CalcVisitor()
visitor.source = text
visitor.visit(tree)
calc_lines = visitor.violations
result = {
"formula_id": "RENDERER_NO_CALCULATION_V1",
"renderer_calculation_count": len(calc_lines),