-
Hi @stympy Can I ask why Faker has duplicated records in some "*.yml" files? name:
formats:
- [:prefix, :first_name, :last_name]
- [:first_name, :last_name, :suffix]
- [:first_name, :last_name]
- [:first_name, :last_name]
- [:first_name, :last_name]
- [:first_name, :last_name] Why this line is duplicated? |
Beta Was this translation helpful? Give feedback.
Answered by
stympy
Aug 20, 2025
Replies: 1 comment 1 reply
-
The idea was to weight the responses... The |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
stympy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The idea was to weight the responses... The
[:first_name, :last_name]
combo is more likely to show up in results than the other two because it appears in the formats list 4 times more than the other two.