Wikipedia:Bots/Requests for approval/TolBot 1A


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

TolBot 1A
Operator:

Time filed: 17:52, Monday, May 31, 2021 (UTC)

Function overview: Updates Template:COVID-19 vaccination data in Africa

Automatic, Supervised, or Manual: Automatic

Programming language(s): Python

Source code available: Nearly the same as User:TolBot/Task 1

Links to relevant discussions (where appropriate): BRFA TolBot 1

Edit period(s): Daily

Estimated number of pages affected: Template:COVID-19 vaccination data in Africa

Exclusion compliant (Yes/No): No

Function details: Almost the exact same as described in BRFA TolBot 1, except it uses a whitelist of countries (only African countries) instead of a blacklist of non-countries (like continents and income groups).

Discussion
A test edit is here. This is a rather tiny change from the original task (but it still requires another BRFA). Tol &#124; talk &#124; contribs 17:52, 31 May 2021 (UTC)
 * Primefac (talk) 11:56, 5 June 2021 (UTC)
 * Just see the history of Template:COVID-19 vaccination data in Africa — there's not much else. Performs as expected. Tol  &#124; talk &#124; contribs 04:14, 20 June 2021 (UTC)
 * I am not a BAG member, but I have been watching the diffs, and they look great. – Jonesey95 (talk) 13:58, 20 June 2021 (UTC)
 * Thank you! Tol  &#124; talk &#124; contribs 22:43, 6 July 2021 (UTC)
 * BAG assistance needed The trial completed more than two weeks ago; could someone please reply on this task's status? (On another note, I apparently forgot to disable its crontab entry, so its trial is longer than intended; I've turned it off now.) Thanks, Tol  &#124; talk &#124; contribs 22:42, 6 July 2021 (UTC)

Countries with no data & sorting
This update removed countries from this list. Is there a reason to remove countries, even if there is no sourced data available? Also, it would be helpful to maintain the alphabetical order of countries so that it is easy to parse the diffs. – Jonesey95 (talk) 02:40, 7 June 2021 (UTC)
 * The bot is removing countries from the list and re-sorting them out of alphabetical order, which makes the diffs very challenging to inspect. Please fix. – Jonesey95 (talk) 05:35, 13 June 2021 (UTC)
 * @Jonesey95: It only outputs data for countries which have data from OWID. It cannot add countries for which no data is available. I can, however, get it to output the countries in alphabetical order. By the way, your reversion broke the bot (it relies on the HTML comments " " and " " to tell where the data starts and ends). Tol  &#124; talk &#124; contribs 18:38, 13 June 2021 (UTC)
 * Sorry about breaking the bot. After the next update, I'll add a note about the missing countries. Thanks. – Jonesey95 (talk) 18:43, 13 June 2021 (UTC)
 * @Jonesey95: It's fine. I've just patched in an update to sorting so that it sorts alphabetically. I just manually ran it — how does it look? Tol  &#124; talk &#124; contribs 18:48, 13 June 2021 (UTC)
 * Better! It appears to be missing Gabon, even though there is data at the source (assuming you are using the OWID site) for that country. Burundi, Eritrea, and Tanzania are missing from the OWID site, so they can be omitted. – Jonesey95 (talk) 18:51, 13 June 2021 (UTC)
 * @Jonesey95: I'll add Gabon; it should be there with the next update. Tol  &#124; talk &#124; contribs 19:02, 13 June 2021 (UTC)
 * The last three or four daily updates have been great! The diffs are easy to read, and no countries have been removed. – Jonesey95 (talk) 15:40, 16 June 2021 (UTC)
 * @Jonesey95: Great; thank you! Tol  &#124; talk &#124; contribs 18:10, 16 June 2021 (UTC)

As per usual, any minor changes due to missing or improper functionality can be made without further consensus, but any major changes need to be requested on the talk page. Primefac (talk) 18:49, 20 July 2021 (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 Bots/Noticeboard.