Traewelling / traewelling

Free check-in service to log your public transit journeys
https://traewelling.de
GNU Affero General Public License v3.0
232 stars 46 forks source link

Brouter calculates wrong Routes and gives wrong amount of points #2525

Open SoraCent opened 5 months ago

SoraCent commented 5 months ago

Describe the bug

Good Day, The issue is related to #2515 and #2516.

On a few Connections, mostly from Interlaken Ost to Interlaken West or from Gossau to St. Gallen, the Brouter makes incorrect connections and gives more Points than usual.

Nomaly, there would be 6 points when driving from Interlaken Ost to Interlaken West because the distance is about 2-4km. However, Brouter determines a path that travels almost 190 kilometers from Interlaken Ost to Brienz, Brünig, Luzern, Konolfingen, Thun, Spiez and Interlaken West. As a result, I received 23 Points rather than 6.

Although I am aware that it's a known Bug by Brouter, there should be atleast a mechanism to stop Brouter to create paths that diverge significantly from the actual route and from recalculating the kilometers and points derived from incorrect Brouter paths.

Is this Possible?

Steps to reproduce

  1. Select Interlaken Ost in the Stations
  2. Select a Train to Interlaken West (Mostly in direction to Basel, Berlin, Hamburg, Spiez, Romanshorn, Zürich)
  3. Notice that it gave you the right amount of points because it didn't use Brouter for creating the checkin.
  4. After reloading Brouter was used, the kilometers got recalculated and resulted in more Points.

Browser console logs

No response

Browser

Firefox, Edge, Chrome

sanojkl commented 5 months ago

There are also similar problems with short routes in munich, sounds like a problem with brouter and not with traewelling

Eperoais commented 5 months ago

There are also similar problems with short routes in munich, sounds like a problem with brouter and not with traewelling

I guess @SoraCent is saying that the Points shouldn't be calculated by Brouters Wrong Paths, he even wrote that it's a Brouter Problem and never said its one from traewelling