It sounds like a terrible solution to an easy problem. And calling it an "algorithmic solution" is being generous, considering that our dead simple decade old Mazda 2 gives us a closer than 25% range estimate just based on the mpg for the previous X number of miles driven. That's not an algorithm, that is a simple math calculation with only two inputs; gas consumption rate and miles driven. Tesla, with thousands of data points on previous usage and driver behavior, could give you an almost dead accurate estimate, but chooses to give a basically useless estimate because it looks better. Then people come around and make ridiculous excuses for it and why its actually a “decent solution” (it isn’t) to a “hard problem” (its not).
Tesla vehicles do provide an accurate estimate. The estimates provided when you navigate to your destination are usually within 1-2% of correct, and take into account road speed, elevation changes, regenerative braking, wind direction, etc.
Like many EVs, the "fuel gauge" number is based on the EPA estimate and the navigation range is based on accurate predictions. It's like this in the Polestar too.