Open lukaszgajewski opened 1 week ago
allfed-integrated-model/src/optimizer/validate_results.py Line 525
So I was just making sure here that the amount of food used is in line with the prioritization in every month. That is the prioritization for specifically round 2 of optimization. I'd available food is zero, then we end up skipping the assertion (basically that means there is no order because one or more are zero). So it's not an issue. Easily fixed by just checking if it's zero earlier in the function and continuing the loop in that case
We're hitting some warnings in our tests:
1st and 3rd seem to be rather minor (deprecation warnings) but we seem to be hitting a division by zero in the validator which might be something worth looking into.