hassanakbar4 / foobar-git

tractive test
0 stars 0 forks source link

Schedule generator is not repeatable with constant seed value #3355

Open hassanakbar4 opened 3 years ago

hassanakbar4 commented 3 years ago

component_meeting/*/schedule/ type_defect | by jennifer@painless-security.com


The schedule generator, by design, incorporates randomness and gives different results on each run. For debugging, repeatability would be helpful.

Seeding the RNG with random.seed() does not produce consistent results. This probably comes from converting between sets and lists/tuples or from unsorted database queries.


Issue migrated from trac:3355 at 2021-09-27 12:30:50 +0500

hassanakbar4 commented 3 years ago

@hassanakbar4 changed status from new to accepted