mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-08 23:18:18 -07:00
Display in the variance graph only those measures that have sufficient data
This commit is contained in:
parent
07b7561b55
commit
161db3bf3e
4 changed files with 40 additions and 15 deletions
|
|
@ -46,4 +46,8 @@ module VarianceHelper
|
|||
def measures_with_insufficient_data(presenters:)
|
||||
presenters.filter { |presenter| presenter.score == nil }
|
||||
end
|
||||
|
||||
def measures_with_sufficient_data(presenters:)
|
||||
presenters.filter { |presenter| presenter.score != nil }
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue