Wikipedia:Bots/Requests for approval/AntiCompositeBot 2


 * The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA. The result of the discussion was

AntiCompositeBot 2
Operator:

Time filed: 19:39, Sunday, April 19, 2020 (UTC)

Automatic, Supervised, or Manual: automatic

Programming language(s): Python/pywikibot

Source code available: https://github.com/AntiCompositeNumber/AntiCompositeBot/blob/master/src/essayassesment.py

Function overview: Update WikiProject Wikipedia essays/Assessment/Links

Links to relevant discussions (where appropriate): Bot requests/Archive 80

Edit period(s): Once every two weeks initially, changing to no faster than once a week as needed

Estimated number of pages affected: 1

Exclusion compliant (Yes/No): Yes

Already has a bot flag (Yes/No): No

Function details: The bot will retrieve the number of incoming links, page watchers, and pageviews in the last month for every page tagged with WikiProject Essays on the talk page. That data is compiled into a score and all the data is exported to the table at WikiProject Wikipedia essays/Assessment/Links. This task was previously carried out by, but it stopped operating in January 2012. This version is a complete rewrite. That bot updated the table once a month, but I intend to update it once every two weeks instead, unless the WikiProject Essays folks have a different idea. As this task updates a report page, edits will not be marked as bot edits. AntiCompositeNumber (talk) 19:40, 19 April 2020 (UTC)

Discussion

 * In other words, 1 full run. I see you've already done a test run on your main account, but on the off chance something borks lets see the bot do it. Primefac (talk) 21:54, 19 April 2020 (UTC)

While BernsteinBot stopped updating this report in 2012, the bot continues to run daily. :-)

This report previously used Template:Essaycatscore, which I think was an attempt to give wiki editors more direct control over the scoring system. If that template is no longer needed, maybe we should delete it. The use of User:AntiCompositeBot/EssayImpact/config.json is neat and should perhaps be documented somewhere.

I think a generic approval for this bot to update reports is fine. That's what we've done for other bots; it would be insane if I needed to file a BRFA for every database report, for example. We want to encourage users to generate reports by lowering the barrier to entry where possible in my opinion. --MZMcBride (talk) 00:59, 20 April 2020 (UTC)
 * That's why I wanted a 1-edit trial; it's enough to show it works without the hassle of "how many edits has it made now?" type questions. Every once in a while the botop finds a bug or glitch (including one in a BRFA I approved earlier today). Primefac (talk) 01:39, 20 April 2020 (UTC)
 * "it" in that sentence referred to the task, not the bot :)I noticed the template, but decided not to use it. The bot would be calculating the scores to set the default order of the table anyway, so if the scores in the template got changed the default order wouldn't clearly align with any of the values. I think keeping the scores in an admin-editable user json file is a good compromise between on-wiki control and bot stability. One test edit performed, one stray open-curly-brace in the code removed. --AntiCompositeNumber (talk) 02:10, 20 April 2020 (UTC)
 * Primefac (talk) 01:59, 22 April 2020 (UTC)
 * The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA.