Percentage of time spent coding on leaderboard
Michael Calkins 10 years ago • updated by Paul Sinclair 10 years ago • 2
The idea would be to show on average (for the last 7 days) how much time have you spent coding?
Total percentage of time spent coding (not sure if I'm doing this right):
(time spent) / (24 * days)
LavaEagle: 62 / (24 * 14) = 18%
jbrooksuk: 220 / (24 * 74) = 12.3%
Customer support service by UserEcho
4.7h / day - LavaEagle, highest ranked in this right now, so essentially a tentative upper bound
66 / 14 = 4.71 hours / day = 19.64%
Let's say most of the users are coding 4-10 hours a week (wild guess):
Maybe if we only count the hours people are awake?
4h / week (hours awake only)
4 / (16 * 7) = 3.571%
My main concern is that the percentages will be too close together, so percentages will have to go out many decimal places to differentiate, ie. 2.97619047%.
Maybe it would be better to drop the percentage, and just express this as a "week's focus" meter, with 25% being the max (using the 24h day scale).
Maybe this is fine - just wanted to put it out there.
Good idea! Thanks for working that out.
Running some numbers I get:
Top 3 records for time spent coding in a day (ever across all users):
Top 3 records for time spent coding in a week (ever across all users):
The average across all time for a week is: 12 hours 54 minutes
(this data is from an older snapshot and is about a week old)
One idea I had similar to what Alex mentioned is to decide on a number for a 'perfect' day/week
Choosing a high number for the max
Report this as a percentage of activity
I'm not sure is this to confusing? What do you guys think?