RMI-PACTA / pacta.multi.loanbook

Calculate PACTA climate metrics across multiple loan books.
https://rmi-pacta.github.io/pacta.multi.loanbook/
Other
0 stars 0 forks source link

refactor and test `run_calculate_loanbook_coverage()` #129

Closed jacobvjk closed 5 days ago

jacobvjk commented 1 month ago

currently the function uses one config as input and then proceeds as one long script. This is hard to read and not ideal to test. Refactor into smaller unexported functions where reasonable and add tests for them

jdhoffa commented 5 days ago

No longer relevant