pisa icon indicating copy to clipboard operation
pisa copied to clipboard

Test that source code hashing works

Open jllanfranchi opened this issue 8 years ago • 2 comments

This is critical for transforms that get cached to disk, so we know that they're still valid.

jllanfranchi avatar Jun 29 '16 15:06 jllanfranchi

Initial test: change one line of a comment in pisa/stages/osc/prob3cpu.py; overall config_hash, stage's hash, and distribution makers' hashes all change in the subsequent hypo_testing.py run! Looks good for now, though still need a unit test (which might be tricky). Kicking the can down the road on this one now.

jllanfranchi avatar Sep 18 '16 05:09 jllanfranchi

Further custom ad-hoc testing shows this is working. A full unit test is still necessary, though, but difficult. Removing the tag since this is a stretch goal and doesn't seem to be negatively affecting the physics.

jllanfranchi avatar Sep 23 '16 09:09 jllanfranchi