Commit graph

358 commits

Author SHA1 Message Date
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
0e9acc7467 Rename response rate to response rate calculator 2022-06-14 15:27:27 -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
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
rebuilt
50256cacce Create academic year checkbox selectors. Refresh page with years selected on
checkbox change.  Draw bar graphs for each academic year selected.
Center bar graphs in their column.  Color the columns to match the
sample colors on the checkboxes.  Add scores on beta to top of graph.
Automatically display the most recent year of data for the district.
Modify logic for the insufficient data message or the 'measure not based
on student/teacher surveys' message so it only shows if there are no
bars with data to display.
2022-06-08 15:42:54 -07:00
Nelson Jovel
30c97f4428 Refactor grouped_bar_column_presenter so it calculates the score from
the measure given to the initializer
2022-06-02 13:10:31 -07:00
Nelson Jovel
8efaf8514d Extract student and teacher presenters from grouped_bar_column_presenter 2022-06-02 08:39: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
607b91c795 Change the dropdown handler event to behave differently on other browsers 2022-05-31 07:11:55 -07:00
Nelson Jovel
f68e8a8c2b Don't show scores in production 2022-05-30 18:47:19 -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
Nelson Jovel
cb5fe56c30 Create analyze page. Finishes #182097292 2022-05-12 19:33:26 -07:00
Nelson Jovel
57bfaa51c6 Exclude boston results. Completes #182117456 2022-05-11 11:22:05 -07:00
Nelson Jovel
32dbe4080f Modify message indicating lack of data for a school 2022-05-03 13:59:06 -07:00
Nelson Jovel
9c5e7554f1 Only show numerical scores if environment variable SCORES=SHOW 2022-05-02 15:27:03 -07:00
Nelson Jovel
8450a715e7 Show scores for beta 2022-05-02 09:16:20 -07:00
Nelson Jovel
15431b09bb Do not display actual scores 2022-04-28 15:58:47 -07:00
Nelson Jovel
897284a2be Modify quality framework indicator links so that the target of the link gets centered when navigating to it 2022-03-30 18:06:11 -07:00
Nelson Jovel
78fb737f5a Make measure titles clickable on the variance chart 2022-03-29 14:02:43 -07:00
Nelson Jovel
bf8b824ab8 Add links to subcategories from overview page framework indicator
section.   Finishes #181681266
2022-03-28 14:53:48 -07: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
48581b990a Install and configure stimulus and turbo 2022-02-09 21:54:14 +01:00
rebuilt
54f4cee3fa Show score temporarily 2022-02-07 16:21:10 +01:00
rebuilt
e1f50fef9e Add 2019-20 year teacher surveys and activate the year selector 2022-02-07 15:04:25 +01:00
rebuilt
ad14563460 Browse page displays the admin data collection rate 2022-02-02 13:03:28 +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
b111b2f106 Bump rails to 7 and get tests passing. Also modified rakefile so rake
command would continue to run rspec as the default command.  Added
stylesheets to assets.rb so they'll be included when precompiling
assets in production.
2022-01-21 11:49:35 +01:00
Nelson Jovel
d2c2eb8994 Refactored guage graph and presenter to make variable names clearer 2021-12-30 16:11:31 +01:00
Nelson Jovel
03a63cb568 Add zone boundary legends to gauge graph. 2021-12-29 17:50:47 +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
1a6c81e240 remove fontawesome symlinked directory from public folder 2021-12-17 14:09:02 +01:00
Nelson Jovel
8bebf106e6 Merge branch 'dev-design' 2021-12-17 13:51:00 +01:00
Nelson Jovel
6931428d8f Make measure name responsive 2021-12-17 13:38:29 +01:00
Nelson Jovel
eb4c699f60 Modifies the overview page so when there is an empty dataset, there is clearer explanatory text and an empty version of the variance chart. Finishes #180118088 2021-12-14 15:52:09 +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
2753888f11 Add category, subcategory and measure ids to the page. Finishes #179986325 2021-12-14 11:39:15 +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
b45dca7a5a Remove text regarding school years from empty dataset modal 2021-12-09 16:47:09 -05:00
Liam Morley
0af26e25f2 Display gauges with no benchmarks as "Insufficient Data" with no key benchmark indicator 2021-12-09 16:44:26 -05:00
Nelson Jovel
aeb6a45a45 Show partial data indicators on variance chart 2021-12-09 14:51:28 -05:00
Liam Morley
eff22d2ac8 Report that admin data is not included 2021-12-02 16:37:24 -05:00
Liam Morley
6aa9f00adc Revert "Tie legacy analytics ID to environment"
This reverts commit 3e15194eff.

This will allow monitoring the new experience analytics to not be tampered by the
legacy analytics.
2021-12-02 09:35:33 -05:00