fix(dashboard): plot live campaign-4 logs; derive ROOT from script location
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
Pure-stdlib SVG output (matplotlib not available on this box).
|
||||
Generates ONE file:
|
||||
docs/campaign_dashboard.svg - five panels, current (v2) run only:
|
||||
1. test-match win % vs opponents (campaign_v2_stdout.log eval lines)
|
||||
1. test-match win % vs opponents (campaign_v4_stdout.log eval lines)
|
||||
2. real-fight win % per opponent (training_log.jsonl, ~100-game buckets)
|
||||
3. critic_loss / |actor_loss| (training_metrics.jsonl, shared log-y)
|
||||
4. alpha temperature (training_metrics.jsonl, linear)
|
||||
@@ -556,7 +556,7 @@ def main():
|
||||
selftest()
|
||||
return
|
||||
args = [a for a in sys.argv[1:] if not a.startswith("-")]
|
||||
campaign = Path(args[0]) if len(args) > 0 else ROOT / "campaign_v2_stdout.log"
|
||||
campaign = Path(args[0]) if len(args) > 0 else ROOT / "campaign_v4_stdout.log"
|
||||
metrics = Path(args[1]) if len(args) > 1 else ROOT / "training_metrics.jsonl"
|
||||
games = Path(args[2]) if len(args) > 2 else ROOT / "training_log.jsonl"
|
||||
outdir = Path(args[3]) if len(args) > 3 else ROOT / "docs"
|
||||
|
||||
Reference in New Issue
Block a user