Boilerplate Budget App Help


My code for the boilerplate app passes all the tests but the test_create_spend_chart test. I think the spacings are all correct, but for a reason I don’t know why the probabilties are wrong. So it says 30:30:30. It works fine for the example in main I think.

Does the test use the cumulative total from all of the other tests to calculate the probability?

My code is here

Take another look in the file at the specification how chart bars are supposed to be calculated.

1 Like