INSTRUMENT / ENDPOINT RUNNER
Measure the deployment you run.
The runner sends a bounded workload from your machine to an OpenAI-compatible endpoint you control, times every request, and writes one JSON trial with its limitations attached. Three trials under the same configuration pack into a Deployment Passport. It runs from a source checkout of the toolchain; there is no npm release.
A result is measured evidence about one served endpoint under one declared request shape. It says nothing about a best model, runtime or accelerator, and it is not comparison eligible on its own.
- v0.1
- runner version, source checkout only
- measured
- evidence class of every result
- 3
- trials with one configuration to pack a Passport
- 0
- results admitted to a comparison
What the runner measures.
Warm-up requests stay outside the measured set. Successful and failed requests stay visible. Missing token usage or a missing first-token event is recorded as a gap, not filled in.
- Time to first token
- Client-observed TTFT for successful streams that return content, summarised with a count and distribution statistics.
- Request latency
- End-to-end request duration. Failures and timeouts stay in the set rather than being dropped.
- Success and failure
- Attempted, successful and failed requests, with the HTTP status or a structured error class for each failure.
- Observed throughput
- Request throughput, and output-token throughput when the endpoint returns complete usage metadata.
What it does not measure.
These stay unknown in the current runner. They are requirements for later protocol and adapter releases, not implied capabilities.
- Accelerator and host memory
unknown - Expert routing and all-to-all communication
unknown - Quality retention and task correctness
unknown - Power, energy and infrastructure cost
unknown - Failure recovery and availability
unknown - Artifact bytes behind a remote endpoint
unknown
What leaves your machine.
Requests go directly from your machine to the endpoint you name. The result stores the identity and size of each prompt, the request timings, and token usage when the endpoint supplies it.
- Never stored
- The API key, the prompt text and the response text.
- Retained
- The SHA-256 of each prompt, its UTF-8 byte count, request timings, and the usage fields the endpoint returned.
- Uploaded
- Nothing. The runner does not send a result anywhere. Publishing a Passport is a separate step the operator takes; the v0.1 runner has no upload.
A measured run is not yet comparable.
Every standalone result carries comparisonEligible: false. A runtime version, precision, prompt identity, topology, concurrency or checkpoint revision changes what was measured, so the same model name is not the same experiment. MOEModels admits a comparison only when the fields below and the raw evidence pass review.
- Exact artifact identity and an immutable revision
reviewed - Pinned runtime, version, precision and launch configuration
reviewed - Hardware, node, accelerator and interconnect topology
reviewed - Repeated trials, with incomplete and failed observations retained
reviewed - Raw evidence review and a complete methodology fingerprint
reviewed
Verification is complete for every published Passport. Admission to a comparison is a separate review and has not been run for any of them. The evidence registry
The run sits between the plan and the Passport.
One evidence contract connects the plan in the browser, the measurement on your machine and the portable record. Each step has its own instrument.
- Plan
- Bind an artifact, runtime target, hardware topology, workload and service objective in the workbench. The plan is a lower bound and a list of open gates, not a prediction. Build the plan
- Run
- Point the runner at an OpenAI-compatible streaming endpoint you control. Weights and prompts are not uploaded to MOEModels. Runner guide
- Verify
- Pack three trials with the same configuration under one content address, recompute every summary, and check the optional operator signature. Passport verifier
From a source checkout
# From a source checkout of the toolchain (repository access required while the public candidate is reviewed)
git clone https://github.com/SamSnead85/moemodels.git
cd moemodels
npm ci
# Run against an endpoint you control; repeat three times with an identical configuration
MOEMODELS_BENCH_API_KEY=... npm run moemodels -- run \
--endpoint http://127.0.0.1:8000/v1/chat/completions \
--model <served-model> \
--artifact-repository <owner/repository> \
--artifact-revision <immutable-commit> \
--runtime <runtime> --runtime-version <version> \
--hardware <hardware> --topology <topology> \
--requests 12 --concurrency 1 --max-output-tokens 256 --warmup-requests 2 \
--output trial-01.json
# Pack the compatible trials into one Passport, then sign it
npm run moemodels -- pack trial-01.json trial-02.json trial-03.json --output passport.json
npm run moemodels -- sign passport.json --private-key operator-ed25519.pem --output signed-passport.json
# Recompute digests, summaries, reproducibility gates and the signature, offline
npm run moemodels -- verify signed-passport.json --jsonThe CLI refuses to overwrite an existing output file. The complete local guide