Move example DAEs to examples/ and drop the broken Influenza example#75
Merged
JKRT merged 1 commit intoJun 19, 2026
Merged
Conversation
- git mv test/ExampleDAE -> examples/ (conventional root-level location); these hand-built DAE_LIST fixtures stay the backend test contract, now also serving as runnable examples. - Remove the Influenza example: it fails MTK structural_simplify with StateSelection.ExtraVariablesSystemException (over-determined system) and was exported but unused by the test suite. - Fix dangling export: the file defined `influenza_DAE` but the module exported `influenca_DAE`. - Repoint the two test includes to the new examples/ location. - Add examples/README.md (model table) and examples/simulate_examples.jl, a runnable translate->simulate demo. HelloWorld / LotkaVolterra / VanDerPol verified to reach retcode=Success via the MTK backend on Julia 1.12 (Windows). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
JKRT
approved these changes
Jun 19, 2026
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #75 +/- ##
==========================================
- Coverage 24.78% 21.67% -3.11%
==========================================
Files 28 43 +15
Lines 3430 20615 +17185
==========================================
+ Hits 850 4468 +3618
- Misses 2580 16147 +13567 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Relocates the hand-built example
DAE_LISTfixtures fromtest/ExampleDAE/to a conventional root-levelexamples/directory, and removes the Influenza example.Why remove Influenza: it fails MTK
structural_simplifywithStateSelection.ExtraVariablesSystemException(over-determined system) — verified on Julia 1.12 / Windows. It wasexported but unused by the test suite, so dropping it is safe. This also fixes a dangling export (the file definedinfluenza_DAEbut the module exportedinfluenca_DAE).What's here:
git mv test/ExampleDAE -> examples/(the fixtures remain the backend test contract;test/runtests.jlnow includes them from../examples/).runtests.jl(test-relative and repo-root-relative).examples/README.mdwith a model table, andexamples/simulate_examples.jl, a runnabletranslate -> simulateModeldemo.Verification: with the examples relocated,
HelloWorld,LotkaVolterraandVanDerPolall translate + simulate toretcode = Successvia the MTK backend on Julia 1.12 (Windows).🤖 Generated with Claude Code