Skip to content

format_books_json.py breaks JSONL format #99

Description

@MaksimKiselev

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>.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions