Skip to content

Version numbers for analyses - #1547

Draft
tim-at-topos wants to merge 7 commits into
mainfrom
tim/analysis-versioning
Draft

tim-at-topos wants to merge 7 commits into
mainfrom
tim/analysis-versioning

Conversation

@tim-at-topos

@tim-at-topos tim-at-topos commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

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 migrateAnalysis in frontend/src/analysis/document.ts and 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:

  • Call the migrations in frontend/src/analysis/document.ts
  • Test test test
  • test test test test test

@tim-at-topos tim-at-topos added core Rust core for categorical logic and general computation canary This is fine for now but won't be forever. labels Oct 15, 2026
@tim-at-topos
tim-at-topos force-pushed the tim/analysis-versioning branch from 4fa6e53 to 028624d Compare October 15, 2026 20:39
@tim-at-topos
tim-at-topos added this pull request to stack #1550 October 15, 2026 22:49
@tim-at-topos
tim-at-topos force-pushed the tim/analysis-versioning branch from da79cb9 to def7c26 Compare October 16, 2026 13:27
@tim-at-topos
tim-at-topos force-pushed the tim/analysis-versioning branch 6 times, most recently from d543b2d to 95fa628 Compare October 27, 2026 17:48
@tim-at-topos
tim-at-topos force-pushed the tim/analysis-versioning branch 3 times, most recently from 5d8ad9c to ada6ea5 Compare October 27, 2026 18:55
@tim-at-topos
tim-at-topos force-pushed the tim/analysis-versioning branch from ada6ea5 to 65ef187 Compare October 27, 2026 18:56

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

canary This is fine for now but won't be forever. core Rust core for categorical logic and general computation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant