junaid-simamdigital commited on
Commit
f67e81b
·
verified ·
1 Parent(s): 1b30a78

Add deterministic regression benchmark and update validation docs

Browse files
Files changed (1) hide show
  1. tests/test_benchmark_pipeline.py +9 -0
tests/test_benchmark_pipeline.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ from benchmark_pipeline import run_benchmark
2
+
3
+
4
+ def test_deterministic_benchmark_is_repeatable(tmp_path):
5
+ report = run_benchmark(tmp_path, sizes=(16, 24), repeats=2)
6
+ assert report["all_deterministic"] is True
7
+ assert len(report["rows"]) == 2
8
+ assert all(row["metrics"]["point_count"] > 0 for row in report["rows"])
9
+ assert (tmp_path / "simam3d_deterministic_benchmark.json").exists()