# Efficiency Score based on miles in a city & miles run

**URL:** https://community.citystrides.com/t/efficiency-score-based-on-miles-in-a-city-miles-run/23992
**Category:** Ideas
**Created:** [December 6, 2021, 6:02pm UTC](https://community.citystrides.com/t/efficiency-score-based-on-miles-in-a-city-miles-run/23992 "2021-12-06T18:02:35Z")
**Posts on this page:** 18
**Page:** 1

<div class="post-metadata">

### Author: ![jpbari](https://community.citystrides.com/user_avatar/community.citystrides.com/jpbari/32/3023_2.png) [@jpbari](https://community.citystrides.com/u/jpbari)
#### Post date: [December 6, 2021, 6:02pm UTC](https://community.citystrides.com/t/efficiency-score-based-on-miles-in-a-city-miles-run/23992/1 "2021-12-06T18:02:35Z")

</div>

I’d love to see an efficiency ranking of a city - i.e. Cityville has 100 miles of road and it took Eric 130 miles of running to complete, but it to JP 143, so Eric was 77% efficient vs. JP’s 70%

---

<div class="post-metadata">

### Author: ![petje](https://community.citystrides.com/user_avatar/community.citystrides.com/petje/32/2348_2.png) [@petje](https://community.citystrides.com/u/petje)
#### Post date: [December 8, 2021, 10:18am UTC](https://community.citystrides.com/t/efficiency-score-based-on-miles-in-a-city-miles-run/23992/2 "2021-12-08T10:18:40Z")

</div>

I did some calculations on the cities i have completed.

![image](https://d25dflut6m8e53.cloudfront.net/original/2X/4/47a158fa30c2ba1913001e8d6694e85376ffde73.png)

Interesting to see. Roughly 27 - 37 % extra mileage was needed, compared to the city km count  
`(The city Heerlen is grayed, since it is not correct to determine the exact km from my data. Lot's of non CS runs that pollute the analysis)`

I calculated the total run mileage, and extracted the 100% km for that town. Then i calculated how much more km’s i did run to actually achieve 100%.

The more rural towns are slightly more inefficient to run. But i had expected more difference between rural (Long distance roads and agricultural roads/tracks outside city centers) vs. citylike cities (dense streetcount per sq. km)

So for a city with 300 km streetlength for 100% you need roughly 375-400 km to get it. in my efficiency of planning as less duplicates as possible at least 🙂

---

<div class="post-metadata">

### Author: ![jpbari](https://community.citystrides.com/user_avatar/community.citystrides.com/jpbari/32/3023_2.png) [@jpbari](https://community.citystrides.com/u/jpbari)
#### Post date: [December 8, 2021, 5:29pm UTC](https://community.citystrides.com/t/efficiency-score-based-on-miles-in-a-city-miles-run/23992/3 "2021-12-08T17:29:19Z")

</div>

Before we establish the efficiency score, we’ll need to work out the kinks in the “mileage per city” calcs.

My first attempt at seeing what I might get for actual efficiency took me to [Portage, OH](https://citystrides.com/cities/17242) which is listed as having 8.41 miles of road.

I am really good, then because I finished the city in a [single 7.09 mile run](https://citystrides.com/activities/21150739). 🤨

---

<div class="post-metadata">

### Author: ![hans1](https://community.citystrides.com/letter_avatar_proxy/v4/letter/h/e68b1a/32.png) [@hans1](https://community.citystrides.com/u/hans1)
#### Post date: [December 8, 2021, 6:40pm UTC](https://community.citystrides.com/t/efficiency-score-based-on-miles-in-a-city-miles-run/23992/4 "2021-12-08T18:40:14Z")

</div>

That might happen of course if you have streets with only two nodes, one at each end, which you take when passing the crossing by perpendicular roads. So you haven’t run the street, but you have taken all nodes

---

<div class="post-metadata">

### Author: ![jpbari](https://community.citystrides.com/user_avatar/community.citystrides.com/jpbari/32/3023_2.png) [@jpbari](https://community.citystrides.com/u/jpbari)
#### Post date: [December 8, 2021, 7:40pm UTC](https://community.citystrides.com/t/efficiency-score-based-on-miles-in-a-city-miles-run/23992/5 "2021-12-08T19:40:02Z")

</div>

Nope, not the case.

> **[Portage, Ohio - CityStrides](https://citystrides.com/users/6502/cities/17242)**
>
> CityStrides helps you run every single street of your city

This is a full coverage completion, not just nodes.

In fact, I actually ran a LOT of streets twice due to dead ends or town lines.

---

<div class="post-metadata">

### Author: ![Marty](https://community.citystrides.com/letter_avatar_proxy/v4/letter/m/f0a364/32.png) [@Marty](https://community.citystrides.com/u/Marty)
#### Post date: [December 8, 2021, 7:43pm UTC](https://community.citystrides.com/t/efficiency-score-based-on-miles-in-a-city-miles-run/23992/6 "2021-12-08T19:43:39Z")

</div>

While not against the idea, this seems like it would require a lot of massaging of data on a per person basis. While CS could do some of the heavy lifting with calculations, there would still likely be individual runs each person doesn’t want included in the efficiency calculation. They don’t want to manually delete a whole bunch of runs from CS but also don’t want it to be calculated. For example, runner does a 20 mile run that is 99% on trails but crosses one street and hits a single node. This would likely be swept up in calculation but could skew desired result for runner. If the city the runner is in is ~1000 miles of streets, this could mean ~2% skew error.

To add some comparison to @petje analysis, I specifically titled each of my runs on Strava (ex: Run Project #XX). From there I used a [3rd party site](http://www.jonathanokeeffe.com/strava/annualSummary.php) to filter my runs to only those that had this specific title. That gave me total mileage, elevation, moving time, etc. So for my main city ([Durham, North Carolina - CityStrides](https://citystrides.com/cities/171335)), as of today, I’ve run:  
1929.9 miles across 297 runs with a total elevation of 106,783 feet and 271:02:30 of moving time. CS calculates total city street mileage of 1263.85 miles. All these numbers get slightly changed each time OSM data gets updated and I do another run.

---

<div class="post-metadata">

### Author: ![ericjrw](https://community.citystrides.com/user_avatar/community.citystrides.com/ericjrw/32/1065_2.png) [@ericjrw](https://community.citystrides.com/u/ericjrw)
#### Post date: [February 3, 2022, 10:18am UTC](https://community.citystrides.com/t/efficiency-score-based-on-miles-in-a-city-miles-run/23992/7 "2022-02-03T10:18:50Z")

</div>

I touched on this subject here, [All Streets or All Nodes? - #64 by ericjrw](https://community.citystrides.com/t/all-streets-or-all-nodes/22964/64), and was actually looking for something else, but wanted to chime in.

Seeing this number, on 100% completion cities would be interesting, as it possibly could identify Striders who did not really “run their **whole** town”, without actually calling that out.

So the _real_ **first person** would likely have an efficiency \> 100%, not less.

---

<div class="post-metadata">

### Author: ![tev4](https://community.citystrides.com/user_avatar/community.citystrides.com/tev4/32/2077_2.png) [@tev4](https://community.citystrides.com/u/tev4)
#### Post date: [August 11, 2022, 7:13pm UTC](https://community.citystrides.com/t/efficiency-score-based-on-miles-in-a-city-miles-run/23992/8 "2022-08-11T19:13:36Z")

</div>

Just found this thread.

How did you figure out the number of miles run to complete the city (Eric’s 130 and JP’s 143, in your example)? I can’t see a practical way to do that.

---

<div class="post-metadata">

### Author: ![JamesChevalier](https://community.citystrides.com/user_avatar/community.citystrides.com/jameschevalier/32/2_2.png) [@JamesChevalier](https://community.citystrides.com/u/JamesChevalier)
#### Post date: [August 11, 2022, 7:22pm UTC](https://community.citystrides.com/t/efficiency-score-based-on-miles-in-a-city-miles-run/23992/9 "2022-08-11T19:22:57Z")

</div>

He was just using random numbers as examples, but when I send out the congratulatory email upon completing a city I get the total mileage by summing up the activity distance for any activity that completed a street in the city.  
🤔 Thinking about this further, now, I’m going to change this to sum up the distances for activities that complete any _nodes_ - that will be more accurate.

---

<div class="post-metadata">

### Author: ![tev4](https://community.citystrides.com/user_avatar/community.citystrides.com/tev4/32/2077_2.png) [@tev4](https://community.citystrides.com/u/tev4)
#### Post date: [August 11, 2022, 8:10pm UTC](https://community.citystrides.com/t/efficiency-score-based-on-miles-in-a-city-miles-run/23992/10 "2022-08-11T20:10:55Z")

</div>

Thanks for the reply.

I realized that @jpbari’s examples were made up; but I still couldn’t see how one could do it practically as a user. @petje’s numbers don’t seem to be made up, so it seems he found a way. I assume he has not gotten a completion email for all those cities, since that feature was introduced recently. (I’ve gotten one email, but completed four cities. I got the Cambridge email for a “re-completion”.)

I had to run 939 miles to complete Cambridge’s 152 miles (of course because I ran a ton in my hometown before discovering CS). Very inefficient. 😀

---

<div class="post-metadata">

### Author: ![JamesChevalier](https://community.citystrides.com/user_avatar/community.citystrides.com/jameschevalier/32/2_2.png) [@JamesChevalier](https://community.citystrides.com/u/JamesChevalier)
#### Post date: [August 11, 2022, 10:10pm UTC](https://community.citystrides.com/t/efficiency-score-based-on-miles-in-a-city-miles-run/23992/11 "2022-08-11T22:10:29Z")

</div>

> [@tev4](#):
>
> I still couldn’t see how one could do it practically as a user

_Lots_ of hunting 😅 for activities that progressed within a city. This really makes me want to display the ongoing distance on your city page.

> [@tev4](#):
>
> I got the Cambridge email for a “re-completion”.

I’d like to understand this better…  
Did you complete Cambridge earlier than the email feature was released?  
Did you receive more than one email?  
I’m asking because I did run some code that emailed the biggest completed city to anyone who has completed one. I didn’t do it for every city because some people have _several_ completed cities and I didn’t want to suddenly send people a bunch of email. People get _real_ uppity about receiving email. 😬

---

<div class="post-metadata">

### Author: ![tev4](https://community.citystrides.com/user_avatar/community.citystrides.com/tev4/32/2077_2.png) [@tev4](https://community.citystrides.com/u/tev4)
#### Post date: [August 11, 2022, 11:59pm UTC](https://community.citystrides.com/t/efficiency-score-based-on-miles-in-a-city-miles-run/23992/12 "2022-08-11T23:59:27Z")

</div>

Yes, I completed [Cambridge](https://citystrides.com/cities/2179) at least a year ago. After the most recent OSM update, it was briefly non-completed, but came back again. I assumed that that was what triggered the email, but could have been coincidental.

I got two emails, both on August 9th: 1:06pm and 7:42pm.

---

<div class="post-metadata">

### Author: ![JamesChevalier](https://community.citystrides.com/user_avatar/community.citystrides.com/jameschevalier/32/2_2.png) [@JamesChevalier](https://community.citystrides.com/u/JamesChevalier)
#### Post date: [August 12, 2022, 12:07am UTC](https://community.citystrides.com/t/efficiency-score-based-on-miles-in-a-city-miles-run/23992/13 "2022-08-12T00:07:38Z")

</div>

Oh! phew! ok … yeah, I sent out the emails on that date & the city happened to be updated on that date as well.

---

<div class="post-metadata">

### Author: ![JamesChevalier](https://community.citystrides.com/user_avatar/community.citystrides.com/jameschevalier/32/2_2.png) [@JamesChevalier](https://community.citystrides.com/u/JamesChevalier)
#### Post date: [August 15, 2022, 5:52pm UTC](https://community.citystrides.com/t/efficiency-score-based-on-miles-in-a-city-miles-run/23992/14 "2022-08-15T17:52:12Z")

</div>

A post was split to a new topic: [City’s total distance seems wrong](https://community.citystrides.com/t/citys-total-distance-seems-wrong/25227)

---

<div class="post-metadata">

### Author: ![petje](https://community.citystrides.com/user_avatar/community.citystrides.com/petje/32/2348_2.png) [@petje](https://community.citystrides.com/u/petje)
#### Post date: [August 22, 2022, 9:07am UTC](https://community.citystrides.com/t/efficiency-score-based-on-miles-in-a-city-miles-run/23992/15 "2022-08-22T09:07:34Z")

</div>

My numbers are correct since i import all my CS runs into excel from garmin connect, and calculate all my cities myself

---

<div class="post-metadata">

### Author: ![ericjrw](https://community.citystrides.com/user_avatar/community.citystrides.com/ericjrw/32/1065_2.png) [@ericjrw](https://community.citystrides.com/u/ericjrw)
#### Post date: [November 26, 2023, 11:09am UTC](https://community.citystrides.com/t/efficiency-score-based-on-miles-in-a-city-miles-run/23992/16 "2023-11-26T11:09:10Z")

</div>

@petje very interesting idea. I need to look into this. Now that I’ve completed a few more cities, I’m even more curious how many miles it took to do so.

---

<div class="post-metadata">

### Author: ![jboz24](https://community.citystrides.com/letter_avatar_proxy/v4/letter/j/fbc32d/32.png) [@jboz24](https://community.citystrides.com/u/jboz24)
#### Post date: [December 6, 2023, 3:34pm UTC](https://community.citystrides.com/t/efficiency-score-based-on-miles-in-a-city-miles-run/23992/17 "2023-12-06T15:34:49Z")

</div>

I think a challenge many will face is that, especially in their home town, this is likely to be inflated by years of running without the purpose of efficiency. I probably have 3-4k miles in my town alone prior to knowing about CityStrides. Now, for the border towns, that is a different story…

---

<div class="post-metadata">

### Author: ![JamesChevalier](https://community.citystrides.com/user_avatar/community.citystrides.com/jameschevalier/32/2_2.png) [@JamesChevalier](https://community.citystrides.com/u/JamesChevalier)
#### Post date: [December 6, 2023, 7:04pm UTC](https://community.citystrides.com/t/efficiency-score-based-on-miles-in-a-city-miles-run/23992/18 "2023-12-06T19:04:03Z")

</div>

The stats that appear in the city page (in the chart tab on the far right) only take into account activities that progress streets. If you have a route you run weekly, only the first time you ran it would count towards those stats since that’s the activity that would progress/complete streets. On the other hand, if you ran that route for the thousandth time & you changed course enough to progress/complete a street then that activity would also count.  
I think that same approach could help with this efficiency score idea.
