You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test: inline-model VM tests are not also run on the wasm backend #617
engineIssues with the rust-based simulation enginehygieneToil, but its useful to get get too behind on itrustPull requests that update Rust codewontfixThis will not be worked on
Several integration tests in src/simlin-engine/tests/integration/simulate.rs build a model from an inline string, run it on the VM, and check values by hand.
They do not go through the shared corpus helpers, so they are never also run on the wasm backend.
Examples: simulates_except_basic_mdl, na_existence_test_and_arithmetic_finite, the simulates_get_direct_*_scalar_csv tests, and some simulates_macro_* tests.
Why it matters
Little.
Every feature these tests exercise (EXCEPT, GET DIRECT, macros, :NA: arithmetic) is also covered by a corpus model that runs on both backends.
The only cost is that "every simulated model also runs on wasm" is not literally true of the test suite.
Fix
Options:
Leave it, and add a sentence to src/simlin-engine/CLAUDE.md saying wasm parity covers models run through the corpus helpers.
Call ensure_wasm_matches (in tests/integration/test_helpers.rs) at the end of each inline test.
changed the title [-]wasm-backend AC3.2 boundary: inline-fixture VM tests bypass the wasm parity hook[/-][+]test: inline-model VM tests are not also run on the wasm backend[/+]on Oct 12, 2026
Every feature they exercise is already covered on both backends by corpus models, and the issue itself says it is not a defect; adding wasm calls is test overlap with no shipped bug behind it.
engineIssues with the rust-based simulation enginehygieneToil, but its useful to get get too behind on itrustPull requests that update Rust codewontfixThis will not be worked on
Activity
engine: WebAssembly simulation backend with full VM parity (#620)
[-]wasm-backend AC3.2 boundary: inline-fixture VM tests bypass the wasm parity hook[/-][+]test: inline-model VM tests are not also run on the wasm backend[/+]bpowers commentedon Oct 12, 2026
Closing as won't fix.
Every feature they exercise is already covered on both backends by corpus models, and the issue itself says it is not a defect; adding wasm calls is test overlap with no shipped bug behind it.