Commit graph

782 commits

Author SHA1 Message Date
Nelson Jovel
6c88ed1891 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:26:39 -07:00
Nelson Jovel
4472c3cc46 fix: Report::SurveyItemByGrade.create_grade_report now runs without errors 2024-08-13 10:01:20 -07:00
Nelson Jovel
ae5c826583 fix: SurveyItemByItem.create_item_report now runs without errors 2024-08-13 09:41:11 -07:00
Nelson Jovel
bca79d1b2b feat: allow selecting a subset of student survey items for the survey item report 2024-08-12 16:27:27 -07:00
Nelson Jovel
e760ee211c Add an exports page that allows a user to select which reports they want
to run
2024-08-12 16:27:19 -07:00
Nelson Jovel
41d7960c05 fix: correctly reference SurveyItemResponse in Subcategory report 2024-07-19 13:14:00 -07:00
Nelson Jovel
f7780433c7 fix: correctly reference SurveyItemResponse instead of Report::SurveyItemResponse 2024-07-19 11:27:10 -07:00
Nelson Jovel
61076701b0 feat: use qualtrics code instead of designation when generating report 2024-07-19 10:55:51 -07:00
Nelson Jovel
82bdc076de feat: create a report at the survey item response level that shows averages by student to selected measures 2024-07-18 16:45:47 -07:00
Nelson Jovel
b718993289 fix: When no academic years are selected, show an empty set of graphs on the analyze page instead of erroring out 2024-07-01 13:41:33 -07:00
Nelson Jovel
8dc503f454 feat: restore hotwire functionality on analyze page 2024-06-27 10:58:45 -07:00
Nelson Jovel
22b9b44773 chore: add another variant for column name 2024-06-26 14:20:07 -07:00
Nelson Jovel
2c4dec050e chore: correct parsing for 'not sped' and 'lep not first year' 2024-06-26 12:05:05 -07:00
Nelson Jovel
f3c715109f chore: handle cases where the pivot table inserts headers instead of actual values for gender and race 2024-06-24 19:09:57 -07:00
Nelson Jovel
359c0e2fc0 chore: handle unknowns when parsing records 2024-06-24 13:48:11 -07:00
Nelson Jovel
fe72a27c20 feat: stop processing race or gender column if we encounter values we don't know about 2024-06-20 12:49:15 -07:00
Nelson Jovel
ac7e7c57f2 feat: add links from the analyze page to the browse page 2024-06-20 11:04:40 -07:00
Nelson Jovel
d27e8da343 chore: add ability to filter survey item report by student survey type 2024-06-19 15:49:06 -07:00
Nelson Jovel
6c86cc3fce chore: add report for listing district level averages for measure scores 2024-06-19 10:15:52 -07:00
Nelson Jovel
53f3362a34 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-13 09:10:09 -07:00
Nelson Jovel
b77d6134df chore: refactor analyze page 2024-06-13 09:08:15 -07:00
Nelson Jovel
66dda0d30d chore: During cleaning, stop execution if grade column isn't found. Also stop execution if a duplicate header is found. Turn off spec for duplicate header check 2024-05-23 12:52:47 -07:00
Nelson Jovel
8d31faf012 chore: speed up survey data loader 2024-05-23 12:24:47 -07:00
Nelson Jovel
4360014faa chore: add parsing rules for income: 'yes', 'no' and sped: 'No special needs' and ell: 'ELL' 2024-05-22 17:34:19 -07:00
Nelson Jovel
d65a60772a feat: add measure name and id to the beginning of the csv report 2024-05-22 17:33:45 -07:00
Nelson Jovel
db1d243979 chore: Only memoize functions primary functions, not every function in the
file.  This should reduce memory use
2024-05-17 11:02:33 -07:00
Nelson Jovel
62a7fbb4fc chore: Add 'English Learner' and 'DirectCert' as valid column headers 2024-05-17 09:42:38 -07:00
Nelson Jovel
1185e74bbf fix: fix git merge error 2024-05-17 08:59:47 -07:00
Nelson Jovel
5c9a999b3c fix: When multiple years were selected on the Analyze page, results were getting incorrectly filtered out when the first academic year did not have sufficient responses. Now all selected years with data are correctly displayed 2024-05-17 08:52:47 -07:00
Nelson Jovel
5824a058c3 chore: update glossary values to include parsing rules for when we encounter headers 2024-05-16 17:08:06 -07:00
Nelson Jovel
e070ebdca0 chore: parse disaggregation header values as 'unknown' since they are errors in the pivot table logic 2024-05-16 15:11:11 -07:00
Nelson Jovel
5a1db34a18 chore: add a way to print out errors in dese id when cleaning files 2024-05-16 15:11:04 -07:00
Nelson Jovel
d5ea126510 chore: update sped parsing to categorize SpecialEdStatus as unknown 2024-05-15 16:00:39 -07:00
Nelson Jovel
e6af8d1304 chore: account for #N/A when parsing income 2024-05-15 14:19:33 -07:00
Nelson Jovel
acf25cb525 update parsing rules from glossary 2024-05-15 10:54:39 -07:00
Nelson Jovel
d4db4e0fa2 add disaggregation glossary 2024-05-15 10:54:34 -07:00
8916779b40 Chore: Reduce queries 2024-05-10 14:22:48 -04:00
Nelson Jovel
5851ab1cbf chore: add parsing rules for disaggregation columns; ell, income, sped. Add tests for new rules 2024-05-09 19:16:57 -07:00
Nelson Jovel
6a9d04f7ff fix: make sure enrollment loader works 2024-04-27 14:34:07 -07:00
Nelson Jovel
ac5c1edfbf feat: 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-27 14:24:05 -07:00
5f9495060b Fix: Lowell -> Amherst 2024-04-25 13:49:21 -04:00
d55a6ce24a Bug Fix: survey item by grade report 2024-04-25 13:47:17 -04:00
b3e6efdb2e Faster admin data loader + rename School.school_hash 2024-04-22 16:21:43 -04:00
a70ce7aafc Feat: Add item-level reporting by grade 2024-04-19 15:11:02 -04:00
b5f90376f7 Memoize admin data loader 2024-04-18 17:23:49 -04:00
b501af07a0 Fix: Isolate Report::SurveyItem 2024-04-10 17:07:04 -04:00
a44956bd09 rename SurveyItemResponse method for clarity 2024-04-10 14:41:50 -04:00
ef7b5435ba Feat: Add task to generate item-level survey report 2024-04-10 14:24:52 -04:00
Nelson Jovel
edccc5e609 feat: ignore library survey items in csvs 2024-04-02 20:46:01 -07:00
Nelson Jovel
d44de35561 fix: make sure staffing checks for zero 2024-04-01 09:53:32 -07:00