|
| 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 |
0 commit comments