Transport-for-the-North / caf.toolkit

Toolkit of transport planning and appraisal functionalities.
https://caftoolkit.readthedocs.io/en/stable/
Other
0 stars 2 forks source link

Average of bin calculated #99

Closed isaac-tfn closed 7 months ago

isaac-tfn commented 10 months ago

The average of distribution bins is now calculated rather than just being the mid point of the bin.

Describe Changes

Task Checklist

codecov[bot] commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.07%. Comparing base (c70bef4) to head (ed0a619).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #99 +/- ## ========================================== + Coverage 91.99% 92.07% +0.07% ========================================== Files 21 21 Lines 1387 1401 +14 ========================================== + Hits 1276 1290 +14 Misses 111 111 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

isaac-tfn commented 10 months ago

@BenTaylor-TfN Updated for weighted average to be an extra column in distribution, and tests updated to pass