Skip to main content

Editing and Configuring CodeHS Autograders

Learn how to edit and configure CodeHS autograders and test cases to check student code

Billy Gotsch avatar
Written by Billy Gotsch
Updated yesterday
Banner: This is a free feature

Most CodeHS coding exercises come with their own pre-written autograder to help guide students and teachers through the curriculum. Teachers have the ability to customize these CodeHS autograders by editing, adding, and omitting test cases to align with customized checks. Edit what feedback students can see by changing the autograder configurations.

Learn more about CodeHS Autograders and what they can check in this article: CodeHS Autograders πŸ“–

Editing CodeHS Autograders

Navigating to the Autograder Editor

  1. Navigate to the Assignments app under the Assignments category in the lefthand navigation menu.

  2. Click on the three dots next to the CodeHS coding exercise.

  3. Select "Edit Autograder".

image displaying where to edit an autograder

Editing Autograder Files

In the Autograder Editor, CodeHS-created autograder files will be grayed out. You can create an editable copy of the pre-written CodeHS autograder by duplicating the CodeHS autograder file.

  1. Click the green duplicate button.

  2. Navigate to the duplicated file.

  3. Toggle off the uneditable autograder.

gif displaying how to create an editable copy of the CodeHS autograder

Learn more in this article about Using the Autograder Editor πŸ“–.

Banner: This is a Pro Feature

Configuring CodeHS Autograders

Configure CodeHS autograders by setting the Feedback Level, Visibility, and Grading Settings.

Feedback Level determines the assignment's behavior when a student submits it:

  • Error (default): Blocks student submission.

  • Warning: Not blocking student submission, but something the student should fix.

  • Info: Not blocking submission and something that is a best practice but not an error (ex, code style).

Visibility controls how students can view test cases in an assignment:

  • Visible (default): If the autograder is visible, the student will see the details of the autograder tests.

  • Hidden: If the autograder is hidden, the student will only see whether they passed or failed the autograder tests.

Auto Graded will give full credit to all submissions that satisfy the CodeHS autograder. This will update the grade for any past submissions as well.

Teacher Graded will send every student submission to the Code Review page to be manually reviewed and scored.

Configuring Autograders in the Code Review App

You can configure and edit all exercises with autograders for an entire course by navigating to the Autograders tool in the Code Review app.

image displaying where to configure and edit autograders in the autograders tool in the code review app

Check out this article for more information: Using the Code Review App πŸ“–

Configuring Autograders in the Autograder Editor

Configure each autograder file within the Autograder Editor by using the dropdown menus above the editor window, and selecting the Feedback Level and Visibility.

image displaying where to configure autograders in the autograder editor

Check out this article to help build and configure your own custom autograders: Adding Custom Autograders and Preset Configs πŸ“–


Still have questions? Contact our team at support@codehs.com to learn more!

Did this answer your question?