Gabe Farrell
a44956bd09
rename SurveyItemResponse method for clarity
2 years ago
Nelson Jovel
ec5c1bd1ef
fix: correct a problem where survey items with insufficient responses were contributing to the response rate calculation
2 years ago
Nelson Jovel
cf9dd9042d
perf: reduce time spent in sql query for student response rate
2 years ago
Nelson Jovel
45ea735fa5
perf: reduce number of queries for teacher survey_items
2 years ago
Nelson Jovel
277e36429a
perf: reduce number of queries by requesting grouped_responses once instead of for each measure
2 years ago
Nelson Jovel
9e368ae47d
chore: prevent multiple lookups for the boston district by inlining the
...
sql
2 years ago
rebuilt
9d680c5159
chore: upgrade to rails 7.1.
...
upgrade rspec
fix failing tests
upgrade devise
2 years ago
rebuilt
acfdaf5587
feat: add special education disaggregation
2 years ago
rebuilt
245cde85cd
Add disaggregation by ELL
2 years ago
rebuilt
2a8148b8cd
fix: hide scores on analyze page for scores that don't meet the student threshold of 25%
2 years ago
rebuilt
76ebcc6ef3
feat: Add income table to the database. Add seeder for income. Add a reference to income from survey item response. Update the loader to import income data from the survey response csv. Refactor analyze controller to extract presenter. Add corresponding specs. Add income graph to analyze page
2 years ago
rebuilt
7373e2e52f
fix: Filter out responses that don't correspond to the grades the school serves
2 years ago
rebuilt
07ed8dd259
Update logic for calculating student response rate. Remove references
...
to survey table. We no longer check or keep track of the survey type.
Instead we look in the database to see if a survey item has at least 10
responses. If it does, that survey item was presented to the respondent
and we count it, and all responses when calculating the response rate.
Remove response rate timestamp from caching logic because we no longer
add the response rate to the database. All response rates are calculated
on the fly
Update three_b_two scraper to use teacher only numbers
swap over to using https://profiles.doe.mass.edu/statereport/gradesubjectstaffing.aspx as the source of staffing information
3 years ago
rebuilt
7d7bee6498
Add gender disagreggation
3 years ago
rebuilt
a1f3dfaa33
Load gender information to survey item responses
3 years ago
rebuilt
89a7f27b88
Finishes #183092367 . Adds ui and graphs to show grade level disaggregations
3 years ago
rebuilt
12e4e3f177
import students
3 years ago
rebuilt
bb5f668497
Refactor code based on rubocop and reek suggestions
3 years ago
rebuilt
a6ad132c81
Add counter caches
4 years ago
rebuilt
c03615cb43
Rename ResponseRate to ResponseRateCalculator. Create a new response
...
rate model. Create a loader to refresh response rates for all
subcategories.
Use precalculated response rates in views
Wrap more elements in page caching
Calculate a response rate for a subcategory if one does not already
exist
4 years ago
Nelson Jovel
7a9830915b
Create grouped bar chart on analyze page
4 years ago
Nelson Jovel
57bfaa51c6
Exclude boston results. Completes #182117456
4 years ago
rebuilt
2a2777745a
Change the sufficiency threshold from a static number of minimum responses to a minimum response rate of 25 percent
4 years ago
rebuilt
d4df7cbc06
Add scales to framework. Change calculations to first group and then
...
average those groupings and the way up the framework. Likert scores for
a survey_item are averaged. Then all the survey_items in a scale are
averaged. Then student scales in a measure are averaged. And teacher
scales in a measure are averaged. Then the average of those two
calculations becomes the score for a measure. Then the measures in a
subcategory are averaged.
4 years ago
rebuilt
2655a36bfc
Replace integer devision with float division for accurate response rate calculation
4 years ago
rebuilt
f30f359406
Add teacher response rate
4 years ago
rebuilt
59865cd874
Show response rate for students
4 years ago
Nelson Jovel
bb20ff506b
Correct error affecting subcategory scores where teacher or student survey items below the threshold were still being included in the score for the subcategory.
...
Ensure queries for survey item responses take into account the school
and academic year.
4 years ago
Nelson Jovel
ad03606d66
Add benchmarks to survey and admin data items. Remove them from measures. Modify seeder
...
Calculate benchmarks for measures based on a weighted average of survey
and admin data items
Added architectural records
4 years ago
Nelson Jovel
aeb6a45a45
Show partial data indicators on variance chart
4 years ago
Liam Morley
aa4ce86eaa
Show icon/explanation in measure accordion when a section has insufficient data
4 years ago
Liam Morley
cf6e80ce6b
Show modal when no measures for a school/year have meet their threshold
4 years ago
rebuilt
edeb3f4e59
Prevent memory errors by avoiding creating active record objects when
...
not necessary.
4 years ago
Liam Morley
f8523f1e6a
Display measure data if student data is sufficient OR teacher data is sufficient
4 years ago
Liam Morley
f5e5abc27e
Use public score_for_measure method instead of private 'for_measure' scope
4 years ago
Liam Morley
f3c632ea2a
Take sufficient data requirements into account when calculating score for subcategory
4 years ago
Alex Basson
fa3241da65
Extract SurveyItemResponse.score_for_subcategory method from SubcategoryPresenter
4 years ago
Alex Basson
2abf2d352a
Implement correct policy regarding whether there exist sufficient data for a measure
4 years ago
Alex Basson
da6711c571
Rename SurveyItemResponse.score -> .score_for_measure
4 years ago
Alex Basson
07b7561b55
Move score computation into SurveyItemResponse
4 years ago
Alex Basson
10e70557bd
Display insufficient data note. TODO: remove measures from variance chart
4 years ago
Liam Morley
25578a896f
we have a gauge! next up, let's style the page
4 years ago
Alex Basson
e222edc7e7
Add academic years as an ActiveRecord object
4 years ago
Alex Basson
12415861c1
Rename construct -> measure, seed with SqmCategories and Subcategories
4 years ago