refactor: GT·시뮬·운영 3축 정리 및 hybrid 실거래 정합

Phase C/dry-run·미사용 모듈·재생성 HTML을 제거하고, 운영 체결을
sim_causal_hybrid와 동일한 hybrid 로직으로 통합한다.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
xavis
2026-06-03 23:50:28 +09:00
parent a16c942be4
commit d7848df6f7
85 changed files with 177180 additions and 196131 deletions

View File

@@ -1,13 +1,32 @@
#!/usr/bin/env python3
"""05: Ground Truth 차트 + JSON."""
"""05: Ground Truth JSON → HTML 차트 (기본: JSON만 반영, --regenerate 시 02 재실행)."""
import argparse
import runpy
import sys
from pathlib import Path
runpy.run_path(str(Path(__file__).resolve().parent / "_bootstrap.py"))
from deepcoin.ops import simulation
def main() -> None:
parser = argparse.ArgumentParser(description="Ground Truth HTML 차트")
parser.add_argument(
"--regenerate",
action="store_true",
help="DB에서 GT JSON을 다시 생성한 뒤 HTML 작성",
)
parser.add_argument(
"--no-browser",
action="store_true",
help="브라우저 자동 열기 생략",
)
args = parser.parse_args()
simulation.run_ground_truth_chart(
open_browser=not args.no_browser,
from_json=not args.regenerate,
)
if __name__ == "__main__":
sys.argv = [sys.argv[0], "truth"]
simulation.main()
main()