Choose one non-empty option with equal probability or with an explicit positive weight for every row.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
Equal mode assigns every option one rejection-sampled integer index. Weighted mode scales a 32-bit fraction across the sum of the entered weights and walks their cumulative intervals, making each intended share equal to its weight divided by the total.
Options: ["Pizza","Sushi","Tacos"] Weights: ["3","1","1"] Seed: lunch-friday
Chosen: Pizza Option count: 3 Method: weighted
Lunch groups choose among restaurants, training plans weight exercises by desired frequency, and test harnesses replay one branch that exposed a failure.