Last modified: 2014-02-28 20:41:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T44521, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42521 - please include median averages
please include median averages
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
ContributionReporting (Other open bugs)
master
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
wikimedia[unmaintained]
: easy, fun-com, fundraising
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-28 23:58 UTC by Sumana Harihareswara
Modified: 2014-02-28 20:41 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sumana Harihareswara 2012-11-28 23:58:14 UTC
Request: include median contribution averages, not just the mean.
Comment 1 Amgine 2012-11-29 00:00:15 UTC
#Pleonasm.

Include contribution median, not just mean.
Comment 2 Peter Gehres 2012-11-29 00:10:28 UTC
This would be a great community enhancement :-)
Comment 3 MZMcBride 2012-11-29 01:22:43 UTC
I'm going to go ahead and mark this bug as "easy". I haven't actually dug into the code too much (at least not any time recently), but I believe this shouldn't be too difficult to knock out. Feel free to remove the "easy" keyword if you feel it doesn't apply.
Comment 4 Anjana S 2014-01-14 16:02:00 UTC
I'm intrested to work on this bug.Can someone please assign this to me?
Comment 5 Matt Walker 2014-01-14 18:24:16 UTC
Anjana; ContributionReporting as such doesn't exist any more. However; we have scripts which generate the same data and then present it on frdata.wikimedia.org.

You will find the script that creates this data in the wikimedia/fundraising/tools.git repository in gerrit; the script itself is called FundraiserStatisticsGen/fundstatgen.py [1]

You will need to change or write new SQL in the getPerYearData() and getPerCampaignData() functions to calculate a median. The difficultly of this problem lies in the following caveats: MySQL does not provide a median function, the column in question (con.total_amount) is not indexed -- though it could be if required, and we have > 5M rows in this database.

[1] https://git.wikimedia.org/blob/wikimedia%2Ffundraising%2Ftools/7411ecf8745bfd93ffd25b4c97a82772d8634fbd/FundraiserStatisticsGen%2Ffundstatgen.py#L72-85
Comment 6 Andre Klapper 2014-02-27 16:32:37 UTC
Aravind: Are you (still) working on this? If not, please reset the assignee to default and the status to NEW. Thanks!
Comment 7 Andre Klapper 2014-02-28 20:41:48 UTC
[[mw:Extension:ContributionReporting]] has not been maintained for a while and  has been superseded in Wikimedia Foundation by http://frdata.wikimedia.org/

It is currently unlikely that there will be any further active development of ContributionReporting.
Closing this report as WONTFIX to reflect reality.
Please feel free to reopen this report in the future if anyone takes the responsibility for active development of ContributionReporting again.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links