Page MenuHomePhabricator

ORES RC filters missing in beta cluster, fetching thresholds fails
Closed, ResolvedPublic

Description

@Etonkovidova reports that the ORES filters are not appearing on the RC page in beta cluster. I suspected this might be due to breakage in fetching thresholds, and it looks like it is:

catrope@deployment-tin:~$ mwscript eval.php enwiki
> $stats = ORES\Stats::newFromGlobalState();

> var_dump($stats->getThresholds('damaging'));
array(0) {
}

> var_dump($stats->getThresholds('goodfaith'));
array(0) {
}

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
awight triaged this task as High priority.Nov 15 2017, 9:00 PM
awight moved this task from Unorganized to Active Tasks on the Machine-Learning-Team board.

Cannot process your request because the server is overloaded. Try again in afew minutes

That's odd...

I restarted the servers, and see that something is making requests for the old-style stats, "model_info=test_stats". Wassup.

Now that we're caching for 1 day again, I'm afraid the extension isn't gonna re-request. I'll try another language.

greg renamed this task from ORES RC filters missing in beta labs, fetching thresholds fails to ORES RC filters missing in beta cluster, fetching thresholds fails.Nov 15 2017, 11:49 PM
greg updated the task description. (Show Details)
greg added a subscriber: greg.

Now it works just fine:

ladsgroup@deployment-tin:~$ mwscript eval.php enwiki
> $stats = ORES\Stats::newFromGlobalState();

> var_dump($stats->getThresholds('damaging'));
array(4) {
  ["likelygood"]=>
  array(2) {
    ["min"]=>
    int(0)
    ["max"]=>
    float(0.258)
  }
  ["maybebad"]=>
  array(2) {
    ["min"]=>
    float(0.147)
    ["max"]=>
    int(1)
  }
  ["likelybad"]=>
  array(2) {
    ["min"]=>
    float(0.64)
    ["max"]=>
    int(1)
  }
  ["verylikelybad"]=>
  array(2) {
    ["min"]=>
    float(0.941)
    ["max"]=>
    int(1)
  }
}

I think we can close this.

Checked in betalabs - the ORES filters are present.