Commit graph

38 commits

Author SHA1 Message Date
Nelson Jovel
fc304f2d20 fix: If all respondents have total_teachers set to 0, that will trigger cloning previous year data 2024-04-01 09:37:23 -07:00
Nelson Jovel
e8cb2d7aa2 fix: make sure we are only reseeding staffing and demographic numbers if the data for that year is empty 2024-04-01 09:25:59 -07:00
Nelson Jovel
f3dc21efa6 feat: change the text of the prompts for survey items 2024-03-14 12:49:09 -07:00
Nelson Jovel
d2e1be948d fix: support alternate format for active admin data items. Support both 'True/False' and '1/0' 2024-02-23 08:58:34 -08:00
Nelson Jovel
c565dbe46f chore: remove lowell seeding rules 2023-12-20 14:06:53 -08:00
Nelson Jovel
55b73279bf feat: add 2023-24 academic year and make sure previous year enrollment
and staffing data get loaded when missing
2023-12-08 09:35:53 -08:00
Nelson Jovel
81b683e95c chore: Add comment about StaffingLoader also cloning enrollment data when it clones staffing data 2023-11-09 14:34:31 -08:00
Nelson Jovel
44a7f54f2a Revert "chore: Add comment that notifies that cloning previous year staffing"
This reverts commit 95f8ada48d.
2023-11-09 13:59:48 -08:00
Nelson Jovel
95f8ada48d chore: Add comment that notifies that cloning previous year staffing
data will also copy over enrollment data
2023-11-09 13:42:29 -08:00
rebuilt
66f78dadf9 chore: Add cypress to codebase 2023-07-19 12:18:06 -07:00
rebuilt
0bd70ca452 Remove surveys table from codebase since it's no longer needed after changing logic surrounding response rates and score calculations 2023-04-22 10:36:00 -07:00
rebuilt
825259bdd8 Merge branch 'rpp-response-rate' into rpp-main to bring in improvements
to how we get enrollment and staffing information.  Also speed up tests
2023-03-22 16:52:55 -07:00
rebuilt
99c6c5bd90 Update seeder to use ActiveRecord imports 2023-03-08 11:42:22 -08:00
rebuilt
06f9d2f0e9 Scrape enrollment and staffing information. Seed enrollment and staffing information. Update DatabaseCleaner so it cleans up leftover information in the database. Remove old admin csvs from codebase. 2023-03-05 16:15:35 -08:00
rebuilt
c0332955f3 move csv require statement to application.rb 2023-02-27 15:47:20 -08:00
rebuilt
ae6d7151b3 Load student respondent information from enrollment loader 2023-02-27 12:29:16 -08:00
rebuilt
984fedff02 Add academic year column to enrollment file. Add enrollment loader to seeder file 2023-02-22 01:12:09 -08:00
rebuilt
c6b8518cb1 Fix bug with not all survey responses loading when using sftp loader 2023-01-12 17:05:00 -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