fix: canonicalize score brackets and assessments
This commit is contained in:
@@ -66,9 +66,9 @@ def test_run_out_of_sample_comparison_scores_only_validation_rows_with_fold_weig
|
||||
assert sum(bucket["days"] for bucket in comparison["ml_weighted"]) == 2
|
||||
assert sum(bucket["days"] for bucket in comparison["equal_weight"]) == 2
|
||||
|
||||
extreme_ml = next(bucket for bucket in comparison["ml_weighted"] if bucket["label"] == "Extreme Accumulation")
|
||||
extreme_ml = next(bucket for bucket in comparison["ml_weighted"] if bucket["label"] == "EXTREME ACCUMULATION ZONE")
|
||||
assert extreme_ml["days"] == 2
|
||||
assert extreme_ml["avg_365d"] == 110.0
|
||||
|
||||
caution_equal = next(bucket for bucket in comparison["equal_weight"] if bucket["label"] == "Caution")
|
||||
caution_equal = next(bucket for bucket in comparison["equal_weight"] if bucket["label"] == "CAUTION — OVERHEATED")
|
||||
assert caution_equal["days"] == 2
|
||||
|
||||
Reference in New Issue
Block a user