Match task IDs, not just seeds

Two benchmark arms start from seed 7. Both run tasks A, B, C and D. One arm takes a diagnostic random draw just before B. That single draw changes the inputs assigned to B, C and D. The seed matches; the task inputs do not.[3][4]

This is an original synthetic Python example, not a report about an existing benchmark. Each task receives one scalar from random.Random(7).random(). We freeze the intended task-to-input mapping before running any comparison arm. Every input is retained as an exact hexadecimal floating-point value, alongside its task ID and draw position.[4][3]

The baseline assigns draws 1, 2, 3 and 4 to A, B, C and D. In the altered arm, draw 2 is consumed by the diagnostic. The tasks receive draws 1, 3, 4 and 5 instead. The diagnostic value is recorded but never used as a task output, score or timing measurement.[3]

  • Keep task identity: Retain exact input values with stable task IDs and the order used to generate them.

Keep generation policies explicit

Replaying either call sequence from its seed is consistent with this result. Reproducibility within an arm is a different requirement from matching inputs across arms. A seed identifies the start of a random sequence; the calls and their order determine which values reach which tasks.[1][4]

The first control gives diagnostics their own Random instance. The task-input generator is no longer advanced by that draw, and all four task inputs match the frozen mapping. This isolates the demonstrated source of interference. It does not prove statistical independence between streams or solve every stochastic experiment.[1][3][4]

Five authored arms, four task IDs each. Inputs are compared by ID against the mapping frozen before the arms.

ArmTask orderInput source positionsMatching tasks
Baseline shared streamA B C D1, 2, 3, 44 of 4
Extra shared diagnostic drawA B C D1, 3, 4, 51 of 4
Separate diagnostic streamA B C D1, 2, 3, 44 of 4
Reversed shared sequenceD C B A1, 2, 3, 40 of 4
Reversed frozen lookupD C B AManifest by task ID4 of 4
  • Draw positions refer to dispatch order, not canonical task order. All exact values and draw events are downloadable.
  • The reversed shared arm has the same pooled values as baseline, but different per-task assignments.

Preserve per-task assignments

Task order creates another useful boundary. Reversing the task order while drawing from the same seeded stream preserves the pool of four values, but assigns each value to a different task. A pooled equality check would pass while every per-task comparison fails. When the reversed arm instead looks up the frozen manifest by task ID, all four assignments match.[4][3]

The retained invocation contains five complete arms and twenty task rows, with no excluded tasks. Twelve separate controls cover repeatable generation, the extra draw, stream isolation, reordering, manifest preservation and selected malformed inputs. These are designed checks, not twenty independent samples or a measured mismatch rate in real workloads.[3][4]

  • Separate the questions: Repeatable generation within an arm does not by itself establish matched inputs across arms.

Retain the input evidence

Python documents separate Random instances and the conditions under which random() sequences remain reproducible. PyTorch also distinguishes control of random sources from broader reproducibility across releases and platforms. Those documents provide background; this proof runs only the Python standard library and makes no PyTorch or GPU measurement.[1][2][5]

For a paired benchmark, retain the task ID, exact input and generation policy together. If the contract requires matched inputs, verify that mapping directly. The seed is useful provenance, but it is not a substitute for the input evidence.[4][5]

  • Verify the task-to-input mapping before interpreting a paired comparison.

Sources

  1. Python random — Generate pseudo-random numbers docs.python.org
  2. PyTorch Reproducibility docs.pytorch.org
  3. Complete retained original output data.nodus-compute.ai
  4. MIT runnable source, fixture and protocol data.nodus-compute.ai
  5. Source and saved-result provenance data.nodus-compute.ai
  6. Vector figure data.nodus-compute.ai