Page MenuHomePhabricator

Document differences between features in Python and API
Closed, DeclinedPublic

Description

Significantly different numbers are available depending on how the feature provider is queried. For example, the raw cache and python return:

feature.log((wikitext.revision.parent.chars + 1)) => 5.71042701737487

but the API returns:

feature.wikitext.revision.parent.chars => 301.0

There are good reasons for this. Document and explain.

Event Timeline

elukey subscribed.

The ML team is focusing on https://wikitech.wikimedia.org/wiki/Machine_Learning/LiftWing, the replacement of ORES. Please re-open if you feel that something is missing, but we'd prefer to add any new functionality only on Lift Wing.