Commit graph

955 commits

Author SHA1 Message Date
rebuilt
128748addd 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-18 13:59:29 -07:00
rebuilt
0283f1d0d9 Revert "eliminate space between bottom content and red divider"
This reverts commit 59490faa71.
2023-04-04 17:18:23 -07:00
rebuilt
59490faa71 eliminate space between bottom content and red divider 2023-04-04 17:09:18 -07:00
rebuilt
2305e32f6d Make sure when checking for sufficient gender responses that we only check student survey items 2023-04-04 16:59:39 -07:00
rebuilt
e1c750b8d7 Revert "temporarily turn off caching based on the response rate timestamp"
This reverts commit 1c99f55528.
2023-04-04 13:07:14 -07:00
rebuilt
1c99f55528 temporarily turn off caching based on the response rate timestamp 2023-04-04 10:50:49 -07:00
rebuilt
bc6d2dcaf9 disable puts statement from calculator 2023-04-03 13:11:44 -07:00
rebuilt
b250ebe415 Memoize schools in SurveyItemValues and academic_years in AcademicYear
for performace improvement
2023-03-28 03:38:52 -07:00
rebuilt
c15cb7b483 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-28 03:06:17 -07:00
rebuilt
dcade06ce2 Fix failing tests 2023-03-21 16:16:07 -07:00
rebuilt
308742f619 refactor authentication method 2023-03-21 13:37:50 -07:00
rebuilt
7d387dbe0e add authentication by district 2023-03-21 11:47:19 -07:00
rebuilt
db3e4f1178 Set config variable for SFTP_TO_GO server 2023-03-20 13:05:43 -07:00
rebuilt
e41a90bd9c Change title and add favicon 2023-03-20 12:54:06 -07:00
rebuilt
894cd81c7b Change page title to ECP 2023-03-20 12:52:45 -07:00
rebuilt
7fd98f302d Add favicon and apple-touch-icon 2023-03-20 12:52:25 -07:00
rebuilt
8a9d4d89fe Change HALS dashboard to ECP 2023-03-20 12:50:59 -07:00
rebuilt
bd5c2d6b27 Resize logo 2023-03-20 12:50:40 -07:00
rebuilt
c8ef3b11c9 file must exist so emptying the file to see if the app stops crashing 2023-03-18 13:49:44 -07:00
rebuilt
86e67d3965 Temporarily disable reporting because its crashing production. No data has been seeded and the logs are reporting this class as causing the crash? 2023-03-18 13:46:54 -07:00
rebuilt
5e88c8be1b Transition from Lowell to ECP. Update text and links to reflect the new Organization. 2023-03-16 16:25:09 -07:00
rebuilt
10bf7177e4 Fix icon not showing up on category page 2023-03-16 16:23:17 -07:00
rebuilt
0a5e970ec0 Update image assets 2023-03-16 16:22:36 -07:00
rebuilt
4c4ccc01cc Merge branch 'rpp-response-rate' to bring in changes to test files 2023-03-15 15:00:25 -07:00
rebuilt
eb043f2b2d Add placeholder for testing response rate calculation 2023-03-10 14:50:09 -08:00
rebuilt
99c6c5bd90 Update seeder to use ActiveRecord imports 2023-03-08 11:42:22 -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
rebuilt
2362d884eb Convert admin data loader from using seeder to using factory 2023-03-07 11:12:52 -08:00
rebuilt
d0219217de Convert response rate loader spec from using the seeder to using the factory 2023-03-07 10:35:38 -08:00
rebuilt
06f9d2f0e9 Scrape enrollment and staffing information. Seed enrollment and staffing information. Update DatabaseCleaner so it cleans up leftover information in the database. Remove old admin csvs from codebase. 2023-03-05 16:15:35 -08:00
rebuilt
e6f7d27e0c Implement bullet suggestions for GPS report 2023-03-01 10:53:45 -08:00
rebuilt
b6b88da328 Add all pillars 2023-02-28 19:08:11 -08:00
rebuilt
8128af200b add first pillar 2023-02-28 17:50:21 -08:00
rebuilt
c0332955f3 move csv require statement to application.rb 2023-02-27 15:47:20 -08:00
rebuilt
d9c47dbc4d fix boston usage 2023-02-27 12:48:14 -08:00
rebuilt
045bd15485 Fix boston 2023-02-27 12:47:47 -08:00
rebuilt
cb970895ac Scope doesn't work. Revert to using class method. 2023-02-27 12:39:19 -08:00
rebuilt
bdb9455919 Move raw_response_rate method down to student/teacher classes 2023-02-27 12:36:33 -08:00
rebuilt
5d07f06a65 Add scope for boston 2023-02-27 12:35:44 -08:00
rebuilt
ae6d7151b3 Load student respondent information from enrollment loader 2023-02-27 12:29:16 -08:00
rebuilt
79f7915edf Add scopes to SurveyItem for selecting survey items by grade and
subcategory.   Add notes to student response rate calculator
2023-02-24 00:41:01 -08:00
rebuilt
5e0ba556bf Automatically detect the survey type by grade 2023-02-23 14:20:21 -08:00
Nelson Jovel
cfece47993 document other queries for story 2023-02-23 09:58:35 -08:00
rebuilt
396e8e9008 example queries 2023-02-22 21:26:08 -08:00
rebuilt
984fedff02 Add academic year column to enrollment file. Add enrollment loader to seeder file 2023-02-22 01:12:09 -08:00
rebuilt
52d2676f80 Populate db with grade level data 2023-02-21 16:58:08 -08:00
rebuilt
69c089d9bb Remove occurances of MCIEA 2023-02-13 17:58:27 -08:00
rebuilt
7a5e02eed9 Remove unused method item_descriptions from admin_data_presenter and
student_survey_presenter.
2023-02-13 17:57:07 -08:00
rebuilt
a72fd373dc Remove unused method; item_descriptions 2023-02-13 17:49:38 -08:00