Skip to content

Commit

Permalink
making tests less flaky
Browse files Browse the repository at this point in the history
  • Loading branch information
cmungall committed Aug 15, 2024
1 parent d26dd7d commit 03bff0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_inference/test_sklearn_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def _obj(i: int) -> dict:
ie.load_and_split_data(collection)
ie.initialize_model()
# crude heuristic - in theory this could fail spuriously
threshold = 0.9 - (prop_age_missing + prop_stage_missing)
threshold = 0.7 - (prop_age_missing + prop_stage_missing)
check_accuracy(ie, tgt, threshold=threshold, test_data=ie.testing_data.as_dataframe())
assert isinstance(ie, SklearnInferenceEngine)
ie.export_model(
Expand Down

0 comments on commit 03bff0c

Please sign in to comment.