Commit graph

47 commits

Author SHA1 Message Date
rebuilt
82ed10c295 chore: Reword text 'Students, Teachers & Parents' 2025-03-20 13:15:11 -07:00
rebuilt
c70f051e1e Refactor groups
Refactor graphs to take new slice format

Add Students and Teachers and Parents graph.  Add selector for that
graph
2025-03-20 13:12:52 -07:00
rebuilt
51b9ed17aa feat: show n_size on parent graph 2025-03-20 13:12:16 -07:00
rebuilt
9911a75dc8 Refactor GroupedBarColumnPresenter to accept a configuration so that a
column can by given on the fly (dependency injection). Show Parent
graphs on analyze page.
2025-03-20 13:11:08 -07:00
Nelson Jovel
8dc503f454 feat: restore hotwire functionality on analyze page 2024-06-27 10:58:45 -07:00
Nelson Jovel
53f3362a34 fix: correctly memoize student_survey_items_with_sufficient_responses so that on the analyze page, when the first year has insufficient responses, it doesn't affect all subsequent years 2024-06-13 09:10:09 -07:00
Nelson Jovel
b77d6134df chore: refactor analyze page 2024-06-13 09:08:15 -07:00
Nelson Jovel
cf48fa611e fix: Fixes #187294757. Data is hidden when selecting multiple years if the default year has no student data to show 2024-03-26 15:36:34 -07:00
Nelson Jovel
a1eb68eaa6 Revert "fix: Fixes #187294757. Data is hidden when selecting multiple years if the default year has no student data to show"
This reverts commit 49a838c060.
2024-03-26 15:36:15 -07:00
Nelson Jovel
59a7dd2e77 Revert "fix: Makes visible the graphs by grade"
This reverts commit 5fc83ac31b.
2024-03-26 15:36:03 -07:00
Nelson Jovel
5fc83ac31b fix: Makes visible the graphs by grade 2024-03-26 14:54:47 -07:00
Nelson Jovel
49a838c060 fix: Fixes #187294757. Data is hidden when selecting multiple years if the default year has no student data to show 2024-03-26 14:42:42 -07:00
Nelson Jovel
03a4697683 fix: add pre-k to list of grades 2024-03-05 22:35:51 -08:00
Nelson Jovel
c6960c957d chore: rename admin data to school data on analyze page 2024-01-31 14:25:59 -08:00
Nelson Jovel
3718d74e62 perf: reduce number of queries for respondents 2024-01-12 13:53:33 -08:00
Nelson Jovel
0359dae88a chore: rename counts_by_grade to enrollment_by_grade for clarity 2023-12-18 15:59:30 -08:00
rebuilt
acfdaf5587 feat: add special education disaggregation 2023-10-17 12:29:00 -07:00
rebuilt
245cde85cd Add disaggregation by ELL 2023-10-17 11:18:47 -07:00
rebuilt
5ea01ac916 Reorder gender columns 2023-08-22 12:22:51 -07:00
rebuilt
2a8148b8cd fix: hide scores on analyze page for scores that don't meet the student threshold of 25% 2023-08-22 12:18:18 -07:00
rebuilt
6db93cb116 feat: Rename income labels to 'Economically Disadvantaged' and 'Not Economically Disadvantaged' 2023-08-09 12:13:04 -07:00
rebuilt
a1b580048b chore: remove precalculated race scores. Calculate race scores on every reload 2023-08-08 15:54:15 -07:00
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 2023-08-08 15:52:12 -07:00
Nelson Jovel
4711e16c03 fix: fix teacher n_size so instead of counting all the indivual teacher responses for a measure, it only counts the unique respondents 2023-08-08 11:44:19 -07:00
rebuilt
1265a164b9 feat: add popover to analyze graphs that displays the n-size of the different columns. Make sure to only calculate a score for a race if there are more than 10 respondents to a question. 2023-08-08 11:43:40 -07:00
rebuilt
c57ec6157c Round all averages to two decimal places 2023-05-12 13:12:42 -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
63b1615bef Make sure when checking for sufficient gender responses that we only check student survey items 2023-04-04 17:03:45 -07:00
rebuilt
b884021f66 Rename race column from 'Race/Ethnicity not listed' to 'Not Listed' 2022-12-14 14:25:19 -08:00
rebuilt
c58686c032 rename race and gender modules to avoid naming collision with race and gender classes 2022-12-12 16:38:37 -08:00
rebuilt
bb9ea9b22d Add admin data messages to analyze page for insufficient/irrelevant states 2022-12-11 16:00:44 -08:00
rebuilt
53a08d41bf Change label for unknown race 2022-12-10 15:44:56 -08:00
rebuilt
1f7fa8146c Fix bug that happens when you view gender scores for multiple years 2022-11-30 09:14:04 -08:00
rebuilt
72c90b8f47 Add selector for all data 2022-11-18 08:20:26 -08:00
rebuilt
7d7bee6498 Add gender disagreggation 2022-10-27 15:56:50 -07:00
rebuilt
89a7f27b88 Finishes #183092367. Adds ui and graphs to show grade level disaggregations 2022-10-16 22:03:25 -07:00
rebuilt
d89a207c31 Load student data for all years and calculate race scores for all 2022-08-20 15:07:15 -07:00
rebuilt
a4dbeb6718 Change logic on analyze page to include admin data when presenting insufficiency messages and enable/disable academic year checkboxes 2022-08-15 13:31:36 -07:00
rebuilt
54ea1a1070 Change race score calculation from a minimum of 10 responses to meet
sufficiency to 10 students.
2022-08-11 11:39:28 -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
3f2279e2e8 Position multi-word analyze graph labels horizontally 2022-08-05 10:35:41 -07:00
rebuilt
35d650c3a4 stagger bar labels 2022-08-05 10:23:45 -07:00
rebuilt
50b3bc678c Columns for students by group graph change when corresponding race checkboxes are clicked 2022-08-04 21:21:22 -07:00
rebuilt
e8f4773c65 Shorten graph labels 2022-08-03 18:15:27 -07:00
rebuilt
ff14bad102 Rename Student column to AllStudent so there isn't a naming clash with
the Student model.
2022-08-03 17:53:23 -07:00
rebuilt
26f739090b add race columns to graph 2022-08-02 21:28:25 -07:00
rebuilt
94a58a87d7 Use modules to namespace classes for analyze page 2022-08-02 18:16:33 -07:00