Commit graph

185 commits

Author SHA1 Message Date
Nelson Jovel
e2e162d33b feat: Add parent button to overview page and alter 'School Quality Framework Indicators' section to show parent scales 2024-11-19 18:21:45 -08:00
Nelson Jovel
8085b54057 feat: rename export reports 2024-11-19 17:33:49 -08:00
Nelson Jovel
cac4d05d4d feat: Add 'all school' option to exports page 2024-11-19 17:16:49 -08:00
Nelson Jovel
d0340c8a52 feat: Add parent button to overview page and alter 'School Quality Framework Indicators' section to show parent scales 2024-11-19 17:15:17 -08:00
Nelson Jovel
964febee46 feat: rename export reports 2024-09-27 13:31:07 -07:00
Nelson Jovel
07836cc020 feat: Add 'all school' option to exports page 2024-09-27 13:24:32 -07:00
Nelson Jovel
4407954058 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:24:23 -07:00
Nelson Jovel
1851ecf7f8 feat: allow selecting a subset of student survey items for the survey item report 2024-08-12 16:23:58 -07:00
Nelson Jovel
226118f688 Add an exports page that allows a user to select which reports they want
to run
2024-08-12 16:23:46 -07:00
Nelson Jovel
3ad47e6bd5 feat: switch analyze page to use hotwire. Fix n_size count for teacher 2024-06-12 10:43:48 -07:00
Nelson Jovel
a14110b883 chore: performance fixes for response rate calculation 2024-01-12 13:38:43 -08:00
Nelson Jovel
77193cdf35 fix: reduce number of n+1 queries 2024-01-12 13:36:01 -08:00
Nelson Jovel
6a2723af84 chore: performance fixes for response rate calculation 2024-01-12 13:31:09 -08:00
Nelson Jovel
586c6f4b4c fix: reduce number of n+1 queries 2023-12-21 13:35:02 -08:00
Nelson Jovel
197ccdfeb3 fix: Correctly navigate the user to the latest academic year when no data exists for the school 2023-12-18 15:26:43 -08:00
rebuilt
2ac30bb107 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-10-24 09:05:27 -07:00
rebuilt
77e2b1e203 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:47:06 -07:00
rebuilt
46b5cbef2d perf: Reduce number of queries. Remove unneeded methods. Combine
subcategory and measure queries in controller
2023-06-19 20:51:54 -07:00
rebuilt
05f535ed5c perf: include survey items with measures to avoid n+1 queries when scoring by student/teacher survey items 2023-06-11 14:40:33 -07:00
rebuilt
8a23296ca5 perf: Add another index to surveyitemresponses. Implement bullet suggestions. Memoize a function in measure.rb 2023-06-10 10:29:28 -07:00
rebuilt
a71ebbc4e4 Add Overall Response Rate 2023-05-22 16:03:34 +00:00
rebuilt
65b8599c6e 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-08 10:59:48 -07:00
rebuilt
b6b88da328 Add all pillars 2023-02-28 19:08:11 -08:00
rebuilt
8128af200b add first pillar 2023-02-28 17:50:21 -08: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