I just had to implement the 'allocate' functionality described here, specifically with the %-based weights, and it was a pain that required careful comments to ensure was clear! Would've loved to use this instead.
It was fun writing the extra pennies distribution logic tho
It was fun writing the extra pennies distribution logic tho