Version numbers for analyses - #1439
Draft
tim-at-topos wants to merge 7 commits into
Draft
Conversation
tim-at-topos
force-pushed
the
version-numbers-for-analyses
branch
3 times, most recently
from
September 2, 2026 17:07
9a6c933 to
1187068
Compare
tim-at-topos
force-pushed
the
version-numbers-for-analyses
branch
from
September 2, 2026 17:28
1187068 to
17ee273
Compare
tim-at-topos
force-pushed
the
version-numbers-for-analyses
branch
from
September 2, 2026 17:46
64a0f62 to
7b2e710
Compare
tim-at-topos
force-pushed
the
version-numbers-for-analyses
branch
2 times, most recently
from
September 3, 2026 15:11
d80791c to
273a6bb
Compare
tim-at-topos
force-pushed
the
version-numbers-for-analyses
branch
2 times, most recently
from
September 3, 2026 16:44
939456d to
384bce1
Compare
tim-at-topos
force-pushed
the
version-numbers-for-analyses
branch
3 times, most recently
from
September 3, 2026 17:40
2404efe to
4aab33f
Compare
tim-at-topos
force-pushed
the
version-numbers-for-analyses
branch
from
September 3, 2026 17:48
4aab33f to
19572e3
Compare
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.
This PR implements a first draft of analysis versioning. Following the ideas from
document-types, analyses can now defined versioned problem data and provide migrate functions to bring previous versions of problem data in existing notebooks up to date.For now we simply hook in to
migrateAnalysisinfrontend/src/analysis/document.tsand manually declare which analyses have version numbers to track and upgrade. In order to do something better, I think we should wait until we can reimplement a bunch of the analysis frontend code using the API (#1347) and then consider splitting out analyses into a separate crate with its own associated wasm.(The large diff size is mostly due to reorganising the ODE analyses into folders for each version and exporting only the current version, as well as cutting up
mass_action.rsinto the three conceptually distinct cases to make it a bit easier to read).