Skip to content

Running synthea multiple times with same seed yields different results #752

@tjones-hvn

Description

@tjones-hvn

Hi, I'm running synthea specifying a seed, and I'm getting different results in /output when I'd expect to get identical results multiple times.
I installed the .jar Synthea file for the first time last week. I'm following the Basic Setup and Running instructions, and the wiki says: Populations generated with the same seed and the same version of Synthea should be identical.

Here's what I'm running (note that I'm not specifying a custom synthea.properties file):

➜ java -jar synthea-with-dependencies.jar -s 9 -p 2
... 
Running with options:
Population: 2
Seed: 9
Provider Seed:1594648111560
Location: Massachusetts
Min Age: 0
Max Age: 140
1 -- Carina240 Hoppe518 (34 y/o F) Boston, Massachusetts
2 -- Perry780 Thompson596 (38 y/o F) Mashpee, Massachusetts
Records: total=2, alive=2, dead=0

➜ java -jar synthea-with-dependencies.jar -s 9 -p 2
...
Running with options:
Population: 2
Seed: 9
Provider Seed:1594648126542
Location: Massachusetts
Min Age: 0
Max Age: 140
1 -- Carina240 Fadel536 (34 y/o F) Boston, Massachusetts
2 -- Perry780 Gusikowski974 (38 y/o F) Mashpee, Massachusetts
Records: total=2, alive=2, dead=0

I would like to be able to run Synthea multiple times and get the exact same output files in /output. (As you can see from the output above, the last names are different). I've tried specifying a providerSeed as well and that also doesn't seem to help. How can I run Synthea multiple times and get the same result?

Thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions