Skip to content

cli: no way to set the number of rounds for a systems model #439

Open

Description

@bpowers

A systems-format model (.txt) always runs for 10 rounds in the CLI, because open_model translates it with the fixed DEFAULT_ROUNDS.
The format itself has no run length, so simulate and debug need a --rounds N flag, defaulting to 10.

Example

simlin debug --reference expected_50_rounds.csv model.txt

compares only the first 10 rounds; the other 40 rows of the reference are skipped without a word (the silent truncation is #437).
There is no way to ask for 50.

Why it matters

Only affects someone checking a systems model against a longer run of the Python systems package from the command line.
The engine's own tests pass a round count directly to translate and are not affected.

Fix

Add --rounds to the shared input arguments (it only applies to --format systems; reject it for other formats) and pass it to translate.
Inferring the count from the reference file's length in debug is possible but adds a rule for one path; the flag is enough.
Whether the Python package spells its option --rounds is unverified.

Pointers

Activity

  1. added
    enhancement
    on Jun 8, 2026
  2. changed the title [-]simlin-cli: add --rounds flag for systems format models[/-] [+]cli: no way to set the number of rounds for a systems model[/+] on Oct 12, 2026
  3. added
    engine
    on Oct 12, 2026
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

    engineenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions