-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reseed once per fixture set #49
base: master
Are you sure you want to change the base?
Conversation
Having the seed What would seeding with |
i noticed about 'produce consistent results' intention, sorry. |
Ok, actually, I've found the actually cause of my issue. If i load 2 files with the files command that look like this.
This will produce 100 cats and 100 dogs with the same names, because I'll edit this PR to fix that. |
Changing the default seed to Having 'seed' => Your problems seems to be only LoadFilesCommand, where a numeric |
90d7cc7
to
fecbc8b
Compare
Ok, so the issue was that the reseeding was occurring per file. This will keep the consistent results per set. What do you think? |
It was intended to have a seeding before each file. This way a single file will bring consistent results. I cant see your remaining problem anymore. What are you trying to achieve? |
Defaulting the seed to 1 causes Faker randomisation to not really work as expected.
Defaulting the seed to
null
is probably a better idea?EDIT: I've just seen this is expected, to produce consistent data across runs.
Anyway, I'd like at least to be able to set seed to
null
in theLoadFilesCommand
What do you think?