ticket drawing odds
The drawing system for rewards allocates higher chances to those with more tickets by adding their user ID multiple times to a list, then picking random entries.
- The drawing program puts a person's user ID into a list once for every ticket they hold, so more tickets mean more entries in the drawing.
- The program then picks a set number of random rows (e.g., 30) from this list to determine winners, re-picking if it hits a duplicate winner.
- People with many tickets (e.g., the top 10 ticket holders having 1/4 of all tickets) are automatically guaranteed wins and are removed before the remaining drawing to give others a chance.
- Higher ticket counts significantly increase an individual's odds, leading to the same names appearing frequently due to their proportional representation.


