The READ.md states “The balls should not go back into the hat during the draw, similar to an urn experiment without replacement.” Doesn’t this mean that once the draw is done the contents should remain unchanged?
The test_hat_draw test says “Expected hat draw to reduce number of items in contents.”
If the hat draw reduces the items in the contents doesn’t this make it impossible to run multiple experiments against the contents?
What am I missing?
EDIT - The draw should reduce the contents. The hat object inside the experiment function should be copied at the beginning of each test.