Skip to content

Returned error response on ISR finalization when ISR.normalized_score would be NaN

Sam Kagan requested to merge fix-normalized-score-nan into main

NaN normalized_score's only happen when stddev(finalizable_reviewer_scores) == 0, which only happens when len(set(finalizable_reviewer_scores)) == 1 (all scores are equal). Allie and Dana have decided that this root cause should always be avoided in practice (see STT-1220 for details); therefore, when it does arise, failing ISR finalization seems like a better response than returning NaN's to the UI.

Edited by Sam Kagan

Merge request reports