private static RankProfileList createRankProfileList(File appDir, FileRegistry registry) throws IOException, SAXException {
        ApplicationPackage app = new MockApplicationPackage.Builder()
                .withEmptyHosts()
                .withServices(modelEvaluationServices)
                .withRoot(appDir).build();
        DeployState deployState = new DeployState.Builder()
                .applicationPackage(app)
                .fileRegistry(registry)
                .modelImporters(importers).build();

        VespaModel vespaModel = new VespaModel(deployState);
        return vespaModel.rankProfileList();
    }
Create a ModelsEvaluator from the models found in the modelsPath. Does
not need to be in a application package.

@param modelsPath Path to a directory containing models to import
@return a ModelsEvaluator containing the imported models
config-model/src/main/java/com/yahoo/vespa/model/container/ml/ModelsEvaluatorTester.java