rebuilt
4afa030141
chore: remove precalculated race scores. Calculate race scores on every reload
2023-08-07 16:02:59 -07:00
rebuilt
f035c4d9ad
fix: Filter out responses that don't correspond to the grades the school serves
2023-08-04 17:11:02 -07:00
rebuilt
5f49746bf4
feat: Rename income labels to 'Economically Disadvantaged' and 'Not Economically Disadvantaged'
2023-07-31 16:47:34 -07:00
rebuilt
1cb2bb9dc0
fix: zeitwork eager loads all require statements. I removed twilio from Gem dependencies so I had to remove it from code as well or it breaks deployments
2023-07-20 14:00:15 -07:00
rebuilt
6edc0db868
feat: Round up response rate. Survey response rates above 24.5 will now meet sufficiency
2023-07-14 11:43:15 -07:00
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%
2023-07-13 13:04:11 -07:00
rebuilt
234eae6d3d
feat: Round up response rate. Survey response rates above 24.5 will now meet sufficiency
2023-07-13 11:42:15 -07:00
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
2023-07-07 09:14:36 -07:00
rebuilt
703928c234
Add date range to subcategory report export
2023-06-23 11:46:08 -07:00
37013c4b12
Use weighted average instead of simple average when calculating response rates
2023-06-21 03:31:52 +00:00
rebuilt
fae530d21f
perf: Reduce number of queries. Remove unneeded methods. Combine
...
subcategory and measure queries in controller
2023-06-19 20:51:24 -07:00
rebuilt
d306319de1
perf: memoize function when calculating response rates
2023-06-10 11:39:46 -07:00
rebuilt
452876ef09
perf: Add another index to surveyitemresponses. Implement bullet suggestions. Memoize a function in measure.rb
2023-06-10 10:30:29 -07:00
rebuilt
1aaed0682e
Modify subcategory report to be threaded
2023-06-09 21:26:00 -07:00
rebuilt
aab4e78a71
Add District, School Code, and Grade columns to subcategory report
2023-06-09 15:30:57 -07:00
rebuilt
c2503541ff
Fix: Ensure proper detection of survey type. Make sure to remove any survey item ids that end with the survey variant style of '-1'
2023-06-07 12:39:09 -07:00
rebuilt
87ca23df79
Add subcategory report
2023-05-23 18:55:05 -07:00
rebuilt
2e3461b685
Add subcategory report
2023-05-22 16:36:12 -07:00
rebuilt
4509c157fa
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
2023-05-16 13:38:29 -07:00
rebuilt
d48a4efda2
Round all averages to two decimal places
2023-05-12 13:08:25 -07:00
rebuilt
3c30808a5e
Fix response rates for small schools by accounting for expected minimum counts of responses less than 10
2023-05-12 12:27:00 -07:00
rebuilt
359e266a6c
Remove unused TODOs
2023-04-27 15:47:45 -07:00
rebuilt
ca31bd3217
cap response rate per grade at 100
2023-04-26 16:54:43 -07:00
rebuilt
541f29108b
Rename DataAvailability to Summary
2023-04-20 20:58:15 -07:00
rebuilt
596ce25737
Remove surveys table from codebase since it's no longer needed after changing logic surrounding response rates and score calculations
2023-04-20 20:51:04 -07:00
rebuilt
28f7d5647e
Set a minimum threshold of 10 survey item responses to calculate scores per survey item
2023-04-18 14:05:09 -07:00
rebuilt
cfe97c6718
rename counts_by_grade method to the more descriptive enrollment_by_grade
2023-04-18 14:00:56 -07:00
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
2023-04-18 13:59:29 -07:00
rebuilt
bc6d2dcaf9
disable puts statement from calculator
2023-04-03 13:11:44 -07:00
rebuilt
b250ebe415
Memoize schools in SurveyItemValues and academic_years in AcademicYear
...
for performace improvement
2023-03-28 03:38:52 -07:00
rebuilt
c15cb7b483
Change survey data loader spec to use factorybot objects instead of loading seeds. Change databasecleaner to use transaction. Add back babel-preset dependency to fix failing javascript test in production.
2023-03-28 03:06:17 -07:00
rebuilt
dcade06ce2
Fix failing tests
2023-03-21 16:16:07 -07:00
rebuilt
c8ef3b11c9
file must exist so emptying the file to see if the app stops crashing
2023-03-18 13:49:44 -07:00
rebuilt
86e67d3965
Temporarily disable reporting because its crashing production. No data has been seeded and the logs are reporting this class as causing the crash?
2023-03-18 13:46:54 -07:00
rebuilt
4c4ccc01cc
Merge branch 'rpp-response-rate' to bring in changes to test files
2023-03-15 15:00:25 -07:00
rebuilt
eb043f2b2d
Add placeholder for testing response rate calculation
2023-03-10 14:50:09 -08:00
rebuilt
e6f7d27e0c
Implement bullet suggestions for GPS report
2023-03-01 10:53:45 -08:00
rebuilt
b6b88da328
Add all pillars
2023-02-28 19:08:11 -08:00
rebuilt
8128af200b
add first pillar
2023-02-28 17:50:21 -08:00
rebuilt
c0332955f3
move csv require statement to application.rb
2023-02-27 15:47:20 -08:00
rebuilt
d9c47dbc4d
fix boston usage
2023-02-27 12:48:14 -08:00
rebuilt
045bd15485
Fix boston
2023-02-27 12:47:47 -08:00
rebuilt
cb970895ac
Scope doesn't work. Revert to using class method.
2023-02-27 12:39:19 -08:00
rebuilt
bdb9455919
Move raw_response_rate method down to student/teacher classes
2023-02-27 12:36:33 -08:00
rebuilt
5d07f06a65
Add scope for boston
2023-02-27 12:35:44 -08:00
rebuilt
79f7915edf
Add scopes to SurveyItem for selecting survey items by grade and
...
subcategory. Add notes to student response rate calculator
2023-02-24 00:41:01 -08:00
rebuilt
5e0ba556bf
Automatically detect the survey type by grade
2023-02-23 14:20:21 -08:00
Nelson Jovel
cfece47993
document other queries for story
2023-02-23 09:58:35 -08:00
rebuilt
396e8e9008
example queries
2023-02-22 21:26:08 -08:00
rebuilt
52d2676f80
Populate db with grade level data
2023-02-21 16:58:08 -08:00