mllg / batchtools

Tools for computation on batch systems
https://mllg.github.io/batchtools/
GNU Lesser General Public License v3.0
169 stars 51 forks source link

Fixing seed for jobs #257

Open damirpolat opened 4 years ago

damirpolat commented 4 years ago

batchtools doesn't use the specified seed as the actual seed for jobs but instead adds it to job.id. For my experiments I needed to fix the seed for all jobs to make result comparison fair and easier to do. I added fix.seed argument for both problems and jobs so there's at least an option to reuse the same seed for all jobs. If you ignore fix.seed arguments, I believe the package behaves the same as it used to. Thanks!

coveralls commented 4 years ago

Coverage Status

Coverage increased (+0.05%) to 87.53% when pulling f61554240fa7162a649318d43a60c73b410dcb11 on damirpolat:master into 03381348666d224178ae348fcbca8b6260abed43 on mllg:master.