Skip to main content

Tools for evaluating student submissions.

Project description

Grading Tools

build codecov

This library allows you to compare student submissions to an answer, and provide meaningful feedback. It currently accommodates basic Python data structures, pandas Series and DataFrames, scikit-learn models, and images.

Installation

$ pip install grading-tools

Usage

>>> from grading_tools.graders import PythonGrader
>>> sub = {"snake": "reptile", "frog": "reptile"}
>>> ans = {"snake": "reptile", "frog": "amphibian"}
>>> g = PythonGrader(sub, ans)
>>> g.grade_dict()
>>> g.return_feedback(html=False)
{
    'score': 0,
    'passed': False,
    'comment': "The value for the key `frog` doesn't match the expected result."
}

License

grading-tools was created by Nicholas Cifuentes-Goodbody at WorldQuant University. It is not currently licensed for reuse of any kind.

Contributing

This package uses Python Semantic Release, so all commit messages must follow the Angular format.

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

grading_tools-0.21.3.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

grading_tools-0.21.3-py3-none-any.whl (20.1 kB view details)

Uploaded Python 3

File details

Details for the file grading_tools-0.21.3.tar.gz.

File metadata

  • Download URL: grading_tools-0.21.3.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Darwin/21.6.0

File hashes

Hashes for grading_tools-0.21.3.tar.gz
Algorithm Hash digest
SHA256 edf887895547e9b290fb0d31b9cf6e7e67d734fa819b41e79531821627f50002
MD5 b939a2a079b237df33214973203d0ea4
BLAKE2b-256 80da81112d2bde3a462daa2f4232d3303e4342301ce01d5576aef644e9d00c82

See more details on using hashes here.

File details

Details for the file grading_tools-0.21.3-py3-none-any.whl.

File metadata

  • Download URL: grading_tools-0.21.3-py3-none-any.whl
  • Upload date:
  • Size: 20.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Darwin/21.6.0

File hashes

Hashes for grading_tools-0.21.3-py3-none-any.whl
Algorithm Hash digest
SHA256 76485f9950c74c5343832b7ab707834ae4bca679bf5dd96916e9b131623c4057
MD5 5aa4d7260a6b08498b89af773a5c3f46
BLAKE2b-256 025f3fb971f6872b6712eb2cb000ae4e0a42ea81b0f6b1805d1c99eadb20090f

See more details on using hashes here.

Supported by

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