question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Reproducibility of results broken between Faker-0.7.18 and (Faker-0.8.0, 0.8.7)

See original GitHub issue

Faker-0.8.0 and Faker-0.7.18 generate different values when given the same random source.

Is the deterministic generation a goal of the project or not? I assumed that it is before… because the README specifically says that it’s useful for unit testing, which is how I use it.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:23 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
adamchainzcommented, Dec 5, 2017

I think it’s fine to use semver, just add a notice that the data inside the providers is subject to change between versions, and that the only guarantee of reproducibility is when using the same faker version.

0reactions
fcurellacommented, Dec 5, 2017

@sp-1234 Since we keep updating data in the providers pretty much at every release, we’ll keep breaking the reproducibility at every release.

Maybe we should just stop using semver entirely and switch to date-based versioning.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found