123
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
``referee-data/`` 与 ``output/`` 都在 .gitignore 里:本机清掉评测机数据后,
|
||||
``docs/figures/*.png`` 就无法复现。本脚本把"作图用到的那几局"抽出来,
|
||||
命名成 ``<case_code>.<module>.jsonl`` 存进 ``examples/replay/``(入库、几万行以内),
|
||||
``scripts/make_figures.py`` 在没有评测机数据时自动改读这里。
|
||||
``scripts/build_figure_data.py`` 在没有评测机数据时自动改读这里。
|
||||
|
||||
uv run python scripts/archive_replay_logs.py # 归档作图默认选中的两局
|
||||
uv run python scripts/archive_replay_logs.py BBM9-HZG2-77N5-NKKC # 指定案例
|
||||
@@ -26,7 +26,7 @@ ARCHIVE_DIR = ROOT / 'examples' / 'replay'
|
||||
|
||||
sys.path.insert(0, str(Path(__file__).resolve().parent))
|
||||
|
||||
from make_figures import discover_runs, pick_run # noqa: E402
|
||||
from build_figure_data import discover_runs, pick_run # noqa: E402
|
||||
|
||||
|
||||
def archive(run: dict, out_dir: Path) -> Path:
|
||||
|
||||
Reference in New Issue
Block a user