private void renameDimensions() {
        DimensionRenamer renamer = new DimensionRenamer(this);
        for (String signature : signatures()) {
            for (String output : outputs(signature).values()) {
                addDimensionNameConstraints(operations.get(output), renamer, new HashSet<>());
            }
        }
        renamer.solve();
        for (String signature : signatures()) {
            for (String output : outputs(signature).values()) {
                renameDimensions(operations.get(output), renamer, new HashSet<>());
            }
        }
    }
Find dimension names to avoid excessive renaming while evaluating the model.
model-integration/src/main/java/ai/vespa/rankingexpression/importer/IntermediateGraph.java