Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 992 Bytes

CONTRIBUTING.md

File metadata and controls

36 lines (26 loc) · 992 Bytes

Contributing to Wasp

Wasp is the companion code for the Wasp paper and builds on Morphling. We welcome bug reports, features, docs, and code.

Development environment

python -m pip install -r requirements-lint.txt
pre-commit install --install-hooks

Testing

Wasp's runnable example and coordinator paths require the Morphling runtime, so those tests run inside the Wasp Docker image (which is FROM the Morphling image):

docker build -t wasp:latest .
docker run --rm --gpus all --ulimit memlock=-1 wasp:latest \
    python3 -m pytest tests -v

The pure-Python placement solver tests run without Docker:

pip install -e ".[dev,plot]"
python3 -m pytest tests/test_placement_smoke.py -v

Commit messages

Follow the Angular Commit Format: <type>: <summary>, where type is one of build, ci, docs, feat, fix, perf, refactor, test, chore.