Wikipedia:Bots/Requests for approval/DefconBot

This is an old revision of this page, as edited by K6ka (talk | contribs) at 22:16, 14 May 2014 (Discussion). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Operator: A930913 (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)

Time filed: 15:29, Wednesday May 14, 2014 (UTC)

Automatic, Supervised, or Manual: Automatic

Programming language(s): Edits performed by pywikibot.

Source code available: On the labs. (/data/project/defconbot)

Function overview: VoxelBot is dead. Long live DefconBot!

Links to relevant discussions (where appropriate):

Edit period(s): On the half and hour. Calculated chance of defcon change = ~30% giving an effective rate of once per hour and a half.

Estimated number of pages affected: 1

Exclusion compliant (Yes/No): No

Already has a bot flag (Yes/No): No

Function details: A new mathematical approach to automatically updating the defcon. There is already the precedent set by VoxelBot for updating the defcon automatically, so the discussion is mainly about the new metric.

ClueBotNG not only reverts vandalism, but also scores every edit with its ANN. I have recorded over the period of a month the sum of these scores every minute. [1] I have dubbed this metric the ClueBot Vandal Score (CVS). The CVS, at any one time, gives the approximate quantity of vandalism currently being added to the wiki. One can take an average (or sum, for it matters not which) of these scores over a period of time, for instance half an hour, to work out a score for said period of time.

Using the aforementioned history collected, we can distribute a percentage of the time we want a particular defcon to be spent on and calculate the thresholds required to achieve those percentages. I have done some graphing and these percentages look good.

Defcon Level Percentage of time Triggered
1 1% Monday & Tuesday peak
2 10% Weekday peak
3 20% Weekend peak
4 60%
5 9% Daily minimum

The bot is currently updating the template User:DefconBot/defcon
The current values are:

  • level = 0
  • info = Cannot determine vandalism level according to DefconBot
  • sign = 05:31, 2 September 2016 (UTC)

A live visualisation of the vandalism stats is at //tools.wmflabs.org/cluestuff/stats.html

I have spent a long time trying to make a mathematical formula to include the complexities of vandals vs counters, but I have come to the realisation that current metric proposed, however simple, is the best one. Other metrics can be updated or added with further requests. 930913(Congratulate) 15:29, 14 May 2014 (UTC)[reply]

Discussion

  •   Note: This bot appears to have edited since this BRFA was filed. Bots may not edit outside their own or their operator's userspace unless approved or approved for trial. AnomieBOT 16:02, 14 May 2014 (UTC)[reply]
Derp.   Fixed 930913(Congratulate) 20:36, 14 May 2014 (UTC)[reply]

Pinging people who have recently updated the template manually: K6ka, Novusuna, Josve05a, TheMesquito, BethNaught, Eyesnore, Slazenger & Jeffrd10. 930913 {{ping}} 21:43, 14 May 2014 (UTC)[reply]

...so, does this mean I lose my job? :( --k6ka (talk | contribs) 22:16, 14 May 2014 (UTC)[reply]