Repository navigation
Version numbers for analyses - #1547
Draft
tim-at-topos wants to merge 7 commits into
Draft
tim-at-topos wants to merge 7 commits into
tim-at-topos wants to merge 7 commits into
Conversation
tim-at-topos
force-pushed
the
tim/analysis-versioning
branch
from
October 15, 2026 20:39
4fa6e53 to
028624d
Compare
tim-at-topos
force-pushed
the
tim/analysis-versioning
branch
from
October 16, 2026 13:27
da79cb9 to
def7c26
Compare
tim-at-topos
force-pushed
the
tim/analysis-versioning
branch
6 times, most recently
from
October 27, 2026 17:48
d543b2d to
95fa628
Compare
tim-at-topos
force-pushed
the
tim/analysis-versioning
branch
3 times, most recently
from
October 27, 2026 18:55
5d8ad9c to
ada6ea5
Compare
tim-at-topos
force-pushed
the
tim/analysis-versioning
branch
from
October 27, 2026 18:56
ada6ea5 to
65ef187
Compare
This branch has not been deployed
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.To-do:
frontend/src/analysis/document.ts