diff --git a/src/evidently/ui/dashboards/test_suites.py b/src/evidently/ui/dashboards/test_suites.py index ec307b88e3..e49d39b4ef 100644 --- a/src/evidently/ui/dashboards/test_suites.py +++ b/src/evidently/ui/dashboards/test_suites.py @@ -161,10 +161,12 @@ def get_customdata(test: Test, date): def get_z_value(test, date) -> float: ti = points[date].get(test) + default = TEST_2_Z[TestStatus.SKIPPED] + if ti is None: - return TEST_2_Z[TestStatus.SKIPPED] + return default - return TEST_2_Z.get(ti.status) + return TEST_2_Z.get(ti.status) or default fig = go.Figure( data=[