Skip to main content

PEtab test suite

The PEtab test suite is a collection of test models for the PEtab parameter estimation data format. It is intended to be used to verify and quantify PEtab-support by developers of tools for model simulation and parameter estimation.

Download and install the test suite

The PEtab test suite can be downloaded from GitHub via

git clone https://github.com/petab-dev/petab_test_suite

The test suite comes with all necessary files pregenerated. In the petabtests subdirectory, it contains a python module for generating the tests and evaluating results. This can be installed via

cd petab_test_suite
pip3 install -e .

Use the test suite

The cases subdirectory contains a collection of enumerated tests. Each test contains a descriptive wxyz.md file, and a script file wxyz.py file that can be used to generate all problem and solution files for the test. The necessary files are in the same case specific folder, starting with an underscore. In each case folder, there is a file _wxyz.yaml containing the parameter estimation problem description, and a file _wxyz_solution.yaml containing information on the expected results: chi2 value, log-likelihood, simulation table reference, and tolerances.

After download, all necessary files are already pregenerated.

Further, installation of the petabtests module installs a routine to recreate the problem and solution files for all test problems. It can be invoked via

cd petab_test_suite
petabtests_create

Evaluate results

To evaluate how a tool performs on a given test problem, three metrics are employed: Simulations, chi2 value and log-likelihood. A tool can be said to cover a test problem if any of those values matches the ground truth values up to some tolerance.

The python module provides convenience functions for evaluation in petabtests/evaluate.py.

-> Overview of passed test cases for different tools supporting PEtab

Metadata

Release files for petabtests 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for petabtests 0.0.1
File Size Uploaded Provenance
petabtests-0.0.1.tar.gz 53.0 kB Without provenance Details

Release files / petabtests-0.0.1.tar.gz

Download URL petabtests-0.0.1.tar.gz
Size 53.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0dd3095ac49ff22b3ecb82ceb87124ced12d284f52497e2e9cc5dad1004602cc
BLAKE2b-256 checksum
How to use checksums
7047dc025a727b6f82a4b61c1ac9c0f6a988829b2db6468b54a56ab07c1cd46d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.1 CPython/3.11.4

Security for petabtests 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page