Skip to main content

Autograder and Unit testing framework for LC-3 code written in Python, exports test results in JSON.

Project description

Autograder framework for LC-3, based off liblc3 and pylc3.core

Exports test results in JSON. JSON output format is configurable. Note that this doesn’t export a grade in the JSON. A user script can then easily parse the JSON and then assign points per each assertion passed.

For autograder examples see https://github.com/complx-tools/pylc3.autograder.examples

Installation

  • Install python, boost-python (should be compiled with your version of Python) and castxml.

$ sudo add-apt-repository ppa:tricksterguy87/complx $ sudo apt update $ sudo apt-get install -y build-essential cmake libboost-python-dev castxml python-pip liblc3-dev

It is suggested to also install liblc3-plugins.

  • Install scikit-build and dependencies for pylc3.core

$ sudo pip install scikit-build pygccxml pyplusplus

  • Install this package from PyPI:

$ sudo pip install pylc3.autograder

  • Import it in Python:

import pylc3.autograder

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

pylc3.autograder-0.2.1.tar.gz (29.4 kB view hashes)

Uploaded Source

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