Skip to content
Snippets Groups Projects
  • Iustin Pop's avatar
    Fix score calculation to work with empty clusters · 16103319
    Iustin Pop authored
    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.
    16103319