Skip to main content

Biosimulant model compatibility standard

This repository defines the small, versioned profiles that Biosimulant models use to say what their ports mean. A profile covers one scientific value or artifact: for example, an amino-acid sequence, a molecular SMILES string, or a specific Boltz affinity output.

The runtime uses a profile to check two things:

  • whether connected ports describe the same information in the same form; and
  • whether a live value satisfies the profile's basic safety checks.

It does not judge model quality, infer missing scientific context, convert units, or approve a result. Model evidence, provenance, limitations and fitness for use remain separate responsibilities.

Standard, profile and model mapping

standard.yaml identifies the stable profile format. Each file in profiles/ defines one independently versioned profile. A model maps one of its ports to a profile in model.yaml.

compatibility:
  standard: biosimulant.model-compatibility
  version: "0"

io:
  inputs:
    - name: protein_sequence
      signal_type: scalar
      dtype: str
      format: sequence
      contract:
        profile: protein.sequence/v1
        species: any

The model manifest owns the mapping. Python SignalSpec declarations continue to own the executable port structure. Biosimulant checks that the two agree.

Profiles included in 0.1.0

  • protein.sequence/v1
  • chemical.smiles/v1
  • protein.multiple-sequence-alignment/v1
  • protein-ligand.complex-structure-mmcif/v1
  • boltz.binding-probability/v1
  • boltz.log10-ic50-micromolar/v1

Inspect them with the Biosimulant CLI:

biosimulant compatibility profiles
biosimulant compatibility show protein.sequence/v1

Validate a model or compare two ports:

biosimulant compatibility validate ./model.yaml
biosimulant compatibility compare \
  ./producer/model.yaml#outputs.value \
  ./consumer/model.yaml#inputs.value

The runtime returns ok, warning, or blocked. It blocks unknown profiles, one-sided profile declarations, different profile versions, incompatible port representations, missing required context and invalid live values. Version 0 does not perform automatic conversion.

Adding support to a model

First inventory the model's scientific inputs and outputs. Leave operational ports such as run configuration and logs unprofiled. Reuse an existing profile only when its definition and limitations really describe the port. Add the top-level standard declaration, map each relevant port, then validate the manifest and test both accepted and rejected values.

When no profile is accurate, propose one instead of stretching an existing definition. The complete pull-request and email routes are in CONTRIBUTING.md.

Released profile files are immutable. A scientific or representation change creates a new profile version; unrelated new profiles do not change existing references.

Python package

The package supplies validated catalogue data and deterministic digests. It does not compare ports or execute checkers.

from biosimulant_model_compatibility_standard import get_profile, profile_digest

profile = get_profile("chemical.smiles/v1")
digest = profile_digest("chemical.smiles/v1")

Run the repository checks with:

python -m pip install -e '.[test]'
pytest
python -m build

Metadata

Release files for biosimulant-model-compatibility-standard 0.1.0

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

Source distribution (sdist)

Source distribution for biosimulant-model-compatibility-standard 0.1.0
File Size Uploaded Provenance Actions
biosimulant_model_compatibility_standard-0.1.0.tar.gz 10.2 kB With provenance Details for biosimulant_model_compatibility_standard-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for biosimulant-model-compatibility-standard 0.1.0
File Interpreter ABI Platform Actions
biosimulant_model_compatibility_standard-0.1.0-py3-none-any.whl Python 3 none any Details for biosimulant_model_compatibility_standard-0.1.0-py3-none-any.whl

Total release size: 22.3 kB

Release files / biosimulant_model_compatibility_standard-0.1.0.tar.gz

Download URL biosimulant_model_compatibility_standard-0.1.0.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5b611109eff8dc8d20a84c79584b1b36e4a95ccbd8fdd43b2e199aed374f39b5
BLAKE2b-256 checksum
How to use checksums
68d6d73d20d0a5b24f46eed9c527ad46e742356880556105815d9286bf64bc2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 17, 2026.

Transparency log

Release files / biosimulant_model_compatibility_standard-0.1.0-py3-none-any.whl

Download URL biosimulant_model_compatibility_standard-0.1.0-py3-none-any.whl
Size 12.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e0d7a4896d7bebabf22a73f93f6804a3f4b6f5b6f96a5ef7292d1aa5185d9dc8
BLAKE2b-256 checksum
How to use checksums
acdec15e5778f64128a3e5a67ad3bb7cb74491b1fa2c300220e6400a6bdf5f70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 17, 2026.

Transparency log

Security for biosimulant-model-compatibility-standard 0.1.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for biosimulant_model_compatibility_standard-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 17, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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