Commit Graph

356 Commits (e90e6a4f0f26e20758e3d9af3b313d7c33d9153a)

Author SHA1 Message Date
rebuilt f9d4b28969 perf: memoize function when calculating response rates
3 years ago
rebuilt 77e8d12a3b perf: Add another index to surveyitemresponses. Implement bullet suggestions. Memoize a function in measure.rb
3 years ago
rebuilt fb6f43e815 Modify subcategory report to be threaded
3 years ago
rebuilt 4dae0cb565 Add District, School Code, and Grade columns to subcategory report
3 years ago
rebuilt 81f8738d59 Fix: Ensure proper detection of survey type. Make sure to remove any survey item ids that end with the survey variant style of '-1'
3 years ago
rebuilt 6022739f07 use district short name when writing filename
3 years ago
rebuilt 0dfc9726d0 Add automated data cleaning. Modify SurveyItemValues class to use regex
3 years ago
rebuilt b5dc933187 Add subcategory report
3 years ago
rebuilt c57ec6157c Round all averages to two decimal places
3 years ago
rebuilt 6b2555c1f0 Fix response rates for small schools by accounting for expected minimum counts of responses less than 10
3 years ago
rebuilt a066f464c7 fix failing tests
3 years ago
rebuilt c42b569e78 cap response rate per grade at 100
3 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 982f216c6c rename counts_by_grade method to the more descriptive enrollment_by_grade
3 years ago
rebuilt 07ed8dd259 Update logic for calculating student response rate. Remove references
3 years ago
rebuilt 049ae4548f Don't add another response rate record to the database. Just calculate on the fly. Otherwise we can run into a situation where we create two response rates for a given school/academic_year/subcategory
3 years ago
rebuilt 380048f5cd Load survey responses from sftp folder
3 years ago
rebuilt 72c90b8f47 Add selector for all data
3 years ago
rebuilt 7d7bee6498 Add gender disagreggation
3 years ago
rebuilt a1f3dfaa33 Load gender information to survey item responses
3 years ago
rebuilt 8cdd1b6285 Create gender class. Load genders to database from demographics file
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 191abdbd50 Align styling to closer match design
3 years ago
rebuilt a4dbeb6718 Change logic on analyze page to include admin data when presenting insufficiency messages and enable/disable academic year checkboxes
3 years ago
rebuilt 105f30f220 Change race score calculations so the average bubbles up through survey_items
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
3 years ago
rebuilt 26f739090b add race columns to graph
3 years ago
rebuilt 94a58a87d7 Use modules to namespace classes for analyze page
3 years ago
rebuilt c568e8bc06 move methods from analyze helper to background presenter
3 years ago
rebuilt d44a5275b4 Address bug related to story #182855028
3 years ago
rebuilt 12e4e3f177 import students
3 years ago
rebuilt 765ad6a624 Create ui for data filters. Add listeners to direct to the correct url. Update ui based on the list of selected params
3 years ago
Nelson Jovel 757638f6ca continue refactoring
3 years ago
rebuilt b7abf2bc8b continue refactoring
3 years ago
rebuilt e89358dacc implement suggestions from static code analysis tools
3 years ago
rebuilt bb5f668497 Refactor code based on rubocop and reek suggestions
3 years ago
rebuilt 18b479b8b2 Refactor based on rubocop and reek suggestions
3 years ago
rebuilt ea09fa06b7 Add popup message on admin data exclamation point indicators
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 7c0794f261 Remove old todos
3 years ago
rebuilt 62b6503816 Renamed remove_zeros method to remove_blanks
3 years ago
rebuilt 01d4448fde Refactored score methods
3 years ago
rebuilt fa35a4230c refactor teacher response rate calculator
4 years ago
rebuilt a6ad132c81 Add counter caches
4 years ago
rebuilt c03615cb43 Rename ResponseRate to ResponseRateCalculator. Create a new response
4 years ago
rebuilt 0e9acc7467 Rename response rate to response rate calculator
4 years ago
rebuilt d15e89f37c memoize all functions in measure
4 years ago
rebuilt a769996054 Refactor response rate into response rate calculator
4 years ago
rebuilt 3778aeb1d6 alter logic for insufficiency so that a count of 0 survey item responses is enough to trigger insufficiency
4 years ago
rebuilt ee80867609 memoize functions in measure.rb
4 years ago
rebuilt 50256cacce Create academic year checkbox selectors. Refresh page with years selected on
4 years ago
Nelson Jovel 30c97f4428 Refactor grouped_bar_column_presenter so it calculates the score from
4 years ago
Nelson Jovel 3d7e62f21f Draw the teacher survey data bar. Finishes #182226823
4 years ago
Nelson Jovel a134de3fdd Implement bullet suggestions and cache overview graph
4 years ago
Nelson Jovel 7a9830915b Create grouped bar chart on analyze page
4 years ago
Nelson Jovel 57bfaa51c6 Exclude boston results. Completes #182117456
4 years ago
Nelson Jovel c2e40fed8d Do not count empty survey items in response rate calculations. Fixes #181922483
4 years ago
Nelson Jovel 0b502ce826 When calculating response rate, only take into account survey items with associated responses. Ignore any survey items with no responses. Finishes #181922483
4 years ago
Nelson Jovel c475744939 Modify score calculations. Ignore any survey item scores of 0.
4 years ago
Nelson Jovel 87e6a998b7 Add one-off script to list scales that lack survey responses
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 9ecc501e24 Display measure scores. Finishes #181754978
4 years ago
Nelson Jovel 5a9e8a9b01 Add metadata for 2019-20 year. Finishes #181530277
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
4 years ago
Nelson Jovel c0a8905fba Cap response rate at 100 for both students and teachers
4 years ago
rebuilt 286e74b651 Seed db with surveys to keep track of school, year, and survey type
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
4 years ago
rebuilt 378ea7dda9 Small fix to assignment operator in student response rate
4 years ago
rebuilt 5cccbcdf9b Refactor student_response_rate
4 years ago
rebuilt fcec3de233 Modify collection rate for admin data items. Take into account if a
4 years ago
rebuilt e1f50fef9e Add 2019-20 year teacher surveys and activate the year selector
4 years ago
rebuilt 67d51aff5e Refactor response rate
4 years ago
rebuilt e69f850cc5 Add missing tests. Remove unused code. Filter out legacy specs from code coverage report
4 years ago
rebuilt 3ae0d02462 Cap teacher response rate at 100 percent
4 years ago
rebuilt 2655a36bfc Replace integer devision with float division for accurate response rate calculation
4 years ago
rebuilt f30f359406 Add teacher response 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.
4 years ago
Nelson Jovel 5a8d032dd0 Set up bullet gem. Implement bullet gem suggestions.
4 years ago
Nelson Jovel 3408ecd749 Show benchmark boundaries for subcategories that only include admin data
4 years ago
Nelson Jovel ad03606d66 Add benchmarks to survey and admin data items. Remove them from measures. Modify seeder
4 years ago
Nelson Jovel aeb6a45a45 Show partial data indicators on variance chart
4 years ago
Liam Morley 915a4c1aaf Remove associated survey item responses when we remove schools
4 years ago
Liam Morley aa4ce86eaa Show icon/explanation in measure accordion when a section has insufficient data
4 years ago
Liam Morley 413096dfe2 Extract legacy parts of the codebase into its own module
4 years ago
Liam Morley cf6e80ce6b Show modal when no measures for a school/year have meet their threshold
4 years ago
rebuilt edeb3f4e59 Prevent memory errors by avoiding creating active record objects when
4 years ago
Liam Morley f8523f1e6a Display measure data if student data is sufficient OR teacher data is sufficient
4 years ago
Alex Basson 228cf137ad Finishes #179904795. Adds prompts to measures section on browse page
4 years ago
Liam Morley f5e5abc27e Use public score_for_measure method instead of private 'for_measure' scope
4 years ago
Liam Morley f3c632ea2a Take sufficient data requirements into account when calculating score for subcategory
4 years ago
Liam Morley 882fa84de9 Unify how we sort SQM Categories
4 years ago
Alex Basson fa3241da65 Extract SurveyItemResponse.score_for_subcategory method from SubcategoryPresenter
4 years ago
Alex Basson 2abf2d352a Implement correct policy regarding whether there exist sufficient data for a measure
4 years ago
Alex Basson da6711c571 Rename SurveyItemResponse.score -> .score_for_measure
4 years ago
Alex Basson 07b7561b55 Move score computation into SurveyItemResponse
4 years ago
Alex Basson 10e70557bd Display insufficient data note. TODO: remove measures from variance chart
4 years ago
rebuilt 770ebc580e Updated to rails 6. Passing tests
4 years ago
Liam Morley a406205e20 Completes Sub Categories and Measures for "All " Category Tabs -
4 years ago
Liam Morley 25578a896f we have a gauge! next up, let's style the page
4 years ago
rebuilt d2bdec3d37 Upgrade to rails 5.1.7, coffee-rails 4.2. Remove phantomjs/poltergeist. Remove deprecated call to halt_callback_chains_on_return_false method. Change attribute_was calls to attribute_before_last_save
4 years ago
Alex Basson 98e7f3ce57 Update survey response data load to conform to survey response CSV standard
4 years ago
Alex Basson 587cbbdd3d Add typography and color styles
4 years ago
Alex Basson fd55c7c82a Optimize School lookup by qualtrics code query
4 years ago
Alex Basson c66134e25e Move School and AcademicYear lookup methods into models
4 years ago
Alex Basson f5724407f2 Load teacher survey responses
4 years ago
Alex Basson e222edc7e7 Add academic years as an ActiveRecord object
4 years ago
Alex Basson 12415861c1 Rename construct -> measure, seed with SqmCategories and Subcategories
4 years ago
Alex Basson 643ee8d3a7 Extract bar graph partial
4 years ago
rebuilt 71ad999dd0 Add slug to district
4 years ago
Alex Basson 1782ef3482 Compute the score for a given construct, school, and academic year
4 years ago
Alex Basson 8915cb9d45 Add Item, seed from .csv file
4 years ago
Alex Basson acac8f67b0 Seed db with Professional Qualifications construct
4 years ago
Alex Basson c5bd1a9b3f Create construct graph svg with hard-coded parameters
4 years ago
Jared Cosulich e57fa8f9de don't null out likert value zscores
6 years ago
Jared Cosulich d324d53bd2 year scope for school_questions
6 years ago
Jared Cosulich 2a29b20804 updating school_questions
6 years ago
Jared Cosulich db525ed2d3 fixing bug with merge_into
6 years ago
Jared Cosulich 5902c2787f trying to fix merge_into
6 years ago
Jared Cosulich 1c305d12b5 sync school categories when merging schools
6 years ago
Jared Cosulich 26cb9c5bb3 trying to fix syncing
6 years ago
Jared Cosulich 07d3175761 new boston view
7 years ago
Jared Cosulich 435b91ad4c fixing bug
7 years ago
Jared Cosulich 93b0267dad remove boston admin categories
7 years ago
Jared Cosulich d6ef6cd037 fixing bug with aggregating school categories
7 years ago
Jared Cosulich 9ff4cf0d10 show all categories on school page
7 years ago
Jared Cosulich a0e634c993 fixing merge_into
7 years ago
Jared Cosulich a6385897ff working on 2018 admin data
7 years ago
Jared Cosulich 2dd216ee25 fixing bug with merging schools
7 years ago
Jared Cosulich 075e0afe33 update school_categories after merging schools
7 years ago
Jared Cosulich 1b06552edd fully hiding insufficient data in Boston
7 years ago
Jared Cosulich 819ff49c63 adding SchoolQuestion
7 years ago
Jared Cosulich fd9d2f4a13 new response rate thresholds
7 years ago
Jared Cosulich 4d942258e4 updating category slug order
7 years ago
Jared Cosulich 86899cebb2 fixing merging
7 years ago
Jared Cosulich 1819acd6b4 reverting some temporary stuff
7 years ago
Jared Cosulich 21c66cd27c fixing bug with merge into
7 years ago
Jared Cosulich edfc9f112e fixing import bugs
7 years ago
Jared Cosulich d9b7fd89f2 normalized question text
7 years ago
Jared Cosulich fcf15e9c2f fixing school category order
7 years ago
Jared Cosulich cff7fc81e1 reverting change
7 years ago
Jared Cosulich 31671f3377 working on ordering categories
7 years ago
Jared Cosulich eba821556b filter questions by year
7 years ago
Jared Cosulich 76bdb86211 fixing bugs
7 years ago