Commit graph

186 commits

Author SHA1 Message Date
Nelson Jovel
d3e680e5a5 feat: add new bll report to exports page 2024-12-13 14:21:54 -08:00
Nelson Jovel
0c661930e9 Show parent response rate 2024-11-03 12:47:25 -08:00
Nelson Jovel
6f3634582e feat: Add parent button to overview page and alter 'School Quality Framework Indicators' section to show parent scales 2024-10-08 15:16:50 -07:00
Nelson Jovel
48128eaa8e feat: rename export reports 2024-09-25 12:08:24 -07:00
Nelson Jovel
2eb42800f6 feat: Add 'all school' option to exports page 2024-08-21 14:24:42 -07:00
Nelson Jovel
aee0bc9883 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-08-21 14:04:44 -07:00
Nelson Jovel
1413ab72b9 feat: allow selecting a subset of student survey items for the survey item report 2024-08-12 16:21:38 -07:00
Nelson Jovel
2d42036294 Add an exports page that allows a user to select which reports they want
to run
2024-08-08 15:53:05 -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
9e8f917457 chore: performance fixes for response rate calculation 2023-12-21 20:15:11 -08:00
Nelson Jovel
60927e3271 fix: reduce number of n+1 queries 2023-12-21 13:34:16 -08:00
Nelson Jovel
934f2d7f30 fix: Correctly navigate the user to the latest academic year when no data exists for the school 2023-12-12 10:57:46 -08:00
rebuilt
aaa43cdd64 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:23 -07:00
rebuilt
a785c69c44 Add Overall Response Rate 2023-08-09 15:13:58 -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
fae530d21f perf: Reduce number of queries. Remove unneeded methods. Combine
subcategory and measure queries in controller
2023-06-19 20:51:24 -07:00
rebuilt
518bc29f0f perf: include survey items with measures to avoid n+1 queries when scoring by student/teacher survey items 2023-06-11 14:42: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
dd94b283fa Remove hotjar 2023-05-15 14:55:12 -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
308742f619 refactor authentication method 2023-03-21 13:37:50 -07:00
rebuilt
7d387dbe0e add authentication by district 2023-03-21 11:47:19 -07:00
rebuilt
86e67d3965 Temporarily disable reporting because its crashing production. No data has been seeded and the logs are reporting this class as causing the crash? 2023-03-18 13:46:54 -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