Commit graph

137 commits

Author SHA1 Message Date
rebuilt
61aad20cb2 Create response rate model 2022-06-14 15:28:20 -07:00
rebuilt
a769996054 Refactor response rate into response rate calculator 2022-06-14 14:06:18 -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
Nelson Jovel
57bfaa51c6 Exclude boston results. Completes #182117456 2022-05-11 11:22:05 -07:00
Nelson Jovel
0b502ce826 When calculating response rate, only take into account survey items with associated responses. Ignore any survey items with no responses. Finishes #181922483 2022-04-20 13:53:45 -07:00
Nelson Jovel
c475744939 Modify score calculations. Ignore any survey item scores of 0.
Never include zero when performing calculations for scores.
2022-04-20 13:49:27 -07:00
Nelson Jovel
9c954f97ec Update admin data collection rate numbers on browse page. Also, if all admin data has been collected, do not show 'insufficient data' indicator. Finishes #181754853 2022-04-13 20:14:25 -07:00
Nelson Jovel
9ecc501e24 Display measure scores. Finishes #181754978 2022-04-06 13:09:33 -07:00
Nelson Jovel
ed7a3b8a3d Autoformat code with rubocop 2022-03-04 15:29:54 +01:00
Nelson Jovel
91308b93e5 Visualize survey responses even when a response rate cannot be
calculated.  Set the response rate to N / A for data that has no total
student and teacher data for a certain year and school
2022-03-04 15:17:43 +01:00
rebuilt
286e74b651 Seed db with surveys to keep track of school, year, and survey type
Seed db with survey_item information to keep track of which survey_item is on the short form survey.  REcalculate response rate depending on whether school to regular survey or short form survey.

Correct score for short form schools.  Finishes #181284202
2022-03-03 10:44:41 +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
67d51aff5e Refactor response rate 2022-02-02 11:04:30 +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
rebuilt
3ae0d02462 Cap teacher response rate at 100 percent 2022-02-01 16:58:05 +01:00
rebuilt
2655a36bfc Replace integer devision with float division for accurate response rate calculation 2022-02-01 15:28:25 +01:00
rebuilt
c293581868 Add parallel tests gem 2022-01-31 19:59:24 +01:00
rebuilt
f30f359406 Add teacher response rate 2022-01-28 17:10:46 +01:00
rebuilt
59865cd874 Show response rate for students 2022-01-27 22:43:10 +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
Liam Morley
aa4ce86eaa Show icon/explanation in measure accordion when a section has insufficient data 2021-12-01 11:44:07 -05:00
Liam Morley
413096dfe2 Extract legacy parts of the codebase into its own module 2021-11-16 17:19:05 +01:00
Liam Morley
f8523f1e6a Display measure data if student data is sufficient OR teacher data is sufficient 2021-11-05 15:14:04 -04:00
Liam Morley
f3c632ea2a Take sufficient data requirements into account when calculating score for subcategory 2021-10-28 08:47:08 -04:00
Liam Morley
934d0bda0e Seed database selectively in tests, not always 2021-10-26 14:18:06 -04:00
rebuilt
05c3f42718 Skip problematic legacy tests 2021-10-25 19:17:19 +02:00
Alex Basson
2abf2d352a Implement correct policy regarding whether there exist sufficient data for a measure 2021-10-22 16:02:03 -04:00
Alex Basson
da6711c571 Rename SurveyItemResponse.score -> .score_for_measure 2021-10-22 09:57:45 -04:00
Alex Basson
07b7561b55 Move score computation into SurveyItemResponse 2021-10-21 21:30:55 -04:00
Alex Basson
10e70557bd Display insufficient data note. TODO: remove measures from variance chart 2021-10-21 21:30:55 -04:00
rebuilt
770ebc580e Updated to rails 6. Passing tests 2021-10-15 15:06:00 +02:00
Liam Morley
25578a896f we have a gauge! next up, let's style the page 2021-10-01 13:32:10 -04:00
Alex Basson
f5724407f2 Load teacher survey responses 2021-09-22 08:44:54 -04:00
Alex Basson
e222edc7e7 Add academic years as an ActiveRecord object 2021-09-22 08:44:54 -04:00
Alex Basson
a7de5b9ac2 Add response id to SurveyItemResponse 2021-09-22 08:44:54 -04:00
Alex Basson
12415861c1 Rename construct -> measure, seed with SqmCategories and Subcategories 2021-09-22 08:44:54 -04:00
rebuilt
71ad999dd0 Add slug to district 2021-09-22 08:44:54 -04:00
Alex Basson
1782ef3482 Compute the score for a given construct, school, and academic year 2021-09-22 08:44:54 -04:00
Alex Basson
9007cd3078 Ensure that construct returns the correct zone when the score is right on a benchmark 2021-09-22 08:44:54 -04:00
Alex Basson
8915cb9d45 Add Item, seed from .csv file 2021-09-22 08:44:54 -04:00
Alex Basson
acac8f67b0 Seed db with Professional Qualifications construct 2021-09-22 08:44:35 -04:00
Alex Basson
e622a01dd0 Remove automatic deploy verification test 2021-09-10 11:17:17 -04:00
Alex Basson
d6a9e951cb Make failing test pass to verify automatic deploys 2021-09-10 11:10:38 -04:00
Alex Basson
e60e8324f1 Deliberately introduce failing test to verify automatic deploy 2021-09-10 11:08:27 -04:00
Alex Basson
e97b385611 Make failing tests pending so that test suite runs greens 2021-08-31 15:27:26 -04:00
Jared Cosulich
ed4883c9fb texting change 2017-05-03 10:14:56 -04:00
Jared Cosulich
986ef0086b tweaking texting content 2017-05-02 12:55:38 -04:00
Jared Cosulich
6b52b22fb6 tweaking text format 2017-04-24 16:22:22 -04:00
Jared Cosulich
aa06f301df tweaking texting format 2017-04-23 16:43:43 -04:00