elcorto / psweep

Loop like a pro, make parameter studies fun.
https://elcorto.github.io/psweep
BSD 3-Clause "New" or "Revised" License
13 stars 2 forks source link

Add measures to avoid UUID collisions #13

Closed elcorto closed 9 months ago

elcorto commented 9 months ago

Even though very unlikely, there may be a small non-zero chance to create a UUID collision when creating run_ids and pset_ids. We should add simple checks against existing IDs in the database and when assigning new ones at call time.