Functions interacting with dbnl Run
Finalize a Run
Mark the specified dbnl Run status as completed. Once a Run is marked as closed, it can no longer be used for reporting Results.
run
The dbnl Run to be finalized.
Create a new dbnl Run
project
The dbnl Project that this Run will be associated with.
run_config
The dbnl RunConfig that this Run will be associated with. Two Runs with the same RunConfig can be compared in the web UI and associated in Tests. The associated RunConfig must be from the same Project.
display_name
An optional display name for the Run. Display names do not have to be unique.
metadata
Any additional key-value pairs information the user wants to track.
A new dbnl Run for reporting results.
Retrieve a dbnl Run
Create a new Run, report results to it, and close it.
project
The dbnl Project that this Run will be associated with.
column_data
A pandas DataFrame with all the column results to report to dbnl. If run_config_id
is provided, the columns of the DataFrame must match the columns
described in the RunConfig.
scalar_data
A dict or pandas DataFrame with all the scalar results to report to dbnl. If run_config_id
is provided, the key of the dict must match the scalars
described in the RunConfig.
display_name
An optional display name for the Run. Display names do not have to be unique.
row_id
An optional list of the column names that can be used as unique identifiers.
run_config_id
ID of the RunConfig to use for the Run, defaults to None. If provided, the RunConfig is used as is and the results are validated against it. If not provided, a new Run Config is inferred from the column_data
.
metadata
Any additional key-value pairs information the user wants to track.
The closed Run with the uploaded data.