Skip to content

Commit 6b5c57a

Browse files
LLM-based rubric grading updates (#379)
Perhaps Mohit can first review for accuracy and to be sure I haven't missed anything and then Jairo for general doc stuff. Also, Jairo, I added images because I think this doc really needs them but I am having trouble getting sizes right. I would appreciate your advice!
2 parents 80d0358 + 4007f19 commit 6b5c57a

8 files changed

Lines changed: 116 additions & 12 deletions

File tree

136 KB
Loading
76.4 KB
Loading
189 KB
Loading

source/img/guides/rubricprelim.png

158 KB
Loading

source/instructors/authoring/assessments/add-assessment.rst

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,28 @@ Auto-graded assessments
1111
:hidden:
1212

1313
assessments
14-
ai-assessment-generation
15-
student-submission
14+
advanced-code-test
15+
ai-assessment-generation
1616
assessment-security
17-
auto-grade-scripts
18-
parameterized
17+
autograde-free-text
18+
auto-grade-scripts
1919
delete-assessment
20-
edit-assessment
2120
duplicate-assessment
21+
edit-assessment
2222
edit-assessment-points
23-
standard-code-test
24-
advanced-code-test
25-
partial-points
26-
multiple-choice
2723
fill-in-blanks
2824
free-text
29-
autograde-free-text
3025
grade-book
26+
llm-based-rubric
27+
math-assessments
28+
multiple-choice
29+
parameterized
3130
parsons-puzzle
31+
partial-points
3232
random
33-
math-assessments
3433
splice
34+
standard-code-test
35+
student-submission
3536
ungraded-assessments
3637

3738

source/instructors/authoring/assessments/assessments.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
Assessments
77
===========
8-
Assessments can be used to determine how well students understand course material, and can be automatically or manually graded. Codio offers a wide range of assessment types, including autom-graded code tests, multiple choice tests, fill in the blanks, drop-down selection, free text responses and assignment grading. Assessments can be interspersed throughout tutorial materials or stand alone using an :ref:`assignment level script <auto-grade-scripts>`.
8+
Assessments can be used to determine how well students understand course material, and can be automatically or manually graded. Codio offers a wide range of assessment types, including auto-graded code tests, multiple choice tests, fill in the blanks, drop-down selection, free text responses and assignment grading. Assessments can be interspersed throughout tutorial materials or stand alone using an :ref:`assignment level script <auto-grade-scripts>`.
99

1010
You can view the results of assessments in a course from the teacher dashboard.
1111

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
.. meta::
2+
:description: Use an LLM to generate a rubric and grade based on that rubric
3+
4+
.. _llm-based-rubric:
5+
6+
7+
LLM-Based Rubric Grader
8+
=======================
9+
You can find the **LLM Based Rubric** assessment in the **Manually Graded** section of the Assessments tab. More information about adding assessments can be found in our :ref:`assessment documentation <add-assessment>`.
10+
11+
There are three steps to this process.
12+
13+
1. Rubric generation
14+
2. LLM-based grading using the generated rubric
15+
3. Manual approval of LLM-generated grades by the instructor
16+
17+
.. Note:: Step 3 is required - LLM feedback will not be released to the student until the instructor reviews and approves it.
18+
19+
LLM-Based Rubric Creation (Step 1)
20+
----------------------------------
21+
22+
Add an **LLM Based Rubric** assessment to your guide page and follow the steps below.
23+
24+
25+
1. On the **General** page, enter the following information:
26+
27+
- **Name** - Enter a short name that describes the test. This name is displayed in the teacher dashboard so the name should reflect the challenge and thereby be clear when reviewing.
28+
29+
Toggle the **Show Name** setting to hide the name in the challenge text the student sees.
30+
31+
- **Instructions** - Enter text that is shown to the student using optional Markdown formatting.
32+
33+
2. Click **Grading** in the navigation pane and complete the following information:
34+
35+
- Add a solution file (1) if you wish the rubric creation process to consider your solution.
36+
37+
.. image:: /img/guides/llmbasedrubric.png
38+
:height: 600
39+
:alt: Generate a rubric
40+
41+
- Click the **Generate Rubrics** (2) button to initiate the process.
42+
43+
The **Rubric Creation Agent** uses the following items to generate the rubric items:
44+
45+
- The assessment name
46+
- Instructions provided in the **General** tab of the assessment
47+
- Content of the Guide Page where the assessment is being added
48+
- Contents of the provided solution file
49+
- The Course, Module, and Assignment name
50+
- Requirements specified in the Rubric creation tab
51+
52+
.. Note:: If you do not add rubric requirements; the process will use general code grading norms to supply rubric items.
53+
54+
(optional) Add your requirements in the **Rubrics Requirements** dialog:
55+
56+
.. image:: /img/guides/llmrubricreqs.png
57+
:height: 600
58+
:alt: Area to add your rubric requirements
59+
60+
61+
- Once you are done, click **Generate Using AI**.
62+
63+
64+
- You can provide additional rubric items by clicking **Add Rubric** and entering information.
65+
- Once you have reviewed the rubric items and other settings, click **Save** to save the assessment.
66+
67+
68+
LLM Grading Based on the Created Rubric (Step 2)
69+
------------------------------------------------
70+
71+
The LLM Grading agent uses the following to grade the student work:
72+
73+
- Instructions provided in the **General** tab of the assessment
74+
- Contents of the Guide page where the assessment is located
75+
- Contents of the specified solution file
76+
- The student file
77+
- The rubric generated in the previous step to identify the grading criteria
78+
79+
.. Note:: The grading occurs when the student clicks the **Check It** button. The student receives information about whether they have passed or failed each rubric item, but does not see the rest of the LLM-generated feedback until after the instructor conducts their review.
80+
81+
.. image:: /img/guides/rubricprelim.png
82+
:height: 600
83+
:alt: Preliminary grading information displayed to the student
84+
85+
86+
Manual Approval by Instructor (Step 3)
87+
--------------------------------------
88+
The final step involves the instructor opening the student assignment and selecting the passing test cases as part of the :ref:`grading process <grading>`. The instructor can also edit the comments generated by the LLM. Once this process is complete, click on **Apply Grade**. Once the feedback is released to students, it cannot be modified.
89+
90+
.. image:: /img/guides/rubricapproval.png
91+
:height: 600
92+
:alt: The teacher approves each comment generated by the LLM grader
93+
94+
95+
Rubric Requirements Example
96+
---------------------------
97+
98+
.. code-block:: text
99+
100+
Use the following criteria, assigning equal weight to each one.
101+
- Program correctness
102+
- Proper and efficient usage of a dictionary data structure

source/instructors/getstarted/support/changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ We do not report small bug fixes or issues that affect individual users, who we
1919

2020
**May 2025**
2121

22+
- `[F] [23rd]`: Add Ability to :ref:`Grade using an LLM-based rubric grader <llm-based-rubric>`
2223
- `[F] [23rd]`: Add Ability to :ref:`Require all assessments be answered before marking as complete <complete-requires-all-answered>`
2324

2425
**Apr 2025**

0 commit comments

Comments
 (0)