create_test_recalibration_session
def create_test_recalibration_session(
*,
test_session: TestSession,
feedback: str,
test_ids: Optional[list[str]] = None,
) -> If a TestSession has completed and some of the generated Tests had incorrect outcomes, you can tell Distributional that these tests should have had different results.
Parameters
Arguments
Description
test_session
The TestSession the user wants to recalibrate
feedback
either "PASS" or "FAIL", to redefine the Test outcomes.
test_ids
List of Tests to apply the feedback to. If None, then all generated Tests will be set with the given feedback.
Returns
Type
Description
TestRecalibrationSession
The TestRecalibrationSession object that was created. The status can be checked to determine when recalibration is complete.
Limitations
Was this helpful?

