Nelson Jovel
3f2aa63bfd
fix: correctly memoize student_survey_items_with_sufficient_responses so that on the analyze page, when the first year has insufficient responses, it doesn't affect all subsequent years
2 years ago
Nelson Jovel
3b3bb52523
chore: refactor analyze page
2 years ago
Nelson Jovel
ccb04511bf
feat: switch analyze page to use hotwire. Fix n_size count for teacher
2 years ago
Gabe Farrell
2f1cf8b9fd
Chore: Reduce queries
2 years ago
Nelson Jovel
33da0859b9
Split academic year into seasons if the academic year's range is
...
initialized with a season, i.e. "2024-25 Fall". Update scapers for
admin data, enrollment and staffing to use the new range standard
correctly. Update the loaders for admin data, enrollment and staffing
so that it populates all seasons in a given year. So admin data for
2024-25 gets loaded into "2024-25 Fall" and "2024-25 Spring". Add tests
for the new range format. Set the default cutoff for the start of Spring season will be the last Sunday in February
2 years ago
Nelson Jovel
51e71a7f83
fix: Fixes #187294757 . Data is hidden when selecting multiple years if the default year has no student data to show
2 years ago
Nelson Jovel
4c017cf857
fix: add pre-k to list of grades
2 years ago
Nelson Jovel
3c210e0ab6
chore: rename admin data to school data on analyze page
2 years ago
Nelson Jovel
90d1419d9c
feat: change 'school admin data' to 'school data'
2 years ago
Nelson Jovel
8fb0a280ca
perf: reduce number of queries for respondents
2 years ago
Nelson Jovel
5df890923f
feat: don't show collection date of response rate if there is no survey data
2 years ago
Nelson Jovel
ea079e927b
chore: rename counts_by_grade to enrollment_by_grade for clarity
2 years ago
Nelson Jovel
a75373f6f2
feat: don't double count early ed students who are taking survey in parts
2 years ago
rebuilt
8baaa67730
fix: make sure sped is taken into account when caching analyze page
2 years ago
rebuilt
83661540b7
chore: upgrade to rails 7.1.
...
upgrade rspec
fix failing tests
upgrade devise
2 years ago
rebuilt
48e795fcfb
feat: add special education disaggregation
2 years ago
rebuilt
060d7aa55a
Add disaggregation by ELL
2 years ago
rebuilt
8d33095a48
fix: fix crash when viewing income graph on analyze page
2 years ago
rebuilt
463e4c9452
fix: hide scores on analyze page for scores that don't meet the student threshold of 25%
2 years ago
rebuilt
315b398a5a
fix: Overall response rate was incorrectly using the updated_at date instead of the recorded date. Also, it was just using the last date for all academic years instead of the last date the survey was taken per academic year.
2 years ago
Gabe Farrell
a8db6c5ecf
Add Overall Response Rate Popover
2 years ago
rebuilt
b3efbdeb33
The overall response rate is artifically lower because we are including the number of all the students at the school, not just the number of students that took the survey. Updated the overall response rate presenter to return the count of only the grades that took the student survey.
2 years ago
rebuilt
65ca0fd1ac
Move color definitions out of response rate presenter and into _colors.scss
2 years ago
rebuilt
a785c69c44
Add Overall Response Rate
2 years ago
rebuilt
4afa030141
chore: remove precalculated race scores. Calculate race scores on every reload
2 years ago
Nelson Jovel
0bacac6962
fix: fix teacher n_size so instead of counting all the indivual teacher responses for a measure, it only counts the unique respondents
2 years ago
rebuilt
5f49746bf4
feat: Rename income labels to 'Economically Disadvantaged' and 'Not Economically Disadvantaged'
2 years ago
rebuilt
67e469a66c
feat: add popover to analyze graphs that displays the n-size of the different columns. Make sure to only calculate a score for a race if there are more than 10 respondents to a question.
2 years ago
rebuilt
bec80b405a
fix: revert rounding up the response rate so we can make sure to patch a bug first. Only show gender/race/grade/income graphs if the the school meets the minimum response rate of 25%
2 years ago
rebuilt
35c8199887
Reorder gender columns
2 years ago
rebuilt
4f035f6a63
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
fae530d21f
perf: Reduce number of queries. Remove unneeded methods. Combine
...
subcategory and measure queries in controller
3 years ago
rebuilt
d48a4efda2
Round all averages to two decimal places
3 years ago
rebuilt
541f29108b
Rename DataAvailability to Summary
3 years ago
rebuilt
128748addd
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
2305e32f6d
Make sure when checking for sufficient gender responses that we only check student survey items
3 years ago
rebuilt
5e88c8be1b
Transition from Lowell to ECP. Update text and links to reflect the new Organization.
3 years ago
rebuilt
10bf7177e4
Fix icon not showing up on category page
3 years ago
rebuilt
7a5e02eed9
Remove unused method item_descriptions from admin_data_presenter and
...
student_survey_presenter.
3 years ago
rebuilt
a72fd373dc
Remove unused method; item_descriptions
3 years ago
rebuilt
669fb7f1f0
Correct grade level for kindergarten and add one off task to load test data
3 years ago
rebuilt
3a744db975
Start adding kindergarten
3 years ago
rebuilt
b0e84ed82a
Modify names and descriptions of subcategories and measures
3 years ago
rebuilt
10515893ff
Add elementary school questions to framework.
3 years ago
rebuilt
b884021f66
Rename race column from 'Race/Ethnicity not listed' to 'Not Listed'
3 years ago
rebuilt
c58686c032
rename race and gender modules to avoid naming collision with race and gender classes
3 years ago
rebuilt
bb9ea9b22d
Add admin data messages to analyze page for insufficient/irrelevant states
3 years ago
rebuilt
53a08d41bf
Change label for unknown race
3 years ago
rebuilt
1f7fa8146c
Fix bug that happens when you view gender scores for multiple years
3 years ago
rebuilt
72c90b8f47
Add selector for all data
3 years ago