We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52eba2e commit aec085eCopy full SHA for aec085e
1 file changed
src/helpers/accountIndex.ts
@@ -99,6 +99,9 @@ function parseWorkerIndex(raw: string | undefined): number {
99
* - Deterministic: same seed => same sequence
100
* - Not cryptographically secure (fine for load-test user selection)
101
* - Returns values in [0, 1)
102
+ *
103
+ * Used only when `ACCOUNT_MODE=random` and `ACCOUNT_RANDOM_SEED` is set, so test runs
104
+ * are reproducible.
105
*/
106
function lcg(seed: number): () => number {
107
let state = seed >>> 0;
0 commit comments