I believe the statement that the range is based upon driving habits is is false. Tesla specifically states that it is based upon a fixed energy constant in the material that they have published in their support materials.
REF:
Range Tips
Section under What is Range? at the beginning of the second paragraph is clearly states:
Displayed range in your Tesla is adapted based on fixed EPA test data, not your personal driving patterns.
If you have a specific reference document to supports your view that it is based upon recent driving history, I'd be interested in seeing it. I've done my own correlations over a wide range of energy consumption ranging from a low of 250 kWh/mi to over 400 kWh/mi as averaged over 100-200 miles and have seen absolutely no influence on the displayed rated range.