Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: QA
-
Labels:
-
Story Points:5
-
Epic Link:
-
Team:SQuaRE
Description
In DM-6629, a new measurement API was introduced into validate_drp that established a JSON data model for metrics, specifications of metrics, measurements, and general blob datasets. The intent of that work is to enable rich plots in the SQUASH dashboard, with access to data behind measurements. The new data model also clarifies the subtleties of metric specifications (filter dependence, and dependence on other specifications). This ticket will incorporate validate_drp’s new data model into the SQUASH database and API.
Also related to DM-7041, which will update the post-qa tool that submits validate_drp json to the SQUASH API.
Attachments
Issue Links
- has to be started together with
-
DM-7041 Update post-qa to submit new JSON from validate_drp measurement API
- Done
- is parent task of
-
DM-8414 Investigate alternatives to ingest JSON blobs into the SQUASH database
- Done
- is triggered by
-
DM-6629 validate_drp: design and implement an API for metric measurements and serializations
- Done
Jonathan Sick currently the job JSON has a structure like this
{
},
{
},
{
}
]
I imagine replacing the scalar measurement by the new measurement JSON:
For measurements that are done in different filters or depend on those we can have multiple measurements for
the same metric. That means we should have a list of measurements for each metric, e.g
{
},
{
},
{
}
]
For the datasets produced for each job we also need the blob JSON, example:
{
{
},
{
},
{
}
],
if it sounds reasonable I can mock that to continue development.
The important thing for me now is to be able to retrieve the measurement JSON from the SQUASH API given the ci_id,
ci_dataset and the metric and then call an URL to load the corresponding bokeh app