Open KeetonMartin opened 2 months ago
Another rough one today, also probably slipped through due to a long segment at one end (in this case the D)
I'm not sure if this is the same issue with filtering or something else, but this one just feels wrong
This won't fix everything, but after the D, 1, N solution, I realized that the Times Sq/Bryant Pk transfer was not included in the data when the solutions were previously generated, so I went ahead and did that in this commit: https://github.com/blahblahblah-/subwaydle/commit/436c5bca18ba257c6ff07b772d426aec4db67a59
Woof
Added crude calculation of progress towards destination per segment, and deprioritize solutions where any segment results in progress below -25%. Hope it helps with the backtracking. https://github.com/blahblahblah-/subwaydle/commit/1f27b0dced93acc2885ba73261a633e2df6caec8
Thank you! Seems like it should be a great fix. I'll post again if I see more crazy routes :)
Ok, unfortunately I've seen a few weird ones in the last few days. N is still too small to say for sure if things got better or worse, but I think we still have some issues on our hands.
I know there's some kind of check to prevent significant backtracking. However, it seems this generated route was selected for today because its backtracking portion is small relative to the distance all the way to Jamaica. I suggest that we should change the backtrack filtering logic somehow to prevent these situations even for super long routes.