wai-quantum: the branching test pins its reference run and forces the state vector's split paths #393
Loading…
Reference in a new issue
No description provided.
Delete branch "wai/quantum-branching-threads-pinned"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
quantum_noisy::tests::branching_runs_depend_on_neither_threads_nor_the_state_limitfailed intermittently on the linux-arm64 runner on 2026-10-19: 5 runs in 20 that morning, in debug. It has not failed since. In the failing run, the reference run and a variant both moved, by a few parts in 10⁵ and differently, while the counts and histories were unchanged. So the test could not say which run was wrong.Changes, all test-only:
quantum_sv::with_forced_threads, a test-only helper.Checked before this, on today's main; none found a defect:
This PR's test passes natively in release and in debug (83 s), and under WASI. The cause stays unproven; the test now catches it if it recurs, and says which run moved.
🤖 Generated with Claude Code