Skip to main content

positronic-evals

The definitions of the public evals, the labelers that read a recorded episode, the rules that score a run, and MolmoSpaces' committed episode lists.

positronic runs these evals on your machine, positronic-platform-client names them on the wire, and a service that scores a run reads them. Each of them installs this distribution. It depends on pydantic, pyarrow and positronic-eval-vocabulary, and on no robotics stack and no client, so a service installs it alone:

uv add "positronic-evals @ git+https://github.com/Positronic-Robotics/positronic@<tag or commit>#subdirectory=evals"

positronic_evals.slug carries an IntEnum on the wire as its lowercase name.

Public evals

positronic_evals.evals carries the definitions of the public evals. A definition pins what the platform runs under the eval's name: the positronic eval config and its arguments, the trials, the time limit of one run, its scoring, and the positronic commit that the platform runs the config at. public_eval(name) returns one definition, and PUBLIC_EVALS names them all. The platform also offers evals that it does not publish, and public_eval refuses their names.

positronic eval run with --policy takes a public eval's name as --eval, and runs that eval on your machine. The run uses the positronic you installed. It warns when that positronic is not the commit the definition names, because the two runs can then differ. A local run does not stop at the time limit.

Labels and scores

positronic_evals.labels reads what happened in a recorded episode. A labeler reads one episode directory and gives its Label: the episode's id and task, its end, and a list of timed events. An event is a stage that the arm reached, a count of items delivered, a count of subtasks achieved, or one of the three end events: Success, Fail and Safety. The earliest end event gives the outcome. A label with no end event ran out of time. The label's other views, such as stage_seconds and placements, are properties computed from its events. Label.until(seconds) gives the label as it stood at that time.

positronic_evals.scoring states what a label is worth. An eval's Scoring names its labelers in order of precedence, and its primary metric. label(episode, scoring.labelers) gives a pair: the first labeler that labels the episode, and its label. It gives None when no labeler labels the episode. score(scoring, labels) takes the label of each episode, or None. For the episode directories episodes of one run:

from positronic_evals.evals import EvalRef, public_eval
from positronic_evals.labels import label
from positronic_evals.scoring import score

scoring = public_eval(EvalRef('molmo.franka_pick_mini')).scoring
picked = [label(episode, scoring.labelers) for episode in episodes]
scores = score(scoring, [None if given is None else given[1] for given in picked])

score gives Scores, which holds three numbers. primary is the mean episode score, or the mean of the task means where the metric sets per_task, and a board ranks on it. episodes counts every episode, and unscored counts the episodes that no labeler labelled. primary does not count those as failures. No file holds a score: a score is a function of the labels.

PUBLIC_LABELERS holds the labelers that this package publishes, molmo, robolab and abc. A caller with labelers of its own passes label a table that holds them beside PUBLIC_LABELERS. The MolmoSpaces labeler takes the end of a trial from the episode's signal files: the time from the first sample to the last, on the world clock. That time can exceed the trial by up to one control step.

The RoboLab labeler reads the end of a trial in the same way. Its task is the task id that RoboLab names, and not the instruction. It also reads the subtask signal, which RoboLab records at each step, and gives a SubtaskAchieved event, with RoboLab's score, for each change of the subtasks completed. A change of the score alone is not an event. A RoboLab eval scores a success 1.0, and any other episode the score at its last change of the count, or 0 where it completed no subtask. Where RoboLab grades progress within a subtask, this score does not count that progress:

from positronic_evals.labels import ROBOLAB_LABELER
from positronic_evals.scoring import EpisodeScore, MeanEpisodeScore, Scoring

robolab = Scoring(
    labelers=(ROBOLAB_LABELER,), primary=MeanEpisodeScore(episode_score=EpisodeScore(use_subtask_score=True))
)

The ABC labeler reads the end of a trial in the same way, and its task is the task id that ABC names. ABC's evaluator records its progress through the task at each step as the task_eval.reward signal, from 0 to 1. abc_max_progress(episode) gives the largest value of that signal, which is how ABC scores progress. It gives None for an episode that records no such sample. An ABC eval ranks on the mean of its task success rates, and a trial that runs out of time scores 0. Progress is not part of Scores.

ABC evals

abc.yam_bimanual runs the 29 tasks that ABC ships a success evaluator for, on the bimanual i2rt YAM. abc.yam_bimanual_multitask runs the five tasks that ABC's multi-task sim policy trained on. Each task runs 20 trials with the seeds 20260511 to 20260530. By default, ABC's own sim eval draws its first 20 worlds from the same seeds. Both evals render from the zed_x camera view, a fit to the ZED-X stations of the ABC-130k dataset, at 416 by 260 pixels.

MolmoSpaces episode lists

positronic_evals.molmo_spaces holds the episode lists that an offline sweep builds, by benchmark path below the asset packs' benchmarks directory. RIGHT_VIEW_BLOCKED_PATH lists the episodes where scene geometry hides the start grasp site from the right shoulder camera. The MolmoSpaces sim server leaves those episodes out of an open selection and refuses a pinned one. No public eval pins one.

from positronic_evals.molmo_spaces import RIGHT_VIEW_BLOCKED_PATH, read_episode_list

blocked = read_episode_list(RIGHT_VIEW_BLOCKED_PATH)

A benchmark that a list does not name is unswept. Rebuild a list when the pinned MolmoSpaces revision or the asset packs change. A new list goes beside right_view_blocked.json, with its path constant in positronic_evals.molmo_spaces, and read_episode_list reads it.

Metadata

Release files for positronic-evals 0.2.4

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

Source distribution (sdist)

Source distribution for positronic-evals 0.2.4
File Size Uploaded Provenance Actions
positronic_evals-0.2.4.tar.gz 79.6 kB Without provenance Details for positronic_evals-0.2.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for positronic-evals 0.2.4
File Interpreter ABI Platform Actions
positronic_evals-0.2.4-py3-none-any.whl Python 3 none any Details for positronic_evals-0.2.4-py3-none-any.whl

Total release size: 215.8 kB

Release files / positronic_evals-0.2.4.tar.gz

Download URL positronic_evals-0.2.4.tar.gz
Size 79.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c423ceb2f7d2bdfa9fbf17b453801b39c8a182726d5226942e80c37849bc1c25
BLAKE2b-256 checksum
How to use checksums
e03259c100481cb1971cffda20d5d16ac1223619233aa5d6b8ab5f4072c6f47d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / positronic_evals-0.2.4-py3-none-any.whl

Download URL positronic_evals-0.2.4-py3-none-any.whl
Size 136.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b9c252edb07e1c83ed1356dda84ff8af49ad654a76be31314a5b4168dabfac10
BLAKE2b-256 checksum
How to use checksums
3351ca0d4377d90fd85429a11ac0b8093c1ab3258cd98a61161487191a5fe8a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for positronic-evals 0.2.4

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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