Commit graph

181 commits

Author SHA1 Message Date
Nelson Jovel
dc7c466e58 feat: Add parent button to overview page and alter 'School Quality Framework Indicators' section to show parent scales 2024-11-14 09:12:09 -08:00
Nelson Jovel
a391acc554 feat: Add parent button to overview page and alter 'School Quality Framework Indicators' section to show parent scales 2024-11-13 14:01:15 -08:00
Nelson Jovel
c72ff9747f feat: rename export reports 2024-09-27 13:50:50 -07:00
Nelson Jovel
2b2d89a26a feat: Add 'all school' option to exports page 2024-09-27 13:43:45 -07:00
Nelson Jovel
b059f88383 feat: add ability to filter export data by student survey item type. Ability added to 'by grade' 'by item' and 'survey item responses' reports 2024-09-27 13:43:35 -07:00
Nelson Jovel
bca79d1b2b feat: allow selecting a subset of student survey items for the survey item report 2024-08-12 16:27:27 -07:00
Nelson Jovel
e760ee211c Add an exports page that allows a user to select which reports they want
to run
2024-08-12 16:27:19 -07:00
Nelson Jovel
8dc503f454 feat: restore hotwire functionality on analyze page 2024-06-27 10:58:45 -07:00
Nelson Jovel
5b34c2257f chore: performance fixes for response rate calculation 2024-01-12 13:51:59 -08:00
Nelson Jovel
47cca3ce1f fix: reduce number of n+1 queries 2024-01-12 13:51:14 -08:00
Nelson Jovel
a960202d66 chore: performance fixes for response rate calculation 2024-01-12 13:49:02 -08:00
Nelson Jovel
d2efec1574 fix: reduce number of n+1 queries 2023-12-21 13:35:48 -08:00
Nelson Jovel
32b05487a1 fix: Correctly navigate the user to the latest academic year when no data exists for the school 2023-12-18 15:59:08 -08:00
rebuilt
bcfb52c97a fix: I broke the feature where the site would automatically navigate the user to the latest year that had sufficient data when I made response rates calculate on each page load instead of being precalculated and stored in the database. Instead of a database lookup for response rates that meet the sufficiency threshold, I caculate the latest year when a user chooses a school from the welcome page. 2023-08-28 13:46:50 -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
rebuilt
0a5500ecc9 feat: Add overall response rate 2023-08-08 10:01:48 -07:00
rebuilt
cee1c5fbc9 perf: Reduce number of queries. Remove unneeded methods. Combine
subcategory and measure queries in controller
2023-06-19 20:49:57 -07:00
rebuilt
734b98edbb perf: include survey items with measures to avoid n+1 queries when scoring by student/teacher survey items 2023-06-11 14:43:35 -07:00
rebuilt
77e8d12a3b perf: Add another index to surveyitemresponses. Implement bullet suggestions. Memoize a function in measure.rb 2023-06-10 10:19:05 -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
69179ce157 Replace javascript logic with hotwire. Also hide district dropdown on
home page if there is only one district.
2022-12-14 13:41:34 -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
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
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
50b3bc678c Columns for students by group graph change when corresponding race checkboxes are clicked 2022-08-04 21:21:22 -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
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
bb5f668497 Refactor code based on rubocop and reek suggestions 2022-07-11 16:46:30 -07:00
rebuilt
18b479b8b2 Refactor based on rubocop and reek suggestions 2022-07-08 19:07:23 -07:00
rebuilt
a1689a3550 Switch the logic of empty dataset detection from none? to any? 2022-06-17 12:13:45 -07:00
rebuilt
0dc99486f8 remove async queries 2022-06-16 17:08:55 -07:00
rebuilt
0593f53fb4 Add async queries 2022-06-16 16:59:29 -07:00
rebuilt
c03615cb43 Rename ResponseRate to ResponseRateCalculator. Create a new response
rate model.  Create a loader to refresh response rates for all
subcategories.

Use precalculated response rates in views

Wrap more elements in page caching

Calculate a response rate for a subcategory if one does not already
exist
2022-06-16 08:19:26 -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
Nelson Jovel
08c84c8321 make sure selected academic year gets populated correctly 2022-06-01 13:05: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
f68e8a8c2b Don't show scores in production 2022-05-30 18:47:19 -07:00
Nelson Jovel
143e0237e4 Handle case when category is nil in analyzecontroller 2022-05-30 18:41:56 -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
Nelson Jovel
9837fbf0d0 If the measure is not based on a type of data(student/teacher) or if there is insufficent data to calculate a score, show a message on the graph indicating such 2022-05-26 12:05:25 -07:00
Nelson Jovel
3d7e62f21f Draw the teacher survey data bar. Finishes #182226823 2022-05-25 19:44:29 -07:00
Nelson Jovel
a134de3fdd Implement bullet suggestions and cache overview graph 2022-05-23 21:44:25 -07:00
Nelson Jovel
7a9830915b Create grouped bar chart on analyze page 2022-05-20 20:24:23 -07:00