TODO: Conformance fixtures and cross-language parity¶
Goal¶
Grow shared IR fixtures with expected Julia codegen (and later
expected trajectories or numerical checks), executed in Python and
Julia (ModelParserJL) so the two runtimes cannot drift silently.
Why¶
docs/design/language-strategy.md: the IR file is the boundary; parity tests are the enforcement mechanism.- Reduces regression risk whenever MTK idioms or codegen change (see ADR 0004).
Scope hints¶
- Start with golden
.jlsnippets or full files undertests/orexamples/. - Julia side: documented
Pkg.testor script in CI (may remain optional job until Julia CI is wired).
References¶
docs/design/model-parser.mdroadmap §2.- ADR 0001, ADR 0004.
Acceptance sketch¶
- At least N≥2 fixtures with checked
emit juliaoutput. - Document how to refresh goldens when codegen intentionally changes.