@nicemicro @organicmaps for OSRM I’m less familiar with the internals but I’d expect somewhat similar logic.
This actually catches me at a very good time to pursue this rabbit trail since I’m in the process of submitting a new profile for Valhalla and in the process I built some debugging tools last week 😂 I’ll let you know if I find anything interesting.