rebuilt
7f0faf8917
Add checkboxes to analyze page for genders
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
f4e2e6ca83
Correct headers for 4D so the data can be correctly imported
3 years ago
rebuilt
9b28b0e629
Add grades to cache list
3 years ago
rebuilt
f9c4ed8880
make sure grade gets updated when loading survey responses
3 years ago
rebuilt
89a7f27b88
Finishes #183092367 . Adds ui and graphs to show grade level disaggregations
3 years ago
Nelson Jovel
6ed405d16d
Update student csvs
3 years ago
rebuilt
dd9ed86dcd
Merge branch 'scrapers'
3 years ago
rebuilt
f556844b73
Update a-sust-i1 so it's only applicable to high schools and lower
...
benchmark for a-cure-i1 from 6.7 to 5 percent.
3 years ago
rebuilt
9e82023e48
Make sure we don't divide by 0
3 years ago
rebuilt
1a984d2cf0
Make sure we don't divide by 0
3 years ago
rebuilt
3ee909bbea
Update 3B-2 with an absolute floor
3 years ago
rebuilt
1be6e79fd8
Add scrapers for admin data and their corresponding csv files of data.
...
Make sure specs are off so they don't run in github CI
3 years ago
rebuilt
9e18bf2151
Turn off specs for scrapers. Generate csvs for scraped data
3 years ago
rebuilt
75cea539c5
Change scraped csv file names from word to number format 'one_a_one.csv'
...
-> '1A_1.csv''
3 years ago
rebuilt
3e28be2d0d
Remove 'scraper' from file/class names add 3B-1
3 years ago
rebuilt
83ef9310a4
Add scraper for 3A-1 and 2C-1. Finishes #183105787 and #183105716
3 years ago
rebuilt
b5bc9c9de4
Add 2A-i admin data. Finishes #183105627
3 years ago
rebuilt
459393381b
Load admin data for 1A-iii. Finishes #183105516
3 years ago
rebuilt
f783ce9724
add one-a
3 years ago
rebuilt
048aacd641
Add admin data for 4D. Finishes #182818489 and #182793402
3 years ago
rebuilt
1e349519bc
Update framework. Remove/Add admin data items. Finishes #182819940
3 years ago
rebuilt
043f6de8e7
Prefer using over uniq so the filtering happens in sql
3 years ago
rebuilt
30eae881f3
Load correct column for 2021-22 year
3 years ago
rebuilt
bc63dfab7e
add one_off scripts for each academic year
3 years ago
rebuilt
3fcab58557
Do not erase all students when loading each file
3 years ago
rebuilt
3f493727b3
Load a single year of student demographic data and race scores at a time
3 years ago
rebuilt
4a32ea3332
Reduce memory use in race score loader
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
42e150b33b
Update caching rule so a race_score with an updated timestamp will break the cache
3 years ago
rebuilt
58f5b01471
Use less memory when loading race scores
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
e2bded66e8
Disable checkboxes that are irrelevant for the graph type
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
3f2279e2e8
Position multi-word analyze graph labels horizontally
3 years ago
rebuilt
35d650c3a4
stagger bar labels
3 years ago
rebuilt
50b3bc678c
Columns for students by group graph change when corresponding race checkboxes are clicked
3 years ago
rebuilt
e8f4773c65
Shorten graph labels
3 years ago
rebuilt
3775762ed4
Add caching rules so page displays all analysis graphs
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
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
8c7767d0b9
fix bug where wrong subcategory is selected
3 years ago
rebuilt
2e648d8ad0
fix bug where wrong category was selected
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
fc853c4fbc
Fix regression where we accidentally list the questions for measure 1B-i
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
7e5b235668
Print out invalid values when loading admin data
3 years ago
rebuilt
62b6503816
Renamed remove_zeros method to remove_blanks
3 years ago
rebuilt
01d4448fde
Refactored score methods
3 years ago
rebuilt
64be45217f
Change caching rules to make sure cache is invalidated when response
...
rates are recalculated
3 years ago
rebuilt
fa35a4230c
refactor teacher response rate calculator
4 years ago
rebuilt
7fcf580591
Load survey responses for revere somerville and wareham for the 2021-22 academic year
4 years ago
rebuilt
5a9e8b3586
Detect the latest year for which a school has data and select that year
...
when routing from welcome page.
4 years ago
rebuilt
a1689a3550
Switch the logic of empty dataset detection from none? to any?
4 years ago
rebuilt
0dc99486f8
remove async queries
4 years ago
rebuilt
0593f53fb4
Add async queries
4 years ago
rebuilt
a6ad132c81
Add counter caches
4 years ago
rebuilt
c03615cb43
Rename ResponseRate to ResponseRateCalculator. Create a new response
...
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
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
...
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
ee80867609
memoize functions in measure.rb
4 years ago
rebuilt
1155f74ca9
Set a minimum bar height for analyze graphs
4 years ago
rebuilt
cb3499de64
Fix failing test
4 years ago
rebuilt
6f8fc293f3
Rename 'All survey data' label to 'All data'
4 years ago
rebuilt
c63e1ebd8e
Add 2021-22 winchester student and teacher surveys. Finishes #182376738
4 years ago
rebuilt
e8f3109df9
Disable checkboxes for years that don't have data to show. Add exclamation icon with explanatory text. Finishes #182332983
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
8efaf8514d
Extract student and teacher presenters from grouped_bar_column_presenter
4 years ago
Nelson Jovel
08c84c8321
make sure selected academic year gets populated correctly
4 years ago
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
4 years ago
Nelson Jovel
607b91c795
Change the dropdown handler event to behave differently on other browsers
4 years ago
Nelson Jovel
f68e8a8c2b
Don't show scores in production
4 years ago
Nelson Jovel
143e0237e4
Handle case when category is nil in analyzecontroller
4 years ago
Nelson Jovel
6764024cd2
Show subcategory data when user selects different subcategory from
...
analyze dropdown. Finishes #182277850
4 years ago
Nelson Jovel
61978eb45d
Change which category is displayed when the category dropdown is changed
...
on the analyze page. Finishes #182277818
4 years ago
Nelson Jovel
a04f797f30
Add all measures for a given subcategory to the analyze page. Finishes #182277762
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
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
d7b0fe0e36
Add attleboro survey item responses for 2021-22. Finishes #182215755
4 years ago
Nelson Jovel
4952849d96
Prevent negative admin data values from being imported
4 years ago
Nelson Jovel
8c7c73bc72
From the analyze page, selecting a different school should not navigate
...
away from analyze page. Finishes story #182178876
4 years ago
Nelson Jovel
cb5fe56c30
Create analyze page. Finishes #182097292
4 years ago
Nelson Jovel
57bfaa51c6
Exclude boston results. Completes #182117456
4 years ago
Nelson Jovel
32dbe4080f
Modify message indicating lack of data for a school
4 years ago
Nelson Jovel
9c5e7554f1
Only show numerical scores if environment variable SCORES=SHOW
4 years ago
Nelson Jovel
8450a715e7
Show scores for beta
4 years ago
Nelson Jovel
c2e40fed8d
Do not count empty survey items in response rate calculations. Fixes #181922483
4 years ago
Nelson Jovel
15431b09bb
Do not display actual scores
4 years ago
Nelson Jovel
cbc8ba59ba
remove authentication check. Finishes #181920761
4 years ago
Nelson Jovel
c49dee0a63
Do not show question prompts for measure 1B-1. Finishes #181921933
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.
...
Never include zero when performing calculations for scores.
4 years ago
Nelson Jovel
2d945fb696
Print a message when a survey item response is rejected from database import due to an invalid likert score
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
448e883f39
Add new csv for student and teacher metadata. Finishes #181530310
4 years ago
Nelson Jovel
6f629e2feb
Add survey responses from 2016 through 2018. Finishes #181255948
4 years ago
Nelson Jovel
897284a2be
Modify quality framework indicator links so that the target of the link gets centered when navigating to it
4 years ago
Nelson Jovel
101c252896
Import survey item responses based on DESE ID instead of qualtrics school code. Finishes #181704978
4 years ago
Nelson Jovel
78fb737f5a
Make measure titles clickable on the variance chart
4 years ago
Nelson Jovel
bf8b824ab8
Add links to subcategories from overview page framework indicator
...
section. Finishes #181681266
4 years ago
Nelson Jovel
5a9e8a9b01
Add metadata for 2019-20 year. Finishes #181530277
4 years ago
Nelson Jovel
36da912253
Modify survey item response csv files for 2019-20 to correct incorrect likert scores
4 years ago
Nelson Jovel
c98c0f1e30
Add metadata for 2019-2020 school 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
...
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
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
...
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
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
...
school is a high school and if the admin data item is for high schools
only. Finishes: #181154375 .
4 years ago
rebuilt
48581b990a
Install and configure stimulus and turbo
4 years ago
rebuilt
8ce50c45c8
Change admin data response rate from 0/0 to N/A
4 years ago
rebuilt
54f4cee3fa
Show score temporarily
4 years ago
rebuilt
e1f50fef9e
Add 2019-20 year teacher surveys and activate the year selector
4 years ago
rebuilt
ad14563460
Browse page displays the admin data collection rate
4 years ago
rebuilt
67d51aff5e
Refactor response rate
4 years ago
rebuilt
0c5fbea203
Remove survey_rake_spec from the simplecov reports. Also remove some dead code from variance_helper
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
b111b2f106
Bump rails to 7 and get tests passing. Also modified rakefile so rake
...
command would continue to run rspec as the default command. Added
stylesheets to assets.rb so they'll be included when precompiling
assets in production.
4 years ago
Nelson Jovel
c1622ddc32
Moved overview file to partials folder
4 years ago
Nelson Jovel
64054d8ffa
moved partials into folders
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
Nelson Jovel
3408ecd749
Show benchmark boundaries for subcategories that only include admin data
4 years ago
Nelson Jovel
d2c2eb8994
Refactored guage graph and presenter to make variable names clearer
4 years ago
Nelson Jovel
03a63cb568
Add zone boundary legends to gauge graph.
4 years ago
Nelson Jovel
ad03606d66
Add benchmarks to survey and admin data items. Remove them from measures. Modify seeder
...
Calculate benchmarks for measures based on a weighted average of survey
and admin data items
Added architectural records
4 years ago
Nelson Jovel
1a6c81e240
remove fontawesome symlinked directory from public folder
4 years ago
Nelson Jovel
8bebf106e6
Merge branch 'dev-design'
4 years ago
Nelson Jovel
6931428d8f
Make measure name responsive
4 years ago
Nelson Jovel
70e8fafc35
Categories, Subcategories, and Measures are ordered by thier ids
4 years ago
Nelson Jovel
eb4c699f60
Modifies the overview page so when there is an empty dataset, there is clearer explanatory text and an empty version of the variance chart. Finishes #180118088
4 years ago
Nelson Jovel
f553c3c11c
Rename 'Dashboard' to overview in page text and also modify 'dashboard' routes to be 'overview'. Finishes #180076071
4 years ago
Nelson Jovel
2753888f11
Add category, subcategory and measure ids to the page. Finishes #179986325
4 years ago
Nelson Jovel
cacc853518
Adds category short description to database and renders descriptions in
...
their corresponding locations to the site. Finishes #180090033 .
4 years ago
Nelson Jovel
243ec39b5d
Sort schools alphabetically. Finishes #180280546
4 years ago
Nelson Jovel
bde992c96b
Finishes #180264854 . Prevents empty dataset modal from displaying on browse page
4 years ago
Liam Morley
b45dca7a5a
Remove text regarding school years from empty dataset modal
4 years ago
Liam Morley
0af26e25f2
Display gauges with no benchmarks as "Insufficient Data" with no key benchmark indicator
4 years ago
Nelson Jovel
aeb6a45a45
Show partial data indicators on variance chart
4 years ago
Liam Morley
eff22d2ac8
Report that admin data is not included
4 years ago
Liam Morley
6aa9f00adc
Revert "Tie legacy analytics ID to environment"
...
This reverts commit 3e15194eff .
This will allow monitoring the new experience analytics to not be tampered by the
legacy analytics.
4 years ago
Liam Morley
65ee27742a
Perform single lookup for survey items rather than n lookups
4 years ago
Liam Morley
557109662c
Move legacy layouts into a legacy folder
4 years ago
Liam Morley
6477792f1d
Improve efficiency when checking whether survey item responses already exist
...
- see https://semaphoreci.com/blog/2017/03/14/faster-rails-how-to-check-if-a-record-exists.html for more info if curious
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
75c3a1fccc
Remove old schools during the seed process
4 years ago
Liam Morley
f81874d082
Externalize Hotjar tracking code to an environment variable
4 years ago
Liam Morley
f6e6fb2b2d
Add Hotjar tracking code to home and dashboard/browse layouts
4 years ago
Liam Morley
ce892161a4
Remove type from script element
...
- type, if present, should be a JavaScript MIME type, e.g. application/javascript https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#attr-type
4 years ago
Liam Morley
3e15194eff
Tie legacy analytics ID to environment
4 years ago
Liam Morley
48f2d64c71
Extract Google Analytics ID out to an environment variable
...
TODO- in the future, consider putting this in a credential. We're not able to change the production credentials file currently, but we should change it in the future when we're able
4 years ago
Liam Morley
1186579d1b
Add migration to make DESE IDs unique, update one-off script accordingly
4 years ago
Liam Morley
293de8698f
Restore white half of 'watch' harvey ball
4 years ago
rebuilt
221f0cb0bf
Replace harvey balls with new SVGs
4 years ago
rebuilt
b5badfaef5
Add DESE ID to schools
...
- Add migration
- Create one-off script `rake one_off:add_dese_ids` to add the DESE ID to schools
- Update seeder to seed schools based on DESE IDs
4 years ago
rebuilt
917d6821c5
Add css bundling (again!)
4 years ago
Liam Morley
1be86721b0
Always reference fully-qualified School/District/Category in controllers
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
...
not necessary.
4 years ago
Liam Morley
f8523f1e6a
Display measure data if student data is sufficient OR teacher data is sufficient
4 years ago
rebuilt
856cce7c1a
Style accordions
4 years ago
Liam Morley
556ff45117
Seed categories/subcategories based on their ID instead of their name
4 years ago
Liam Morley
516e0a95db
Update category name/slug in seeder
4 years ago
rebuilt
39539f6289
Fix alignment of tab bars
4 years ago
rebuilt
13469f60bd
Add styling changes. Change focus state color for select elements. Change wording of about MCIEA section
4 years ago
rebuilt
722947d938
When there is insufficient data to display gauge graph, change title of
...
graph to insufficient Data
4 years ago
rebuilt
d850674ff1
Style focus states, margin for logo, popover borders, accordions
4 years ago
rebuilt
7461377066
Makes sure that subcategory displays all measures
4 years ago