-
Notifications
You must be signed in to change notification settings - Fork 61
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
Associate Experiment with all models and matrices [Resolves #411] #476
Conversation
To aid in the lookup of relevant matrices and models to an experiment afterwards, we want to record whether or not that experiment *used* that matrix or model, regardless of whether or not it had to *build* it. We still want to record which experiment built the matrix or model. This was already being recorded in the models.experiment_hash column, which is renamed to built_by_experiment. The matrices table gains a similar column to mirror this functionality. Audition is among the use cases for this change, so the pre-audition query is updated to reflect this. - Create experiment_matrices and experiment_models tables - Rename models.experiment_hash to models.built_by_experiment to contain what is currently stored there but with a more specific name - Add matrices.built_by_experiment to mirror the models column. - Add utils to record these rows and trigger them from the Experiment experiment_models - Update preaudition query to look at experiment_models fixing - Add note on these new tables to Experiment Algorithm doc and Experiment Running doc - Update getcwd patch in audition tests to only exist where it needs to, fixing a local test failure where the getcwd was screwing up testing.postgresql
Codecov Report
@@ Coverage Diff @@
## master #476 +/- ##
=========================================
Coverage ? 82.76%
=========================================
Files ? 81
Lines ? 4643
Branches ? 0
=========================================
Hits ? 3843
Misses ? 800
Partials ? 0
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. It's pretty cool now for experiments not building matrices or models but just using them are gonna be recorded. Looks good to me. Just the commented out experiment thing.
To aid in the lookup of relevant matrices and models to an experiment
afterwards, we want to record whether or not that experiment used that
matrix or model, regardless of whether or not it had to build it.
We still want to record which experiment built the matrix or model. This
was already being recorded in the models.experiment_hash column, which
is renamed to built_by_experiment. The matrices table gains a similar
column to mirror this functionality.
Audition is among the use cases for this change, so the pre-audition query is
updated to reflect this.
what is currently stored there but with a more specific name
experiment_models
fixing
Experiment Running doc
fixing a local test failure where the getcwd was screwing up
testing.postgresql