Ladsgroup has uploaded a new change for review. https://gerrit.wikimedia.org/r/264295
Change subject: Fix parsing results from ORES API ...................................................................... Fix parsing results from ORES API Change-Id: Iaa3c1ada101232f96e934ae1e8496da9a018f043 --- M includes/Cache.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ORES refs/changes/95/264295/1 diff --git a/includes/Cache.php b/includes/Cache.php index f2f5495..71ce16e 100644 --- a/includes/Cache.php +++ b/includes/Cache.php @@ -34,7 +34,7 @@ $modelVersion = $this->getModelVersion( $model ); - foreach ( $modelOutputs['probabilities'] as $class => $probability ) { + foreach ( $modelOutputs['probability'] as $class => $probability ) { $dbData[] = array( 'ores_rev' => $revid, 'ores_model' => $model, -- To view, visit https://gerrit.wikimedia.org/r/264295 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iaa3c1ada101232f96e934ae1e8496da9a018f043 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/ORES Gerrit-Branch: master Gerrit-Owner: Ladsgroup <ladsgr...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits