Wikipedia:Bots/Requests for approval/EarwigBot 2


 * The following discussion is an archived debate. Please do not modify it. Subsequent comments should be made in a new section. The result of the discussion was Symbol keep vote.svg Approved.

EarwigBot III
Operator: The Earwig

Automatic or Manually assisted: Automatic, unsupervised

Programming language(s): Python, Pywikipedia

Function overview: Maintains statistics about active Articles for creation submissions at WikiProject Articles for creation/Statistics.

Edit period(s): Once every hour (one edit to Template:AFC statistics and one edit to User:EarwigBot III/Logs).

Estimated number of pages affected: Per above, approximately 1,440 edits per month (to two distinctive pages).

Already has a bot flag (Y/N): N

Function details: This is another bot for Articles for Creation, this time with the purpose of compiling statistics about active and recently-active submissions. Most of the information that is needed about this bot can be found here. It will update the page Template:AFC statistics, transcluded onto WP:AFC/S, every hour reflecting the latest Articles for Creation statistics. I've already done some manual testing, and what Template:AFC statistics shows right now is very similar to what it will show when the bot is functioning. As you can see, submission data includes the time a submission was submitted, the author of a submission, the status of a submission, warnings related to the submission, et cetera. This data will be helpful to reviewers because it will provide a way to find detailed information about all pending submissions, as well as recently declined or accepted submissions, in one page.

There's a lot to say about this bot, but I'd rather save myself some time by not reiterating it here. An extensive discussion about this bot can be found at WT:AFC, and the source code is at User:EarwigBot III/Source. Finally, the template Template:AFC statistics and Template:AFC statistics/row provide some information about how the bot functions. I understand that this may leave some things unclear, so I will reply to any request for clarification below. The Earwig (Talk &#124; Contribs) 00:45, 24 June 2009 (UTC)

Discussion
Looks unlikely to cause serious problems. Let's see her. – Quadell (talk) 12:48, 25 June 2009 (UTC)
 * Sure. As noted above, logs will be at User:EarwigBot III/Logs. It shall make 24 runs, ending at 21:00 UTC tomorrow. The Earwig  (Talk &#124; Contribs) 20:41, 25 June 2009 (UTC)

A quick review of the edits (as seen here and here) appears to indicate that everything happened as it should have, except for one mistake. For some reason (currently unknown to me), Pywikipedia screwed up when trying to make its first two edits (the first run) yesterday: instead of logging in as it should have, the bot made the edits as an IP address. I am aware that this is a violation of the bot policy, but please be aware that I did not have any control over this, and wasn't aware of the problem until after the fact. Oddly enough, the bot ran perfectly fine during the second run, as well as every subsequent run after that, without a single change to the code. The Earwig (Talk &#124; Contribs) 23:45, 26 June 2009 (UTC)

Great, thanks for doing this! – Quadell (talk) 18:18, 29 June 2009 (UTC)
 * The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made in a new section.