Commit graph

34 commits

Author SHA1 Message Date
Nelson Jovel
2b8eca44ae feat: read and load parent survey items 2024-09-27 13:43:26 -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
Nelson Jovel
d44de35561 fix: make sure staffing checks for zero 2024-04-01 09:53:32 -07:00
Nelson Jovel
a2f097f32f fix:typo 2024-04-01 09:43:15 -07:00
Nelson Jovel
54a1192d15 fix: If all respondents have total_teachers set to 0, that will trigger cloning previous year data 2024-04-01 09:37:44 -07:00
Nelson Jovel
ac424a73e0 fix: make sure we are only reseeding staffing and demographic numbers if the data for that year is empty 2024-04-01 09:26:16 -07:00
Nelson Jovel
5662d04eb5 feat: change the text of the prompts for survey items 2024-03-14 12:56:34 -07:00
Nelson Jovel
f62854117f fix: support alternate format for active admin data items. Support both 'True/False' and '1/0' 2024-02-23 08:58:46 -08:00
Nelson Jovel
e1fc5dbbaa feat: add 2023-24 academic year and make sure previous year enrollment
and staffing data get loaded when missing
2024-02-20 21:06:55 -08:00
Nelson Jovel
e7f06ef4e9 chore: remove lowell seeding rules 2023-12-20 14:08:38 -08:00
rebuilt
0c18aa2083 chore: Add cypress to codebase 2023-07-19 12:43:56 -07:00
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
2023-04-22 14:00:20 -07:00
rebuilt
63f453d258 Update seeder to use ActiveRecord imports 2023-04-22 13:20:26 -07:00
rebuilt
a5da0fb0c6 Fix bug with not all survey responses loading when using sftp loader 2023-02-19 19:36:14 -08:00
rebuilt
d49cf918ac Add a way to seed only lowell schools 2022-12-03 10:23:02 -08:00
rebuilt
f556844b73 Update a-sust-i1 so it's only applicable to high schools and lower
benchmark for a-cure-i1 from 6.7 to 5 percent.
2022-09-21 19:50:33 -07:00
rebuilt
1e349519bc Update framework. Remove/Add admin data items. Finishes #182819940 2022-08-26 14:36:01 -07:00
rebuilt
765ad6a624 Create ui for data filters. Add listeners to direct to the correct url. Update ui based on the list of selected params 2022-07-26 06:52:50 -07:00
Nelson Jovel
448e883f39 Add new csv for student and teacher metadata. Finishes #181530310 2022-04-01 10:46:05 -07:00
Nelson Jovel
5a9e8a9b01 Add metadata for 2019-20 year. Finishes #181530277 2022-03-23 19:13:52 -07:00
Nelson Jovel
c98c0f1e30 Add metadata for 2019-2020 school year. Finishes #181530277 2022-03-14 20:37:29 -07:00
rebuilt
286e74b651 Seed db with surveys to keep track of school, year, and survey type
Seed db with survey_item information to keep track of which survey_item is on the short form survey.  REcalculate response rate depending on whether school to regular survey or short form survey.

Correct score for short form schools.  Finishes #181284202
2022-03-03 10:44:41 +01:00
rebuilt
d4df7cbc06 Add scales to framework. Change calculations to first group and then
average those groupings and the way up the framework.  Likert scores for
a survey_item are averaged.  Then all the survey_items in a scale are
averaged.  Then student scales in a measure are averaged.  And teacher
scales in a measure are averaged.  Then the average of those two
calculations becomes the score for a measure.  Then the measures in a
subcategory are averaged.
2022-02-24 14:53:06 +01:00
rebuilt
fcec3de233 Modify collection rate for admin data items. Take into account if a
school is a high school and if the admin data item is for high schools
only.  Finishes: #181154375.
2022-02-11 18:54:14 +01:00
rebuilt
59865cd874 Show response rate for students 2022-01-27 22:43:10 +01:00
Nelson Jovel
ad03606d66 Add benchmarks to survey and admin data items. Remove them from measures. Modify seeder
Calculate benchmarks for measures based on a weighted average of survey
and admin data items

Added architectural records
2021-12-28 14:10:34 +01:00
Nelson Jovel
cacc853518 Adds category short description to database and renders descriptions in
their corresponding locations to the site.  Finishes #180090033.
2021-12-13 21:15:59 +01:00
Liam Morley
75c3a1fccc Remove old schools during the seed process 2021-11-29 14:40:52 -05:00
Liam Morley
1186579d1b Add migration to make DESE IDs unique, update one-off script accordingly 2021-11-22 15:37:38 -05:00
rebuilt
b5badfaef5 Add DESE ID to schools
- Add migration
- Create one-off script `rake one_off:add_dese_ids` to add the DESE ID to schools
- Update seeder to seed schools based on DESE IDs
2021-11-18 16:54:08 -05:00
Liam Morley
413096dfe2 Extract legacy parts of the codebase into its own module 2021-11-16 17:19:05 +01:00
Liam Morley
556ff45117 Seed categories/subcategories based on their ID instead of their name 2021-11-04 16:39:57 -04:00
Liam Morley
516e0a95db Update category name/slug in seeder 2021-11-04 13:49:50 -04:00
Alex Basson
228cf137ad Finishes #179904795. Adds prompts to measures section on browse page 2021-11-01 20:33:45 +01:00