User:Allens/GOCE

From Wikipedia, the free encyclopedia

GOCE.barnstars2.pl[edit]

This program, when fed the "Totals" section from a GOCE Backlog Elimination Drive, saves to a specified text file a document similar to those the coordinators have previously put together manually after each drive. Please refer to:

The program has the following functions:

  • Determining who should get which barnstar(s), according to the Totals section, with the exception of the "most articles the first day" prize (the Totals section does not indicate when the articles were copyedited). This includes determining a de novo version of the Leaderboard. This does depend on people following (approximately) the proper format for the Totals section, as found in the Drive instructions.
  • Placing in the output a draft version of the barnstars for each user, which may be copy-pasted to the user's talk page and modified for further personalization (e.g., recognizing additional activities during the drive).
  • Tracking the total number of articles, words, and 5k+ articles copyedited during the drive.
  • Tracking who has been reviewed and reviewing – including the good/bad results from these reviews, total number of articles reviewed, and total number of words reviewed – provided that:
  • Good results are signified with one of:
  • Any template starting with "Check", "Done", or "Yes"
  • Any template ending with "positive"
  • Any of the following templates: {{Y}}, {{Ya}}, {{Y&}}, {{Aye}}, {{Tick}}, or {{Up-arrow}}
  • Bad results (for which the article is not counted and a 1200-word penalty is assessed) are signified with one of:
  • The template {{Rejected}}
  • Any phrase or template including "decline", "denied", "disagree", "invalid", "redflag", "cross", "nay", or "negative"
  • If separated from surrounding words or inside a template, any phrase or template including "not", "X", "N", "No", "Na", "N&", or "down"
I will add the strikeout HTML element (<S>) to these if desired. Note that the user of the program is notified of any line interpreted as having a "bad" result, as well as any line the program cannot interpret.
  • Whoever did the review puts a ~~~ or a normal signature in the line.

The program has, aside from the above, a specific requirement (currently) for it to be told which drive (month and year) it is processing. This is done by slightly modifying the program itself (an easy thing with a Perl script), at its start. Allens (talk | contribs) 00:58, 7 June 2012 (UTC)