designate-runner
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
- REST API reference — Request and response bodies, status codes
- Deployment guide — Docker setup and infrastructure
- Config schema reference — Covariates, feature graph, models, updates
- Environment variables — Runtime configuration and defaults
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)
| 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)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| 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 logRelease 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 logSecurity 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.
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 logA 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.