git-timecost/TODO.md
@@@No user configured@@@ 2c28d6bc42 Add todo-list.
2014-09-25 09:19:36 +02:00

383 B

TODO

Fixes and ideas for the future

Per user scotch

Different users have a different commit style & frequency. We should be able to define a per-user scotch.

Automatic scotch : Use median time between consecutive commits, per user

def median(array)
  sorted = array.sort
  len = sorted.length
  return (sorted[(len - 1) / 2] + sorted[len / 2]) / 2.0
end