Author Topic: Project Statistics  (Read 41827 times)

0 Members and 1 Guest are viewing this topic.

Online yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2945
  • Last Login:Today at 12:53:22 am
Re: Project Statistics
« Reply #195 on: November 21, 2020, 01:08:31 pm »
How many times have our 290 .list files been updated, including the initial commit?
as of d9478ee682bf87d4eed0b99778242cec4a2372f4
Arithmetic mean: 43.3
Median: 17
Standard Deviation: 73.3

michih.list has the most updates, at 630, which is 8 standard deviations above mean.
cl94 is in 2nd place at 372, 4.5 standard deviations above mean.
32 files (11%) have had only one commit ever.

How often is the average .list file updated?
Geometric mean: 31.9 days
Median: 34.5 days
LOL, I don't know what measure of central tendency this is: 4.61 days

Most frequently updated is riiga.list at 0.0016 days between its two commits. :P Not exactly statistically significant, is it? ;D
Second place is vsaharan1897.list at 1.0847 days between its two commits.
Least frequently updated (among those that can be calculated, with >1 commit of course) is noelbotevera.list at 1290.0176 days between its two commits.
michih updates every 3.1352 days.

Code: [Select]
# This will work on Linux, but not FreeBSD. :(
cd $HOME/TravelMapping/UserData/list_files
for u in *; do
  newstr=$(git log -n 1 $u | grep '^Date:' | sed -r 's~^Date: +~~')
  newest=$(date +%s --date="$(echo $newstr | sed -r 's~ [+\-][0-9]{4}$~~')")
  newest=$(echo $newest $(echo $newstr | sed -r 's~.* (.*)..$~\1~') '*' 3600 | bc)
  oldstr=$(git log --follow $u | grep '^Date:' | tail -n 1 | sed -r 's~^Date: +~~')
  oldest=$(date +%s --date="$(echo $oldstr | sed -r 's~ [+\-][0-9]{4}$~~')")
  oldest=$(echo $oldest $(echo $oldstr | sed -r 's~.* (.*)..$~\1~') '*' 3600 | bc)
  updqty=$(git log --follow $u | grep '^Date:' | wc -l)
  if [ $updqty -gt 1 ]; then
    echo -en "$u\t$updqty\t"
    echo "scale=4; ($newest - $oldest) / ($updqty - 1) / 86400" | bc
  fi
done
« Last Edit: November 21, 2020, 08:47:36 pm by yakra »

Offline osu-lsu

  • Jr. Member
  • **
  • Posts: 62
  • Last Login:Yesterday at 08:51:21 pm
Re: Project Statistics
« Reply #196 on: November 21, 2020, 08:13:33 pm »
Michih might be the leader for total different regions traveled in, with 86.

Online yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2945
  • Last Login:Today at 12:53:22 am
Re: Project Statistics
« Reply #197 on: November 21, 2020, 08:44:14 pm »
Michih might be the leader for total different regions traveled in, with 86.
for u in *; do echo -en "$u\t"; echo $(grep -n -m 1 '^System' $u | cut -f1 -d:) - $(grep -n -m 1 '^Overall by region:' $u | cut -f1 -d:) - 1 | bc; done

dharwood.log   148
ua747sp.log    143
sneezy.log      91
bhemphill.log   87
michih.log      86


Who has the most active systems?
for u in *; do echo -en "$u\t"; grep '^System .* (active) overall:' $u | grep -v '(0\.00%)$' | wc -l; done

dharwood.log   171
cinx.log       136
michih.log     133
ua747sp.log    132
bogdymol.log   118



Who has the most active+preview systems?
for u in *; do echo -en "$u\t"; grep '^System .* ([a-z]\+) overall:' $u | grep -v '(0\.00%)$' | wc -l; done

dharwood.log   212
michih.log     163
ua747sp.log    163
cinx.log       146
panda80.log    135
« Last Edit: November 21, 2020, 09:08:43 pm by yakra »

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2877
  • Last Login:Yesterday at 01:24:45 pm
Re: Project Statistics
« Reply #198 on: November 22, 2020, 02:07:28 am »
This dharwood.... :) I don't see that I will ever travel another 63 regions. Would only be possible with an extensive US travel. But traveling 50 new systems - mainly new departement systems in France? - would be a challenge :D