jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/395066 )
Change subject: Add ORES filter thresholds for simplewiki
......................................................................
Add ORES filter thresholds for simplewiki
Bug: T181848
Change-Id: I4109751a976408bba4211803111268b05babcaaf
---
M wmf-config/InitialiseSettings-labs.php
1 file changed, 16 insertions(+), 0 deletions(-)
Approvals:
jenkins-bot: Verified
Awight: Looks good to me, approved
diff --git a/wmf-config/InitialiseSettings-labs.php
b/wmf-config/InitialiseSettings-labs.php
index 3045515..383c120 100644
--- a/wmf-config/InitialiseSettings-labs.php
+++ b/wmf-config/InitialiseSettings-labs.php
@@ -692,5 +692,21 @@
'wmgUseORES' => [
'simplewiki' => true, // T181848
],
+ 'wgOresFiltersThresholds' => [
+ 'simplewiki' => [ // Follows enwiki
+ 'damaging' => [
+ 'likelygood' => [ 'min' => 0, 'max' =>
'recall_at_precision(min_precision=0.99)' ],
+ 'maybebad' => [ 'min' =>
'recall_at_precision(min_precision=0.15)', 'max' => 1 ],
+ 'likelybad' => [ 'min' =>
'recall_at_precision(min_precision=0.45)', 'max' => 1 ],
+ // verylikelybad uses default
+ ],
+ 'goodfaith' => [
+ 'likelygood' => [ 'min' =>
'recall_at_precision(min_precision=0.99)', 'max' => 1 ],
+ 'maybebad' => [ 'min' => 0, 'max' =>
'recall_at_precision(min_precision=0.15)' ],
+ // likelybad uses default
+ 'verylikelybad' => [ 'min' => 0, 'max'
=> 'recall_at_precision(min_precision=0.9)' ],
+ ],
+ ],
+ ],
];
} # wmflLabsSettings()
--
To view, visit https://gerrit.wikimedia.org/r/395066
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I4109751a976408bba4211803111268b05babcaaf
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Awight <[email protected]>
Gerrit-Reviewer: Awight <[email protected]>
Gerrit-Reviewer: Urbanecm <[email protected]>
Gerrit-Reviewer: Zoranzoki21 <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits