The CodeHS Autograder Editor is where teachers can build and edit Custom Autograder files and set Preset Configs to check student code. Write and adjust autograder files in programming languages to create test cases, or use Preset Configs for simpler syntactical checks.
Learn more about CodeHS Autograders and what they can check in this article: CodeHS Autograders π
Assignment Actions
CodeHS Autograders
When edits have been made to a CodeHS-created Autograder, you can reset the autograder to its original autograder files and configurations by clicking the icon below the assignment name.
Check out this article for more information about modifying CodeHS Autograders: Editing and Configuring CodeHS Autograders π
Custom Autograders
In custom assignment autograder editors, you can Preview, Edit, and Assign the activity, and view how many courses the assignment is assigned to using the icons below the name of the assignment.
Check out this article for more information about building your own custom autograders: Adding Custom Autograders and Preset Configs π
Editor Navigation
Above the autograder code editor window, you can preview the activity, preview the currently selected test case, and maximize the code editor window.
Autograder Files
Each autograder file will contain at least one test case that checks student code. You can toggle on or off CodeHS created autograder files, and add or edit duplicate copies or custom files. To add a new autograder file:
Click the blue "+Add" button in the lefthand panel or click the green duplicate button next to an existing autograder file to create an editable copy.
Navigate to the correct program file in the autograder code editor.
Add or edit the test case(s) code in the program file.
(Pro) Set Visibility and Feedback Level in the top right of the code editor window.
Press the blue "Save Autograder Code" button at the top right of the editor.
Preset Configs
Preset Config autograders are located below the Custom Autograder files in the lefthand side of the editor. These are pre-built tests that perform simple checks on a student's program. For example, a Preset Config can simply verify if a student used a while loop or wrote the specified minimum number of comments.
You can toggle Preset Configs on or off, and edit their options by clicking the pencil icon next to each field.
For an advanced guide to creating Custom Autograders, take a look at our Autograder Guides π.
Still have questions? Contact our team at support@codehs.com to learn more!






