Nelson Jovel
5824a058c3
chore: update glossary values to include parsing rules for when we encounter headers
2 years ago
Nelson Jovel
e070ebdca0
chore: parse disaggregation header values as 'unknown' since they are errors in the pivot table logic
2 years ago
Nelson Jovel
d5ea126510
chore: update sped parsing to categorize SpecialEdStatus as unknown
2 years ago
Nelson Jovel
e6af8d1304
chore: account for #N/A when parsing income
2 years ago
Nelson Jovel
acf25cb525
update parsing rules from glossary
2 years ago
Nelson Jovel
d4db4e0fa2
add disaggregation glossary
2 years ago
Gabe Farrell
8916779b40
Chore: Reduce queries
2 years ago
Nelson Jovel
5851ab1cbf
chore: add parsing rules for disaggregation columns; ell, income, sped. Add tests for new rules
2 years ago
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
2 years ago
Gabe Farrell
d55a6ce24a
Bug Fix: survey item by grade report
2 years ago
Gabe Farrell
b3e6efdb2e
Faster admin data loader + rename School.school_hash
2 years ago
Gabe Farrell
a70ce7aafc
Feat: Add item-level reporting by grade
2 years ago
Gabe Farrell
b501af07a0
Fix: Isolate Report::SurveyItem
2 years ago
Gabe Farrell
a44956bd09
rename SurveyItemResponse method for clarity
2 years ago
Gabe Farrell
ef7b5435ba
Feat: Add task to generate item-level survey report
2 years ago
Nelson Jovel
edccc5e609
feat: ignore library survey items in csvs
2 years ago
Nelson Jovel
3117080f2d
fix: make sure averages for admin data scales are included in report
2 years ago
Nelson Jovel
7666b5466b
feat: create beyond learning loss report
2 years ago
Nelson Jovel
9ab5f89ed7
fix: Correctly namespace models to avoid crashing the build process
2 years ago
Nelson Jovel
8dfaa86982
feat: create a score csv report for measures
2 years ago
Nelson Jovel
c4d8b927af
feat: Support two date formats: ISO 8601 and the standard US date format
...
used in google sheets
2 years ago
Nelson Jovel
e2ba084e5b
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
06cb494f45
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
2e0cc3a4d8
fix: make sure response rate gets rounded to nearest integer
2 years ago
Nelson Jovel
edbb84334a
perf: reduce number of calls for student and teacher survey items in response rate calculators
2 years ago
Nelson Jovel
ec5c1bd1ef
fix: correct a problem where survey items with insufficient responses were contributing to the response rate calculation
2 years ago
Nelson Jovel
cf9dd9042d
perf: reduce time spent in sql query for student response rate
2 years ago
Nelson Jovel
b70755aef1
chore: refactor teacher response rate
2 years ago
Nelson Jovel
45ea735fa5
perf: reduce number of queries for teacher survey_items
2 years ago
Nelson Jovel
3718d74e62
perf: reduce number of queries for respondents
2 years ago
Nelson Jovel
277e36429a
perf: reduce number of queries by requesting grouped_responses once instead of for each measure
2 years ago
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
2dd73f003c
chore: remove method that wasn't needed
2 years ago
Nelson Jovel
a960202d66
chore: performance fixes for response rate calculation
2 years ago
Nelson Jovel
9e368ae47d
chore: prevent multiple lookups for the boston district by inlining the
...
sql
2 years ago
Nelson Jovel
db7c74479d
chore: memoize grades for school
2 years ago
Nelson Jovel
d2efec1574
fix: reduce number of n+1 queries
2 years ago
Nelson Jovel
2a125aa058
chore: bring in some refactoring changes that didn't get copied over from the main branch
2 years ago
Nelson Jovel
75451648e5
chore: move code that normalizes race data to the Race class
2 years ago
Nelson Jovel
0359dae88a
chore: rename counts_by_grade to enrollment_by_grade for clarity
2 years ago
Nelson Jovel
d79635054c
fix: instead of looking for 'asian' at the start of a word, look for it
...
after a word boundary. This means it still doesn't get confused with
caucasian and it's more flexible whan asian appears inside other text
such as 'Caucasian and Asian and Black'
2 years ago
Nelson Jovel
fe039e3d04
chore: various fixes for race and gender categorization during cleaning.
...
Also add tests for race and gender categorization
2 years ago
Nelson Jovel
054e5603b7
chore: fix failing legacy tests
2 years ago
rebuilt
9d680c5159
chore: upgrade to rails 7.1.
...
upgrade rspec
fix failing tests
upgrade devise
2 years ago
rebuilt
acfdaf5587
feat: add special education disaggregation
2 years ago
rebuilt
245cde85cd
Add disaggregation by ELL
2 years ago
rebuilt
2a8148b8cd
fix: hide scores on analyze page for scores that don't meet the student threshold of 25%
2 years ago
rebuilt
6db93cb116
feat: Rename income labels to 'Economically Disadvantaged' and 'Not Economically Disadvantaged'
2 years ago
rebuilt
a1b580048b
chore: remove precalculated race scores. Calculate race scores on every reload
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
7373e2e52f
fix: Filter out responses that don't correspond to the grades the school serves
2 years ago
rebuilt
0c18aa2083
chore: Add cypress to codebase
2 years ago
rebuilt
0ed3af8a1f
Add date range to subcategory report export
2 years ago
Gabe Farrell
459e4b8d21
Use weighted average instead of simple average when calculating response rates
3 years ago
rebuilt
cee1c5fbc9
perf: Reduce number of queries. Remove unneeded methods. Combine
...
subcategory and measure queries in controller
3 years ago
rebuilt
f9d4b28969
perf: memoize function when calculating response rates
3 years ago
rebuilt
77e8d12a3b
perf: Add another index to surveyitemresponses. Implement bullet suggestions. Memoize a function in measure.rb
3 years ago
rebuilt
fb6f43e815
Modify subcategory report to be threaded
3 years ago
rebuilt
4dae0cb565
Add District, School Code, and Grade columns to subcategory report
3 years ago
rebuilt
81f8738d59
Fix: Ensure proper detection of survey type. Make sure to remove any survey item ids that end with the survey variant style of '-1'
3 years ago
rebuilt
6022739f07
use district short name when writing filename
3 years ago
rebuilt
0dfc9726d0
Add automated data cleaning. Modify SurveyItemValues class to use regex
...
instead of hard coded values. Produce a clean csv and a csv with all
the removed values and columns with reason for removal. Add script for
running cleaning for each project
3 years ago
rebuilt
b5dc933187
Add subcategory report
3 years ago
rebuilt
c57ec6157c
Round all averages to two decimal places
3 years ago
rebuilt
6b2555c1f0
Fix response rates for small schools by accounting for expected minimum counts of responses less than 10
3 years ago
rebuilt
a066f464c7
fix failing tests
3 years ago
rebuilt
c42b569e78
cap response rate per grade at 100
3 years ago
rebuilt
0ed6cbe6b4
Rename DataAvailability to Summary
3 years ago
rebuilt
09963c3323
Remove surveys table from codebase since it's no longer needed after changing logic surrounding response rates and score calculations
3 years ago
rebuilt
30e006ee0d
Set a minimum threshold of 10 survey item responses to calculate scores per survey item
3 years ago
rebuilt
982f216c6c
rename counts_by_grade method to the more descriptive enrollment_by_grade
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
049ae4548f
Don't add another response rate record to the database. Just calculate on the fly. Otherwise we can run into a situation where we create two response rates for a given school/academic_year/subcategory
3 years ago
rebuilt
380048f5cd
Load survey responses from sftp folder
3 years ago
rebuilt
72c90b8f47
Add selector for all data
3 years ago
rebuilt
7d7bee6498
Add gender disagreggation
3 years ago
rebuilt
a1f3dfaa33
Load gender information to survey item responses
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
d89a207c31
Load student data for all years and calculate race scores for all
3 years ago
rebuilt
191abdbd50
Align styling to closer match design
3 years ago
rebuilt
a4dbeb6718
Change logic on analyze page to include admin data when presenting insufficiency messages and enable/disable academic year checkboxes
3 years ago
rebuilt
105f30f220
Change race score calculations so the average bubbles up through survey_items
...
-> scales -> measure.
Precalculate averages for performance.
3 years ago
rebuilt
50b3bc678c
Columns for students by group graph change when corresponding race checkboxes are clicked
3 years ago
rebuilt
ff14bad102
Rename Student column to AllStudent so there isn't a naming clash with
...
the Student model.
3 years ago
rebuilt
26f739090b
add race columns to graph
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
d44a5275b4
Address bug related to story #182855028
3 years ago
rebuilt
12e4e3f177
import students
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
Nelson Jovel
757638f6ca
continue refactoring
3 years ago
rebuilt
b7abf2bc8b
continue refactoring
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
ea09fa06b7
Add popup message on admin data exclamation point indicators
3 years ago
rebuilt
deaf13c976
Modify behavior of insufficient data indicators for admin data items. Now we show indicators in line with the admin data item descriptions to indicate which items are missing data
3 years ago
rebuilt
7c0794f261
Remove old todos
3 years ago