Skip to main content

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 called Assignment 1, which has two components - Assignment 1 - Autograder and Assignment 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

  1. Login to Canvas
  2. On the left menu bar, click Account -> Profile
  3. At the profile page, click Settings
  4. Scroll down, at Approved Integrations, click + New Access Token
  5. Name it, set expire date, and copy to the credentials.json

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

latepenalty-0.0.8.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

LatePenalty-0.0.8-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file latepenalty-0.0.8.tar.gz.

File metadata

  • Download URL: latepenalty-0.0.8.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.9

File hashes

Hashes for latepenalty-0.0.8.tar.gz
Algorithm Hash digest
SHA256 c6e42e1a988edf10b4e8a4f2b41cbfbf4bc2ed55f13d5e8d46b5b35e6c371a42
MD5 131fdd0cd0b212ffd163b82464707982
BLAKE2b-256 8b0d62d01cab863ae99541d8ecfc15ba62c3a92375f833adaab80e6ae6359152

See more details on using hashes here.

File details

Details for the file LatePenalty-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: LatePenalty-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.9

File hashes

Hashes for LatePenalty-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 fe951192225c820cefdc76ffc6e507ee875a73f209663e15d77b995cbb25bdf2
MD5 eb86268667401cc977fa44b39cbd7ba2
BLAKE2b-256 32de350f720186a65f6bf6f389d39824ee0563868039dd9402c8914b6e8b1a31

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page