-
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
Hawk/dove batch run code for data analysis #60
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #60 +/- ##
==========================================
+ Coverage 63.53% 63.66% +0.13%
==========================================
Files 16 16
Lines 820 823 +3
==========================================
+ Hits 521 524 +3
Misses 299 299 |
9382923
to
180fe48
Compare
simrisk-hawkdovemulti-batchrun --iterations 1 --max-step 125 --no-progress | ||
|
||
# longer run: one iteration, max of 125 steps, no progress bar | ||
# (typically completes in less than 15 minutes) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Either remove this line or provide an estimate of how long 10 iterations typically takes
# (typically completes in less than 15 minutes) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't figure out that estimate yet for the current config (I tweaked the parameter set), but I probably need to for my own batch running anyway - do you think it's worth including some time estimates here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really, unless the extrapolation of 150 minutes (10 * 15) is really off
3000 in one minute | ||
|
||
8100 with one iteration | ||
|
||
try with larger max step? | ||
|
||
|
||
81000 with ten iterations | ||
|
||
3000 | ||
|
||
8100 with one iteration, 125 max step | ||
00:11:03 | ||
|
||
|
||
10 iterations, 125 steps, 2 hours = 66395 runs | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should these notes be included?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hahaha, whoops! nope, will clean that up
Co-authored-by: Laure Thompson <[email protected]>
Co-authored-by: Laure Thompson <[email protected]>
Co-authored-by: Laure Thompson <[email protected]>
Co-authored-by: Laure Thompson <[email protected]>
Co-authored-by: Laure Thompson <[email protected]>
* Suppress convergence print statement for batch runs * Customize risk category string output for batch run data collection * Custom batch runner for hawk/dove multi risk sim * Configure hawk/dove multi batch run to be installed as a script * Step argument needs to be an integer also * Revise multiprocessing based on slurm cpu efficiency report * Correct basic hawk/dove readme for scope * Use configured neighborhood sizes; correct typo in help string * Add file prefix option for generated data files * Turn random play odds completely off by default * Add readme for hawk/dove multi risk game; document batch running * Add sample batch run slurm script * Update simulatingrisk/hawkdove/model.py Co-authored-by: Laure Thompson <[email protected]> * Update simulatingrisk/hawkdovemulti/README.md Co-authored-by: Laure Thompson <[email protected]> * Update simulatingrisk/hawkdovemulti/batch_run.py Co-authored-by: Laure Thompson <[email protected]> * Update simulatingrisk/hawkdovemulti/simrisk_batch.slurm Co-authored-by: Laure Thompson <[email protected]> * Update simulatingrisk/hawkdovemulti/batch_run.py Co-authored-by: Laure Thompson <[email protected]> * Cleanup items flagged by @laurejt in code review * Set file prefix default in argparse for consistency * Document step offset between scheduler and data collection * Better documentation for sample slurm batch script --------- Co-authored-by: Laure Thompson <[email protected]>
in this PR:
revisions after review
add more estimates for batch run & document(postponing since this will change pending other planned revisions)