Skip to content

format_books_json.py breaks JSONL format #99

@MaksimKiselev

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions