After making sorting idempotent #13 the chance is reduced, but we could still add words which push a puzzle over the minimum 20 word threshold, creating a new puzzle, and displacing old ones. If this pushes the current or previous puzzle, we could end up with issues.
To avoid this, create a script to run after generating puzzles that confirms the puzzles for yesterday, today, and optionally tomorrow have not changed.
After making sorting idempotent #13 the chance is reduced, but we could still add words which push a puzzle over the minimum 20 word threshold, creating a new puzzle, and displacing old ones. If this pushes the current or previous puzzle, we could end up with issues.
To avoid this, create a script to run after generating puzzles that confirms the puzzles for yesterday, today, and optionally tomorrow have not changed.