XENONnT / straxen

Streaming analysis for XENON
BSD 3-Clause "New" or "Revised" License
21 stars 32 forks source link

How to guarantee deterministic result #1309

Open dachengx opened 8 months ago

dachengx commented 8 months ago

Describe the bug A clear and concise description of what the bug is.

The comparison of processing results on different servers seems to give different results. But the difference is very small. For example, by comparing results from processing on OSG and self-processing of run '033466', there are 5 peaks in 1440991 to give different time in peaklets.

To Reproduce Insert the MWE of how to reproduce the error

import cutax

st = cutax.xenonnt_offline(xedocs_version='global_v12')

run_id = '033466'

st.make(run_id, 'peaklets', save='peaklets')

Screenshots image

Some other differences happen for corrected_areas. And by checking the time of affected peaklets and corrected_areas, I think the differences within these two plugins are not correlated.

image image

Versions

^ Awesome table ^^^^
^ module ^ version ^ path ^ git ^
| python | 3.9.18 | /opt/miniconda3/envs/XENONnT_2023.11.1/bin/python | None |
| strax | 1.5.4 | /home/xudc/strax_newest/strax | branch:master | 4ce63c2 |
| straxen | 2.1.5 | /home/xudc/straxen_newest/straxen | branch:master | f3e7726 |
| cutax | 1.15.5 | /home/xudc/cutax_newest/cutax | branch:rework_gps_tagging | c49226c |