diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/build_report.py | 1 | ||||
| -rw-r--r-- | scripts/plot.py | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/scripts/build_report.py b/scripts/build_report.py index 4fdeb07..4b74686 100644 --- a/scripts/build_report.py +++ b/scripts/build_report.py @@ -88,7 +88,6 @@ def probe_fig(result: dict, model: str) -> str: def halting_fig(result: dict, cfg: dict) -> str: gaps = result.get("gaps", []) steps = result.get("steps_by_n", []) - n = list(range(cfg["range_start"], cfg["range_end"] + 1)) fig, ax = plt.subplots(figsize=(8, 3)) ax.scatter(gaps, steps, s=14) ax.set_xlabel("gap to next prime") diff --git a/scripts/plot.py b/scripts/plot.py index 6a71c3b..61733ee 100644 --- a/scripts/plot.py +++ b/scripts/plot.py @@ -1,7 +1,6 @@ """Plot train/val curves from a metrics.csv. Usage: python -m scripts.plot <model> <seed> [--runs-dir DIR]""" import argparse import csv -import sys import matplotlib matplotlib.use("Agg") |
