Skip to content

test: sir_social_distancing_mixnot.stmx cannot be simulated #941

Closed

Description

@bpowers

The checked-in Stella model test/conveyors/sir_social_distancing_mixnot.stmx cannot be simulated by either backend.
Its two conveyors are Infected stocks inside the Not_Mixing and Not_Mixing_at_all sub-models (the top-level model has no stocks), and conveyors in sub-models are rejected with ConveyorInSubmodelUnsupported.

The original concern was that a corpus test would quietly treat this reject as expected, and that the docs described the fixture wrongly.
Both are handled on main: the fixture is pinned to its exact error code in BLOCKED_CONVEYOR_FIXTURES, so fixing the limitation turns that test red, and test/conveyors/README.md and docs/design/conveyors.md §13 now say the conveyors live in sub-models.

What would make it simulate

Pointers

  • src/simlin-engine/tests/integration/simulate.rs: BLOCKED_CONVEYOR_FIXTURES
  • src/simlin-engine/src/wasmgen/belt_tests.rs (the same pin at the wasm layer)
  • test/conveyors/README.md

Activity

  1. bpowers commented on Jul 11, 2026

    @bpowers
    OwnerAuthor

    Cross-reference: #944 is the sibling case for test/conveyors/covid19_severity.stmx -- another checked-in fixture that no backend can compile (ConveyorDrivenFlowRead rather than ConveyorInSubmodelUnsupported), and which #924's corpus gate would likewise read as an expected-and-fine reject.

  2. changed the title [-]test: sir_social_distancing_mixnot.stmx is unsimulatable by any backend (conveyor lives in a sub-model); #924's corpus gate would read the reject as expected[/-] [+]test: sir_social_distancing_mixnot.stmx cannot be simulated[/+] on Oct 12, 2026
  3. added
    engine
    hygiene
    on Oct 12, 2026
  4. bpowers commented on Oct 12, 2026

    @bpowers
    OwnerAuthor

    Closing: already fixed on main.

    Both concerns the issue raised are handled: the fixture is pinned to ConveyorInSubmodelUnsupported in BLOCKED_CONVEYOR_FIXTURES (tests/integration/simulate.rs:2133-2139) and in wasmgen/belt_tests.rs:4647 sir_fixture_is_blocked_by_the_submodel_rule, so it cannot pass as a tolerated reject, and test/conveyors/README.md:52-56 and docs/design/conveyors.md:1490-1495 now say the conveyors live in sub-models. The fixture still cannot be simulated; that is tracked by open #940 (which also notes LOOKUPMEAN) and #946.

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

    enginehygiene

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions