WIP: refactor so multiple graphs can be defined for a given slug
WIP: fixed scale view but broke 'All Parent' graph
WIP: working state. All views working properly
WIP: Refactor graph_map into two collections; measure_level_graphs and scale_level_graphs
WIP: refacter GroupedBarColumnPresenter to accept a 'construct' instead of specifying measure or scale
WIP: fix scale graphs being shown on incorrect view
WIP: Merge parents_by_language class with parents_by_language_by_scale so it can handle display of both measure-level and scale-level graphs
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
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
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`.
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.
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.