Right now, ScoreLookup interface has two implementations: 1- ScoreFetcher which gets scores from the ores service 2- SqlScoreLookup which looks up the scores from the database. The interface is designed with too much of knowledge about the implementation causing inconsistency between these two. ScoreFetcher::getScores needs to be cleaned (specially regarding usecases) and the interface needs to be adjusted.
Customize query in gerrit
|mediawiki/extensions/ORES||master||+17 -29||Make ScoreFetcher and SqlScoreLookup implement different interfaces|