brainscore_core.submission.database
Functions
|
Deal with multiple formats of storing the score, i.e. a single scalar in the score object versus an aggregation dimension. |
|
Deal with multiple formats of storing the score, i.e. an error attribute in the score object versus an aggregation dimension. |
|
|
|
|
|
Given a loaded benchmark object, domain, and a metadata dict, create metadata entries for the benchmark and update the BenchmarkInstance table to reference these entries. |
|
Given a model identifier and a metadata dict, get or create a ModelMeta record. |
|
Retrieve the email belonging to a user id. |
|
Retrieve benchmark metadata by benchmark identifier string. |
|
Retrieve BenchmarkInstance and its associated metadata by identifier. |
|
Retrieve ModelMeta record by model identifier string. |
|
Retrieve Model and its associated ModelMeta record by identifier. |
|
|
|
|
|
|
|
|
|
Retry create_model_meta_entry until the model exists, or a timeout is reached. |
|
|
|
Retrieve the user id belonging to an email. |
|