{"action":"opened","issue":{"url":"https://api.github.com/repos/yasp-dota/yasp/issues/596","labels_url":"https://api.github.com/repos/yasp-dota/yasp/issues/596/labels{/name}","comments_url":"https://api.github.com/repos/yasp-dota/yasp/issues/596/comments","events_url":"https://api.github.com/repos/yasp-dota/yasp/issues/596/events","html_url":"https://github.com/yasp-dota/yasp/issues/596","id":102726255,"number":596,"title":"trends/over time statistics","user":{"login":"howardchung","id":3134520,"avatar_url":"https://avatars.githubusercontent.com/u/3134520?v=3","gravatar_id":"","url":"https://api.github.com/users/howardchung","html_url":"https://github.com/howardchung","followers_url":"https://api.github.com/users/howardchung/followers","following_url":"https://api.github.com/users/howardchung/following{/other_user}","gists_url":"https://api.github.com/users/howardchung/gists{/gist_id}","starred_url":"https://api.github.com/users/howardchung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/howardchung/subscriptions","organizations_url":"https://api.github.com/users/howardchung/orgs","repos_url":"https://api.github.com/users/howardchung/repos","events_url":"https://api.github.com/users/howardchung/events{/privacy}","received_events_url":"https://api.github.com/users/howardchung/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-24T07:28:44Z","updated_at":"2015-08-24T07:28:44Z","closed_at":null,"body":"I suppose it would not be too hard to supply a \"rolling\" average of all the stats we already keep track of (same set as histograms, records, compare).\r\n\r\nAs we iterate through the matches, we take the current sum and divide by the current N, and push the number into an array.\r\n\r\nThe only potential sticking point is when we add matches out of order."}}