Skip to main content

A framework that takes care of boundary tasks to ease task evaluations and make them faster.

Project description

GradeFast-2019

'Gradefast Logo'

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

  1. $ git clone https://github.com/eyantra-eysip/GradeFast-2019
  2. $ cd GradeFast-2019
  3. $ git checkout develop
  4. $ pip install .

Creating a gradefast project

Do this once [sudo permissions may be required]

  1. npm install -g yo
  2. npm install -g generator-gradefast

Then generate your new project like this

yo gradefast

Features

  1. Submission downloading
  2. Plagiarism checking
  3. Primarily built for python but can support evaluation of any other tasks
  4. Aggregate results
  5. Upload marks
  6. Add comments

Also includes

  1. Detailed error logging
  2. Timing and static code analysis of scripts
  3. Resume tasks from where they are stopped
  4. Checking test conventions
  5. Boilerplate code generation

Running tests

  1. For unit tests: python -m unittest discover -s tests/unit/
  2. For integration tests: python -m unittest discover -s tests/unit/

Checking coverage

  1. Install coverage.py: pip install coverage
  2. Run coverage run --source=gradefast/ -m unittest discover -s tests/unit/ or coverage run --source=gradefast/ -m unittest discover -s tests/integration/
  3. Generate static html coverage html
  4. cd htmlcov and run http server with live-server or python3 -m http.server

Building and running documentation

Installing required packages

  1. $ pip install sphinx_ustack_theme and pip install sphinx_rtd_theme.
  2. $ pip install --upgrade sphinx

Building docs

  1. $ cd docs
  2. $ make html

Running web server to host documentation

  1. $ cd docs/_build/html

  2. Start a web server in this directory. You can use either the python 3 HTTP server or live-server.

    $ python3 -m http.server

Future work

  • Statistics and analysis of results
  • Sandboxed environments
  • Multi-programming
  • Refactoring
  • Plugins API

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

gradefast-0.1.18.tar.gz (34.8 kB view details)

Uploaded Source

Built Distribution

gradefast-0.1.18-py2.py3-none-any.whl (39.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file gradefast-0.1.18.tar.gz.

File metadata

  • Download URL: gradefast-0.1.18.tar.gz
  • Upload date:
  • Size: 34.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.5.6

File hashes

Hashes for gradefast-0.1.18.tar.gz
Algorithm Hash digest
SHA256 b6abeb16c5aff367c2ca4b92fd313a09c17cc4280c07d1e99182f365c2824121
MD5 e42b0058d894487de17bd2e7ea9f3a4c
BLAKE2b-256 c0e23ad02eb014c4dcdcc241a9172c2efb0462720f92097a4e0a49ee24347aa6

See more details on using hashes here.

File details

Details for the file gradefast-0.1.18-py2.py3-none-any.whl.

File metadata

  • Download URL: gradefast-0.1.18-py2.py3-none-any.whl
  • Upload date:
  • Size: 39.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.5.6

File hashes

Hashes for gradefast-0.1.18-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2401226b0d44a631c388ac2db143b2c1f8592cc14ea746f5244f721d8ad42897
MD5 d8380572f25b71bd4034555f4d105bf0
BLAKE2b-256 47be94efa3a008ae4893e3c99ce765c995114c341b316410bd8cbc1f73fab279

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