sqm-dashboards/app/presenters/analyze/graph/column/unknown.rb
2022-08-05 10:23:45 -07:00

35 lines
702 B
Ruby

# frozen_string_literal: true
module Analyze
module Graph
module Column
class Unknown < GroupedBarColumnPresenter
include Analyze::Graph::Column::RaceScore
def label
'Unknown'
end
def basis
'student'
end
def show_irrelevancy_message?
# !measure.includes_student_survey_items?
false
end
def show_insufficient_data_message?
false
end
def score(year_index)
race_score(measure:, school:, academic_year: academic_years[year_index], race:)
end
def race
Race.find_by_qualtrics_code 99
end
end
end
end
end