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 details)

Uploaded Source

File details

Details for the file pylc3.autograder-0.2.1.tar.gz.

File metadata

  • Download URL: pylc3.autograder-0.2.1.tar.gz
  • Upload date:
  • Size: 29.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for pylc3.autograder-0.2.1.tar.gz
Algorithm Hash digest
SHA256 655a60419b637761f3219a193628b57c7324f3a92f74612ef02884687c7f952c
MD5 5fe95c9a8666282fc2f5d4dfaf28de10
BLAKE2b-256 f01aaff811092ef7f7c4c41aed3eca3ee4e19eb088f6f3ce516248223b5212b5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page