Well, `@form` shouldn't be set here, that's from the assignment type weights controller. That can be removed.

We don't have any ajax requests to students#show, do we? That looks like the only case `scores` and `assignments` are used, so a lot of that stuff can be removed.

`@sorted_teams` looks like it was added, that should be removed as well.

If you can fix those and then make sure the page still loads, I'd appreciate it.