Skip to main content

Benchmark your code

Project description

Lab is a Python package for running code on a large set of benchmarks. Experiments can be conducted on a single machine or on a cluster. The package also contains code for parsing results and creating reports. Currently, Lab and Downward Lab are distributed together.

The Downward Lab Python package facilitates running experiments for the Fast Downward planning system. It uses the generic experimentation package Lab.

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",
  doi =          "10.5281/zenodo.790461",
  url =          "https://doi.org/10.5281/zenodo.790461",
  howpublished = "\url{https://doi.org/10.5281/zenodo.790461}"
}

Install Lab

Lab supports Python 2.7 (deprecated) or Python >= 3.5. 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 and activate a Python 3 virtual environment for Lab.
python3 -m venv lab-venv  # or any other path instead of lab-venv
source lab-venv/bin/activate

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

If you want to install the latest development version and/or need to change Lab itself, you can clone the Lab repo and install it in the virtual environment:

git clone https://github.com/aibasel/lab.git /path/to/lab
pip install --editable /path/to/lab

The --editable flag installs the project in “editable mode”, which makes any changes under /path/to/lab appear immediately in the installed package.

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

source lab-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-5.5.tar.gz (66.8 kB view details)

Uploaded Source

Built Distribution

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

lab-5.5-py2.py3-none-any.whl (102.5 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: lab-5.5.tar.gz
  • Upload date:
  • Size: 66.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9

File hashes

Hashes for lab-5.5.tar.gz
Algorithm Hash digest
SHA256 be1b51bfc3dfe7ff16c108f42ba318f2b1a8e229402f78c352b1988ceb63d7d1
MD5 1381eba324e0d2abf6a94e97d0c15b25
BLAKE2b-256 86d09911c7044b08664a18432608c08f9ff48a5013c1d6391deb9f373b9c45ed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lab-5.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 102.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9

File hashes

Hashes for lab-5.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f3ee6189f680ede1ecb5a15878cca7a750461f0f559e7dd194bf708afba17841
MD5 d213db928272f225f599bd44874afa96
BLAKE2b-256 da214d5b2e284dd373ea6e948ddb6f270258496ebcf7306debedfdda8de89a91

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