Revert tolerance for share group balance validation#1780
Conversation
….0E-2 to revert to the previous behaviour of allowing a 1% tolerance for share group balance validation.
|
@noracato I would suggest we catch a diff of ~ 1e-6 and rescale in that case. We can handle that either in pyetm or the engine - but probably in the engine is more robust? One question is if we rescale with each value by 100/ |
|
THB if we really want to solve it clean, add a case to quintel/osmosis for when all values are marked static with a simple 100/ |
Context
Change tolerance for share group balance validation from 1.0E-12 to 10E-2 to revert to the previous behaviour of allowing a 1% tolerance for share group balance validation.
See quintel/pyetm#197 for more context. The stricter balancing was causing problems for API users.
Checklist