learnrhash
learnrhash copied to clipboard
Do hashes actually need to include outputs?
Hashes are quite large. Manually decoding the generated hash shows that it's storing a lot of data, including the outputs for exercises. Is that included intentionally, or has filtering code just not been written yet?
(1) Is it possible the length is related to https://github.com/rundel/learnrhash/issues/9#issuecomment-700476101?
(2) Output is included intentionally since that might be something you want to capture and check. What were you envisioning would be included in the hash?
We've added an argument to encoder_logic
that now allows for the output to be stripped from exercises. See the strip_output
argument in the docs.
This seems particularly useful if any of the code chunks produce plots as these cause the size of the hashes to get very large.