Boilerplate Budget App Help

Hello

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 https://repl.it/@chrisw2209/boilerplate-budget-app#budget.py

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

1 Like