Nelson Jovel
5b34c2257f
chore: performance fixes for response rate calculation
2 years ago
Nelson Jovel
47cca3ce1f
fix: reduce number of n+1 queries
2 years ago
Nelson Jovel
a960202d66
chore: performance fixes for response rate calculation
2 years ago
Nelson Jovel
d2efec1574
fix: reduce number of n+1 queries
2 years ago
Nelson Jovel
32b05487a1
fix: Correctly navigate the user to the latest academic year when no data exists for the school
2 years ago
rebuilt
bcfb52c97a
fix: I broke the feature where the site would automatically navigate the user to the latest year that had sufficient data when I made response rates calculate on each page load instead of being precalculated and stored in the database. Instead of a database lookup for response rates that meet the sufficiency threshold, I caculate the latest year when a user chooses a school from the welcome page.
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
0a5500ecc9
feat: Add overall response rate
2 years ago
rebuilt
cee1c5fbc9
perf: Reduce number of queries. Remove unneeded methods. Combine
...
subcategory and measure queries in controller
3 years ago
rebuilt
734b98edbb
perf: include survey items with measures to avoid n+1 queries when scoring by student/teacher survey items
3 years ago
rebuilt
77e8d12a3b
perf: Add another index to surveyitemresponses. Implement bullet suggestions. Memoize a function in measure.rb
3 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
69179ce157
Replace javascript logic with hotwire. Also hide district dropdown on
...
home page if there is only one district.
3 years ago
rebuilt
72c90b8f47
Add selector for all data
3 years ago
rebuilt
7d7bee6498
Add gender disagreggation
3 years ago
rebuilt
7f0faf8917
Add checkboxes to analyze page for genders
3 years ago
rebuilt
8cdd1b6285
Create gender class. Load genders to database from demographics file
3 years ago
rebuilt
89a7f27b88
Finishes #183092367 . Adds ui and graphs to show grade level disaggregations
3 years ago
rebuilt
42e150b33b
Update caching rule so a race_score with an updated timestamp will break the cache
3 years ago
rebuilt
50b3bc678c
Columns for students by group graph change when corresponding race checkboxes are clicked
3 years ago
rebuilt
94a58a87d7
Use modules to namespace classes for analyze page
3 years ago
rebuilt
c568e8bc06
move methods from analyze helper to background presenter
3 years ago
rebuilt
765ad6a624
Create ui for data filters. Add listeners to direct to the correct url. Update ui based on the list of selected params
3 years ago
rebuilt
e89358dacc
implement suggestions from static code analysis tools
3 years ago
rebuilt
bb5f668497
Refactor code based on rubocop and reek suggestions
3 years ago
rebuilt
18b479b8b2
Refactor based on rubocop and reek suggestions
3 years ago
rebuilt
a1689a3550
Switch the logic of empty dataset detection from none? to any?
4 years ago
rebuilt
0dc99486f8
remove async queries
4 years ago
rebuilt
0593f53fb4
Add async queries
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
rebuilt
e8f3109df9
Disable checkboxes for years that don't have data to show. Add exclamation icon with explanatory text. Finishes #182332983
4 years ago
Nelson Jovel
08c84c8321
make sure selected academic year gets populated correctly
4 years ago
Nelson Jovel
16569974a6
Add checkboxes to select academic years for analyze page. Stimulus controller reads the state of the checkboxes and builds the correct link to route the user
4 years ago
Nelson Jovel
f68e8a8c2b
Don't show scores in production
4 years ago
Nelson Jovel
143e0237e4
Handle case when category is nil in analyzecontroller
4 years ago
Nelson Jovel
6764024cd2
Show subcategory data when user selects different subcategory from
...
analyze dropdown. Finishes #182277850
4 years ago
Nelson Jovel
61978eb45d
Change which category is displayed when the category dropdown is changed
...
on the analyze page. Finishes #182277818
4 years ago
Nelson Jovel
a04f797f30
Add all measures for a given subcategory to the analyze page. Finishes #182277762
4 years ago
Nelson Jovel
9837fbf0d0
If the measure is not based on a type of data(student/teacher) or if there is insufficent data to calculate a score, show a message on the graph indicating such
4 years ago
Nelson Jovel
3d7e62f21f
Draw the teacher survey data bar. Finishes #182226823
4 years ago
Nelson Jovel
a134de3fdd
Implement bullet suggestions and cache overview graph
4 years ago
Nelson Jovel
7a9830915b
Create grouped bar chart on analyze page
4 years ago
Nelson Jovel
cb5fe56c30
Create analyze page. Finishes #182097292
4 years ago
Nelson Jovel
cbc8ba59ba
remove authentication check. Finishes #181920761
4 years ago
Nelson Jovel
ed7a3b8a3d
Autoformat code with rubocop
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
e1f50fef9e
Add 2019-20 year teacher surveys and activate the year selector
4 years ago
Nelson Jovel
5a8d032dd0
Set up bullet gem. Implement bullet gem suggestions.
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