The issue has nothing to do with a basic programming mistake that would have been inevitably been caught in testing. Stop jumping to silly conclusions.

There are reports that the issue is more to do with the effect recent emergency maintenance had on the lottery. In short, if you placed your bid before the maintenance then for whatever reason it wasn't counted or was made invalid. That also explains why, plots with multiple bids, the winners have been the later (higher numbered) bids.

Yes, it's a problem and it's frustrating, but you're showing your ignorance if you think this is a basic programming error to do with generating random numbers. It's much more likely to be something wrong with the databases and an unexpected artefact of their maintenance pipeline, which is far far more complex.