Commit graph

971 commits

Author SHA1 Message Date
rebuilt
1a27b980d0 Round all averages to two decimal places 2023-05-12 13:13:20 -07:00
rebuilt
9f21a76ba4 Fix response rates for small schools by accounting for expected minimum counts of responses less than 10 2023-05-12 12:34:42 -07:00
rebuilt
7c800255c3 update ship it to use 'yarn jest' instead of 'yarn test' so javascript test will run correctly 2023-05-01 10:26:51 -07:00
rebuilt
56fb6abd2c Don't seed surveys when seeding lowell info 2023-04-22 11:35:04 -07:00
rebuilt
c33c00b845 Rename DataAvailability to Summary 2023-04-22 10:44:06 -07:00
rebuilt
0bd70ca452 Remove surveys table from codebase since it's no longer needed after changing logic surrounding response rates and score calculations 2023-04-22 10:36:00 -07:00
rebuilt
2e0d266434 Calculate response rate on the fly instead of looking it up from the db
when calculating response rates.
2023-04-22 10:35:50 -07:00
rebuilt
df8eb465d5 Add updated admin data 2023-04-22 10:35:34 -07:00
rebuilt
654bb7df08 Remove unused filename 2023-04-22 10:35:19 -07:00
rebuilt
9511515c22 Add older admin data file archive 2023-04-22 10:35:10 -07:00
rebuilt
91bacfeb13 Fix ThreeATwo scraper 2023-04-19 19:19:47 -07:00
rebuilt
aa3a67406b Set a minimum threshold of 10 survey item responses to calculate scores per survey item 2023-04-17 15:18:10 -07:00
rebuilt
d888cdff3a add oneoff for deleting invalid survey item responses 2023-04-16 14:55:12 -07:00
rebuilt
c14960517b rename counts_by_grade method to the more descriptive enrollment_by_grade 2023-04-14 13:37:23 -07:00
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
2023-04-08 10:59:48 -07:00
rebuilt
ba018e8f10 specify which unknown class to use 2023-04-08 10:55:09 -07:00
rebuilt
6fb65ddeaf Add tests to make sure teacher survey items don't pollute the graphs for
students of unknown genders
2023-04-05 16:21:16 -07:00
rebuilt
2c21a09231 Add tests to make sure teacher survey items don't pollute the graphs for
students of unknown genders
2023-04-05 15:45:32 -07:00
rebuilt
6764f31cbb Make sure when checking for sufficient gender responses that we only check student survey items 2023-04-04 17:03:24 -07:00
rebuilt
8bd65d367b make sure spec tests what it's supposed to test; that the value of the responses gets updated when a new information is loaded from another csv 2023-03-29 16:24:56 -07:00
rebuilt
04f0abde55 Add commas to try to trigger a build for mciea-main and rpp-main on push 2023-03-29 15:56:24 -07:00
rebuilt
05bff3ee89 Memoize schools in SurveyItemValues and academic_years in AcademicYear
for performace improvement
2023-03-29 15:47:20 -07:00
rebuilt
282a671531 Change survey data loader spec to use factorybot objects instead of loading seeds. Change databasecleaner to use transaction. Add back babel-preset dependency to fix failing javascript test in production. 2023-03-29 15:45:48 -07:00
rebuilt
caeda61ae1
Update build-and-test.yml
add all main branches to workflow
2023-03-23 13:55:48 -07:00
rebuilt
257f0a8089 make sure github actions run when rpp-main branch is pushed 2023-03-23 13:32:18 -07:00
rebuilt
36a6d93628 Capitalize 'data' in analyze graph. Remove the word 'admin' from data
sources count on browse page
2023-03-23 13:15:46 -07:00
rebuilt
319685c7d8 remove admin from text under the count of admin data sources 2023-03-23 13:09:25 -07:00
rebuilt
4908840eb8 Remove standard from gemfile 2023-03-23 13:02:35 -07:00
rebuilt
310829514e Remove redundant DatabaseCleaner config setup 2023-03-22 17:07:07 -07:00
rebuilt
9eddaf3d62 Bump gem versions 2023-03-22 17:06:37 -07:00
rebuilt
2e033eb919 Update esbuild version
builds directory needs to exist.  Remove redundant line from gitignore
remove unused babel imports
2023-03-22 17:00:53 -07:00
rebuilt
4a2e9c0a36 Update rack and rack-test 2023-03-22 16:57:35 -07:00
rebuilt
e37bec083f Fix icon not showing up on category page 2023-03-22 16:54:53 -07:00
rebuilt
825259bdd8 Merge branch 'rpp-response-rate' into rpp-main to bring in improvements
to how we get enrollment and staffing information.  Also speed up tests
2023-03-22 16:52:55 -07:00
rebuilt
c6651551b8 Merge branch 'rpp-rename-admin-data' into rpp-main to rename the admin
data to school data
2023-03-22 16:49:05 -07:00
rebuilt
1595c3a58c rename admin data to school data 2023-03-22 16:48:38 -07:00
rebuilt
cc0300b4c4 remove babel because we don't use it anymore 2023-03-22 08:22:07 -07:00
rebuilt
25f839e728 Add favicon 2023-03-21 15:13:01 -07:00
rebuilt
3395126cd4 Update ruby version 2023-03-10 16:12:51 -08:00
rebuilt
eb043f2b2d Add placeholder for testing response rate calculation 2023-03-10 14:50:09 -08:00
rebuilt
417a3523ec Remove guard from procfile since its hard to read server console messages 2023-03-08 11:45:43 -08:00
rebuilt
99c6c5bd90 Update seeder to use ActiveRecord imports 2023-03-08 11:42:22 -08:00
rebuilt
124d35d8db Add automated test running to development procfile 2023-03-08 05:05:43 -08:00
rebuilt
6a435fa570 Add guard-rspec to automate running tests with the command: bundle exec guard 2023-03-08 04:59:08 -08:00
rebuilt
6b31fa9115 Batch imports for staffing data 2023-03-08 04:51:15 -08:00
rebuilt
d059177f0c load total students and batch importing records 2023-03-08 04:48:25 -08:00
Nelson Jovel
bfa5f28d7b Convert dese::loader from using seeder to factories 2023-03-07 22:38:52 -08:00
Nelson Jovel
7a7b78a9e0 convert student loader from seeding to factories 2023-03-07 22:09:58 -08:00
rebuilt
2cf2b7d7c1 turn off some slow tests that don't add value 2023-03-07 19:16:22 -08:00
rebuilt
2362d884eb Convert admin data loader from using seeder to using factory 2023-03-07 11:12:52 -08:00