CLIMADA-project / climada_petals

See https://github.com/CLIMADA-project/climada_python first
GNU General Public License v3.0
22 stars 13 forks source link

Feature/centroids as gdf #122

Closed emanuel-schmid closed 2 months ago

emanuel-schmid commented 3 months ago

Changes proposed in this PR:

This PR fixes #

PR Author Checklist

PR Reviewer Checklist

peanutfun commented 3 months ago

@emanuel-schmid The code coverage test fails because the coverage of modified lines is too low (49%, target: 60%). Is there something we want to do about this? Do we want to add some more testing to meet the target? If we simply ignore it, the pipeline for develop might succeed after merging, because the overall quality gate might still met and there will be no check of modified files only.

emanuel-schmid commented 3 months ago

Yes, ignore. In this particular PR I don't see a point in adding tests - it's about making necessary adaptations to be compatible with core develop and not about improving anything at all.

I'm actually inclined to reconfigure the coverage restrictions. We could try the MODIFIED_LINES_DELTA baseline. I wonder though what we should set as THRESHOLD then - 100%?. And I wonder how it affects novel modules. Also - what about plotting and I/O methods which are supposed to be in the integration test? Perhaps we shouldn't make coverage cause failures at all.

peanutfun commented 3 months ago

Alright, I should have the review ready by Wednesday

emanuel-schmid commented 2 months ago

Unless I'm missing something we're ready for merging - right?