Closed eckter closed 1 week ago
Attention: Patch coverage is 95.00000%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 28.53%. Comparing base (
891f5fd
) to head (1832a7d
).
Files | Patch % | Lines |
---|---|---|
...c/main/kotlin/fr/sncf/osrd/stdcm/STDCMHeuristic.kt | 88.88% | 0 Missing and 1 partial :warning: |
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I started this while rebasing https://github.com/OpenRailAssociation/osrd/pull/7844 but it ended up being a fair amount of changes, it feels like this deserves its own PR
I started as removing the list of heuristic and using a single function instead (it's simpler).
Then I figured out
node.remainingTimeEstimation
doesn't have to be optional (or with a default value) anymore with this change, if we just move the place where it's computed