chore: get overview page to show without errors

This commit is contained in:
Nelson Jovel 2024-01-18 14:13:17 -08:00
parent 650a91ca62
commit 589c0f7e11
7 changed files with 31 additions and 16 deletions

View file

@ -7,13 +7,6 @@ module Dashboard
NIL_SCORE = Score.new(average: nil, meets_teacher_threshold: false, meets_student_threshold: false,
meets_admin_data_threshold: false)
enum group: {
all_students: 0,
race: 1,
grade: 2,
gender: 3
}
def in_zone?(zone:)
return false if average.nil? || average.is_a?(Float) && average.nan?