Author here! I'll hold me hands up to getting the maths wrong.
With Strava, you can choose metric or imperial units. However, I discovered that this only effects activity distances (which the API reports in km or miles). Elevation is always reported in metres (via the API).
I've fixed that now: https://github.com/ColinEberhardt/running-report-card/commit...