Skip to content

Commit

Permalink
Make assessment scoring functionality consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
samgibsonmoj committed Aug 20, 2024
1 parent 76cdf4b commit acfbdfa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ private async Task<bool> MustHaveTwoReds(string identifier, CancellationToken ca
var latest = assessments.MaxBy(a => a.Created);

return latest is not null
&& latest.Scores.Count(s => s.Score is > 0 and < 10) > 1;
&& latest.Scores.Count(s => s.Score is >= 0 and < 10) > 1;
}
}

Expand Down

0 comments on commit acfbdfa

Please sign in to comment.