-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve how homeroom grades are stored #1693
Comments
It looks like there's a method https://github.com/studentinsights/studentinsights/blob/master/app/models/homeroom.rb#L12 for updating the Homeroom grade but grepping around it seems to me like it's never called. @alexsoble does any of this ring bells for you? No worries if not, I can look more next week. |
@kevinrobinson It's invoked as a hook here:
|
@alexsoble ha okay great thanks! That's what I thought but failed at grepping :) |
This is an issue today, I patched the db manually: step 1, clear data bugs (I did not investigate how or why yet):
step 2, more complicated homerooms that maybe accurate or data bugs:
|
The root problem here is that a homeroom doesn't have a grade in the import, and there are mixed grade homerooms. So the approach in https://github.com/studentinsights/studentinsights/blob/master/app/models/homeroom.rb#L12 won't be accurate over time. I think ideally we'd remove the |
Going to split this out of #1722 and leave it for later this summer. |
Part of #1693.
This came up in feedback from an AP. I was initially assuming this was a small number of classrooms, most of which are substantially separate special education classrooms. I went to confirm that but looks like there's more going on:
So that shows a large fraction of classrooms have some mismatch around grade levels. Spot checking a few, it seems this might be partially an Insights bug.
The text was updated successfully, but these errors were encountered: