CodeHS allows teachers to create customized autograders to help grade student code against test cases. Create and edit custom autograders or configure preset configs for your custom assignments using the Autograder Editor.
Learn more about CodeHS Autograders and what they can check in this article: CodeHS Autograders ๐
Adding and Editing a Custom Autograder
After creating a custom coding exercise, we can add our own custom autograder from the Create app or the Assignments page.
Adding and Editing an Autograder from the Create App
- Navigate to the Create App > Autograder Editor tool 
- Click on the Edit Autograder button next to the coding exercise. 
- Add a Custom Autograder file or Preset Config within the editor. 
โ ๏ธ Adding or editing a custom autograder from the Create app will update the autograder for all Sections the assignment is assigned to, including those in other teachersโ courses.
Adding and Editing an Autograder from the Assignments App
- In the Assignments app, click the '[Edit]' button next to the Assignment. 
- Select the Autograder tab in the Edit modal. 
- Click 'Create Autograder' or 'Edit Autograder'. 
- Add a Custom Autograder file or Preset Config within the editor. 
โ ๏ธ Editing an autograder from the Assignments app will only make changes to the assignment assigned to the current Course selected in the dropdown menu at the top of the Assignments page.
Editing the Default Autograder from the Assignments app
Autograder edits in the Create App will be the default autograder for any given assignment. You can revert any autograder to it's default or navigate to the default autograder editor when editing from the Assignments page.
When editing the default autograder from the Assignments app, the custom autograder file will not be able to be deleted, and instead will have a toggle box.
Revert to the Default Autograder
Navigate to the Default Autograder Editor
Adding and Editing Preset Configs
โ ๏ธ This feature is limited to JavaScript, Python, HTML, and Java exercises.
Toggle Preset Configs on or off, and edit their options by clicking the pencil icon next to each field.
Language Specific Guides for Building Autograders
Each language has its own way of creating and defining autograders with code. Check out this collection of articles for more information on creating language specific autograders: Autograders ๐
For an advanced guide to creating Custom Autograders, take a look at our Autograder Guides ๐.
Configure the Autograder
Set the autograder's Feedback Level and Visibility settings in the top-right of the Autograder Editor. You can also configure these settings from the Autograders tool in the Code Review App.
For more information about configuring autograders, check out this article: Editing and Configuring CodeHS Autograders ๐
Still have questions? Contact our team at support@codehs.com to learn more!









