User:FVCBot
What I'm lazy ? I'm not working ? Ask my master for help.
Emergency bot shutoff button
Administrators: Use this button if the bot is malfunctioning.
Non-administrators can report misbehaving bots to Commons:Administrators' noticeboard.
Hi, I’m Featured video candidates bot. My job includes counting of votes, closing nomination, notifying the nominator if the nomination gets featured and marking the featured nominations with featured video tag. I work in 3 shifts a day (5:00, 13:00, 21:00 UTC). I live in the servers of Toollabs (Eqiad cluster), Virginia, Ashburn, United States of America.
Required bot information[edit]
Purpose and goal[edit]
The sole purpose for creating this bot is to automate the FVC closure process as it takes a lot of time to do manually.
Assignments[edit]
The bot performs the Closing and the Parking step while a user performs the Review step.
Closing[edit]
In this step, the bot counts the votes on a candidate when the voting period is over and adds the unconfirmed count to the candidate. The following is a simplified overview of the implementation:
- If withdrawn, FVXed or FVDed and more than 24 hours since last activity (last edit) close as non-successful else continue
- Check if any of the rules of the 9th day can be applied
- If any of the rules of the 6th day can not be applied and the voting period is not over: Don't do anything
- Count the votes and add {{FVC-results-ready-for-review}}: stop The vote count does ignore struck-out votes and handles all known internationalized versions of the vote templates. But votes are not counted if there is more than one video for the candidate, i.e. if it contains modified versions or alternatives.
Reviewing[edit]
This step is performed by a user that confirms that the bot counts are correct or corrects them if they are not. Incorrect counts can occur for example if a voter has used a template that is not recognized by the bot or stated something ambiguous as comment such as "I oppose if this and support if that" ( no way that the bot can figure that out ). And the bot does not currently check for anonymous, late or double votes so that also needs to be checked by a user. Fortunately all these cases are quite rare. The confirm step involves changing the {{FVC-results-ready-for-review}} to {{FVC-results-reviewed}}. There are more information on the mentioned template pages.
Parking[edit]
This step looks at confirmed counts and performs the appropriate steps for a featured or delisted candidate alternatively for a candidate that failed to be delisted or featured.
- Check if the candidate contains exactly 1 confirmed result count, if not stop
- Ignore if withdrawn or FVXed ( this would be an error of a user that has confirmed an invalid candidate )
- Ignore the candidate videos page can not be found ( can happen if the video is deleted from commons for some reason in between the confirmation and the parking run )
- If the confirmed results are passing the criteria:
- If the candidate is an FV candidate
- Validate the supplied category
- Add to the list of recently featured videos
- Add to the specified sub-category page of featured videos
- Add the {{FV promoted}} template to the candidate or add the commons parameter if it is already there
- Add to the page of featured videos this month ( Commons:Featured videos/chronological/March 2024 )
- Notify the nominator on his/her user talk page
- Add to the log and remove from the list of active candidates ( Commons:Featured video candidates/candidate list )
- If the candidate is a delist candidate
- Add to the log and remove from the list of active candidates ( Commons:Featured video candidates/removal )
- Remove the candidate from the categorized list pages of candidates
- Remove any assessment template on the video page
- If the candidate is an FV candidate
- If the confirmed results is failing the criteria:
- Add to the log and remove from the list of active candidates ( Move from Commons:Featured video candidates/removal or Commons:Featured video candidates/candidate list to Commons:Featured video candidates/Log/March 2024 )
Command[edit]
The bot currently runs as a cronjob on WMF Labs that looks like this:
0 5,13,21 * * * jsub -once python3 fsc.py -park -close -auto
± | This user is in fact a bot. |