Tools for evaluating student submissions.
Project description
Grading Tools
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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
edf887895547e9b290fb0d31b9cf6e7e67d734fa819b41e79531821627f50002
|
|
| MD5 |
b939a2a079b237df33214973203d0ea4
|
|
| BLAKE2b-256 |
80da81112d2bde3a462daa2f4232d3303e4342301ce01d5576aef644e9d00c82
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76485f9950c74c5343832b7ab707834ae4bca679bf5dd96916e9b131623c4057
|
|
| MD5 |
5aa4d7260a6b08498b89af773a5c3f46
|
|
| BLAKE2b-256 |
025f3fb971f6872b6712eb2cb000ae4e0a42ea81b0f6b1805d1c99eadb20090f
|