mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-09 07:28:41 -07:00
capping zscores at 2
This commit is contained in:
parent
adc2c1318a
commit
9d45ba405b
3 changed files with 8 additions and 10 deletions
|
|
@ -282,7 +282,7 @@ namespace :data do
|
|||
school_category = school.school_categories.find_or_create_by(category: nonlikert_category)
|
||||
school_category.update(
|
||||
nonlikert: row["NL_Value"],
|
||||
zscore: row["Z-Score"]
|
||||
zscore: [row["Z-Score"].to_f,2].min
|
||||
)
|
||||
school_category_id = school_category.id
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue