Page MenuHomePhabricator

Automoderator should be able to revert edits based on Revert Risk scores from the ORES extension
Open, In Progress, LowPublic5 Estimated Story Points

Description

In T352439 we implemented a simple approach to reverting which directly uses the Liftwing API.
Ultimately what we're looking for is to be able to get edit scores from the Revert Risk model in the ORES extension so that we can scale better in production and batch our requests.

Acceptance criteria

Given the ORES extension is loaded/configured to use the Revert Risk model and the revision has been scored, Automoderator should fetch Revert Risk scores from it instead of the Liftwing API.
This will be a lookup to get score from the database.

Event Timeline

Change 992534 had a related patch set uploaded (by Jsn.sherman; author: Jsn.sherman):

[mediawiki/extensions/AutoModerator@master] Naive reverts based on revertrisk score

https://gerrit.wikimedia.org/r/992534

Test wiki created on Patch demo by JSherman (WMF) using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/cf2b47d888/w

Change 992534 merged by jenkins-bot:

[mediawiki/extensions/AutoModerator@master] Naive reverts based on revertrisk score

https://gerrit.wikimedia.org/r/992534

Removed parent task to take it out of the pilot task graph since we decided not to depend on ORES for this pilot in T359050: Investigate hard ORES dependency for AutoModerator pilot

jsn.sherman lowered the priority of this task from High to Low.Mar 21 2024, 5:31 PM
jsn.sherman renamed this task from Enable Automoderator to revert edits based on Revert Risk scores from the ORES extension to Automoderator should be able to revert edits based on Revert Risk scores from the ORES extension.Jun 10 2024, 6:32 PM
Kgraessle updated the task description. (Show Details)
Scardenasmolinar moved this task from To be estimated to Up next on the Moderator-Tools-Team board.
Scardenasmolinar changed the task status from Open to In Progress.Jul 10 2024, 12:31 AM
Scardenasmolinar claimed this task.
Scardenasmolinar moved this task from Ready to In Progress on the Moderator-Tools-Team (Kanban) board.

Change #1054691 had a related patch set uploaded (by Scardenasmolinar; author: Scardenasmolinar):

[mediawiki/extensions/AutoModerator@master] Revert edits based on revert risk scores in ORES

https://gerrit.wikimedia.org/r/1054691

Moving this back to In Progress because there is a lot more work to do.

I got a chance to review your changes, and I think they look good! No nits or suggestions from me.

Change #1058685 had a related patch set uploaded (by Scardenasmolinar; author: Scardenasmolinar):

[mediawiki/extensions/AutoModerator@master] Create Talk Page message sender class

https://gerrit.wikimedia.org/r/1058685

I got a chance to review your changes, and I think they look good! No nits or suggestions from me.

Thanks! A review on the new patch would also be appreciated! :)

Change #1058685 merged by jenkins-bot:

[mediawiki/extensions/AutoModerator@master] Create Talk Page message sender class

https://gerrit.wikimedia.org/r/1058685

Change #1060513 had a related patch set uploaded (by Jforrester; author: Scardenasmolinar):

[integration/config@master] Zuul: [mediawiki/extensions/Automoderator] Add ORES as a dependency

https://gerrit.wikimedia.org/r/1060513

Change #1060513 merged by jenkins-bot:

[integration/config@master] Zuul: [mediawiki/extensions/Automoderator] Add ORES as a dependency

https://gerrit.wikimedia.org/r/1060513

Mentioned in SAL (#wikimedia-releng) [2024-08-09T07:51:39Z] <James_F> Zuul: [mediawiki/extensions/Automoderator] Add ORES as a dependency, for T352769