This should be done carefully, starting with beta cluster config. Edit $wgOresFiltersThresholds in wmf-config/InitialiseSettings.php and change from the old syntax, e.g. recall_at_precision(min_precision=0.15) to the new syntax:
maximum recall @ precision >= 0.15
Remaining deployment steps for this task:
- Triple-check that default thresholds work in beta.
- Deploy Update default thresholds to new syntax to production.
- Wait two days, to allow cached thresholds to expire, then smoke-test production.
- Merge and deploy https://gerrit.wikimedia.org/r/419857, removing support for old syntax.