Platform and RL architecture¶
FINEST has three main components: envs/ implements simulation and RL experts, benchmark/ handles collection and evaluation, and policy/ contains imitation-learning models and their training and inference code.
Task selection¶
envs/tasks/catalog.py maps the five task IDs to environment classes, asset families, default assets, supported backends, and action formats. Each task/backend/profile has three files:
config/<task>/<backend>/<profile>/environment.yaml
config/<task>/<backend>/<profile>/train.yaml
config/<task>/<backend>/<profile>/eval.yaml
Shared recipes live in config/_shared/. Resolve the configuration before starting a job. Choose the task mode in the profile; it cannot be changed through an evaluator override.
Backends¶
CPU/SB3 and GPU/MJLab use the same task IDs and data interfaces, with separate simulation stacks, training code, and checkpoints. The collector reads the expert run manifest to select the appropriate runtime. Checkpoints cannot be transferred between backends.
CPU/GPU consistency tests cover observations, randomization, reset geometry, rewards, and success conditions. Sharing a task name does not guarantee identical numerical results or policy performance.
Assets and generated files¶
Profiles use V3 assets for the seven regular/connector geometries with a 0.5 mm total gap. Other clearances, charger assets, and gear assets retain their own versions. Saved datasets and checkpoints record the geometry and resolved environment configuration. After regenerating assets or changing controller behavior, rerun the relevant tests and check compatibility with existing weights.
Generated scenes, data, and training outputs use the configured storage paths. Source assets live in assets/. Development continues on main; the archive ledger records the earlier branches and their contributions.