Nelson Jovel
8516111a15
chore: refactor analyze page
2 years ago
Nelson Jovel
3ad47e6bd5
feat: switch analyze page to use hotwire. Fix n_size count for teacher
2 years ago
Nelson Jovel
993fafcc0e
Revert "fix: Makes visible the graphs by grade"
...
This reverts commit 455f716b6d .
2 years ago
Nelson Jovel
455f716b6d
fix: Makes visible the graphs by grade
2 years ago
Nelson Jovel
59b7416a3a
feat: change 'school admin data' to 'school data'
2 years ago
rebuilt
9110be31c6
chore: fix failing test
2 years ago
rebuilt
18ab51c860
chore: upgrade to rails 7.1.
...
upgrade rspec
fix failing tests
upgrade devise
2 years ago
rebuilt
8cf9b4eeb8
Add test for income group
2 years ago
rebuilt
a97838c194
Reorder gender columns
2 years ago
rebuilt
2ac30bb107
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
2 years ago
rebuilt
f230f76bc6
fix: Overall response rate was incorrectly using the updated_at date instead of the recorded date. Also, it was just using the last date for all academic years instead of the last date the survey was taken per academic year.
2 years ago
rebuilt
2a3f69b813
The overall response rate is artifically lower because we are including the number of all the students at the school, not just the number of students that took the survey. Updated the overall response rate presenter to return the count of only the grades that took the student survey.
3 years ago
rebuilt
a71ebbc4e4
Add Overall Response Rate
3 years ago
rebuilt
c33c00b845
Rename DataAvailability to Summary
3 years ago
rebuilt
0bd70ca452
Remove surveys table from codebase since it's no longer needed after changing logic surrounding response rates and score calculations
3 years ago
rebuilt
aa3a67406b
Set a minimum threshold of 10 survey item responses to calculate scores per survey item
3 years ago
rebuilt
65b8599c6e
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
3 years ago
rebuilt
36a6d93628
Capitalize 'data' in analyze graph. Remove the word 'admin' from data
...
sources count on browse page
3 years ago
rebuilt
e37bec083f
Fix icon not showing up on category page
3 years ago
rebuilt
1595c3a58c
rename admin data to school data
3 years ago
rebuilt
7a5e02eed9
Remove unused method item_descriptions from admin_data_presenter and
...
student_survey_presenter.
3 years ago
rebuilt
a72fd373dc
Remove unused method; item_descriptions
3 years ago
rebuilt
05ae1cd94b
fix failing tests
3 years ago
rebuilt
10515893ff
Add elementary school questions to framework.
3 years ago
rebuilt
87802c034e
Add specs for admin bar messages
3 years ago
rebuilt
c58686c032
rename race and gender modules to avoid naming collision with race and gender classes
3 years ago
rebuilt
bb9ea9b22d
Add admin data messages to analyze page for insufficient/irrelevant states
3 years ago
rebuilt
7d7bee6498
Add gender disagreggation
3 years ago
rebuilt
89a7f27b88
Finishes #183092367 . Adds ui and graphs to show grade level disaggregations
3 years ago
rebuilt
d89a207c31
Load student data for all years and calculate race scores for all
3 years ago
rebuilt
54ea1a1070
Change race score calculation from a minimum of 10 responses to meet
...
sufficiency to 10 students.
3 years ago
rebuilt
2be86a2b13
Disable race score loader tests so it passes github ci
3 years ago
rebuilt
105f30f220
Change race score calculations so the average bubbles up through survey_items
...
-> scales -> measure.
Precalculate averages for performance.
3 years ago
rebuilt
50b3bc678c
Columns for students by group graph change when corresponding race checkboxes are clicked
3 years ago
rebuilt
ff14bad102
Rename Student column to AllStudent so there isn't a naming clash with
...
the Student model.
3 years ago
rebuilt
93486eb132
Fix failing tests
3 years ago
Nelson Jovel
757638f6ca
continue refactoring
3 years ago
rebuilt
fc853c4fbc
Fix regression where we accidentally list the questions for measure 1B-i
3 years ago
rebuilt
deaf13c976
Modify behavior of insufficient data indicators for admin data items. Now we show indicators in line with the admin data item descriptions to indicate which items are missing data
3 years ago
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`.
4 years ago
rebuilt
1155f74ca9
Set a minimum bar height for analyze graphs
4 years ago
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.
4 years ago
Nelson Jovel
30c97f4428
Refactor grouped_bar_column_presenter so it calculates the score from
...
the measure given to the initializer
4 years ago
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
4 years ago
Nelson Jovel
3d7e62f21f
Draw the teacher survey data bar. Finishes #182226823
4 years ago
Nelson Jovel
c49dee0a63
Do not show question prompts for measure 1B-1. Finishes #181921933
4 years ago
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
4 years ago
Nelson Jovel
bf8b824ab8
Add links to subcategories from overview page framework indicator
...
section. Finishes #181681266
4 years ago
Nelson Jovel
ed7a3b8a3d
Autoformat code with rubocop
4 years ago
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
4 years ago