Data and policy interfaces¶
FINEST checks observations, actions, and checkpoint metadata before a rollout. Current formats use finest.* identifiers; older development schemas and import aliases are unsupported.
Observations and actions¶
An observation maps field names to task identity, state values, and RGB images. State fields have fixed shapes and must contain finite values. Images must match the declared format. Each policy declares which fields it reads.
Insertion RL experts output six Cartesian pose increments. The five IL adapters use seven values in both task modes: the same six increments plus an absolute gripper width in metres. The evaluator also accepts policies that explicitly declare six-dimensional actions for insert_only; grasp_then_insert requires gripper control. Policies must follow their declared position units, rotation convention, scaling, and gripper-width units.
Datasets and checkpoints¶
Raw-episode metadata records the schema, capture phase, image color order, and alignment between actions and transitions. A policy manifest records the task, backend, mode, environment, assets, input fields, action format, weights, preprocessing files, and training provenance. File paths must be relative to the packaged checkpoint, and hashes are checked when it loads.
An RL run manifest describes an expert training run. An IL policy manifest describes a package ready for serving. To use an RL expert for imitation learning, collect demonstrations and train an IL policy; the RL checkpoint itself is not an IL package. Changes to the backend, geometry, task mode, or observation format may require regenerating data or retraining.
Policy service¶
The policy server manages prediction state, action chunks, and temporal or reactive execution. It initializes the session and validates metadata before the rollout. The evaluator sends the policy its declared observations; privileged success and geometry information remain internal to the simulator. See evaluation for reported metrics.
The interface definitions live in benchmark/contract.py, benchmark/policy_manifest.py, benchmark/protocol.py, and envs/tasks/catalog.py. When changing them, include tests that reject incompatible schemas, missing fields, modified weights, and incorrect action dimensions.