Maybe there is a maxspeed
set for the “detour way” but not for the “straight way”?
Can you replace one line in CarAverageSpeedParser → applyMaxSpeed with
return Math.min(speed, isValidSpeed(maxSpeed) ? maxSpeed * 0.9 : 140));
and see if this fixes the problem?
See also my comment here regarding the estimated times for car.