upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/tests/test_run_gpu_tests_python_assembler.py
diff options
context:
space:
mode:
authorfiestorra <fiestorra@users.noreply.github.com>2026-11-29 23:44:44 +0100
committerfiestorra <fiestorra@users.noreply.github.com>2026-11-30 14:55:19 +0100
commit7c99b8e504897a802971cdbccdf656f26080a63f (patch)
treeddc47e46fbb6a5069f6b7dcb332751ff9f650456 /tests/test_run_gpu_tests_python_assembler.py
parent37626c0ace0ec01e207e9882c9b17776204f361b (diff)
tests: compare the local baseline's numbers, not a timing threshold
merzleckeier measured what a bigger limit buys and it is not enough: at a 1024x slowdown the 1000x draft still failed 0/3, while comparing the run's baseline back against the file it was given passed 3/3. A limit measures the runner; the numbers do not. So the case now reads the measured values out of the baseline it just wrote and asserts the second run used exactly those, with no --max-slowdown on that invocation. The over-limit behaviour keeps its own deterministic test (--max-slowdown 0.01 must report one), untouched. Verified here: 10 passed, 5 subtests; and substituting a different baseline makes the case fail (1 failed), which is what the assertion is for. Written with an AI assistant.
Diffstat (limited to 'tests/test_run_gpu_tests_python_assembler.py')
0 files changed, 0 insertions, 0 deletions