-
Notifications
You must be signed in to change notification settings - Fork 87
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
Rubric Generator Expedition - Silicone Sages #110
base: STAGING
Are you sure you want to change the base?
Rubric Generator Expedition - Silicone Sages #110
Conversation
Code implementation of the API and Schema looks solid :) The hyperparameters were implemented well It does match the criteria on PDF documents Pytest test cases were implemented well tool utilities and routing of app is good |
Any feedback from you with regard to Abir implementation and test cases |
@yunusj I've refactored the Rubric Generator moving the document loaders to a global utils folder for better reusability. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Response needs to be JSON instead of file download as our frontend displays the JSON in editable document viewer
Hey @yunusj, I've refactored the PR in order to return a JSON instead of a file download |
Summary
This Pull Request is for the Rubric Generator expedition, a new feature added to the Marvel-AI that allows educators to generate a customized rubric for an assignment based on the learning standard, point_scale and grade level specified. Moreover, educators can download the generated rubric as a pdf document.
In this PR we are using the extended file support (document loaders) that was created in epic 7.1 so educators can upload an assignment in a wide range of file type/format in order to generate the corresponding rubric.
Changes
Testing
Results
The result is a downloadable pdf document that contain the rubric generated in a table template.
rubric.pdf
Notes
First, the LLM generates the rubric in JSON format. Next, we create a LaTeX document and insert the rubric into a table template. Finally, the LaTeX document is compiled into a PDF file.
The max number for the point scale is set to 8, the suggested value is 4 for optimal granularity in grading and to better fit in the generated rubric table template in the pdf document.
A feedback is added to the generated pdf document; this is an evaluation of the rubric created by the LLM for more assistance for the educators.
Request interface
Schema:
Example:
Response interface
Schema:
Example:
rubric-47.pdf