Spaces:
Paused
Paused
test: cover support pruning diagnostics
Browse files
tests/test_benchmark_pipeline.py
CHANGED
|
@@ -8,6 +8,10 @@ def test_deterministic_benchmark_is_repeatable(tmp_path):
|
|
| 8 |
assert all(row["rmse"] <= 1e-5 for row in report["geometry_contract"]["rows"])
|
| 9 |
assert len(report["rows"]) == 8
|
| 10 |
assert all(row["metrics"]["point_count"] > 0 for row in report["rows"])
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
assert all(
|
| 12 |
row["metrics"]["support_status"] == ("single_view_baseline" if row["view_count"] == 1 else "synthetic_prior_support")
|
| 13 |
for row in report["rows"]
|
|
|
|
| 8 |
assert all(row["rmse"] <= 1e-5 for row in report["geometry_contract"]["rows"])
|
| 9 |
assert len(report["rows"]) == 8
|
| 10 |
assert all(row["metrics"]["point_count"] > 0 for row in report["rows"])
|
| 11 |
+
assert all(
|
| 12 |
+
row["support_pruning_min_views_2"]["after_point_count"] <= row["support_pruning_min_views_2"]["before_point_count"]
|
| 13 |
+
for row in report["rows"]
|
| 14 |
+
)
|
| 15 |
assert all(
|
| 16 |
row["metrics"]["support_status"] == ("single_view_baseline" if row["view_count"] == 1 else "synthetic_prior_support")
|
| 17 |
for row in report["rows"]
|