Skip to main content

Benchmark your code

Project description

Lab is a Python package for evaluating solvers on benchmark sets. Experiments can run on a single machine or on a computer cluster. The package also contains code for parsing results and creating reports.

The Downward Lab Python package facilitates running experiments for the Fast Downward planning system. It uses the generic experimentation package Lab. Currently, Lab and Downward Lab are distributed together.

Code: https://github.com/aibasel/lab

Documentation: https://lab.readthedocs.io

Cite: please cite Downward Lab by using

@Misc{seipp-et-al-zenodo2017,
  author =       "Jendrik Seipp and Florian Pommerening and
                  Silvan Sievers and Malte Helmert",
  title =        "{Downward} {Lab}",
  publisher =    "Zenodo",
  year =         "2017",
  howpublished = "\url{https://doi.org/10.5281/zenodo.790461}"
}

Install Lab

Lab requires Python 3.6+ and Linux (e.g., Ubuntu). We recommend installing Lab in a Python virtual environment. This has the advantage that there are no modifications to the system-wide configuration, and that you can create multiple environments with different Lab versions (e.g., for different papers) without conflicts:

# Install required packages, including virtualenv.
sudo apt install python3 python3-venv

# Create a new directory for your experiments.
mkdir experiments-for-my-paper
cd experiments-for-my-paper

# If PYTHONPATH is set, unset it to obtain a clean environment.
unset PYTHONPATH

# Create and activate a Python 3 virtual environment for Lab.
python3 -m venv --prompt my-paper .venv
source .venv/bin/activate

# Install Lab in the virtual environment.
pip install -U pip wheel
pip install lab  # or preferably a specific version with lab==x.y

# Store installed packages and exact versions for reproducibility.
# Ignore pkg-resources package (https://github.com/pypa/pip/issues/4022).
pip freeze | grep -v "pkg-resources" > requirements.txt

Please note that before running an experiment script you need to activate the virtual environment with:

source .venv/bin/activate

We recommend clearing the PYTHONPATH variable before activating the virtual environment.

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

lab-6.5.tar.gz (82.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lab-6.5-py2.py3-none-any.whl (92.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file lab-6.5.tar.gz.

File metadata

  • Download URL: lab-6.5.tar.gz
  • Upload date:
  • Size: 82.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.7.3 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.10

File hashes

Hashes for lab-6.5.tar.gz
Algorithm Hash digest
SHA256 837da170a9b2a0ef2a81220c4e262cc8d03b20fdeaa7fcf5e64e01fbd8f4def3
MD5 9597dfbba8fee8043078a1ffc1ed9ece
BLAKE2b-256 6ac6154d60554863377d6081dc225d6cee91c2759fb33a93a4067f7bec3c16b6

See more details on using hashes here.

File details

Details for the file lab-6.5-py2.py3-none-any.whl.

File metadata

  • Download URL: lab-6.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 92.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.7.3 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.10

File hashes

Hashes for lab-6.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dd5a9f41a2ff4af0102e8457414fdc887f7d5a9c492d5118516b37b742366f64
MD5 5b1f9722eef186f19ea59598f6e23ddd
BLAKE2b-256 a0b3b1cf0b3fdafda7b2b93ff6f419c1af38903ff245f7bd49e8a56e1fcac191

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