Commit graph

54 commits

Author SHA1 Message Date
Nelson Jovel
f4a99f6f95 fix: When no academic years are selected, show an empty set of graphs on the analyze page instead of erroring out 2024-07-01 08:48:59 -07:00
Nelson Jovel
cd6b503f44 feat: add links from the analyze page to the browse page 2024-06-20 10:50:54 -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
6addc86ca6 fix: fix merge error 2024-05-17 10:12:20 -07:00
Nelson Jovel
15329f0390 fix: When multiple years were selected on the Analyze page, results were getting incorrectly filtered out when the first academic year did not have sufficient responses. Now all selected years with data are correctly displayed 2024-05-17 08:52:13 -07:00
rebuilt
8baaa67730 fix: make sure sped is taken into account when caching analyze page 2023-10-11 11:15:13 -07: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
5f49746bf4 feat: Rename income labels to 'Economically Disadvantaged' and 'Not Economically Disadvantaged' 2023-07-31 16:47:34 -07:00
rebuilt
67e469a66c 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-07-27 16:17:46 -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
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
d48a4efda2 Round all averages to two decimal places 2023-05-12 13:08:25 -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
e1c750b8d7 Revert "temporarily turn off caching based on the response rate timestamp"
This reverts commit 1c99f55528.
2023-04-04 13:07:14 -07:00
rebuilt
1c99f55528 temporarily turn off caching based on the response rate timestamp 2023-04-04 10:50:49 -07:00
rebuilt
7ddada5050 Update empty dataset indicators 2022-12-19 20:09:09 -08:00
rebuilt
bb9ea9b22d Add admin data messages to analyze page for insufficient/irrelevant states 2022-12-11 16:00:44 -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
7f0faf8917 Add checkboxes to analyze page for genders 2022-10-22 16:07:34 -07:00
rebuilt
9b28b0e629 Add grades to cache list 2022-10-19 15:06:12 -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
191abdbd50 Align styling to closer match design 2022-08-15 13:46:19 -07:00
rebuilt
42e150b33b Update caching rule so a race_score with an updated timestamp will break the cache 2022-08-14 09:07:48 -07:00
rebuilt
e2bded66e8 Disable checkboxes that are irrelevant for the graph type 2022-08-11 11:39:02 -07:00
rebuilt
35d650c3a4 stagger bar labels 2022-08-05 10:23:45 -07:00
rebuilt
3775762ed4 Add caching rules so page displays all analysis graphs 2022-08-03 18:09:22 -07:00
rebuilt
93486eb132 Fix failing tests 2022-08-03 11:11:26 -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
rebuilt
c568e8bc06 move methods from analyze helper to background presenter 2022-08-01 19:17:06 -07:00
rebuilt
8c7767d0b9 fix bug where wrong subcategory is selected 2022-07-26 07:17:49 -07:00
rebuilt
2e648d8ad0 fix bug where wrong category was selected 2022-07-26 07:12: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
e89358dacc implement suggestions from static code analysis tools 2022-07-12 19:15:54 -07:00
rebuilt
0e9acc7467 Rename response rate to response rate calculator 2022-06-14 15:27:27 -07:00
rebuilt
3778aeb1d6 alter logic for insufficiency so that a count of 0 survey item responses is enough to trigger insufficiency
Implement large speed improvements to score calculations.  Add page caching to all pages.  Small speed improvements to response rate by filtering out
survey items without responses with `none?` `method vs count == 0`.
2022-06-14 11:17:59 -07:00
rebuilt
e8f3109df9 Disable checkboxes for years that don't have data to show. Add exclamation icon with explanatory text. Finishes #182332983 2022-06-09 10:26:26 -07:00
rebuilt
50256cacce Create academic year checkbox selectors. Refresh page with years selected on
checkbox change.  Draw bar graphs for each academic year selected.
Center bar graphs in their column.  Color the columns to match the
sample colors on the checkboxes.  Add scores on beta to top of graph.
Automatically display the most recent year of data for the district.
Modify logic for the insufficient data message or the 'measure not based
on student/teacher surveys' message so it only shows if there are no
bars with data to display.
2022-06-08 15:42:54 -07:00
Nelson Jovel
30c97f4428 Refactor grouped_bar_column_presenter so it calculates the score from
the measure given to the initializer
2022-06-02 13:10:31 -07:00
Nelson Jovel
8efaf8514d Extract student and teacher presenters from grouped_bar_column_presenter 2022-06-02 08:39:55 -07:00
Nelson Jovel
16569974a6 Add checkboxes to select academic years for analyze page. Stimulus controller reads the state of the checkboxes and builds the correct link to route the user 2022-05-31 15:49:59 -07:00
Nelson Jovel
607b91c795 Change the dropdown handler event to behave differently on other browsers 2022-05-31 07:11:55 -07:00
Nelson Jovel
f68e8a8c2b Don't show scores in production 2022-05-30 18:47:19 -07:00
Nelson Jovel
6764024cd2 Show subcategory data when user selects different subcategory from
analyze dropdown.  Finishes #182277850
2022-05-30 16:44:18 -07:00
Nelson Jovel
61978eb45d Change which category is displayed when the category dropdown is changed
on the analyze page.   Finishes #182277818
2022-05-30 14:54:05 -07:00
Nelson Jovel
a04f797f30 Add all measures for a given subcategory to the analyze page. Finishes #182277762 2022-05-26 12:50:09 -07:00