A framework that takes care of boundary tasks to ease task evaluations and make them faster.
Project description
GradeFast-2019
Gradefast is a framework whose intention is to make eYRC evaluations faster and bring a standardization across task evaluations. Most important benefit is that the test scripts can then be extended and be reused in other themes having similar tasks. Primary thought behind making GradeFast is to take care of all the boundary tasks that happen in theme evaluations and also make utility scripts that take care of other common tasks so that a lot of time is saved. Some of these tasks are downloading new submissions, iterating over each of the submission folders, easily finding files to test, comments based on criterias, uploading marks and plagiarism checking. The framework is also easy to use causing less to no cognitive load on a theme developer using it.
Installing gradefast
Installing from pip
$ pip install gradefast
OR
Installing from sources
$ git clone https://github.com/eyantra-eysip/GradeFast-2019
$ cd GradeFast-2019
$ git checkout develop
$ pip install .
Features
- Submission downloading
- Plagiarism checking
- Primarily built for python but can support evaluation of any other tasks
- Aggregate results
- Upload marks
- Add comments
Also includes
- Detailed error logging
- Timing and static code analysis of scripts
- Resume tasks from where they are stopped
- Checking test conventions
- Boilerplate code generation
Future work
- Statistics and analysis of results
- Sandboxed environments
- Multi-programming
Running tests
- For unit tests:
python -m unittest discover -s tests/unit/
- For integration tests:
python -m unittest discover -s tests/unit/
Checking coverage
- Install coverage.py:
pip install coverage
- Run
coverage run --source=gradefast/ -m unittest discover -s tests/unit/
orcoverage run --source=gradefast/ -m unittest discover -s tests/integration/
- Generate static html
coverage html
cd htmlcov
and run http server withlive-server
orpython3 -m http.server
Building and running documentation
Installing required packages
$ pip install sphinx_ustack_theme
$ pip install --upgrade sphinx
Building docs
$ cd docs
$ make html
Running web server to host documentation
-
$ cd docs/_build/html
-
Start a web server in this directory. You can use either the python 3 HTTP server or live-server.
$ python3 -m http.server
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
Hashes for gradefast-0.1.10-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c214dc7c5facd963b4784a0bb8c47b2bfc3863c22f4e4589c61aad705722cd0 |
|
MD5 | a24e368dfb712ec1472d376e7a660202 |
|
BLAKE2b-256 | 7239496a0998e5f837637fd63febd638ccf11e5e6ecbc529dc1c421694ba760a |