Skip to main content

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.

Metadata

Release files for grading_tools 0.21.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for grading_tools 0.21.3
File Size Uploaded Provenance Actions
grading_tools-0.21.3.tar.gz 19.2 kB Without provenance Details for grading_tools-0.21.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for grading_tools 0.21.3
File Interpreter ABI Platform Actions
grading_tools-0.21.3-py3-none-any.whl Python 3 none any Details for grading_tools-0.21.3-py3-none-any.whl

Total release size: 39.2 kB

Release files / grading_tools-0.21.3.tar.gz

Download URL grading_tools-0.21.3.tar.gz
Size 19.2 kB
Tags Source
SHA-256 checksum
How to use checksums
edf887895547e9b290fb0d31b9cf6e7e67d734fa819b41e79531821627f50002
BLAKE2b-256 checksum
How to use checksums
80da81112d2bde3a462daa2f4232d3303e4342301ce01d5576aef644e9d00c82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.5 Darwin/21.6.0

Release files / grading_tools-0.21.3-py3-none-any.whl

Download URL grading_tools-0.21.3-py3-none-any.whl
Size 20.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
76485f9950c74c5343832b7ab707834ae4bca679bf5dd96916e9b131623c4057
BLAKE2b-256 checksum
How to use checksums
025f3fb971f6872b6712eb2cb000ae4e0a42ea81b0f6b1805d1c99eadb20090f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.5 Darwin/21.6.0

Security for grading_tools 0.21.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.21.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page