Commit graph

374 commits

Author SHA1 Message Date
Nelson Jovel
5f0bd8e73e Speed up survey item by item report from 75 to 23 seconds. Reduce
number of queries to the database.   Create a second thread of execution
2025-01-02 11:46:19 -08:00
Nelson Jovel
8a1c88b416 fix: set a threshold for participation count 2024-12-20 13:11:50 -08:00
Nelson Jovel
7fd441a56e feat: generate new bll report for Ashley 2024-12-13 13:55:05 -08:00
Nelson Jovel
f1eaad62c8 chore: Make sure survey items are uniq by survey item ids 2024-11-25 17:05:07 -08:00
Nelson Jovel
13a8e4dafd fix: enum format in question.rb 2024-11-20 15:41:42 -08:00
Nelson Jovel
e62d909896 chore: update format for enum in question.rb 2024-11-20 15:34:24 -08:00
Nelson Jovel
8946971cd3 fix: remove survey.rb which was causing errors on production startup because of the enum type 2024-11-20 15:28:07 -08:00
Nelson Jovel
d0721709f5 chore: update to rails 8 2024-11-20 15:16:22 -08:00
Nelson Jovel
0c661930e9 Show parent response rate 2024-11-03 12:47:25 -08:00
Nelson Jovel
7d4db37ee7 feat: show parent scales on variance chart 2024-10-11 10:19:23 -07:00
Nelson Jovel
6f3634582e feat: Add parent button to overview page and alter 'School Quality Framework Indicators' section to show parent scales 2024-10-08 15:16:50 -07:00
Nelson Jovel
6e4700c1f0 chore: extract overview partials 2024-10-01 12:05:48 -07:00
Nelson Jovel
37042aead5 feat: Show parent scales on browse page 2024-09-25 11:45:16 -07:00
Nelson Jovel
e5e969b968 feat: add parent survey gauges 2024-09-16 15:24:43 -07:00
Nelson Jovel
d8d2f0f91d fix: correctly load survey items from sample framework file. Fix broken tests 2024-08-27 12:45:52 -07:00
Nelson Jovel
aee0bc9883 feat: add ability to filter export data by student survey item type. Ability added to 'by grade' 'by item' and 'survey item responses' reports 2024-08-21 14:04:44 -07:00
Nelson Jovel
5a51de42ed fix: swap over to using respondents table to calculate which grades need to be included. This fixes a problem where errant responses were polluting the set of grades for a school. Also order the survey items by prompt(alphabetically) 2024-08-15 09:25:58 -07:00
Nelson Jovel
17f701ba0f fix: Report::SurveyItemByGrade.create_grade_report now runs without errors 2024-08-13 09:58:52 -07:00
Nelson Jovel
90def5d167 fix: SurveyItemByItem.create_item_report now runs without errors 2024-08-13 09:30:51 -07:00
Nelson Jovel
2d42036294 Add an exports page that allows a user to select which reports they want
to run
2024-08-08 15:53:05 -07:00
Nelson Jovel
f2e576a978 fix: correctly reference SurveyItemResponse in Subcategory report 2024-07-19 13:13:16 -07:00
Nelson Jovel
ffb989d8fd fix: correctly reference SurveyItemResponse instead of Report::SurveyItemResponse 2024-07-19 11:21:32 -07:00
Nelson Jovel
729cf328ef feat: use qualtrics code instead of designation when generating report 2024-07-19 10:52:05 -07:00
Nelson Jovel
8a2c34462b feat: create a report at the survey item response level that shows averages by student to selected measures 2024-07-18 15:47:37 -07:00
Nelson Jovel
3ecc68edd0 chore: correct parsing for 'not sped' and 'lep not first year' 2024-06-26 12:02:22 -07:00
Nelson Jovel
0cbc73821c chore: handle cases where the pivot table inserts headers instead of actual values for gender and race 2024-06-24 19:09:19 -07:00
Nelson Jovel
8c0faa3445 chore: handle unknowns when parsing records 2024-06-24 13:47:28 -07:00
Nelson Jovel
e8bc5eb11a feat: stop processing race or gender column if we encounter values we don't know about 2024-06-20 12:48:36 -07:00
Nelson Jovel
c4e1023446 chore: add ability to filter survey item report by student survey type 2024-06-19 15:48:24 -07:00
Nelson Jovel
9a6db9235a chore: add report for listing district level averages for measure scores 2024-06-19 10:15:02 -07:00
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 2024-06-12 16:28:15 -07:00
Nelson Jovel
ccb04511bf feat: switch analyze page to use hotwire. Fix n_size count for teacher 2024-06-11 13:48:02 -07:00
Nelson Jovel
fd61d2753d chore: add parsing rules for income: 'yes', 'no' and sped: 'No special needs' and ell: 'ELL' 2024-05-22 17:06:24 -07:00
Nelson Jovel
eb22fc344c feat: add measure name and id to the beginning of the csv report 2024-05-22 17:04:32 -07:00
Nelson Jovel
edbfd833e9 chore: Only memoize functions primary functions, not every function in the
file.  This should reduce memory use
2024-05-17 10:58:06 -07:00
Nelson Jovel
f6f0a45dd2 chore: update glossary values to include parsing rules for when we encounter headers 2024-05-16 17:07:24 -07:00
Nelson Jovel
28ac95d81d chore: parse disaggregation header values as 'unknown' since they are errors in the pivot table logic 2024-05-16 15:09:57 -07:00
Nelson Jovel
42fdf4a074 chore: update sped parsing to categorize SpecialEdStatus as unknown 2024-05-15 16:00:01 -07:00
Nelson Jovel
386cecf680 chore: account for #N/A when parsing income 2024-05-15 14:18:45 -07:00
Nelson Jovel
b1f942133b update parsing rules from glossary 2024-05-15 10:15:16 -07:00
Nelson Jovel
ea2feb138b add disaggregation glossary 2024-05-15 10:15:16 -07:00
2f1cf8b9fd Chore: Reduce queries 2024-05-10 14:00:31 -04:00
Nelson Jovel
e60a30911c chore: add more rules for finding disaggregation columns and parsing sped values 2024-05-09 12:53:13 -07:00
Nelson Jovel
b992a9412b chore: add new rules for sped parsing 2024-05-09 11:18:37 -07:00
Nelson Jovel
8bb6f5e8f0 Add ell income and sped parsing rules for SIS data. Add tests for the
new inputs.
2024-05-07 18:46:53 -07:00
40a35fff2d Bug Fix: survey item by grade report 2024-04-25 13:47:02 -04:00
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
2024-04-25 09:21:04 -07:00
5789ebf564 Faster admin data loader + rename School.school_hash 2024-04-22 14:46:37 -04:00
963d945eea Feat: Add item-level reporting by grade 2024-04-19 15:04:51 -04:00
37766e777d Fix: Isolate Report::SurveyItem 2024-04-10 17:06:48 -04:00