Fix score calculation to work with empty clusters
Currently the cluster score calculation includes an offline instance percentage, expressed as “offline inst / (offline + online inst)”, which results in NaN for empty clusters. This patch changes the calculation such that clusters with no offline instances (this criteria includes completely empty clusters) get a score of zero on this component of the total score.
Please register or sign in to comment