Skip to main content

designate-runner

PyPI

FastAPI deployment app for designate experiments.

Install

Recommended: Clone the workspace for cross-package version compatibility:

git clone https://github.com/passexp/designate.git
cd designate
uv sync --all-packages

Or install standalone:

pip install designate-runner

Run

DESIGNATE_CONFIG=experiment.yaml uvicorn runner.main:app --host 0.0.0.0 --port 8000

runner/docker-compose.yml runs the image with a DoltgreSQL database; copy .env.example to .env first.

Endpoints

Method Path Description
POST /assign Submit covariates and receive the treatment
POST /submit-covariates Start an assignment in the background (202)
GET /assign-treatment/{id} Wait for a background assignment and return the treatment
GET /get-treatment/{id} Look up a stored treatment
POST /submit-response Record a participant's response, once (204)
POST /submit-observations Record independently keyed outcomes (pair-batch models)
POST /train Rebuild the model from all data and switch to it
GET /health Readiness: 200 when the database answers and a model is loaded, else 503
GET /schema Experiment config as JSON
GET /metrics In-process counters and timings

Errors have the body {"detail": ..., "code": ...}; code is stable. The OpenAPI schema is served at /openapi.json.

Documentation

Metadata

Release files for designate-runner 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 designate-runner 0.1.0
File Size Uploaded Provenance Actions
designate_runner-0.1.0.tar.gz 30.2 kB With provenance Details for designate_runner-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for designate-runner 0.1.0
File Interpreter ABI Platform Actions
designate_runner-0.1.0-py3-none-any.whl Python 3 none any Details for designate_runner-0.1.0-py3-none-any.whl

Total release size: 46.9 kB

Release files / designate_runner-0.1.0.tar.gz

Download URL designate_runner-0.1.0.tar.gz
Size 30.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9df747a386a637150332e2545859a4d0235c32bcb24edf2632d78194cf63d5c5
BLAKE2b-256 checksum
How to use checksums
aae993c952dc0412cb43f54f7bfacec50f34c15fe714c8211cec41b40e3e8c26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 3, 2026.

Transparency log

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

Download URL designate_runner-0.1.0-py3-none-any.whl
Size 16.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba135193f805e8fed46533f8380dc8ad38f04f321c34c28982ebbe47f18722be
BLAKE2b-256 checksum
How to use checksums
faf885be7b317fc157535269385ef71d07821bdc730f1b7e91985b94e7af9dd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 3, 2026.

Transparency log

Security for designate-runner 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 designate_runner-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 Dec 3, 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