Skip to content

added LLM-based rubric auto-grade#426

Merged
shajason merged 6 commits intomasterfrom
llmauto
Oct 27, 2025
Merged

added LLM-based rubric auto-grade#426
shajason merged 6 commits intomasterfrom
llmauto

Conversation

@shajason
Copy link
Collaborator

@shajason shajason commented Oct 27, 2025

Please hold off on reviewing until I am done with the coderabbit comments.

Summary by CodeRabbit

  • Documentation

    • Clarified assessment creation step text to “Fill the appropriate fields and click Create.”
    • Expanded assessment auto-generation options to include Standard Code Test, Multiple Choice, Fill in the Blanks, Free Text, and Parsons Puzzle.
    • Split LLM rubric docs into two workflows (LLM Rubric Autograde and LLM Rubric), added step-by-step flows, manual-approval step, updated sample views/images, and revised rubric requirements wording.
  • Changelog

    • Added entry announcing LLM-based rubric autograde feature.

@shajason shajason requested a review from LolaValente October 27, 2025 17:03
@coderabbitai
Copy link

coderabbitai bot commented Oct 27, 2025

Walkthrough

This pull request updates LLM-based rubric assessment documentation to separate two variants (LLM Rubric Autograde and LLM Rubric), refines add-assessment instructions (including adding Standard Code Test and Parsons Puzzle to auto-generation list), and adds an October 2025 changelog entry for the auto-grade feature.

Changes

Cohort / File(s) Summary
LLM Rubric Documentation Updates
source/instructors/authoring/assessments/llm-based-rubric.rst
Splits prior single LLM-based rubric flow into two variants (Auto-Graded "LLM Rubric Autograde" and Manually-Graded "LLM Rubric"); moves and relabels Step 3 to a Manual Approval section; updates Step 1 wording to allow adding either variant, renames "Rubrics Requirements" → "Rubric Requirements", rephrases Step 2 grading trigger, adds example auto-graded feedback block, and updates/adds images and alt text.
Assessment Authoring Reference Updates
source/instructors/authoring/assessments/add-assessment.rst
Changes Step 3 text to "Fill the appropriate fields and click Create.", expands Assessment Auto-Generation list to include Standard Code Test and Parsons Puzzle, adjusts punctuation, and adds a reference to the new LLM rubric topics.
Changelog Entry
source/instructors/getstarted/support/changelog.rst
Adds an October 2025 changelog item announcing the ability to auto-grade using an LLM-based rubric grader (links to the new rubric topic).

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

  • Verify the dual-variant structure in source/instructors/authoring/assessments/llm-based-rubric.rst for logical flow and correct ordering of Auto-Graded vs Manually-Graded sections.
  • Confirm new and updated images (rubricfinal.png, rubricprelim.png, rubricapproval.png) and their alt text/indentation render correctly in the built docs.
  • Check cross-reference targets (:ref:) from add-assessment.rst and changelog.rst resolve to the intended rubric topics.
  • Ensure consistent terminology: "LLM Rubric", "LLM Rubric Autograde", and removal of legacy "LLM Based Rubric" phrasing.

Suggested reviewers

  • LolaValente
  • jairovelasquez

Pre-merge checks

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title "added LLM-based rubric auto-grade" is directly related to the main objective of this pull request. The primary changes involve adding auto-grading capability to LLM-based rubrics, as evidenced by the restructured llm-based-rubric.rst documentation, the introduction of the "LLM Rubric Autograde" workflow, and the October 2025 changelog entry explicitly stating "Add Ability to Auto-Grade using an LLM-based rubric grader." The title is clear, concise, and accurately summarizes the key feature being introduced without unnecessary noise.

📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 3bd9065 and 62d8fdf.

📒 Files selected for processing (1)
  • source/instructors/authoring/assessments/llm-based-rubric.rst (2 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**/*.rst

⚙️ CodeRabbit configuration file

**/*.rst: Review files for:

  • Consistent formatting (e.g., headings, lists, links).
  • Clear and concise language.
  • Correct grammar and spelling.
  • Proper use of rst syntax (e.g., avoid broken links or invalid code blocks).
  • Adherence to style guides (e.g., consistent tone, terminology).
    Suggest improvements to enhance readability and accessibility.

Files:

  • source/instructors/authoring/assessments/llm-based-rubric.rst
🧠 Learnings (1)
📚 Learning: 2025-10-27T17:55:37.091Z
Learnt from: LolaValente
PR: codio/knowledge#426
File: source/instructors/authoring/assessments/llm-based-rubric.rst:61-61
Timestamp: 2025-10-27T17:55:37.091Z
Learning: In rst files for the Codio knowledge repository, image directive attributes (`:height:`, `:alt:`, etc.) should be indented with 3 spaces, not 4. Content following an image directive should not be indented unless it's intentionally part of that directive.

Applied to files:

  • source/instructors/authoring/assessments/llm-based-rubric.rst
🔇 Additional comments (1)
source/instructors/authoring/assessments/llm-based-rubric.rst (1)

44-46: Fix image directive indentation: use 3 spaces instead of 4.

Multiple image directives use 4-space indentation for attributes, violating the repository standard of 3-space indentation documented in learnings. This affects all image directives in the file.

Apply this diff to correct all image directive indentations:

  .. image:: /img/guides/llmbasedrubric.png
-    :height: 600
-    :alt: Generate a rubric
+   :height: 600
+   :alt: Generate a rubric

  .. image:: /img/guides/llmrubricreqs.png
-    :height: 600
-    :alt: Area to add your rubric requirements
+   :height: 600
+   :alt: Area to add your rubric requirements

  .. image:: /img/guides/rubricfinal.png
-    :height: 600
-    :alt: Final grading information displayed to the student
+   :height: 600
+   :alt: Final grading information displayed to the student

  .. image:: /img/guides/rubricprelim.png
-    :height: 600
-    :alt: Preliminary grading information displayed to the student
+   :height: 600
+   :alt: Preliminary grading information displayed to the student

  .. image:: /img/guides/rubricapproval.png
-    :height: 600
-    :alt: Instructor view of LLM-generated feedback for approval
+   :height: 600
+   :alt: Instructor view of LLM-generated feedback for approval

Based on learnings from LolaValente regarding RST formatting standards in this repository.

Also applies to: 63-65, 86-88, 98-100, 108-110

⛔ Skipped due to learnings
Learnt from: LolaValente
PR: codio/knowledge#426
File: source/instructors/authoring/assessments/llm-based-rubric.rst:61-61
Timestamp: 2025-10-27T17:55:37.091Z
Learning: In rst files for the Codio knowledge repository, image directive attributes (`:height:`, `:alt:`, etc.) should be indented with 3 spaces, not 4. Content following an image directive should not be indented unless it's intentionally part of that directive.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between da6a947 and e0c2e32.

⛔ Files ignored due to path filters (2)
  • source/img/guides/add_assessment.png is excluded by !**/*.png, !**/*.png
  • source/img/guides/rubricfinal.png is excluded by !**/*.png, !**/*.png
📒 Files selected for processing (3)
  • source/instructors/authoring/assessments/add-assessment.rst (2 hunks)
  • source/instructors/authoring/assessments/llm-based-rubric.rst (4 hunks)
  • source/instructors/getstarted/support/changelog.rst (1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**/*.rst

⚙️ CodeRabbit configuration file

**/*.rst: Review files for:

  • Consistent formatting (e.g., headings, lists, links).
  • Clear and concise language.
  • Correct grammar and spelling.
  • Proper use of rst syntax (e.g., avoid broken links or invalid code blocks).
  • Adherence to style guides (e.g., consistent tone, terminology).
    Suggest improvements to enhance readability and accessibility.

Files:

  • source/instructors/authoring/assessments/add-assessment.rst
  • source/instructors/authoring/assessments/llm-based-rubric.rst
  • source/instructors/getstarted/support/changelog.rst
🔇 Additional comments (8)
source/instructors/getstarted/support/changelog.rst (1)

21-21: ✓ Changelog entry properly captures the new auto-grade feature.

The October 2025 entry correctly distinguishes this feature from the May 2025 manual grading feature by using "Auto-Grade" terminology. The reference target aligns with the updated documentation structure.

source/instructors/authoring/assessments/llm-based-rubric.rst (5)

10-22: ✓ Clear introduction distinguishing the two assessment variants.

The updated introduction effectively communicates the differences between auto-graded and manually-graded versions, with appropriate cross-references to the assessment menu locations and clear guidance on when Step 3 applies.


26-66: ✓ Step 1 structure and image references are properly formatted.

Heading hierarchy, indentation, and image block markup (height, alt-text) follow RST conventions and maintain consistency with the rest of the documentation.


75-91: ✓ Step 2 structure and grading trigger description are clear and well-formatted.

The explanation of the grading process, button reference, and sample feedback image are appropriately organized. Image metadata (height, alt-text) is complete.


93-110: ✓ Step 3 structure and role-based workflow description are well-organized.

The manual approval section uses proper RST directive formatting, includes clear guidance on instructor actions, and emphasizes the irreversibility of released feedback. Image references are complete with descriptive alt-text.


114-120: ✓ Rubric requirements example follows proper RST code-block syntax.

The example is clearly formatted and provides useful guidance for instructors defining rubric criteria.

source/instructors/authoring/assessments/add-assessment.rst (2)

50-50: ✓ Step 3 instruction is clear and actionable.

The instruction effectively guides users to complete required fields before creating the assessment. Current phrasing is appropriate for technical documentation.


71-71: ✓ LLM rubric cross-reference properly added to assessment topics list.

The new reference follows established RST syntax conventions, uses the correct target anchor, and is appropriately positioned within the assessment types list. This aligns with the updated documentation structure.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between e0c2e32 and 8d8442d.

📒 Files selected for processing (2)
  • source/instructors/authoring/assessments/add-assessment.rst (2 hunks)
  • source/instructors/authoring/assessments/llm-based-rubric.rst (4 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**/*.rst

⚙️ CodeRabbit configuration file

**/*.rst: Review files for:

  • Consistent formatting (e.g., headings, lists, links).
  • Clear and concise language.
  • Correct grammar and spelling.
  • Proper use of rst syntax (e.g., avoid broken links or invalid code blocks).
  • Adherence to style guides (e.g., consistent tone, terminology).
    Suggest improvements to enhance readability and accessibility.

Files:

  • source/instructors/authoring/assessments/add-assessment.rst
  • source/instructors/authoring/assessments/llm-based-rubric.rst
🔇 Additional comments (8)
source/instructors/authoring/assessments/add-assessment.rst (3)

50-50: Enhancement improves instructional clarity.

Updating Step 3 from "Click Create." to "Fill the appropriate fields and click Create." provides clearer guidance to users about the required actions.


57-57: Double-comma issue resolved; list formatting is now correct.

The assessment auto-generation list properly enumerates all assessment types with correct punctuation and spacing. The previously flagged double-comma syntax error has been successfully fixed.


71-71: New reference maintains consistent formatting with existing list.

The addition of the LLM Rubric reference follows the established RST :ref: pattern and integrates seamlessly with the existing assessment type references.

source/instructors/authoring/assessments/llm-based-rubric.rst (5)

10-13: Clear introduction effectively distinguishes the two assessment variants.

The restructured introduction and menu location clarification help users immediately understand there are two distinct workflows and where to find each in the interface.


15-22: Improved structure with clear step organization and helpful note.

Delineating the shared steps (1–2) and explicitly noting that Step 3 applies only to the manually-graded version eliminates ambiguity and guides users to the relevant sections.


61-61: Terminology corrected: "Rubric Requirements" (singular form) is now accurate.

The plural form "Rubrics Requirements" has been successfully changed to the correct singular "Rubric Requirements," improving grammatical accuracy and consistency with standard terminology.


93-105: New Step 3 section is well-structured with clear instructor guidance.

The manual approval section now explicitly documents the instructor workflow, including grading process integration, comment editing, and grade application. The note at line 95 effectively clarifies when this step applies.


114-121: New example section improves clarity with concrete rubric requirements guidance.

Adding a dedicated Rubric Requirements Example with formatted text block helps users understand the expected structure and style for defining grading criteria.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 8d8442d and 1965739.

📒 Files selected for processing (1)
  • source/instructors/authoring/assessments/llm-based-rubric.rst (4 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**/*.rst

⚙️ CodeRabbit configuration file

**/*.rst: Review files for:

  • Consistent formatting (e.g., headings, lists, links).
  • Clear and concise language.
  • Correct grammar and spelling.
  • Proper use of rst syntax (e.g., avoid broken links or invalid code blocks).
  • Adherence to style guides (e.g., consistent tone, terminology).
    Suggest improvements to enhance readability and accessibility.

Files:

  • source/instructors/authoring/assessments/llm-based-rubric.rst

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 1965739 and 121b31e.

📒 Files selected for processing (1)
  • source/instructors/authoring/assessments/llm-based-rubric.rst (2 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**/*.rst

⚙️ CodeRabbit configuration file

**/*.rst: Review files for:

  • Consistent formatting (e.g., headings, lists, links).
  • Clear and concise language.
  • Correct grammar and spelling.
  • Proper use of rst syntax (e.g., avoid broken links or invalid code blocks).
  • Adherence to style guides (e.g., consistent tone, terminology).
    Suggest improvements to enhance readability and accessibility.

Files:

  • source/instructors/authoring/assessments/llm-based-rubric.rst
🧠 Learnings (1)
📚 Learning: 2025-10-27T17:55:37.091Z
Learnt from: LolaValente
PR: codio/knowledge#426
File: source/instructors/authoring/assessments/llm-based-rubric.rst:61-61
Timestamp: 2025-10-27T17:55:37.091Z
Learning: In rst files for the Codio knowledge repository, image directive attributes (`:height:`, `:alt:`, etc.) should be indented with 3 spaces, not 4. Content following an image directive should not be indented unless it's intentionally part of that directive.

Applied to files:

  • source/instructors/authoring/assessments/llm-based-rubric.rst

@shajason shajason merged commit ea96fa2 into master Oct 27, 2025
1 check passed
@shajason shajason deleted the llmauto branch October 27, 2025 19:10
This was referenced Oct 30, 2025
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