Commit graph

96 commits

Author SHA1 Message Date
rebuilt
690f2db863 ECP-162 fix benefits so it gets scored correctly 2025-07-03 17:45:45 -07:00
rebuilt
94c5b1acba ECP-30 Delete legacy code and database tables 2025-06-30 11:20:29 -07:00
rebuilt
cab0a3955e finish up adding socio economic disag filter 2025-06-25 17:12:20 -07:00
rebuilt
a258b32b39 WIP: create backend for socio-economic-status 2025-06-25 11:08:12 -07:00
rebuilt
2068758ae4 ECP-170 Remove login requirement for Trition. Switch to using predefined passwords stored in the database for district login. 2025-06-11 13:54:56 -07:00
rebuilt
9d8543afae feat: Update cleaner and uploader to load gender data from parent surveys
Implement graph views for parent gender data
2025-05-27 11:13:00 -07:00
rebuilt
5b00454a1b ECP-125 feat:
Update cleaner to read parent races.
Update uploader to set races for parents.
Add race graphs to analyze page.  Show both measure and scale level graphs
2025-05-22 11:57:26 -07:00
rebuilt
0f457becf0 feat: create a parents by language graph
Update demographics table with lanugage options

Create a lanugage table to hold the new languages

Update the demographic loader to input languages into the database

Update the cleaner to read the language column

Update the parent table to hold a reference to a language

Update the data uploader script to read the language from the csv and update the language information for any parent items that already exist (or create database entries if none already exist)

update the analyze interface to add controls for selecting ‘parents by group’ and a dropdown for ‘parent by language’

Update the analyze controller to read the parent-by-group parameter

Create a graph for the parent-by-group view

Bubble up averages for language calculations.

Make sure n-size only counts responses for a given measure.
2025-04-28 16:42:11 -07:00
rebuilt
3a5a368a35 feat: Update demographics file with housing statuses. Create housing class. Update survey_item_values.rb to parse housing info. Update cleaner to output housing info. 2025-03-27 15:20:40 -07:00
Nelson Jovel
02bcb2b75b feat: add esp counts when calculating teacher participation rates on overview page 2025-01-15 13:39:41 -08:00
Nelson Jovel
f1eaad62c8 chore: Make sure survey items are uniq by survey item ids 2024-11-25 17:05:07 -08:00
Nelson Jovel
0c661930e9 Show parent response rate 2024-11-03 12:47:25 -08:00
Nelson Jovel
37042aead5 feat: Show parent scales on browse page 2024-09-25 11:45:16 -07:00
Nelson Jovel
ccb04511bf feat: switch analyze page to use hotwire. Fix n_size count for teacher 2024-06-11 13:48:02 -07:00
Nelson Jovel
115b00145d perf: add pghero and implement pghero suggestions. Remove unneeded indexes 2023-12-27 10:58:51 -08:00
rebuilt
48e795fcfb feat: add special education disaggregation 2023-10-06 11:41:52 -07:00
rebuilt
060d7aa55a Add disaggregation by ELL 2023-09-29 19:29:23 -07:00
rebuilt
4afa030141 chore: remove precalculated race scores. Calculate race scores on every reload 2023-08-07 16:02:59 -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
e8aa75bf66 feat: update survey_item_response table to indlude recorded date and import recorded date when loading responses 2023-06-23 11:26:53 -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
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
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
52d2676f80 Populate db with grade level data 2023-02-21 16:58:08 -08:00
rebuilt
9b7c723ac9 remove gender from student table 2022-10-22 15:57:52 -07:00
rebuilt
a1f3dfaa33 Load gender information to survey item responses 2022-10-21 21:38:33 -07:00
rebuilt
8cdd1b6285 Create gender class. Load genders to database from demographics file 2022-10-21 17:47:52 -07:00
rebuilt
89a7f27b88 Finishes #183092367. Adds ui and graphs to show grade level disaggregations 2022-10-16 22:03:25 -07:00
rebuilt
ead59d0f48 Add index to student_races table 2022-08-22 15:23:49 -07:00
rebuilt
105f30f220 Change race score calculations so the average bubbles up through survey_items
-> scales -> measure.
Precalculate averages for performance.
2022-08-10 09:58:11 -07:00
rebuilt
12e4e3f177 import students 2022-07-29 15:34:56 -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
rebuilt
a6ad132c81 Add counter caches 2022-06-16 16:14:03 -07:00
rebuilt
dfc5202b88 Add index to survey item responses on school and academic year. 2022-06-14 15:28:38 -07:00
rebuilt
61aad20cb2 Create response rate model 2022-06-14 15:28:20 -07:00
Nelson Jovel
57bfaa51c6 Exclude boston results. Completes #182117456 2022-05-11 11:22:05 -07:00
Nelson Jovel
a613f6cb93 Add timestamps to academic years table 2022-05-03 11:11:17 -07:00
Nelson Jovel
9ecc501e24 Display measure scores. Finishes #181754978 2022-04-06 13:09:33 -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
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
4fd6dac791 Add category/subcategory ID columns to uniquely identify records 2021-11-04 16:39:49 -04:00
Liam Morley
37f13716e8 Add timestamps to all SQM models 2021-11-02 09:05:56 -04:00
Alex Basson
228cf137ad Finishes #179904795. Adds prompts to measures section on browse page 2021-11-01 20:33:45 +01:00