Commit graph

37 commits

Author SHA1 Message Date
rebuilt
22d22ab5ee fix: add xpath rules to journey spec to make sure it finds a Go button on the welcome page that is NOT disbled 2023-07-07 16:37:20 -07:00
rebuilt
a13d46354a fix: Flaky test might be related to not waiting for go button to appear. Add line to wait for go button 2023-06-26 14:20:29 -07:00
rebuilt
43bcd51452 Set credentials before switching to different district instead of after in the hopes the test will be less flaky when run in github actions 2023-05-25 10:31:11 -07:00
rebuilt
09be5f1fc8 Make sure to perform authorization when switching districts. Make sure to use apparition for system specs 2023-05-13 09:29:58 -07:00
rebuilt
596ce25737 Remove surveys table from codebase since it's no longer needed after changing logic surrounding response rates and score calculations 2023-04-20 20:51:04 -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
dcade06ce2 Fix failing tests 2023-03-21 16:16:07 -07:00
rebuilt
3c5e743649 Turn off journey spec 2023-03-16 16:57:48 -07:00
rebuilt
fbfaafa996 Update school/framework files for ecp schools. Fix tests. Update fixture files with dese ids of schools in the consortium. 2023-03-15 18:04:09 -07:00
rebuilt
06f9d2f0e9 Scrape enrollment and staffing information. Seed enrollment and staffing information. Update DatabaseCleaner so it cleans up leftover information in the database. Remove old admin csvs from codebase. 2023-03-05 16:15:35 -08:00
rebuilt
20d4f966e7 singularize respondents 2023-02-27 13:02:34 -08:00
rebuilt
05ae1cd94b fix failing tests 2023-01-17 15:26:56 -08:00
rebuilt
10515893ff Add elementary school questions to framework. 2023-01-12 17:05:00 -08:00
rebuilt
4c2a299510 Fix hotwire test 2022-12-15 09:19:18 -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
e89358dacc implement suggestions from static code analysis tools 2022-07-12 19:15:54 -07:00
rebuilt
be715e117e Fix failing tests 2022-07-05 11:32:50 -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
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
a34766009b Fix failing journey test 2022-06-09 11:26:18 -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
3d7e62f21f Draw the teacher survey data bar. Finishes #182226823 2022-05-25 19:44:29 -07:00
Nelson Jovel
d7b0fe0e36 Add attleboro survey item responses for 2021-22. Finishes #182215755 2022-05-18 13:14:01 -07:00
Nelson Jovel
cb5fe56c30 Create analyze page. Finishes #182097292 2022-05-12 19:33:26 -07:00
Nelson Jovel
cbc8ba59ba remove authentication check. Finishes #181920761 2022-04-21 12:36:28 -07:00
Nelson Jovel
ed7a3b8a3d Autoformat code with rubocop 2022-03-04 15:29:54 +01:00
rebuilt
2a2777745a Change the sufficiency threshold from a static number of minimum responses to a minimum response rate of 25 percent 2022-02-28 15:36:49 +01:00
rebuilt
d4df7cbc06 Add scales to framework. Change calculations to first group and then
average those groupings and the way up the framework.  Likert scores for
a survey_item are averaged.  Then all the survey_items in a scale are
averaged.  Then student scales in a measure are averaged.  And teacher
scales in a measure are averaged.  Then the average of those two
calculations becomes the score for a measure.  Then the measures in a
subcategory are averaged.
2022-02-24 14:53:06 +01:00
rebuilt
e1f50fef9e Add 2019-20 year teacher surveys and activate the year selector 2022-02-07 15:04:25 +01:00
rebuilt
e69f850cc5 Add missing tests. Remove unused code. Filter out legacy specs from code coverage report 2022-02-01 19:33:24 +01:00
Nelson Jovel
ad03606d66 Add benchmarks to survey and admin data items. Remove them from measures. Modify seeder
Calculate benchmarks for measures based on a weighted average of survey
and admin data items

Added architectural records
2021-12-28 14:10:34 +01:00
Nelson Jovel
f553c3c11c Rename 'Dashboard' to overview in page text and also modify 'dashboard' routes to be 'overview'. Finishes #180076071 2021-12-14 13:20:18 +01:00
Nelson Jovel
cacc853518 Adds category short description to database and renders descriptions in
their corresponding locations to the site.  Finishes #180090033.
2021-12-13 21:15:59 +01:00
Nelson Jovel
bde992c96b Finishes #180264854. Prevents empty dataset modal from displaying on browse page 2021-12-10 13:52:50 +01:00
Liam Morley
413096dfe2 Extract legacy parts of the codebase into its own module 2021-11-16 17:19:05 +01:00
Liam Morley
cf6e80ce6b Show modal when no measures for a school/year have meet their threshold 2021-11-10 15:46:49 -05:00