summaryrefslogtreecommitdiff
path: root/tests/test_eval_classification.py
diff options
context:
space:
mode:
authorVoid Agent <void@jayrup.hermes>2026-08-15 00:00:41 +0100
committerVoid Agent <void@jayrup.hermes>2026-08-15 00:00:41 +0100
commit38d6553048808f6b53488894fdb4c83211590ad4 (patch)
tree3ab5686c8c1738bb04ba23546bd2c2d8ac1826b2 /tests/test_eval_classification.py
parent921a9ffe541e90ba120f2875401e03560eb9f163 (diff)
speedup: batched eval (46x, sieve-stub verified), run_sweep orchestrator (2-way parallel, idempotent, summaries), E1 jobs; 36 tests
Diffstat (limited to 'tests/test_eval_classification.py')
-rw-r--r--tests/test_eval_classification.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_eval_classification.py b/tests/test_eval_classification.py
index 3f9994d..7114166 100644
--- a/tests/test_eval_classification.py
+++ b/tests/test_eval_classification.py
@@ -45,7 +45,7 @@ class StubModel(torch.nn.Module):
def _sieve35(n):
c = n + 1
- while any(c % d == 0 for d in (2, 3, 5, 7)):
+ while any(c % d == 0 for d in (2, 3, 5, 7) if d < c):
c += 1
return c