Skip to content

Conversation

@Prismly
Copy link

@Prismly Prismly commented Dec 2, 2025

This PR aims to complete the following user story:

As an owner of an assignment (Instructor, Admin, etc.), I can view all reviews filled out by a particular participant for an assignment I own. Responses are sorted by round of review and by rubric, arranged in tables. One column each is dedicated to displaying the answers provided for responses for the same rubric.

For this purpose, the grades_controller.rb controller has been expanded to include a new GET endpoint, called get_review_tableau_data. Please see the E2563 wiki page for a more detailed writeup of the implementation in this PR, from both back end and front end perspectives.

Please also see the corresponding front end pull request for the accompanying front end view required to see the output of the endpoint displayed.

- This allows the review tableau to display scores (previously no scores were retrieved, to be looked into)
- Added a new API endpoint, get_review_tableau_data, which retrieves the specific answers and comments made by a given reviewer across all reviews they filled out for a given assignment.
- get_review_tableau_data now additionally returns participant and assignment information, past just ids. Notably, this is used to display the username of the student on the review tableau page
- Question type strings are now reported on a per-Item basis.
@github-actions
Copy link

github-actions bot commented Dec 2, 2025

2 Warnings
⚠️ Pull request has duplicated commit messages.
⚠️ Pull request contains TODO or FIXME comments.

Generated by 🚫 Danger

Prismly and others added 9 commits December 2, 2025 17:09
- This is to account for responses sharing a mapping id (in case they do that)
Added a string conversion for an integer being used for an sql query.
- get_review_tableau_data now has support for varying min/max answer scores (for different scales)
Add rspec test cases for the new review tablaeu endpoint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants