Closed GeorgLink closed 6 years ago
@GeorgLink user generation script done. Please review at https://github.com/vinodahujauno/bugmark_simulation/blob/master/exercise/simulation/script/user_gen_scr
Looks good. Can you please make the following changes?
@GeorgLink which setting file you are talking about. can you point out that file so that I can look at it "Read the following from a settings file: (lines 30-32)"
@GeorgLink as per your suggestion I have added section "Modify your input for users to be generated"
Please review and guide.
The lines were referring to the script. You would have to create the settings file. The settings should be in a dedicated file, and not require changing the script for creating different number and types of users. The settings file can be located in the same folder as the script.
I'm not set on a particular format, but this is what a YAML settings file might look like:
---
create_users:
- treatment: "no-metrics"
group: "funder"
budget: 100000
number_of_new_users: 2
- treatment: no-metrics
group: "worker"
budget: 100
number_of_new_users: 10
- treatment: "health-metrics"
group: "funder"
budget: 100000
number_of_new_users: 2
- treatment: "health-metrics"
group: "worker"
budget: 100
number_of_new_users: 10
- treatment: "market-metrics"
group: "funder"
budget: 100000
number_of_new_users: 2
- treatment: "market-metrics"
group: "worker"
budget: 100
number_of_new_users: 10
- treatment: "both-metrics"
group: "funder"
budget: 100000
number_of_new_users: 2
- treatment: "both-metrics"
group: "funder"
budget: 100
number_of_new_users: 10
- treatment: "admin"
group: ""
budget: 10000000
number_of_new_users: 1
@GeorgLink I have created a separate setting file where you can define user generation requirement bugmark_simulation/exercise/simulation/script/user_gen_scr_setting.rb