#!/usr/bin/env python3 import json from pathlib import Path import sys root = Path(__file__).resolve().parents[1] sys.path.insert(0, str(root / "student-tests")) from scaling_research import summarize, make_chart, write_report path = root / "evidence/scaling.json" evidence = json.loads(path.read_text()) summarize(evidence) path.write_text(json.dumps(evidence, ensure_ascii=False, indent=2) + "\n") make_chart(evidence) write_report(evidence) print("Updated evidence/scaling.png, evidence/scaling.svg and docs/SCALING.md")