Skip to main content

Compatibility backends for tidystl (Breach, TaLiRo, RTAMT, and other tools).

Project description

tidystl-compat

Compatibility backends for tidystl. Each backend reproduces, in pure numpy, the robustness semantics of an external STL tool so results can be compared against that tool without installing it. It registers backends for several reference tools (Breach, TaLiRo, RTAMT, and more); call tidystl.use(tidystl_compat) and then tidystl.list_backends() for the exact set, e.g. breach.

Install

pip install tidystl-compat            # numpy backends
pip install "tidystl-compat[torch]"   # adds the STLCG++ torch backend

Use

import tidystl
import tidystl_compat
from tidystl import parse, robustness, Signal, list_backends

tidystl.use(tidystl_compat)

print(list_backends())  # e.g. ['breach', 'native', 'pymtl', ...]
rho = robustness(parse("G[0,10](x >= 0)"), sig, backend="breach")

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

tidystl_compat-0.1.0.tar.gz (35.4 kB view details)

Uploaded Source

Built Distribution

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

tidystl_compat-0.1.0-py3-none-any.whl (25.6 kB view details)

Uploaded Python 3

File details

Details for the file tidystl_compat-0.1.0.tar.gz.

File metadata

  • Download URL: tidystl_compat-0.1.0.tar.gz
  • Upload date:
  • Size: 35.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for tidystl_compat-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dde0dbbd27b2b7f7a8a95c052775f38b2cb0d67212625f3e370f7ac4d3134f36
MD5 296feca6dec72a17db82d70b6df6e8d1
BLAKE2b-256 666209c90a8dc3c4c8a02c020a2f02c014974a3198e95839a45c59c727b1662d

See more details on using hashes here.

File details

Details for the file tidystl_compat-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tidystl_compat-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 25.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for tidystl_compat-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b69eac0f11af85fe7b54ae51dc8e9237f15b64d6f944335caff391c1f25b38df
MD5 0a943802f038ac66135a135022dc0e76
BLAKE2b-256 b104493d7579cff3276f7d5b752dbb72013a187c66d54084c87b8f7ca2b4c29b

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