Autograding

R Autograders

R autograders are tools that automate the testing and grading of R code, allowing for efficient and consistent assessment of programming assignments.

Otter-Grader

Otter-Grader is a open-source library that enables automated testing and grading of student code, allowing for real-time feedback and flexibility in grading assignments.

Setting Up an Autograding Environment

Note: This was tested on a linux based machine, but should translate to a MacOS as well. A virtual machine was set-up with this autograding environment, if you would prefer to use this virtual machine instead of setting it up on your own machine please email apivirotto@brynmawr.edu.

  1. If Conda is not currently installed, install Miniconda. Follow the instructions for the Linux installer to download the .sh script and run the installation.
  2. Install nbconvert, Pandoc, and TeX. ```bash

    nbconvert

    conda install nbconvert

pandoc

sudo apt-get install pandoc

tex

sudo apt-get install texlive-xetex texlive-fonts-recommended texlive-plain-generic

3. Install [otter-grader](https://otter-grader.readthedocs.io/en/latest/index.html#installation) using pip. 
```bash
pip install otter-grader
  1. Install Docker with the instructions at the link (Steps 1, 2, 3). Docker is required for the local grading of assignments using containerization.
  2. Install ipykernel.
    python3 -m pip install ipykernel
    python3 -m ipykernel install --user
    

Creating and Configiruing Assignments

Testing and Deploying Your Autograder

gradeR

Coming soon!