January 26, 2024

Get the most out of AutoTest V2 with the hidden CG command

In 30 seconds...

The 'cg' command in AutoTest V2 represents an evolving initiative wherein we consistently integrate new utilities before finalizing dedicated blocks. These utilities introduce advanced customization options that extend beyond the capabilities of dedicated blocks, empowering you with the flexibility to tailor your code assessment and feedback delivery methods for your learners.

As highlighted in our recent blog post, we're actively enhancing our product to ensure robust support for our partners and sustained engagement for your learners. We understand the challenges associated with grading, which often consumes a significant amount of time during programming skill development. With the introduction of our advanced autograder, our aim is not only to streamline the grading process, saving you valuable time, but also to provide a platform for delivering constructive, practical, and tailored feedback to your learners. Through these improvements, we aspire to empower you in seamlessly integrating your unique coding pedagogy into your CS courses, all while ensuring sustained learner engagement.

How it works

AutoTest V2 features a hidden command that unlocks a multitude of advanced autograding capabilities.

The designated command for accessing these advanced functions is the ‘cg’ command, which currently contains the following subprograms:

  • `cg checkstyle`: A versatile utility for installing, parsing, and executing Checkstyle, designed for users seeking greater customization beyond the built-in Checkstyle block functionalities.
  • `cg comments` : A generic code quality comment parser that automatically generates and inserts comments into the editor or code viewer.
  • `cg java`: A generic utility designed for handling Java programs, currently featuring a single subcommand `compile, which compiles Java files and automatically writes errors to the editor.

‍

Schedule a meeting and learn how to better streamline your grading with our advanced autograder.

Continue reading

Snowball Miracle: A Terminal, a Smarter AI Assistant, and Tighter Exam Controls

CodeGrade released Snowball Miracle on 21 August 2026. A terminal with tabs, an AI assistant that reads AutoTest results, tighter exam controls, API changes.

Watch Now! CodeGrade Back to School Webinar

Watch the recap of our Back to School webinar. See the new built-in Terminal and redesigned code editor, learn how to set up your first autograded assignment on CodeGrade Free, and get a look at the latest features.

What we recommend for teaching intro to programming in 2026

Planning an intro programming course in 2026? Here is the teaching stack we recommend: editor, autograder, plagiarism, AI policy. Start free up to 50 students.

Sign up to our newsletter