Commit Graph

871 Commits (0146b0f005e16c38aa6be5d8c6eece1fdc1a68ea)

Author SHA1 Message Date
Nelson Jovel 9c9346f455 chore: add ability to filter survey item report by student survey type
1 year ago
Nelson Jovel 118938deeb chore: add report for listing district level averages for measure scores
1 year ago
Nelson Jovel ebcb27ca6d 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 8516111a15 chore: refactor analyze page
2 years ago
Nelson Jovel 3ad47e6bd5 feat: switch analyze page to use hotwire. Fix n_size count for teacher
2 years ago
Nelson Jovel d041a5a567 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
2 years ago
Nelson Jovel 26bcc2c736 chore: speed up survey data loader
2 years ago
Nelson Jovel 051f156126 chore: add parsing rules for income: 'yes', 'no' and sped: 'No special needs' and ell: 'ELL'
2 years ago
Nelson Jovel 5c0851d4f9 feat: add measure name and id to the beginning of the csv report
2 years ago
Nelson Jovel a4bc428633 chore: Only memoize functions primary functions, not every function in the
2 years ago
Nelson Jovel 2c07ea6317 chore: Add 'English Learner' and 'DirectCert' as valid column headers
2 years ago
Nelson Jovel c8fe940be2 fix: fix merge error
2 years ago
Nelson Jovel c651cd0c25 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
2 years ago
Nelson Jovel 74fdc89fc2 chore: update glossary values to include parsing rules for when we encounter headers
2 years ago
Nelson Jovel 499215f9b9 chore: parse disaggregation header values as 'unknown' since they are errors in the pivot table logic
2 years ago
Nelson Jovel 2bf22758c1 chore: add a way to print out errors in dese id when cleaning files
2 years ago
Nelson Jovel 6e5baf0ba6 chore: update sped parsing to categorize SpecialEdStatus as unknown
2 years ago
Nelson Jovel d9195dadff chore: account for #N/A when parsing income
2 years ago
Nelson Jovel c4d4c35766 update parsing rules from glossary
2 years ago
Nelson Jovel 8e7fbdfb2c add disaggregation glossary
2 years ago
Gabe Farrell 7373d8bae4 Chore: Reduce queries
2 years ago
Nelson Jovel 4c360c9e62 chore: add more rules for finding disaggregation columns and parsing sped values
2 years ago
Nelson Jovel fdc4c49bf0 chore: copy changes from main
2 years ago
Nelson Jovel 6fe565b636 chore: add new rules for sped parsing
2 years ago
Nelson Jovel cf5c4f2d13 feat: add seasonal academic years
2 years ago
Nelson Jovel 4c258f6cb3 fix: additional rules for SPED categorization
2 years ago
Nelson Jovel 65c25fc3c7 Add ell income and sped parsing rules for SIS data. Add tests for the
2 years ago
Nelson Jovel 2561fa28fc feat: Split academic year into seasons if the academic year's range is
2 years ago
Nelson Jovel 67ffc996a8 Revert "Split academic year into seasons if the academic year's range is"
2 years ago
Nelson Jovel a5d4cccb37 Split academic year into seasons if the academic year's range is
2 years ago
Gabe Farrell 076be3b92d Fix: Lowell -> Amherst
2 years ago
Gabe Farrell f4dacf1a92 Bug Fix: survey item by grade report
2 years ago
Gabe Farrell 6fac759ec2 Faster admin data loader + rename School.school_hash
2 years ago
Gabe Farrell e3bbf1353b Feat: Add item-level reporting by grade
2 years ago
Gabe Farrell deb70d4b88 Memoize admin data loader
2 years ago
Gabe Farrell a3854bcce9 Fix: Isolate Report::SurveyItem
2 years ago
Gabe Farrell bd42f25716 rename SurveyItemResponse method for clarity
2 years ago
Gabe Farrell deaae5cf65 Feat: Add task to generate item-level survey report
2 years ago
Nelson Jovel 274909dc9f feat: ignore library survey items in csvs
2 years ago
Nelson Jovel cb37fcb760 fix: make sure staffing checks for zero
2 years ago
Nelson Jovel f4a7ce03c2 fix:typo
2 years ago
Nelson Jovel fc304f2d20 fix: If all respondents have total_teachers set to 0, that will trigger cloning previous year data
2 years ago
Nelson Jovel e8cb2d7aa2 fix: make sure we are only reseeding staffing and demographic numbers if the data for that year is empty
2 years ago
Nelson Jovel d52eebbc5c 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 a191271504 Revert "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 993fafcc0e Revert "fix: Makes visible the graphs by grade"
2 years ago
Nelson Jovel 455f716b6d fix: Makes visible the graphs by grade
2 years ago
Nelson Jovel b9bdd707b5 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 9f5ca007a1 fix: make sure averages for admin data scales are included in report
2 years ago
Nelson Jovel d90669b74d feat: create beyond learning loss report
2 years ago
Nelson Jovel f3dc21efa6 feat: change the text of the prompts for survey items
2 years ago
Nelson Jovel 259ec29dc2 fix: Correctly namespace models to avoid crashing the build process
2 years ago
Nelson Jovel 9f83b3dae4 fix: add pre-k to list of grades
2 years ago
Nelson Jovel 1e560294e1 fix: loosen restrictions on date format
2 years ago
Nelson Jovel 9bfb76db5a match an additional format for Dates. Supported dates are now '1/10/2022 14:21:45' '2022-1-10T14:21:45' '2022-1-10 14:21:45'
2 years ago
Nelson Jovel c3cb05701f feat: Support two date formats: ISO 8601 and the standard US date format
2 years ago
Nelson Jovel 23d23c4962 chore: support alternate format for recorded date
2 years ago
Nelson Jovel be5b63637b chore: alphabetize districts when writing filename for cleaned files
2 years ago
Nelson Jovel d2e1be948d fix: support alternate format for active admin data items. Support both 'True/False' and '1/0'
2 years ago
Nelson Jovel cc8ed48204 fix: no longer support 'form' in filename when cleaning. Only look for 'part X' and add that to the filename if it exists
2 years ago
Nelson Jovel de83154342 fix: Support true/false column values when categorizing income status. True is categorized as Economically Disadvantaged. False is categorized as Not Economically Disadvantaged
2 years ago
Nelson Jovel 8c458ae986 fix: change the default to not an english language learner. Blank columns are treated as Not ELL. Only mark student as an english language learner if it's marked as such. Columns marked with 'NA' are treated as unknown
2 years ago
Nelson Jovel 59b7416a3a feat: change 'school admin data' to 'school data'
2 years ago
Nelson Jovel 0c87e20095 perf: reduce number of calls for student and teacher survey items in response rate calculators
2 years ago
Nelson Jovel 978b69b095 fix: correct a problem where survey items with insufficient responses were contributing to the response rate calculation
2 years ago
Nelson Jovel 946b0833fd perf: reduce time spent in sql query for student response rate
2 years ago
Nelson Jovel 6bea0bc2d0 chore: refactor teacher response rate
2 years ago
Nelson Jovel af82f6999a perf: reduce number of queries for teacher survey_items
2 years ago
Nelson Jovel f3fddd67b0 perf: reduce number of queries for respondents
2 years ago
Nelson Jovel b2e866a895 perf: reduce number of queries by requesting grouped_responses once instead of for each measure
2 years ago
Nelson Jovel a14110b883 chore: performance fixes for response rate calculation
2 years ago
Nelson Jovel 77193cdf35 fix: reduce number of n+1 queries
2 years ago
Nelson Jovel 61f861a4f7 chore: remove method that wasn't needed
2 years ago
Nelson Jovel 6a2723af84 chore: performance fixes for response rate calculation
2 years ago
Nelson Jovel 7ba124ac91 chore: prevent multiple lookups for the boston district by inlining the
2 years ago
Nelson Jovel b29e6a75ec chore: memoize grades for school
2 years ago
Nelson Jovel 586c6f4b4c fix: reduce number of n+1 queries
2 years ago
Nelson Jovel 080a054cad chore: move code that normalizes race data to the Race class
2 years ago
Nelson Jovel c565dbe46f chore: remove lowell seeding rules
2 years ago
Nelson Jovel a0c0b1d01d chore: reenable test spec that tests data loader for races
2 years ago
Nelson Jovel d4109fda6f chore: refactor Race out of survey_item_values
2 years ago
Nelson Jovel 3e4ef9cb08 chore: refactor Gender out out of survey_item_values row
2 years ago
Nelson Jovel 2aff49516b chore: remove todo
2 years ago
Nelson Jovel 0ebaf77bbd feat: don't show collection date of response rate if there is no survey data
2 years ago
Nelson Jovel 6e7e64c039 chore: rename counts_by_grade to enrollment_by_grade for clarity
2 years ago
Nelson Jovel b4e07434a1 feat: don't double count early ed students who are taking survey in parts
2 years ago
Nelson Jovel 197ccdfeb3 fix: Correctly navigate the user to the latest academic year when no data exists for the school
2 years ago
Nelson Jovel 6a24d4fa23 chore: Make sure 'hispanic' column only gets applied when using SIS race information
2 years ago
Nelson Jovel f28713d1fe chore: remove unneeded comment
2 years ago
Nelson Jovel ce43f52bd5 feat: if the filename includes the words 'form' or 'part' add that to the resulting cleaned filename
2 years ago
Nelson Jovel a15b01a3e1 fix: instead of looking for 'asian' at the start of a word, look for it
2 years ago
Nelson Jovel 8a0ba0dbea chore: various fixes for race and gender categorization during cleaning.
2 years ago
Nelson Jovel 8364d26e11 feat: Support SIS categories for race in the form of 'White and Asian'
2 years ago
Nelson Jovel 55b73279bf feat: add 2023-24 academic year and make sure previous year enrollment
2 years ago
Nelson Jovel ed755c6732 chore: refactor code so we use a hash instead of a switch statement for long-term performance
2 years ago
rebuilt 85ba1218e3 feat: Rename income labels to 'Economically Disadvantaged' and 'Not Economically Disadvantaged'
2 years ago
Nelson Jovel 2ef24caf70 Lower threshold for the number of valid student responses from 17 to 11
2 years ago
Nelson Jovel 6365cad71b chore: refactor code to put logic into models
2 years ago
Nelson Jovel b983f1e144 chore: fix categorization of gender
2 years ago
Nelson Jovel 3da6016635 chore: add prefer not to disclose to gender. Add code of 7 as an option for prefer to self describe
2 years ago