Transport-for-the-North / caf.distribute

https://cafdistribute.readthedocs.io/en/stable/
Other
0 stars 1 forks source link

Optimise current multi-tld code ready for release #16

Open isaac-tfn opened 9 months ago

isaac-tfn commented 9 months ago

The main time here will be on writing tests. This will probably be essentially just a couple of integration tests, and possibly more if there's time.

isaac-tfn commented 9 months ago

Tests - quite basic, running the testing multi-tld gravity model with and without furnessing in the jacobian. Checks the convergences are above a threshold and that parameters make sense. This is just so that a test can be run quickly when code is updated to make sure it's not broken.

New input class so now you can just give paths to distributions/lookup and everything is processed for you and the model runs.

General refactoring/documenting/linting