Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track volumes across experiments #17

Open
cgevans opened this issue Aug 21, 2022 · 0 comments
Open

Track volumes across experiments #17

cgevans opened this issue Aug 21, 2022 · 0 comments

Comments

@cgevans
Copy link
Owner

cgevans commented Aug 21, 2022

From #4:

A trickier problem is tracking volumes across different experiments for re-used mixes or strand stocks. This is trickier because, unlike the idea for the Experiment object above, this would require persisting the volume remaining in strand stocks or re-used mixes to disk in a database. The reason this is tricky is that one often re-runs the same code repeatedly to debug, and we would not want that to affect the stored volumes in the database.

One idea would be to use a "functional programming style". Maintain the database as a ordered sequence of files, each file associated to a single experiment. One could introduce a new object called Project, and just like multiple Mix's can be associated to an Experiment, multiple Experiment's can be associated to a Project. The Project would be responsible for maintaining an order on the experiments, and when running code for one experiment, it reads the database file of the previous experiment, say exp7, and writes a new one exp8. If the code is re-run, then this only overwrites the files for exp8.

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

No branches or pull requests

1 participant