You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow submitting associated test parameters alongside results
Rather than simply giving a single test name and run values, this commit
extends the "tests" array that can be submitted with an optional
"params" dict containing parameter name/value pairs. This can be useful
for tests that are parameterised by e.g. an array length or speed
setting.
An example of setting parameters as part of a submission:
{
"format_version": "2",
"machine": { ... },
"run": { ... },
"tests": [
{
"name": "bosphorus_1080p_30fps_8bit_fast_limit503",
"runtime": 341.0969772338867,
"params": {
"input_file": "Bosphorus_1920x1080.y4m",
"fps": "30",
"bit_depth": "8",
"quality_mode": "fast",
"limit": "503"
}
},
...
]
}
For this particular commit the parameters are unused beyond being
settable and accessible via the API methods e.g.
/api/db_default/v4/foo/tests. In future these parameters may be used for
smarter grouping of data or graphing different parameter sets within a
run rather than simply examining a single test case over time.
Change-Id: I23af95e490f71e618080eb94041b649bf9d18ee4
0 commit comments