Jump to content

User:HersfoldArbClerkBot

From Wikipedia, the free encyclopedia
Deactivated
This bot is no longer active on Wikipedia.

Current status: Online. The bot is currently running normally. (Last run: 22:00, 21 September 2013 (UTC)) Hersfold (t/a/c) 18:31, 9 January 2013 (UTC)

HersfoldArbClerkBot
This user is a bot
(talk · contribs)
OperatorHersfold
Approved?Yes
Flagged?Yes
Task(s)Monitoring evidence length in Arbitration cases
Edit rate5/minute
Edit period(s)1 run/2 hours
Automatic or manual?Automated
Programming language(s)Java using MER-C's Java Library with some additions
Exclusion compliant?Yes
Source code published?http://tools.wmflabs.org/hersfold-hacb/source
Emergency shutoff-compliant?Yes
Other informationRuns from Wikimedia Labs
Non-administrators may also shut off the bot by posting a new comment to the bot's talk page.

Function

[edit]

HersfoldArbClerkBot is a automated Arbitration Committee clerk that will periodically check evidence pages in open Arbitration cases for the lengths of evidence sections submitted to the cases. The Arbitration Committee (or rather, its clerks) enforce a length limit on these sections, which is often exceeded by editors participating in the case. This bot will keep running tallies on the word length of each section, as well as the number of diffs and other links posted in each section. These counts will be posted at the top of each section for the benefit of the submitted editor, the clerks, and Committee. If any section goes significantly over any of these limits, the bot will leave a notice on the submitting editor's talk page asking that they shorten their evidence. This bot will not modify submitted evidence in any way.

Future updates

[edit]

To suggest an update to the bot, please contact Hersfold. Suggestions for updates should relate to the bot's current task; if you would like a bot to perform a totally different task, please make your request at WP:BOTREQ.

None currently

Completed updates

[edit]
  1.  Done: Basic word, diff, and link counter algorithms
  2.  Done: Retrieve list of open cases and obtain data from evidence pages
  3.  Done: Provide on-wiki list of all evidence section lengths in userspace
  4.  Done: Set up the bot to read configuration data regarding the limits and tolerance level from a user subpage
  5.  Done: Set up the bot to notify users exceeding limits outside of tolerance levels
  6.  Done: Find a way to get the bot to run continuously (current plan is a scheduled task to run on my computer every two hours, with the computer rebooting itself every 24. :-/)
  7.  Done: Set up the bot to make edits to each section to provide length counts using a user template
  8.  Done: Set up bot to check talk page for messages between each case
  9.  Done: Add an override configuration option for specific users in specific cases (suggested by NuclearWarfare)
  10.  Done: Rig diff and link counts to discount content within templates and HTML code
  11.  Done: Fix null edit issue ([1])
  12.  Done: Bot doesn't seem to be handling hat/hab sections correctly, it didn't correct word or diff count for Chester Markel's evidence on the last run
  13.  Done: Add (uninvolved) to the possibilities for marking one self as uninvolved
  14.  Done: Find a better way to get the bot to run continuously
  15.  Done: Bot does not correctly remove layered list formatting, i.e. multiple :'s, #'s, or *'s, or some combination thereof. (mid priority)
  16.  Done: {{diff}} not recognized as a diff (gets stripped out with all other templates) (high priority)
  17.  Done: Malformed section headers (i.e. "Evidence presented by User:foo") cause bot to crash
  18.  Done: Bot returns a word count of 1 for blank evidence sections regardless of whitespace present.
  19. Red X Won't fix: Set up the bot to maintain on-wiki logging pages in userspace - After further thought, this could cause problems, as the bot would be constantly editing the log page. Contributions and the on-wiki length reports should suffice, and logs will be kept on the local machine in case of a significant problem.
  20. Red X Won't fix: While not breaking the bot, tables seem to throw off the word count and need to be handled better - While this does significantly throw off the word count, tables can be used to convey a great deal of information, on a level analogous to that provided by the amount of words the bot thinks the table contains. It will be very difficult to strip out table formatting while leaving the contents of the table intact, due to the way Mediawiki displays tables. As these are infrequently used at arbitration, this is not really worth putting effort into fixing just now. Should it become an issue, this can be revisited later.

Configuration and logging

[edit]

While running, the bot will maintain logs of its actions on the WMF Labs server. The logs from trial runs will be posted here. In the event of a problem, these logs will be used to determine the cause of the problem and possible solutions. The bot may also be reconfigured using these pages by currently-serving Arbitrators and Committee Clerks.

/Configuration (Easier forms) - /Trial logs - /Length reports - /User Notice - /Length header - /IRC Help - Source Code (at WMF Labs)