Originally Posted by
VikingXNL
I've noticed it's not 100% accurate for all routes. Flying Blue seems to have some manual overrides for specific city pairs. For now, the tool uses pure great circle calculation, which is accurate for 95% of routes. I'm planning to add manual overrides for known exceptions once I've collected enough data points. If anyone has examples of routes where the XP band doesn't match the calculated distance, I'd love to hear about them. It would help build that exception list!
Another example of exceptions are flights to French overseas territories and outermost regions. CDG-PTP or FDF for example do not count as Domestic, but rather Long 2 despite legally being purely domestic flights. Although with your current calculation method they should already be counted correctly calculating XP, just throwing it in the ring if you'd like to cover all exceptions accurately in the future.
Great job in any case, saw your post on Reddit a while back and was wondering whether you'd post here too