/gradethispython

R wrapper for pygradethis to allow checking exercises in learnr. 🍎

Primary LanguageROtherNOASSERTION

ARCHIVED

This repo is now archived. It now lives in pygradethis (under R/).

lifecycle

gradethispython

gradethispython is a package that is in development for Python exercise checking in learnr. It is designed to mirror the functionalities of gradethis.

You can install it with:

# install.packages("remotes")
remotes::install_github("rstudio/gradethis")

Currently, it supports output checking and basic static code checking (ast analysis), using gradethis-like feedback messages when output or code is incorrect.

For exercise grading, we wrap a Python library called pygradethis, which can either be used with this gradethispython R wrapper package, or by itself making it accessible for general Python grading use. At a minimum, we will mirror existing {gradethis} functionality but may provide more if we find Python specific grading needs. This will also simplify maintenance by allowing R issues to be opened on this R package, while Python issues to be opened on the Python repository.