Skip to content

Allow mode costs to vary by population segment - #405

Merged
FlxPo merged 1 commit into
mainfrom
feature/population-segment-utilities
Jul 31, 2026
Merged

Allow mode costs to vary by population segment#405
FlxPo merged 1 commit into
mainfrom
feature/population-segment-utilities

Add population-specific mode costs

cae6430
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 31, 2026 in 0s

83.20% (target 40.00%)

View this Pull Request on Codecov

83.20% (target 40.00%)

Details

Codecov Report

❌ Patch coverage is 93.35664% with 19 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.20%. Comparing base (2b0949c) to head (cae6430).

Files with missing lines Patch % Lines
mobility/runtime/population_segments.py 94.56% 5 Missing ⚠️
...pool/detailed/detailed_carpool_generalized_cost.py 78.57% 3 Missing ⚠️
...trips/plans/mode_sequence_search/mode_sequences.py 83.33% 3 Missing ⚠️
mobility/runtime/parameter_values.py 85.71% 2 Missing ⚠️
mobility/transport/costs/transport_costs.py 96.29% 2 Missing ⚠️
...ips/group_day_trips/plans/destination_sequences.py 33.33% 2 Missing ⚠️
...ty/trips/group_day_trips/plans/demand_subgroups.py 96.00% 1 Missing ⚠️
...up_day_trips/plans/mode_sequence_search/prepare.py 83.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #405      +/-   ##
==========================================
+ Coverage   82.99%   83.20%   +0.21%     
==========================================
  Files         233      234       +1     
  Lines       16039    16294     +255     
==========================================
+ Hits        13312    13558     +246     
- Misses       2727     2736       +9     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.