cog-imperial / OMLT

Represent trained machine learning models as Pyomo optimization formulations
Other
281 stars 59 forks source link

Increasing coverage #139

Open rmisener opened 11 months ago

rmisener commented 11 months ago

With PR 137 (https://github.com/cog-imperial/OMLT/pull/137), we reduced coverage from 96% to 92%. The error handling has substantially improved (exceptions rather than asserts), but the code coverage has dropped because exceptions count towards line coverage (assertions don't).

Already PR 137 does include a lot of tests for increasing the code coverage, but any additional tests would always be appreciated. 😀