-
Notifications
You must be signed in to change notification settings - Fork 1
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
Simulation results sensitive to whether save/make dependencies #108
Comments
I find the reason for this: Actually, the results differ earlier from In fuse/fuse/plugins/micro_physics/yields.py Line 67 in e6e27fb
It seems that in current workflow, In the above #108 (comment) two cases, the number of execution of For the 1st group of codes, it runs
For the 2nd group of codes, it runs
So the solution would be:
And in general(not directly related to this issue), if we use some |
I am trying with 6fd5399 to set the nestpy random seed inside the compute function. As before, a seed is build in the setup function from the lineage and run_number. Then the seed is used in the compute function to set the random seed. Afterwards the seed is incremented so we get different random numbers next time the compute function is used. I'm not 100% sure this method works and we should discuss this next week. |
MISSION ACCOMPLISHED by |
For reproducibility, all codes here are running under 0d3fb95.
When running
TestFullChain
by hand, I got two different results ofraw_records
under different codes.fuse/tests/test_FullChain.py
Line 5 in 0d3fb95
Two groups of codes are:
and
The difference in the results can be seen from the metadata of
raw_records
:and
The 2nd method has a smaller
"n"
.Note: by setting
deterministic_seed
toTrue
, the result should bedeterministic
.fuse/fuse/plugins/pmt_and_daq/pmt_response_and_daq.py
Line 42 in 0d3fb95
This might be a problem of
DownChunkingPlugin
, according to @HenningSE .The text was updated successfully, but these errors were encountered: