[Tracker-discuss] [issue544] Tracker stats

Ezio Melotti metatracker at psf.upfronthosting.co.za
Thu May 15 11:59:10 CEST 2014


New submission from Ezio Melotti:

I've been working on adding a "stats" page to the tracker, that uses the stats from the weekly report to plot some graphs.  A "static" demo is already up at http://bugs.python.org/issue?@template=stats

The plots are created client-side by using data saved in a JSON file on the server.  The idea is to modify the script that generates the weekly report to also append the data to the JSON file when it runs (i.e. once a week).  I can provide an initial JSON file with historic data that can be used as a starting point (i.e. the one currently used for the demo).

If it's OK I will:
  1) add a new "--update-stats-file" option to the weekly report script that opens the JSON file, adds the new values, and saves it;
  2) modify the cron job to use this new flag;
  3) update the initial JSON file with the historic data;
  4) upload somewhere (maybe in scripts/) the code I used to generate the historic data (by parsing the past summary reports);

I can also tweak the currents graphs if necessary (e.g. adding zoom, more or less values, change graph type, etc.), but what showed in the demo should be a good starting point -- we can always tweak them later on.

----------
assignedto: ezio.melotti
messages: 2863
nosy: ezio.melotti, loewis
priority: feature
status: in-progress
title: Tracker stats

_______________________________________________________
PSF Meta Tracker <metatracker at psf.upfronthosting.co.za>
<http://psf.upfronthosting.co.za/roundup/meta/issue544>
_______________________________________________________


More information about the Tracker-discuss mailing list