Goal
Get the result of one approved task, for example the average daily runtime of a fleet for one day, and be able to prove where it came from: which program computed it, under which policy, inside which environment, and that it is in the transparency log.
Before you start
- A buyer account in a tenant. In the live demo, sign in and choose a buyer under View as.
- For offline verification: Python 3 with the
cryptographypackage, tlay_verify.py, and the trust anchors pinned from a source other than the platform, such as the keys we publish. - For a result sealed to you: your own result key, which never leaves your computer.
Steps
- Request a purchase in the Marketplace. The price is fixed in advance from the public roster size N; a simulated prepayment is held in escrow. Details
- Wait for approval. A request grants nothing until a tenant admin approves it.
- Run the task in Buyer result, or subscribe with auto-run so it starts after the day is sealed. Details
- Read the result. The card gives the noise size and the labels (synthetic data, simulated or attested security, simulated payment). A model trained with trust-tier weights also lists each tier’s weight and how many training devices were in it, as their owners stated.
- Check a model against your own sites. A model released with training coverage shows how many training devices fell in each range of their 7-day average. Under “Try the model on a site”, type one site’s seven days: the page computes the forecast from the released parameters, without sending anything, and warns if the site is in a range the model saw few or no devices in. Offline,
python -m tlay_client.apply_model model.json --days …gives the same answer. - Optional: adapt a linear model to your own fleet. With a few weeks of your own units’ daily values,
python -m tlay_client.adapt_model model.json --csv own_history.csv --out adapted.jsonfits the model to them on your machine and checks it on your own later days. It keeps the adapted model only if it is better there and you have at least 10 units; otherwise it keeps the released one. Nothing is sent, and the adapted model has no receipt: it is yours. - Export the result bundle and verify it on your own machine:
python3 tlay_verify.py tlay-result-rel_….json --anchors pinned.json --strict, or in your browser on Verify a result. Details - Optional: automate with an API key (
results:read, andjobs:runto start tasks). See the developer quick start.
What success looks like
- The job moves through reserved, running and committed to settled, and the result card shows a value with its noise size.
- The offline verifier prints PASS for the signature checks and the transparency inclusion. In the demo the attestation check reads SIMULATED, and
--strictfails on purpose: there is no hardware isolation there. - Your statement shows the escrow released to contributors as Simulated payment.
Common refusals
| Code | Why | What to do |
|---|---|---|
NOT_A_RESULT_RECIPIENT | The result is sealed to named buyers and you are not one of them | Ask the tenant admin to name you in the next policy |
SCOPE_ALREADY_RELEASED | This cohort and day already has its one release | Read the published result; it is never computed twice |
RESULT_NOT_COMMITTED | The release is not committed yet, so there is no bundle | Wait for the job to finish |
API_KEY_SCOPE_MISSING | Your API key lacks the scope, for example jobs:run | Create a key with that scope |
All codes: FAQ and error codes.
Withdrawals and failures
- If a request is rejected or the task never produces a result, the escrow is returned.
- A run that fails after its budget was reserved ends as failed and is not run again; the budget stays spent, so no one can retry until the noise averages out.
- An owner who withdraws consent before a day is sealed is counted as 0 that day; a published result never changes.
- What you do not get, by design: any single device’s data, or how many devices took part.