πŸ’‘
Miscellaneous Guides
Learn all about advanced grading in CodeGrade with our step-by-step guides.
In this section we offer several guides for setting up automatically graded assignments in topics that aren't covered in the other sections. For instance, we discuss how to set up autograded assignments in R and C# as well as how to automatically grade code structures and patterns using Semgrep.

​
πŸ’»
Autograding C# assignments with unit testing

More and more teachers have adopted C# for their introductory courses, or use C# for their Unity game development courses. Either way: CodeGrade can save the day! We have built in support for the xUnit unit testing framework, so you can easily autograde your C# assignments.

​
πŸ“Š
Autograding R Data Science assignments

CodeGrade is being used by many Data Science degrees around the world, many of them teach courses in R. CodeGrade supports R right out of the box and makes it very easy to use I/O testing for R scripts. Also: CodeGrade allows third party R packages to be installed and used.

​
πŸ“‘
Autograding code structure

Next to checking if students' code works (functionality) and checking for code quality, instructors often also want to check for specific code structures. With CodeGrade's unique semgrep integration, you can check if a wanted or unwanted code structure is present in students' code.
Some examples are: making sure students actually use a for-loop in their introductory course task, making sure students do not import prohibited libraries or do not hardcode their answers.