Commit graph

927 commits

Author SHA1 Message Date
rebuilt
dfc5202b88 Add index to survey item responses on school and academic year. 2022-06-14 15:28:38 -07:00
rebuilt
61aad20cb2 Create response rate model 2022-06-14 15:28:20 -07:00
rebuilt
0e9acc7467 Rename response rate to response rate calculator 2022-06-14 15:27:27 -07:00
rebuilt
d15e89f37c memoize all functions in measure 2022-06-14 15:26:41 -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
rebuilt
ee80867609 memoize functions in measure.rb 2022-06-13 12:20:13 -07:00
rebuilt
8eda232d71 Bump rails version to patch security vulnerability 2022-06-10 12:35:26 -07:00
rebuilt
1155f74ca9 Set a minimum bar height for analyze graphs 2022-06-10 09:45:52 -07:00
rebuilt
cb3499de64 Fix failing test 2022-06-10 08:40:09 -07:00
rebuilt
6f8fc293f3 Rename 'All survey data' label to 'All data' 2022-06-10 08:32:08 -07:00
rebuilt
a34766009b Fix failing journey test 2022-06-09 11:26:18 -07:00
rebuilt
c63e1ebd8e Add 2021-22 winchester student and teacher surveys. Finishes #182376738 2022-06-09 11:16:05 -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
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
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
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
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
d7b0fe0e36 Add attleboro survey item responses for 2021-22. Finishes #182215755 2022-05-18 13:14:01 -07:00
Nelson Jovel
18f2c2fd79 Update changelog 2022-05-17 17:27:33 -07:00
Nelson Jovel
bebcda28c6 Add Attleboro Community Academy to list of schools. Finishes #181797368 2022-05-17 12:24:32 -07:00
Nelson Jovel
81579c1df6 Bump version of nokogiri 2022-05-16 20:24:09 -07:00
Nelson Jovel
4952849d96 Prevent negative admin data values from being imported 2022-05-13 15:28:45 -07:00
Nelson Jovel
52a24c3daa Update changelog 2022-05-13 13:23:13 -07:00
Nelson Jovel
9768d68385 Add task to reset admin data values 2022-05-13 13:09:54 -07:00
Nelson Jovel
8c7c73bc72 From the analyze page, selecting a different school should not navigate
away from analyze page.   Finishes story #182178876
2022-05-13 11:27:51 -07:00
Nelson Jovel
cb5fe56c30 Create analyze page. Finishes #182097292 2022-05-12 19:33:26 -07:00
Nelson Jovel
17ae2e582b Update Changelog 2022-05-12 10:44:06 -07:00
Nelson Jovel
ee4a964251 Add admin data for 2016-17 and 2017-18. Finishes #182032313 2022-05-11 11:44:43 -07:00
Nelson Jovel
57bfaa51c6 Exclude boston results. Completes #182117456 2022-05-11 11:22:05 -07:00
Nelson Jovel
4634282572 Modify permissions of deployment script 2022-05-10 15:13:41 -07:00
Nelson Jovel
e27238e3c4 Correct student survey responses from 2016-17. Finishes #182076798 2022-05-10 14:58:53 -07:00
Nelson Jovel
a02d8c5c59 Add deployment script for beta 2022-05-10 14:53:07 -07:00
Nelson Jovel
2c4e76a3d1 Update Changelog 2022-05-10 14:51:02 -07:00
Nelson Jovel
32dbe4080f Modify message indicating lack of data for a school 2022-05-03 13:59:06 -07:00
Nelson Jovel
ca81680e79 Update ruby version file to match version in Gemfile 2022-05-03 11:17:48 -07:00
Nelson Jovel
a613f6cb93 Add timestamps to academic years table 2022-05-03 11:11:17 -07:00
Nelson Jovel
bc27e5a0e8 Add DESE_ID column to 2018-19 boston mattahunt teacher survey csv so survey item responses will load correctly 2022-05-03 10:54:29 -07:00
Nelson Jovel
a3c7dcbf43 Update ruby, rails, nokogiri, yarn, jest to patch security vulnerabilities 2022-05-02 15:55:03 -07:00