model
Model implementation for the TestResults artifact.
ResultModel
Bases: BaseModel
A description of a Result.
Source code in mlte/results/model.py
11 12 13 14 15 16 17 18 19 20 21 22 23 24 | |
additional_data
instance-attribute
Additional details that we don't want to put up front in the message, if any.
evidence_metadata
instance-attribute
Metadata about the evidence this came from.
message
instance-attribute
The message indicating the reason for status.
type
instance-attribute
The type of result.
TestResultsModel
Bases: BaseModel
The model implementation for the TestResults artifact.
Source code in mlte/results/model.py
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | |
artifact_type = ArtifactType.TEST_RESULTS
class-attribute
instance-attribute
Union discriminator.
results = {}
class-attribute
instance-attribute
A list of validation results, for each test case.
test_suite
instance-attribute
A link to the actual TestSuite details.
test_suite_id = ''
class-attribute
instance-attribute
The identifier of the TestSuite this TestResults came from.