Skip to content

Add Regression Tests for File Versions - #64

Merged
electronsandstuff merged 4 commits into
mainfrom
pierce/file-version-regression
Aug 15, 2026
Merged

Add Regression Tests for File Versions#64
electronsandstuff merged 4 commits into
mainfrom
pierce/file-version-regression

Conversation

@electronsandstuff

Copy link
Copy Markdown
Owner

This PR adds legacy files saved to the tests directory and pytest tests which load them and confirm they still work.

  • New script generate_file_version_data.py which will make a saved legacy file with synthetic data along with json representation of same data
  • Add experiment_to_manifest to test utils which converts an experiment to json serializable form with summary data
  • Add pytest test that reloads save file and compares to json dump
  • Add pytest test that will complain if file version is updated without saving new file

@electronsandstuff
electronsandstuff merged commit 27adf36 into main Aug 15, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant