Nelson Jovel
b77d6134df
chore: refactor analyze page
2 years ago
Nelson Jovel
59a7dd2e77
Revert "fix: Makes visible the graphs by grade"
...
This reverts commit 5fc83ac31b .
2 years ago
Nelson Jovel
5fc83ac31b
fix: Makes visible the graphs by grade
2 years ago
Nelson Jovel
5fc5c21bcb
feat: change 'school admin data' to 'school data'
2 years ago
rebuilt
9d680c5159
chore: upgrade to rails 7.1.
...
upgrade rspec
fix failing tests
upgrade devise
2 years ago
rebuilt
5ea01ac916
Reorder gender columns
2 years ago
rebuilt
aafaeeaf41
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
6db93cb116
feat: Rename income labels to 'Economically Disadvantaged' and 'Not Economically Disadvantaged'
2 years ago
rebuilt
76ebcc6ef3
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
f6f56367fc
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.
2 years ago
rebuilt
0a5500ecc9
feat: Add overall response rate
2 years ago
rebuilt
0ed6cbe6b4
Rename DataAvailability to Summary
3 years ago
rebuilt
09963c3323
Remove surveys table from codebase since it's no longer needed after changing logic surrounding response rates and score calculations
3 years ago
rebuilt
30e006ee0d
Set a minimum threshold of 10 survey item responses to calculate scores per survey item
3 years ago
rebuilt
07ed8dd259
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
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
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
4 years ago
rebuilt
2a2777745a
Change the sufficiency threshold from a static number of minimum responses to a minimum response rate of 25 percent
4 years ago
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.
4 years ago
rebuilt
fcec3de233
Modify collection rate for admin data items. Take into account if a
...
school is a high school and if the admin data item is for high schools
only. Finishes: #181154375 .
4 years ago
rebuilt
8ce50c45c8
Change admin data response rate from 0/0 to N/A
4 years ago
rebuilt
ad14563460
Browse page displays the admin data collection rate
4 years ago
rebuilt
59865cd874
Show response rate for students
4 years ago
Nelson Jovel
bb20ff506b
Correct error affecting subcategory scores where teacher or student survey items below the threshold were still being included in the score for the subcategory.
...
Ensure queries for survey item responses take into account the school
and academic year.
4 years ago
Nelson Jovel
5a8d032dd0
Set up bullet gem. Implement bullet gem suggestions.
4 years ago