#6212 User stats monthly average needs different start date

v1.0.0
closed
sf-1 (616)
General
2015-08-20
2013-05-07
No

Currently, user stats compute a monthly average based on the register date of a user, but that isn't very fair to someone who registered years ago but stats were only enabled recently. I think the start date should be something like: max(config.get('userstats_start_date',datetime.MIN), stats.registration_date)

Discussion

  • Dave Brondsema

    Dave Brondsema - 2013-05-07

    Minor fix pushed to branch db/6212 for a somewhat related issue.

     
  • Dave Brondsema

    Dave Brondsema - 2013-05-08

    Also it'd be helpful to have an option to skip counting lines of code. The logic is somewhat slow, and is noticeable when dealing with large numbers of commits in the system.

     
  • Cory Johns - 2013-05-13
    • status: open --> in-progress
    • assigned_to: Cory Johns
    • Size: --> 1
    • Milestone: forge-backlog --> forge-may-17
     
  • Cory Johns - 2013-05-13
    • status: in-progress --> code-review
     
  • Cory Johns - 2013-05-13

    allura:cj/6212

     
  • Dave Brondsema

    Dave Brondsema - 2013-05-13
    • QA: Dave Brondsema
     
  • Dave Brondsema

    Dave Brondsema - 2013-05-13
    • status: code-review --> closed
     

Log in to post a comment.