Jump to content

User:HersfoldArbClerkBot: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Hersfold (talk | contribs)
offline
Hersfold (talk | contribs)
operational
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{bot|Hersfold|status=approved}}
{{bot|Hersfold|status=approved}}


'''Current status: {{red|Offline for maintenance}}'''. The bot is currently suspended and undergoing some work. It should be back up soon. (Last run: {{User:HersfoldArbClerkBot/LastRun}}) [[User:Hersfold|'''''<em style="font-family:Bradley Hand ITC;color:blue">Hers</em><em style="font-family:Bradley Hand ITC;color:gold">fold</em>''''']] <sup>([[User:Hersfold/t|t]]/[[User:Hersfold/a|a]]/[[Special:Contributions/Hersfold|c]])</sup> 17:40, 6 November 2011 (UTC)
'''Current status: {{green|Online}}'''. The bot is currently running on a regularly scheduled basis. (Last run: {{User:HersfoldArbClerkBot/LastRun}}) [[User:Hersfold|'''''<em style="font-family:Bradley Hand ITC;color:blue">Hers</em><em style="font-family:Bradley Hand ITC;color:gold">fold</em>''''']] <sup>([[User:Hersfold/t|t]]/[[User:Hersfold/a|a]]/[[Special:Contributions/Hersfold|c]])</sup> 20:40, 6 November 2011 (UTC)


{{Infobox Bot
{{Infobox Bot
Line 33: Line 33:
To suggest an update to the bot, please contact [[User talk:Hersfold|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]].
To suggest an update to the bot, please contact [[User talk:Hersfold|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''
:''None currently''


=== Completed updates ===
=== Completed updates ===
Line 51: Line 51:
# {{done}}: Add (uninvolved) to the possibilities for marking one self as uninvolved
# {{done}}: Add (uninvolved) to the possibilities for marking one self as uninvolved
# {{done}}: Find a better way to get the bot to run continuously
# {{done}}: Find a better way to get the bot to run continuously
# {{done}}: Bot does not correctly remove layered list formatting, i.e. multiple :'s, #'s, or *'s, or some combination thereof. (mid priority)
# {{done}}: {{tl|diff}} not recognized as a diff (gets stripped out with all other templates) (high priority)
# {{done}}: Malformed section headers (i.e. "Evidence presented by [[User:foo]]") cause bot to crash
# {{Wontfix}}: <s>Set up the bot to maintain on-wiki logging pages in userspace</s> - 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.
# {{Wontfix}}: <s>Set up the bot to maintain on-wiki logging pages in userspace</s> - 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.
# {{Wontfix}}: <s>While not breaking the bot, tables seem to throw off the word count and need to be handled better</s> - 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 ==
== Configuration and logging ==

Revision as of 20:40, 6 November 2011

Current status: Online. The bot is currently running on a regularly scheduled basis. (Last run: 22:00, 21 September 2013 (UTC)) Hersfold (t/a/c) 20:40, 6 November 2011 (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?tools:~hersfold/HACB/source
Emergency shutoff-compliant?Yes
Other informationRuns from the Toolserver
Non-administrators may also shut off the bot by posting a new comment to the bot's talk page.

Function

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

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

  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. 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.
  19. 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

While running, the bot will maintain logs of its actions on the Toolserver. 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 - Source Code (at Toolserver)