Skip to main content

rovidence-eval

Score a robot pilot against its acceptance criteria from the command line or Python.

rovidence-eval reads a pilot log CSV (one row per shift or day, from a fleet manager, WMS or spreadsheet) and a YAML file of acceptance gates. It calculates availability, MTBF, MTTR, mission success, interventions per 1,000 tasks, cost per task and payback, then returns a GO, CONDITIONAL GO or NO-GO verdict.

It is deterministic and runs offline. It implements the published Rovidence methodology, and its results match the Rovidence app and the browser-based pilot evaluator exactly.

Install

pip install rovidence-eval

Python 3.9 or later.

Quick start

Prefer a browser version or need to share a visual summary with non-technical stakeholders? Use the web version at https://rovidence.com/tools/robot-pilot-evaluator.

rovidence-eval init        # writes sample_pilot_log.csv and acceptance_gates.yaml
rovidence-eval run sample_pilot_log.csv --gates acceptance_gates.yaml
Gate                          Target             Measured   Result
──────────────────────────────────────────────────────────────────
Availability                   ≥ 92%                91.2%    MISS
MTBF                         ≥ 200 h                212 h    PASS
MTTR                        ≤ 60 min               47 min    PASS
Mission success                ≥ 95%                96.8%    PASS
Interventions     ≤ 10 / 1,000 tasks   14.3 / 1,000 tasks    MISS
Cost per task                ≤ £0.15                £0.14    PASS
Payback                  ≤ 24 months            22 months    PASS

 CONDITIONAL GO   5 of 7 acceptance gates met

The sample is generated demo data for a 12-week AMR pilot.

Inputs

Pilot log (CSV): one row per shift or day, with fleet totals:

date,shift,operating_hours,assigned_tasks,completed_tasks,failures,failure_causes,downtime_minutes,repair_minutes,interventions,intervention_causes,charging_events,charging_minutes_lost,safety_events,safety_check_downtime,support_labor_hours,ambient_temp_c
2026-06-08,Early,96,2568,2446,0,,30,0,39,exception_handling:22;rescue:12;restock_support:5,14,296,0,200,5.2,28.1

The whole file is validated before anything is calculated. Errors are reported with their row numbers. See the column reference.

Gates (YAML): your thresholds. Leave out any gate you don't need:

gates:
  availability_min_pct: 92
  mtbf_min_hours: 200
  mttr_max_minutes: 60
  mission_success_min_pct: 95
  interventions_max_per_1000_tasks: 10

Cost per task and payback gates also need a costs and baseline section. See the config reference.

Verdict and exit codes

The CLI, public browser evaluator and main Rovidence app use the same convention:

  • Machine-readable verdict (Python API and JSON): GO, CONDITIONAL_GO, NO_GO, or null (None in Python) when no gates are configured.
  • Display label (verdict_label in Python/JSON; verdictLabel inside the web app): GO, CONDITIONAL GO, NO-GO, or NO VERDICT. Terminal, Markdown and web reports show these readable labels.

Use verdict in code and automation; do not parse the terminal label.

verdict Display label Rule Exit code
GO GO Every gate passes 0
CONDITIONAL_GO CONDITIONAL GO At least two-thirds of gates pass 2
NO_GO NO-GO Fewer than two-thirds pass 1
null NO VERDICT No gates configured 4

For example, --format json includes both:

{
  "verdict": "CONDITIONAL_GO",
  "verdict_label": "CONDITIONAL GO"
}

Other exit codes: 3 invalid input, 4 no gates configured, 64 usage error. A scheduled job can therefore act on the result directly:

rovidence-eval run weekly_export.csv -g acceptance_gates.yaml -o report.json || notify-team "$?"

Commands

Command Description
run LOG [-g GATES] [-f table|json|markdown] [-o FILE] [--weeks] Evaluate a log. LOG can be - for stdin. -o writes JSON, or Markdown for .md
init [DIR] [--blank] Write the sample files, or empty templates
verify REPORT [--log LOG] Check that a JSON report hasn't been edited and, with --log, that it reproduces from that file
push LOG --api-key KEY Upload rows to a private evaluation on rovidence.com (optional)
schema columns|config|report Print a JSON Schema

Python API

from rovidence_eval import evaluate_pilot_csv

report = evaluate_pilot_csv("sample_pilot_log.csv", "acceptance_gates.yaml")
report.verdict          # "GO" | "CONDITIONAL_GO" | "NO_GO" | None
report.verdict_label    # "GO" | "CONDITIONAL GO" | "NO-GO" | "NO VERDICT"
for gate in report.gates:
    print(gate.label, gate.value_text, "PASS" if gate.pass_ else "MISS")
report.model_dump_json(by_alias=True)

Invalid input raises PilotDataError; its .errors list holds the row-numbered messages. Lower-level functions are also exported: parse_pilot_csv, aggregate_weeks, compute_metrics, evaluate_gates and verdict_for.

Development

pip install -e ".[test]"
pytest

The tests compare results against vectors generated from the Rovidence app's TypeScript engine (tests/fixtures/ts_vectors.json). Regenerate them with tools/gen_vectors.mts after any change to the methodology.

To release, bump __version__ in src/rovidence_eval/__init__.py and merge to the default branch. CI runs the tests, creates the GitHub release and publishes to PyPI.

License

MIT

Metadata

Release files for rovidence-eval 0.1.1

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

Source distribution (sdist)

Source distribution for rovidence-eval 0.1.1
File Size Uploaded Provenance Actions
rovidence_eval-0.1.1.tar.gz 136.5 kB With provenance Details for rovidence_eval-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rovidence-eval 0.1.1
File Interpreter ABI Platform Actions
rovidence_eval-0.1.1-py3-none-any.whl Python 3 none any Details for rovidence_eval-0.1.1-py3-none-any.whl

Total release size: 173.4 kB

Release files / rovidence_eval-0.1.1.tar.gz

Download URL rovidence_eval-0.1.1.tar.gz
Size 136.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0672e55b9b5f0de4835148bf88f6aa9ab6288c7f9ab152c40bb926da4c1cb2e2
BLAKE2b-256 checksum
How to use checksums
45098e2462be0c01a25a541a0b609fca5771a193494381fcb86f9fceaade7994
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 Nov 26, 2026.

Transparency log

Release files / rovidence_eval-0.1.1-py3-none-any.whl

Download URL rovidence_eval-0.1.1-py3-none-any.whl
Size 37.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ecdc063ffb7474205043e4d591cc9bafa0c9ad2f656e6bc2c68307e434957811
BLAKE2b-256 checksum
How to use checksums
397007e8655e6b577e401bee243d575e2d91cabd3001c6d350ea163b0699bafc
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 Nov 26, 2026.

Transparency log

Security for rovidence-eval 0.1.1

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 rovidence_eval-0.1.1.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 Nov 26, 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.

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