Skip to content

Add small deterministic random number to algorithm weigths when generating

Roel Aaij requested to merge ra-deterministic-sequencing into 2024-patches

The sequencing algorithm uses weights, but for similar algorithms - in particular the prefix sum - the weights are the same. This may result in correct but not entirely deterministic sequence generation. This MR adds a small deterministic random number to each of the algorithm weights to make the result deterministic.

Merge request reports