Project grants/Pi bot/Reports

From Wikimedia UK
< Project grants‎ | Pi bot
Revision as of 21:35, 26 January 2021 by Mike Peel (talk | contribs) (addendums)
Jump to navigation Jump to search

1 January 2021

This is a short report on Project grants/Pi bot as of 1 January 2021. The Raspberry Pi 4 was bought in October 2020, and Pi bot was migrated to it on 17 October. Since then it has made around 940k edits, most of which were on Wikidata (~880k), followed by Commons (~52k) and enwp (~1k). The full edit counts at the time of migration and this report are in the table below. While the previous Pi needed rebooting regularly, the new one has been working flawlessly.

The full list of tasks and their schedule is at meta:User:Pi bot. All scripts were upgraded to Python 3 when migrated to the new Pi, and are stored on bitbucket. Previously existing tasks (such as adding English labels to Wikidata based on Commons category names, and managing 'ship name' categories) are now running more regularly and reliably. New tasks have been implemented, including:

Two further tasks are in the proposal stage:

Date Total Wikidata Commons enwp simplewp frwp Meta
2020-10-17 5,037,378 2,750,018 2,238,878 47,416 787 35 244
2021-01-01 5,977,166 3,636,521 2,291,067 48,474 815 36 253

Thanks. Mike Peel (talk) 20:03, 1 January 2021 (GMT)

Addendum 1: Did the new Raspberry Pi make this possible or just easier as it has performed more reliably? It's a mix of different things. The new pi is more reliable, so I have to spend less time restarting things, and I’ve been able to schedule more tasks to automatically run that I was having to manually start before. I also did a big code overhaul when moving to the new pi, which helps with maintenance. And now I have more confidence that when I propose a new task, the bot has the capacity to run them without running into capacity issues. Lastly, while the scripts usually stay within the 1GB of RAM that the previous pi had, having 8GB means that the scripts that run monthly that need more can use it, and there's more capacity to add more daily/weekly tasks in the future. Mike Peel (talk) 20:35, 26 January 2021 (GMT)
Addendum 2: Task 15 made approximately 350k edits. Task 14 has imported over 100k short descriptions during this period. Thanks. Mike Peel (talk) 20:35, 26 January 2021 (GMT)