Apply Late Penalty to Gradescope Submission to Canvas
Project description
Getting Started
Install
You can install via Pypi:
pip install LatePenalty
Or alternatively, you can directly install from source
pip install git+https://github.com/scott-yj-yang/LatePenalty.git
How to use
View our tutorial:
Gradescope
nbgrader
FAQ
Why do LatePenalty
Exist?
This module supports both gradescope and nbgrader. Gradescope is an
interface where students can hand in their homework, programming
assignments, and even exams. Gradescope does accept late submission
after the official deadline, but it does not support well with the late
penalty of late submission, according to the course policy. In other
words, gradescope accepts late submission, but does nothing to
disincentive the late submissions. LatePenalty
applies late penalty
for the late submissions when we publish grades from gradescope to
canvas, with custom messages for students about the allowance of the
penalty.
Why not use Post Grades to Canvas
on Gradescope?
- No Late Penalty
Gradescope accepts late submissions from students, but the platform does not penalize late submissions.
Post Grades to Canvas
will post the raw score, shown on gradescope, to a specific assignment on canvas.
- No Support for Multiple Components of a Single Assignment
Gradescope’s
Post Grades to Canvas
is a one-to-one mapping from gradescope’s assignment to canvas’ assignment. In certain cases, where an assignment has multiple components (auto-graded notebook and handwritten math work), gradescope cannot combine the score to a single assignment. For example, let’s say we have an assignment calledAssignment 1
, which has two components -Assignment 1 - Autograder
andAssignment 1 - Manual Grading
on gradescope. This package will combine two assignments into one and sync the canvas grade
Late Policy
Some courses allow students to submit their work within a certain mercy period of time, also called slip days or slip hours. Once
In this module, we the package canvasapi
to
How to set credentials
This package uses canvas API and its wrapper package canvasapi to post grades and comments to your target course’s assignment. To do that, you’ll have to provide the canvas credentials.
In order to interact with this software, you’ll have to create a
credentials.json
file that is in the following format:
{'GitHub Token': 'token', 'Canvas Token': 'token'}
Whenever you create an object, you will need to authenticate via this
credentials.json
file through providing the file path to the object
initializer. It will test whether the credential you provided is
authenticate or not.
How to obtain credentials
- Login to Canvas
- On the left menu bar, click
Account
->Profile
- At the profile page, click
Settings
- Scroll down, at
Approved Integrations
, click+ New Access Token
- Name it, set expire date, and copy to the
credentials.json
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file LatePenalty-0.0.6.tar.gz
.
File metadata
- Download URL: LatePenalty-0.0.6.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3943bf7b9fa86c2553edefdb7ab99235a22b8de3cb6e65b2d8cfbf6ba5082ca5 |
|
MD5 | 20e897d1bf9b3ca89579d10ef268be91 |
|
BLAKE2b-256 | f0ad1b8a89c52591aa996a4bfd6ea59c1823a4102907322f0b7e3138fe68e605 |
File details
Details for the file LatePenalty-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: LatePenalty-0.0.6-py3-none-any.whl
- Upload date:
- Size: 15.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1a04dc68fdc083bf6baa07a221de0b812053ca11f38392b377f447411fe5dcb |
|
MD5 | f7b8a410a8f7d38b32a184e9f423aedd |
|
BLAKE2b-256 | 973b05e60ec5d8187235698300ad4f85a7ddf0551f7c239c0b1caf871c538d48 |