LG-7876: Create CLI tool for generating in-person enrollment records#7222
LG-7876: Create CLI tool for generating in-person enrollment records#7222
Conversation
allthesignals
left a comment
There was a problem hiding this comment.
Is this task meant to be used in isolation or after another task has already completed?
| format: '%t: |%B| %j%% [%a / %e]', | ||
| ) | ||
| end | ||
| random = Random.new(num_users) |
There was a problem hiding this comment.
Just curious: why is num_users the seed here? Also, I see random is used to add a little variation for when enrollment is established enrollment_established_at but how is randomness used here in the task itself?
There was a problem hiding this comment.
The randomness isn't particularly important for the task, just aiming to have some predictable variation in the data.
The inclusion of task random_in_person_users: [:environment, :random_users] do |
…ng in-person enrollments
🎫 Ticket
LG-7876
🛠 Summary of changes
rails dev:random_in_person_users SCRYPT_COST='800$8$1$' NUM_USERS=10000 ENROLLMENT_STATUS=pending📜 Testing Plan