Introduced in commit dfc79e4
The format_books_json.py script, invoked from the Makefile after simulation runs, reformats .jsonl files using format_json_with_compact_names(). This converts each single-line JSON record into a multi-line pretty-printed block, which breaks the JSONL specification.
To reproduce: set self.output_regular_json = False in game_config.py and compression = False in run.py, then run make run GAME=<game>.
Introduced in commit dfc79e4
The
format_books_json.pyscript, invoked from theMakefileafter simulation runs, reformats.jsonlfiles usingformat_json_with_compact_names(). This converts each single-line JSON record into a multi-line pretty-printed block, which breaks the JSONL specification.To reproduce: set
self.output_regular_json = Falseingame_config.pyandcompression = Falseinrun.py, then runmake run GAME=<game>.