diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7e80e61..6ef2e83 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -72,6 +72,7 @@ jobs: dvidia-robot-sim --help dvidia-robot-sim list dvidia-piper-grip --help + dvidia-piper-contact --help dvidia-training-doctor --json - name: Test footage, visual training and loopback studio run: python -m unittest tests.test_footage_data tests.test_footage_train tests.test_footage_pipeline tests.test_footage_benchmark tests.test_training_studio tests.test_doctor tests.test_coverage tests.test_episode_tape tests.test_reaction tests.test_reaction_metrics tests.test_reaction_convergence tests.test_reaction_benchmark tests.test_motor_memory tests.test_motor_metrics tests.test_motor_benchmark tests.test_observations tests.test_observation_models tests.test_motion tests.test_motion_benchmark tests.test_transition_model tests.test_transition_pilot tests.test_transition_cli tests.test_embodiment_calibration tests.test_embodiment_cli tests.test_reference_sim -v @@ -79,7 +80,7 @@ jobs: reference: name: Hardware reference / Linux / Python 3.12 runs-on: ubuntu-latest - timeout-minutes: 15 + timeout-minutes: 30 steps: - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0 with: @@ -138,7 +139,7 @@ jobs: - name: Test profile contracts against pinned native assets env: DVIDIA_ROBOT_PROFILE_ASSETS: runs/robot-profile-assets-ci - run: python -m unittest tests.test_robot_profiles tests.test_piper_task tests.test_piper_task_benchmark tests.test_piper_grip_guard tests.test_piper_grip_benchmark -v + run: python -m unittest tests.test_robot_profiles tests.test_piper_task tests.test_piper_task_benchmark tests.test_piper_grip_guard tests.test_piper_grip_benchmark tests.test_piper_contact_memory tests.test_piper_contact_benchmark -v - name: Retain PiPER contact task and matched controls run: | dvidia-piper-task benchmark runs/robot-profile-assets-ci --output runs/piper-task-ci --nominal 1 --stress 0 @@ -152,6 +153,10 @@ jobs: python -m pip install -r publishing/huggingface/requirements.txt python -m unittest discover -s publishing/huggingface -p 'test_publish_robot_sim.py' -v python -m unittest discover -s publishing/huggingface/robot-simulation-lab -p 'test_*.py' -v + - name: Retain contact history, slowdown and recovery comparison + run: | + dvidia-piper-contact benchmark --assets runs/robot-profile-assets-ci --output runs/piper-contact-ci + dvidia-piper-contact inspect runs/piper-contact-ci - name: Preserve additional profile evidence if: always() uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 @@ -160,6 +165,7 @@ jobs: path: | runs/piper-task-ci runs/piper-grip-ci + runs/piper-contact-ci runs/piper-smoke-ci runs/so101-smoke-ci if-no-files-found: ignore diff --git a/README.md b/README.md index c897a16..60c56b2 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,14 @@ test lift before carrying, one supported recovery attempt, and a paired benchmark against the original controller. It uses current simulator state; task completion, grip qualification, retries and aborts are recorded separately. +The [contact-history v0.3 candidate](docs/piper-contact-memory-v03.md) compares +the original controller, test lift alone, and bounded slowdown/closed-hold +reassessment. Its complete paired benchmark varies object mass and friction; +resuming a movement and recovering a completed placement are separate outcomes. +The [84-attempt confirmation](benchmarks/piper-contact-v03-20261011/README.md) completes +6/12 history placements versus 4/12 for each paired alternative, with all 48 +negative controls failing. These are synthetic, privileged-state results. + Train a small visual model from Skillspace footage on your own computer or server. The pipeline checks actual videos and source groups, fixes training/development/test splits, fits weights on a CPU, and exports a result with held-out measurements and integrity hashes. The base install needs **Python 3.12+, NumPy and FFmpeg**. It needs no GPU, CUDA, account or API key. Training is offline by default; downloading software or public footage is a separate, explicit step. diff --git a/benchmarks/piper-contact-development-20261011/README.md b/benchmarks/piper-contact-development-20261011/README.md new file mode 100644 index 0000000..5f83f9e --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/README.md @@ -0,0 +1,23 @@ +# PiPER contact-memory development appendix + +This archive retains all 13 scripted exploratory development attempts, including four unsuccessful tasks, before the separately reserved confirmation cohort. These repeated fixtures are development evidence and do not estimate reliability or detector accuracy. Every attempt was numerically valid, used its original fixed 20-second window, and retains all 1,000 commands and 1,001 native states. No attempt was removed or overwritten. + +The new controller inherits the exact v0.2 acquisition probe and supported one-retry limit. `probe_only` removes carry monitoring only. `history` uses a causal short TCP-local offset window and may request reduced joint deltas, hold closed, reassess and resume. Native forces, gains, dynamics and the outcome scorer are unchanged. Contacts and object poses are privileged simulator observations; this is not a hardware safety controller or a learned model. + +| Candidate | Recorded attempts | Change | +| --- | ---: | --- | +| r0 | 6 | Initial finite parameter design: probe-only/history at three friction values, 40 g | +| r1 | 6 | Correctness checks: maximum pairwise excursion prevents endpoint-canceling oscillation from qualifying as settled; unscaled teacher targets are recorded for command audit. Four history scenes plus current/frozen v0.2 baseline comparison | +| r2 | 1 | Clear completed settling dwell after resume; controller motion is unchanged. Final-source 40 g moderate-friction check | + +No controller threshold was tuned between these candidates. Complete exact source snapshots are under `sources/r0`, `sources/r1`, `sources/r2`, and `sources/frozen-v02`. `summary.json` binds every attempt to its own snapshot and includes stored/decoded hashes, events, timing and task outcomes. Original decoded JSON bytes are preserved inside deterministic gzip files. + +The nominal 40 g fixture completed in both new modes. At friction 0.55, the 40 g probe-only fixture completed at 15.632 seconds; history completed at 18.421 seconds after one requested slowdown, one closed hold and one resume. The 60 g nominal-friction history fixture also completed after one hold/resume. The 60 g moderate-friction fixture failed acquisition, and low-friction fixtures failed after the inherited bounded probe/retry behavior. These results remain exploratory; they are separate from confirmation denominators. + +The retained current baseline and frozen v0.2 baseline have exactly equal issued commands and exactly equal every-row native `qpos` and `qvel` values. Their provenance/recording fields naturally differ with source identity. + +Requested slowdown is not proof of immediate physical slowdown. For the 40 g moderate-friction fixture, actual mean TCP speed in the 120 ms before/after the slowdown request increased from 79.8 to 88.9 mm/s. In the first 120 ms after the measured-target hold it was 12.1 mm/s; in the 120 ms before resume it was 3.6 mm/s, and after resume 34.3 mm/s. The 60 g nominal-friction fixture showed the same direction of change. Actual speed/path windows are retained in `summary.json`; this archive makes no instantaneous arrest claim. + +The PiPER simulation asset notices are preserved in `licenses/agilex_piper`. DVIDIA source code is MIT; its license is retained in `licenses/DVIDIA-MIT.txt`. No model mesh assets, raw video, weights or credentials are included. Fetching and simulating assets is a separate pinned operation; inspecting these recorded files requires no network or native simulation. + +`integrity.json` lists every archive file with byte counts and SHA-256, plus decoded byte counts and SHA-256 for gzip attempts. This seal checks recorded file consistency; it is not cryptographic authentication of physical robot competence. diff --git a/benchmarks/piper-contact-development-20261011/attempts/r0/history-low.json.gz b/benchmarks/piper-contact-development-20261011/attempts/r0/history-low.json.gz new file mode 100644 index 0000000..1ef36eb Binary files /dev/null and b/benchmarks/piper-contact-development-20261011/attempts/r0/history-low.json.gz differ diff --git a/benchmarks/piper-contact-development-20261011/attempts/r0/history-moderate.json.gz b/benchmarks/piper-contact-development-20261011/attempts/r0/history-moderate.json.gz new file mode 100644 index 0000000..c08240f Binary files /dev/null and b/benchmarks/piper-contact-development-20261011/attempts/r0/history-moderate.json.gz differ diff --git a/benchmarks/piper-contact-development-20261011/attempts/r0/history-nominal.json.gz b/benchmarks/piper-contact-development-20261011/attempts/r0/history-nominal.json.gz new file mode 100644 index 0000000..dd7a75c Binary files /dev/null and b/benchmarks/piper-contact-development-20261011/attempts/r0/history-nominal.json.gz differ diff --git a/benchmarks/piper-contact-development-20261011/attempts/r0/probe_only-low.json.gz b/benchmarks/piper-contact-development-20261011/attempts/r0/probe_only-low.json.gz new file mode 100644 index 0000000..5524311 Binary files /dev/null and b/benchmarks/piper-contact-development-20261011/attempts/r0/probe_only-low.json.gz differ diff --git a/benchmarks/piper-contact-development-20261011/attempts/r0/probe_only-moderate.json.gz b/benchmarks/piper-contact-development-20261011/attempts/r0/probe_only-moderate.json.gz new file mode 100644 index 0000000..88ca6d2 Binary files /dev/null and b/benchmarks/piper-contact-development-20261011/attempts/r0/probe_only-moderate.json.gz differ diff --git a/benchmarks/piper-contact-development-20261011/attempts/r0/probe_only-nominal.json.gz b/benchmarks/piper-contact-development-20261011/attempts/r0/probe_only-nominal.json.gz new file mode 100644 index 0000000..e05371b Binary files /dev/null and b/benchmarks/piper-contact-development-20261011/attempts/r0/probe_only-nominal.json.gz differ diff --git a/benchmarks/piper-contact-development-20261011/attempts/r1/baseline-current.json.gz b/benchmarks/piper-contact-development-20261011/attempts/r1/baseline-current.json.gz new file mode 100644 index 0000000..1479455 Binary files /dev/null and b/benchmarks/piper-contact-development-20261011/attempts/r1/baseline-current.json.gz differ diff --git a/benchmarks/piper-contact-development-20261011/attempts/r1/baseline-frozen-v02.json.gz b/benchmarks/piper-contact-development-20261011/attempts/r1/baseline-frozen-v02.json.gz new file mode 100644 index 0000000..4b17b94 Binary files /dev/null and b/benchmarks/piper-contact-development-20261011/attempts/r1/baseline-frozen-v02.json.gz differ diff --git a/benchmarks/piper-contact-development-20261011/attempts/r1/low06.json.gz b/benchmarks/piper-contact-development-20261011/attempts/r1/low06.json.gz new file mode 100644 index 0000000..a29b3a5 Binary files /dev/null and b/benchmarks/piper-contact-development-20261011/attempts/r1/low06.json.gz differ diff --git a/benchmarks/piper-contact-development-20261011/attempts/r1/moderate04.json.gz b/benchmarks/piper-contact-development-20261011/attempts/r1/moderate04.json.gz new file mode 100644 index 0000000..28e2219 Binary files /dev/null and b/benchmarks/piper-contact-development-20261011/attempts/r1/moderate04.json.gz differ diff --git a/benchmarks/piper-contact-development-20261011/attempts/r1/moderate06.json.gz b/benchmarks/piper-contact-development-20261011/attempts/r1/moderate06.json.gz new file mode 100644 index 0000000..07eb532 Binary files /dev/null and b/benchmarks/piper-contact-development-20261011/attempts/r1/moderate06.json.gz differ diff --git a/benchmarks/piper-contact-development-20261011/attempts/r1/nominal06.json.gz b/benchmarks/piper-contact-development-20261011/attempts/r1/nominal06.json.gz new file mode 100644 index 0000000..9085e37 Binary files /dev/null and b/benchmarks/piper-contact-development-20261011/attempts/r1/nominal06.json.gz differ diff --git a/benchmarks/piper-contact-development-20261011/attempts/r2/moderate04.json.gz b/benchmarks/piper-contact-development-20261011/attempts/r2/moderate04.json.gz new file mode 100644 index 0000000..5a5ef9f Binary files /dev/null and b/benchmarks/piper-contact-development-20261011/attempts/r2/moderate04.json.gz differ diff --git a/benchmarks/piper-contact-development-20261011/integrity.json b/benchmarks/piper-contact-development-20261011/integrity.json new file mode 100644 index 0000000..77c3594 --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/integrity.json @@ -0,0 +1,224 @@ +{ + "schema": "dvidia.piper-contact-development-integrity/v1", + "files": { + "README.md": { + "bytes": 3745, + "sha256": "4700cc4c05e6364ea32a040ffa6f154550058bc160bf30ed63fa96da393ba954" + }, + "attempts/r0/history-low.json.gz": { + "bytes": 723501, + "sha256": "acee8a0f41679657a0ad00085e93b04606a712bf4612722b91bb30607ed6c196", + "encoding": "gzip", + "decoded_bytes": 4271896, + "decoded_sha256": "e0937762208f30f3efab78eaab7c0d6546f1c56921f18ab338b3cafa4480c7e6" + }, + "attempts/r0/history-moderate.json.gz": { + "bytes": 797150, + "sha256": "0098f49f743cb0d5b388f77228a82862c271b028125641269083fb5176a912b6", + "encoding": "gzip", + "decoded_bytes": 4203582, + "decoded_sha256": "72340c8fc8af977f2634fcd5cde237292a771444dd411ad7a4956b93ac4d746e" + }, + "attempts/r0/history-nominal.json.gz": { + "bytes": 786460, + "sha256": "89fb6ec0f87f0b9023510294b63328ec0c2a622911169515cf8ee8fe8b4c5b15", + "encoding": "gzip", + "decoded_bytes": 4206172, + "decoded_sha256": "5bfc275a5bb65f48197b965e04310a9c906124c39cc6a5d5b039d67cfd825eb9" + }, + "attempts/r0/probe_only-low.json.gz": { + "bytes": 723510, + "sha256": "58d4ff92c686c93df7fc8e68f3fc02b44c8e132284164ee653f27cb2c174e167", + "encoding": "gzip", + "decoded_bytes": 4271902, + "decoded_sha256": "ce5c8f3fd0fc82745793e7feea6f23fb2d7fc226f27d1ebc2cd24fcd61de4f59" + }, + "attempts/r0/probe_only-moderate.json.gz": { + "bytes": 775306, + "sha256": "bf6e0441590dcde1fa326e902a5be82e9a2d4e3de51fe33351a5ea4ed1830c52", + "encoding": "gzip", + "decoded_bytes": 4153500, + "decoded_sha256": "a939c1f5f38f2ae40cd202d8b10addc8540a554718e6bdd6cf49852c05e771c7" + }, + "attempts/r0/probe_only-nominal.json.gz": { + "bytes": 786446, + "sha256": "bf95ffbeb79a67ad2b8d59cdd9af136adeabd94f46df69aaba1b7679768f0f18", + "encoding": "gzip", + "decoded_bytes": 4205430, + "decoded_sha256": "a168981d41e7151c63bdf4ab87bf342e7783452e81acb31aead0dbe39f314f86" + }, + "attempts/r1/baseline-current.json.gz": { + "bytes": 715805, + "sha256": "98d4f2679745fcbceba9faba7b87b3a3b446dfe70feb8c56b88b5c0ad8720187", + "encoding": "gzip", + "decoded_bytes": 3300091, + "decoded_sha256": "d0f7408b675da05dc77e853f9c75b056367b90c03f3f36d7664e73d3df2dacde" + }, + "attempts/r1/baseline-frozen-v02.json.gz": { + "bytes": 715807, + "sha256": "94ee6cb8c3580b14661be88ef9a4354124ef264e59ad459305af9bb9349a84af", + "encoding": "gzip", + "decoded_bytes": 3300087, + "decoded_sha256": "ec5d5623a3f2a6eeaa57fb4968d2de0f424d7290499e3f963f17f838f9cb9216" + }, + "attempts/r1/low06.json.gz": { + "bytes": 724054, + "sha256": "bfb521bc49b896d8021db76fec50fb1c7c4681204a0d4528281af470f2301435", + "encoding": "gzip", + "decoded_bytes": 4373737, + "decoded_sha256": "e8f840e32617ebc757a82269f28a71df7d6fd3ab754aefe40cd98e5ebb98c564" + }, + "attempts/r1/moderate04.json.gz": { + "bytes": 820840, + "sha256": "987f0032217d23eb588d033bd38fc6c389fbed79d466d9bc477240d220a7068c", + "encoding": "gzip", + "decoded_bytes": 4352227, + "decoded_sha256": "53655685ba5423f3c090a3b5bb1a8bd15077ed00e42f508fb5434a79d310b777" + }, + "attempts/r1/moderate06.json.gz": { + "bytes": 717385, + "sha256": "4b02c5c2daad623353fa23a828133c5708683cda64d83d89f5eac9db0fc5c745", + "encoding": "gzip", + "decoded_bytes": 4398756, + "decoded_sha256": "82628ee8d86011a87362b12387fe5a13a5251857bce649562cab016edf6f55d6" + }, + "attempts/r1/nominal06.json.gz": { + "bytes": 822044, + "sha256": "701523786cb50f5f14429dd97c93a3f04e392be3ba0dd27f5cb02a583e8b8a40", + "encoding": "gzip", + "decoded_bytes": 4346793, + "decoded_sha256": "5d8f984535caf453d919babd4af143eb32f56eb613d798d26d0ef31bd02ccb9a" + }, + "attempts/r2/moderate04.json.gz": { + "bytes": 817971, + "sha256": "22638fc214e6df30c78bf33413e9704ab205a4968fc4e3c40916d23e1c3f5797", + "encoding": "gzip", + "decoded_bytes": 4346724, + "decoded_sha256": "e69dc8c1556160be595df323a84894cf258fe77de41974714a90c4890863e9ec" + }, + "licenses/DVIDIA-MIT.txt": { + "bytes": 1076, + "sha256": "ab47d245880a661fdca3c6a4cb91671031302deee50d64f8d2d6df86832962e1" + }, + "licenses/agilex_piper/LICENSE": { + "bytes": 1065, + "sha256": "e32d78fd3761052ab0b2bb42fef8a7a9ad3f298d315d305333c349d2aff1f134" + }, + "licenses/agilex_piper/README.md": { + "bytes": 1681, + "sha256": "ab0d218758ec6c298417407962f49179e369236e8f316dbaa7671756d6f8eb77" + }, + "sources/frozen-v02/piper_grip_guard.py": { + "bytes": 15452, + "sha256": "90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb" + }, + "sources/frozen-v02/piper_task.py": { + "bytes": 31591, + "sha256": "7ff3cbe17ce77e8fed7a097c930d8cf85f9babdccdd9a5ad18fc2cd49e33716b" + }, + "sources/frozen-v02/reference_sim.py": { + "bytes": 24336, + "sha256": "c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8" + }, + "sources/frozen-v02/reference_task.py": { + "bytes": 34166, + "sha256": "bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e" + }, + "sources/frozen-v02/robot_profiles.lock.json": { + "bytes": 35002, + "sha256": "4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe" + }, + "sources/frozen-v02/robot_profiles.py": { + "bytes": 26493, + "sha256": "fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d" + }, + "sources/r0/piper_contact_memory.py": { + "bytes": 13834, + "sha256": "4079a8cc6576425dca51819eff802417f32d6d5544cc9708424cd6dade353bbf" + }, + "sources/r0/piper_grip_guard.py": { + "bytes": 15452, + "sha256": "90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb" + }, + "sources/r0/piper_task.py": { + "bytes": 32119, + "sha256": "4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167" + }, + "sources/r0/reference_sim.py": { + "bytes": 24336, + "sha256": "c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8" + }, + "sources/r0/reference_task.py": { + "bytes": 34166, + "sha256": "bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e" + }, + "sources/r0/robot_profiles.lock.json": { + "bytes": 35002, + "sha256": "4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe" + }, + "sources/r0/robot_profiles.py": { + "bytes": 26493, + "sha256": "fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d" + }, + "sources/r1/piper_contact_memory.py": { + "bytes": 14465, + "sha256": "e1101eae73e8742e92c96bf58d5245844492ef88959551e53c40af77b74010f4" + }, + "sources/r1/piper_grip_guard.py": { + "bytes": 15452, + "sha256": "90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb" + }, + "sources/r1/piper_task.py": { + "bytes": 32119, + "sha256": "4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167" + }, + "sources/r1/reference_sim.py": { + "bytes": 24336, + "sha256": "c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8" + }, + "sources/r1/reference_task.py": { + "bytes": 34166, + "sha256": "bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e" + }, + "sources/r1/robot_profiles.lock.json": { + "bytes": 35002, + "sha256": "4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe" + }, + "sources/r1/robot_profiles.py": { + "bytes": 26493, + "sha256": "fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d" + }, + "sources/r2/piper_contact_memory.py": { + "bytes": 14507, + "sha256": "f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c" + }, + "sources/r2/piper_grip_guard.py": { + "bytes": 15452, + "sha256": "90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb" + }, + "sources/r2/piper_task.py": { + "bytes": 32119, + "sha256": "4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167" + }, + "sources/r2/reference_sim.py": { + "bytes": 24336, + "sha256": "c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8" + }, + "sources/r2/reference_task.py": { + "bytes": 34166, + "sha256": "bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e" + }, + "sources/r2/robot_profiles.lock.json": { + "bytes": 35002, + "sha256": "4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe" + }, + "sources/r2/robot_profiles.py": { + "bytes": 26493, + "sha256": "fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d" + }, + "summary.json": { + "bytes": 27441, + "sha256": "88f5bf26f3915ad7d5a1771bcd73fcfd61d1c764793b3eb24ce117e7d3607880" + } + } +} diff --git a/benchmarks/piper-contact-development-20261011/licenses/DVIDIA-MIT.txt b/benchmarks/piper-contact-development-20261011/licenses/DVIDIA-MIT.txt new file mode 100644 index 0000000..a7056f2 --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/licenses/DVIDIA-MIT.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 DVIDIA contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/benchmarks/piper-contact-development-20261011/licenses/agilex_piper/LICENSE b/benchmarks/piper-contact-development-20261011/licenses/agilex_piper/LICENSE new file mode 100644 index 0000000..1ace5a2 --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/licenses/agilex_piper/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 RosenYin + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/benchmarks/piper-contact-development-20261011/licenses/agilex_piper/README.md b/benchmarks/piper-contact-development-20261011/licenses/agilex_piper/README.md new file mode 100644 index 0000000..7a300b8 --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/licenses/agilex_piper/README.md @@ -0,0 +1,39 @@ +## AgileX PiPER Description (MJCF) + +> [!IMPORTANT] +> Requires MuJoCo 2.3.4 or later. + +## Changelog + +See [CHANGELOG.md](./CHANGELOG.md) for a full history of changes. + +### Overview + +This package contains a simplified robot description (MJCF) of the [AgileX PiPER](https://global.agilex.ai/products/piper). It is derived from the publicly available [model](https://github.com/agilexrobotics/Piper_ros/tree/ros-noetic-no-aloha/src/piper_description/urdf). + +

+ +

+ +### Derivation steps + +1. Added ` ` to the URDF's + `` clause in order to preserve visual geometries. +2. Loaded the URDF into MuJoCo and saved a corresponding MJCF. +3. Converted the the .objs to .xmls using [obj2mjcf](https://github.com/kevinzakka/obj2mjcf) and replaced the original stls with them (since each obj in mujoco can have 1 color). +4. Merged similar materials between the .objs +5. Created a `` section to define common properties for joints, actuators, and geoms. +6. Added an equality constraint so that the right finger mimics the position of the left finger. +7. Manually designed box collision geoms for the gripper. +8. Added `exclude` clause to prevent collisions between `base_link` and `link1`. +9. Added position controlled actuators. +10. Added `impratio=10` and `cone=elliptic` for better noslip. +11. Added `scene.xml` which includes the robot, with a textured groundplane, skybox, and haze. + +## License + +This model is released under an [MIT License](LICENSE). + +## Acknowledgement + +This model was graciously contributed by [Omar Rayyan](https://orayyan.com/). diff --git a/benchmarks/piper-contact-development-20261011/sources/frozen-v02/piper_grip_guard.py b/benchmarks/piper-contact-development-20261011/sources/frozen-v02/piper_grip_guard.py new file mode 100644 index 0000000..82d4184 --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/sources/frozen-v02/piper_grip_guard.py @@ -0,0 +1,230 @@ +"""Causal, privileged-state PiPER grasp checks; unchanged native dynamics. + +The guard observes only the current recorded robot/object/contact state. It +does not read object mass, friction, the outcome scorer or future observations. +Stopping means holding measured joint targets, not instant physical arrest. +""" +from __future__ import annotations + +from dataclasses import asdict, dataclass +import math + + +SCHEMA = 'dvidia.piper-grip-guard/v1' + + +@dataclass(frozen=True) +class GuardConfig: + probe_height_m: float = .010 + probe_speed_m_s: float = .020 + probe_min_object_rise_m: float = .006 + qualification_dwell_s: float = .10 + relative_drift_limit_m: float = .003 + monitor_min_probe_motion_m: float = .003 + consecutive_alarm_samples: int = 2 + probe_timeout_s: float = 1.4 + close_timeout_s: float = 1.4 + retry_open_timeout_s: float = 1.2 + retry_recenter_timeout_s: float = 1.5 + retry_clearance_m: float = .012 + max_retries: int = 1 + + def __post_init__(self): + # This first experiment has one fixed, reviewable parameter set. + for name, value in asdict(self).items(): + try: + finite = math.isfinite(value) + except (TypeError, ValueError, OverflowError): + finite = False + if isinstance(value, bool) or not isinstance(value, (int, float)) or not finite or value <= 0: + raise ValueError('Invalid guard parameter: '+name) + if type(self.consecutive_alarm_samples) is not int or self.consecutive_alarm_samples != 2 or self.max_retries != 1: + raise ValueError('Guard requires two consecutive observations and at most one retry') + if self.probe_min_object_rise_m >= self.probe_height_m or self.relative_drift_limit_m >= self.probe_height_m: + raise ValueError('Guard probe must exceed its qualification/drift thresholds') + + +def guard_contract(): + return {'schema': SCHEMA, 'parameters': asdict(GuardConfig()), + 'observations': 'grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag', + 'qualification': 'slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms', + 'alarm': 'two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts', + 'recovery': 'hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed', + 'stop': 'requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded', + 'duration': 'original fixed episode timeout including every probe/retry/abort holding command', + 'scope': 'authored simulator controller, not a sensor implementation, hardware safety controller or learned policy'} + + +def inactive_summary(mode): + return {'schema': SCHEMA, 'mode': mode, 'active': False, 'contract': guard_contract(), 'events': [], + 'retry_count': 0, 'acquisition_qualified': False, 'acquisition_qualification_count': 0, + 'abort_reason': None, 'aborted': False, 'diagnostic_count': 0} + + +def _local_offset(observation): + w, x, y, z = observation['tcp_quaternion_wxyz'] + # R transpose times object minus TCP, using the recorded wxyz orientation. + rotation = ((1-2*(y*y+z*z), 2*(x*y-z*w), 2*(x*z+y*w)), + (2*(x*y+z*w), 1-2*(x*x+z*z), 2*(y*z-x*w)), + (2*(x*z-y*w), 2*(y*z+x*w), 1-2*(x*x+y*y))) + difference = [a-b for a, b in zip(observation['object_position_m'], observation['tcp_position_m'])] + return [sum(rotation[row][column]*difference[row] for row in range(3)) for column in range(3)] + + +class GuardedPiperTaskPolicy: + """Wrap the original authored motion policy with a bounded acquisition gate.""" + + def __init__(self, environment): + from .piper_task import PiperTaskPolicy + self.env, self.teacher, self.config = environment, PiperTaskPolicy(environment), GuardConfig() + self.state, self.issued_phase = 'normal', 'approach' + self.events, self.retry_count, self.qualification_count, self.diagnostic_count = [], 0, 0, 0 + self.qualified, self.aborted, self.abort_reason = False, False, None + self.anchor, self.probe_origin, self.probe_quaternion, self.probe_started = None, None, None, None + self.qualification_since, self.stage_started, self.stop_targets = None, None, None + self.drift_streak, self.loss_streak, self.progress_streak = 0, 0, 0 + self.carry_supported, self.diagnostic = False, None + + def summary(self): + return {'schema': SCHEMA, 'mode': 'guarded', 'active': True, 'contract': guard_contract(), + 'events': self.events, 'retry_count': self.retry_count, 'acquisition_qualified': self.qualified, + 'acquisition_qualification_count': self.qualification_count, 'abort_reason': self.abort_reason, + 'aborted': self.aborted, 'diagnostic_count': self.diagnostic_count} + + def _diagnose(self, observation): + offset = _local_offset(observation) + drift = math.dist(offset, self.anchor) if self.anchor is not None else None + return {'t_seconds': observation['t_seconds'], 'phase': self.state if self.state != 'normal' else self.teacher.phase, + 'retry_index': self.retry_count, 'bilateral_contact': all(observation['grasp_contact_counts'].values()), + 'table_supported': observation['table_object_contact_count'] > 0, + 'relative_offset_error_m': drift, + 'object_height_delta_m': observation['object_position_m'][2]-self.probe_origin['object'][2] if self.probe_origin else None, + 'tcp_probe_height_delta_m': observation['tcp_position_m'][2]-self.probe_origin['tcp'][2] if self.probe_origin else None, + 'qualified': self.qualified, 'qualification_dwell_seconds': 0. if self.qualification_since is None else observation['t_seconds']-self.qualification_since, + 'drift_streak': self.drift_streak, 'contact_loss_streak': self.loss_streak, + 'progress_streak': self.progress_streak, 'decision': 'continue'} + + def _event(self, kind, observation, reason): + self.events.append({'type': kind, 't_seconds': observation['t_seconds'], 'phase': self.issued_phase, + 'reason': reason, 'retry_index': self.retry_count, 'diagnostic': dict(self.diagnostic)}) + + def _hold(self, jaw=0.): + return {'joint_targets_rad': list(self.stop_targets), 'gripper_position_m': jaw} + + def _abort(self, observation, reason): + self.stop_targets = list(observation['joint_position_rad']) + self.state, self.issued_phase, self.aborted, self.abort_reason = 'abort', 'guard_abort', True, reason + self.diagnostic['decision'] = 'abort_hold_closed' + self._event('abort', observation, reason) + return self._hold() + + def _alarm(self, observation, reason): + self.stop_targets = list(observation['joint_position_rad']) + self.issued_phase, self.diagnostic['decision'] = 'guard_stop', 'hold_measured_arm' + self._event('alarm', observation, reason) + if self.diagnostic['table_supported'] and observation['unexpected_contact_count'] == 0 and self.retry_count < self.config.max_retries: + self.retry_count += 1 + self.state, self.stage_started = 'retry_open', observation['t_seconds'] + self.qualified, self.qualification_since = False, None + self._event('retry_started', observation, 'supported_object_only') + return self._hold() + return self._abort(observation, reason if not self.diagnostic['table_supported'] else 'retry_budget_exhausted:'+reason) + + def _monitor(self, observation, *, probe): + diagnostic = self.diagnostic + moving = not probe or diagnostic['tcp_probe_height_delta_m'] > self.config.monitor_min_probe_motion_m + drift = moving and diagnostic['relative_offset_error_m'] > self.config.relative_drift_limit_m + loss = moving and not diagnostic['bilateral_contact'] + progress = (probe and moving and diagnostic['table_supported'] + and diagnostic['object_height_delta_m'] < .25*diagnostic['tcp_probe_height_delta_m']) + self.drift_streak = self.drift_streak+1 if drift else 0 + self.loss_streak = self.loss_streak+1 if loss else 0 + self.progress_streak = self.progress_streak+1 if progress else 0 + diagnostic.update(drift_streak=self.drift_streak, contact_loss_streak=self.loss_streak, progress_streak=self.progress_streak) + reason = ('object_not_following' if self.progress_streak >= self.config.consecutive_alarm_samples else + 'relative_slip' if self.drift_streak >= self.config.consecutive_alarm_samples else + 'bilateral_contact_loss' if self.loss_streak >= self.config.consecutive_alarm_samples else None) + return self._alarm(observation, reason) if reason else None + + def __call__(self, observation): + self.diagnostic_count += 1 + self.diagnostic = self._diagnose(observation) + if self.state == 'abort': + self.issued_phase, self.diagnostic['decision'] = 'guard_abort', 'abort_hold_closed' + return self._hold() + if self.state in ('retry_open', 'retry_recenter'): + if not self.diagnostic['table_supported'] or observation['unexpected_contact_count']: + return self._abort(observation, 'support_lost_during_retry') + if self.state == 'retry_open': + self.issued_phase, self.diagnostic['decision'] = 'guard_retry_open', 'open_supported_object' + if observation['t_seconds']-self.stage_started > self.config.retry_open_timeout_s: + return self._abort(observation, 'retry_open_timeout') + if (observation['gripper_joint_position_m'][0] > .028 and observation['gripper_joint_position_m'][1] < -.028 + and not any(observation['grasp_contact_counts'].values())): + self.state, self.stage_started = 'retry_recenter', observation['t_seconds'] + return self._hold(.035) + self.issued_phase, self.diagnostic['decision'] = 'guard_retry_recenter', 'recenter_with_open_jaw' + if observation['t_seconds']-self.stage_started > self.config.retry_recenter_timeout_s: + return self._abort(observation, 'retry_recenter_timeout') + goal = list(observation['object_position_m']) + goal[2] += self.config.retry_clearance_m + action = self.env.pose_action(goal, self.env.config.tool_orientation_wxyz, .035) + # Keep the correction above the supported object until alignment. + current = observation['tcp_quaternion_wxyz'] + desired = self.env.config.tool_orientation_wxyz + aligned = abs(sum(a*b for a, b in zip(current, desired))) > math.cos(.12/2) + if math.dist(goal, observation['tcp_position_m']) < .003 and aligned: + self.teacher.phase, self.teacher.ticks = 'descend', 0 + self.teacher.grasp_position[:] = [*observation['object_position_m'][:2], observation['object_position_m'][2]+.002] + self.teacher.held_offset = None + self.state, self.anchor, self.probe_origin, self.probe_started = 'normal', None, None, None + self.drift_streak = self.loss_streak = self.progress_streak = 0 + self.carry_supported = False + self._event('retry_completed', observation, 'open_recenter_complete') + return action + if self.state == 'probe': + self.issued_phase = 'guard_probe' + if self.probe_started is None: + self.probe_started = observation['t_seconds'] + self.probe_origin = {'object': list(observation['object_position_m']), 'tcp': list(observation['tcp_position_m'])} + self.probe_quaternion = list(observation['tcp_quaternion_wxyz']) + self.anchor = _local_offset(observation) + self.diagnostic = self._diagnose(observation) + self._event('probe_started', observation, 'slow_load_bearing_check') + guarded = self._monitor(observation, probe=True) + if guarded is not None: + return guarded + eligible = (self.diagnostic['bilateral_contact'] and min(observation['pad_normal_forces_n'].values()) > .01 + and not self.diagnostic['table_supported'] + and self.diagnostic['object_height_delta_m'] >= self.config.probe_min_object_rise_m + and self.diagnostic['relative_offset_error_m'] <= self.config.relative_drift_limit_m) + self.qualification_since = (observation['t_seconds'] if self.qualification_since is None else self.qualification_since) if eligible else None + self.diagnostic['qualification_dwell_seconds'] = 0. if self.qualification_since is None else observation['t_seconds']-self.qualification_since + if self.diagnostic['qualification_dwell_seconds']+1e-9 >= self.config.qualification_dwell_s: + self.qualified, self.qualification_count, self.state = True, self.qualification_count+1, 'normal' + self.teacher.held_offset = _local_offset(observation) + self.diagnostic['qualified'], self.diagnostic['decision'] = True, 'qualified_resume_full_lift' + self._event('acquisition_qualified', observation, 'sustained_table_free_probe') + elif observation['t_seconds']-self.probe_started > self.config.probe_timeout_s: + return self._alarm(observation, 'probe_timeout') + goal = list(self.probe_origin['tcp']) + goal[2] += min(self.config.probe_height_m, self.config.probe_speed_m_s*(observation['t_seconds']-self.probe_started+self.env.config.control_dt)) + return self.env.pose_action(goal, self.probe_quaternion, 0.) + # Once qualified, the original motion controller remains responsible for + # lift/transfer/place. Contact scoring remains independent and unchanged. + if self.qualified and self.teacher.phase in ('lift', 'transfer', 'place') and not self.carry_supported: + if (self.diagnostic['table_supported'] and self.diagnostic['bilateral_contact'] + and math.dist(observation['object_position_m'], observation['target_position_m']) <= self.env.config.goal_position_tolerance_m): + self.carry_supported = True + else: + guarded = self._monitor(observation, probe=False) + if guarded is not None: + return guarded + if self.teacher.phase == 'close' and self.teacher.ticks*self.env.config.control_dt >= self.config.close_timeout_s: + return self._alarm(observation, 'closure_timeout') + self.issued_phase = self.teacher.phase + action = self.teacher(observation) + self.issued_phase = self.teacher.issued_phase + if self.issued_phase == 'close' and self.teacher.phase == 'lift': + self.state = 'probe' + return action diff --git a/benchmarks/piper-contact-development-20261011/sources/frozen-v02/piper_task.py b/benchmarks/piper-contact-development-20261011/sources/frozen-v02/piper_task.py new file mode 100644 index 0000000..da1d9f8 --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/sources/frozen-v02/piper_task.py @@ -0,0 +1,487 @@ +"""PiPER free-block contact pilot; authored policy and privileged simulator state. + +The pinned robot's native servos, force limits and gravity compensation remain +unchanged. The block moves under gravity and contact, with no grasp attachment. +""" +from __future__ import annotations + +from dataclasses import asdict, dataclass +from hashlib import sha256 +import math +from pathlib import Path +import platform +import time + +from . import reference_sim as sim +from . import robot_profiles +from .reference_task import ReferenceTaskEnv, _number, _vector + + +PROFILE = 'piper-rigid-block-task-v0.1' +SCHEMA = 'dvidia.piper-task-episode/v1' +SCOPE = ('Authored PiPER rigid-block contact pilot with privileged native state. ' + 'Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. ' + 'No learned skill, camera sensing, shoe manipulation or physical robot qualification.') +ARM_JOINTS = tuple('joint'+str(i) for i in range(1, 7)) + + +@dataclass(frozen=True) +class PiperTaskConfig: + timestep: float = .001 + control_dt: float = .02 + timeout_s: float = 20. + settle_s: float = .5 + object_position_m: tuple = (.30, -.03, .082) + target_position_m: tuple = (.35, .08, .08) + object_half_size_m: tuple = (.02, .02, .02) + mass_kg: float = .04 + friction: float = .8 + table_top_m: float = .06 + table_center_xy_m: tuple = (.38, 0.) + table_half_size_xy_m: tuple = (.17, .22) + table_thickness_m: float = .04 + goal_position_tolerance_m: float = .025 + goal_dwell_s: float = .25 + min_lift_m: float = .06 + min_lift_dwell_s: float = .10 + retreat_clearance_m: float = .10 + joint_target_rate_rad_s: float = 1.5 + jaw_target_rate_m_s: float = .05 + tool_orientation_wxyz: tuple = (0., 0., 1., 0.) + carry_orientation_wxyz: tuple = (math.cos(5*math.pi/12), 0., math.sin(5*math.pi/12), 0.) + + def __post_init__(self): + bounds = {'timestep': (.0005, .002), 'control_dt': (.02, .02), 'timeout_s': (.1, 30.), + 'settle_s': (.1, 2.), 'mass_kg': (.01, .10), 'friction': (.05, 2.), + 'table_top_m': (.04, .20), 'table_thickness_m': (.02, .08), + 'goal_position_tolerance_m': (.01, .025), 'goal_dwell_s': (.1, .6), + 'min_lift_m': (.04, .1), 'min_lift_dwell_s': (.05, .3), + 'retreat_clearance_m': (.08, .15), 'joint_target_rate_rad_s': (.1, 3.), + 'jaw_target_rate_m_s': (.005, .10)} + for name, (low, high) in bounds.items(): + object.__setattr__(self, name, _number(getattr(self, name), name, low, high)) + sim._timestep(self.timestep) + for numerator, denominator in ((self.control_dt, self.timestep), (self.timeout_s, self.control_dt), (self.settle_s, self.timestep)): + ratio = numerator/denominator + if not math.isclose(ratio, round(ratio), abs_tol=1e-9, rel_tol=0): + raise ValueError('Durations must contain complete native/control ticks') + for name, length, low, high in (('object_position_m', 3, -1, 1), ('target_position_m', 3, -1, 1), + ('object_half_size_m', 3, .018, .023), ('table_center_xy_m', 2, -1, 1), + ('table_half_size_xy_m', 2, .1, .3), ('tool_orientation_wxyz', 4, -1, 1), + ('carry_orientation_wxyz', 4, -1, 1)): + object.__setattr__(self, name, _vector(getattr(self, name), length, name, low, high)) + if any(not math.isclose(sum(x*x for x in quaternion), 1., abs_tol=1e-8, rel_tol=0) + for quaternion in (self.tool_orientation_wxyz, self.carry_orientation_wxyz)): + raise ValueError('Tool quaternion must be normalized wxyz') + for name in ('object_position_m', 'target_position_m'): + point = getattr(self, name) + if not .25 <= point[0] <= .48 or not -.15 <= point[1] <= .15: + raise ValueError('Placement outside the bounded pilot workspace') + for axis in range(2): + if abs(point[axis]-self.table_center_xy_m[axis])+self.object_half_size_m[axis] > self.table_half_size_xy_m[axis]-.01: + raise ValueError('Block placement must be inside the support table') + expected = self.table_top_m+self.object_half_size_m[2]+(.002 if name == 'object_position_m' else 0.) + if not math.isclose(point[2], expected, abs_tol=1e-8, rel_tol=0): + raise ValueError('Block start/target height differs from support plane') + if math.dist(self.object_position_m[:2], self.target_position_m[:2]) < .075: + raise ValueError('Pilot must require at least 75 mm transfer') + + +def _config(value): + value = PiperTaskConfig() if value is None else value + if not isinstance(value, PiperTaskConfig): + raise TypeError('config must be PiperTaskConfig') + return value + + +def _asset_root(assets): + path = Path(assets) + return path.parent if path.name == 'agilex_piper' else path + + +def task_contract(): + return {'profile': PROFILE, 'scope': SCOPE, 'physical_robot_ready': False, 'arm_joint_order': list(ARM_JOINTS), + 'actions': {'joint_targets_rad': 'six native position-servo targets in radians', + 'gripper_position_m': 'one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap'}, + 'gripper_joints': ['joint7', 'joint8'], 'independent_gripper_commands': 1, + 'tcp': 'authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated', + 'object': 'free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes', + 'contact': 'stock native finger collision boxes; object priority1 authors pair friction explicitly', + 'servo_gains': 'unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained', + 'collision_support_exemption': 'fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical', + 'observations': 'privileged joint/object/TCP/contact state; no deployable sensor pipeline', + 'success': 'valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat', + 'carry_contact_loss_tolerance_seconds': .04, 'contact_force_threshold_n': .01, + 'simulation_asset_license': 'MIT'} + + +def build_task_model(assets, config=None): + config = _config(config) + item, blobs = robot_profiles._payload('piper', _asset_root(assets)) + mj, _ = sim._native_imports() + spec = sim._spec(blobs, item['folder'], item['model']) + spec.option.timestep = config.timestep + spec.body('link6').add_site(name='piper_task_tcp', pos=[0, 0, .12003], size=[.004, 0, 0], rgba=[.1, .5, .3, 1]) + spec.worldbody.add_geom(name='task_floor', type=mj.mjtGeom.mjGEOM_PLANE, size=[2, 2, .1], rgba=[.9, .9, .88, 1]) + spec.worldbody.add_geom(name='task_table', type=mj.mjtGeom.mjGEOM_BOX, + pos=[*config.table_center_xy_m, config.table_top_m-config.table_thickness_m/2], + size=[*config.table_half_size_xy_m, config.table_thickness_m/2], rgba=[.73, .70, .64, 1]) + block = spec.worldbody.add_body(name='task_block', pos=config.object_position_m, gravcomp=0) + block.add_freejoint(name='task_block_free') + block.add_geom(name='task_block_geom', type=mj.mjtGeom.mjGEOM_BOX, size=config.object_half_size_m, + mass=config.mass_kg, friction=[config.friction, .005, .0001], priority=1, condim=4, rgba=[.75, .30, .16, 1]) + target = spec.worldbody.add_body(name='task_target_frame', pos=[*config.target_position_m[:2], config.table_top_m+.0005]) + target.add_geom(name='task_target', type=mj.mjtGeom.mjGEOM_BOX, size=[.035, .035, .0005], + contype=0, conaffinity=0, rgba=[.17, .47, .35, .3]) + model = spec.compile() + if (model.nq, model.nv, model.nu, model.neq, model.nmocap) != (15, 14, 7, 1, 0): + raise ValueError('PiPER task mechanical contract changed') + return model + + +class PiperTaskEnv: + _outcome_tick = ReferenceTaskEnv._outcome_tick + + def __init__(self, assets, config=None): + self.assets, self.config, self.ready = _asset_root(assets), _config(config), False + + def _finite(self): + _, np = sim._native_imports() + return (ReferenceTaskEnv._finite(self) and not np.any(self.data.qfrc_applied) + and not np.any(self.data.xfrc_applied)) + + def info(self): + result = ReferenceTaskEnv.info(self) + if not self._finite() or any(warning.number for warning in self.data.warning): + result.update(valid=False, success=False, + reason='invalid_state' if not self._finite() else 'solver_warning') + return result + + def reset(self, seed=0): + if type(seed) is not int or not 0 <= seed <= 999999: + raise ValueError('seed must be an integer in [0,999999]') + mj, np = sim._native_imports() + self.ready, self.seed, self.warnings = False, seed, [] + with sim.native_warnings(self.warnings): + self.model = build_task_model(self.assets, self.config) + self.data = mj.MjData(self.model) + self.arm_qpos, self.arm_dof = np.arange(6), np.arange(6) + self.linkage_qpos = np.arange(6, 8) + self.tcp = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_SITE, 'piper_task_tcp') + self.block = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_BODY, 'task_block') + self.block_geom = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_GEOM, 'task_block_geom') + self.table_geom = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_GEOM, 'task_table') + self.floor_geom = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_GEOM, 'task_floor') + self.pad_geoms = {} + for side, name in (('left', 'link7'), ('right', 'link8')): + body = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_BODY, name) + self.pad_geoms[side] = [i for i in range(self.model.ngeom) if self.model.geom_bodyid[i] == body + and self.model.geom_type[i] == mj.mjtGeom.mjGEOM_BOX and self.model.geom_contype[i]] + if len(self.pad_geoms[side]) != 2: + raise ValueError('PiPER stock finger collision boxes changed') + self.robot_geoms = {i for i in range(self.model.ngeom) if 1 <= self.model.geom_bodyid[i] <= 9} + self.moving_geoms = {i for i in self.robot_geoms if self.model.geom_bodyid[i] > 1} + self.arm_geoms = {i for i in self.robot_geoms if 2 <= self.model.geom_bodyid[i] <= 7} + self.data.qpos[:8] = [0., 1.57, -1.3485, 0., 0., 0., .035, -.035] + self.command_targets = self.data.qpos[:6].copy() + self.command_gripper = .035 + mj.mj_forward(self.model, self.data) + for _ in range(round(self.config.settle_s/self.config.timestep)): + self._controls() + mj.mj_step(self.model, self.data) + mj.mj_forward(self.model, self.data) + if not self._finite() or self.warnings or any(x.number for x in self.data.warning): + raise RuntimeError('PiPER settling produced invalid native physics') + counts, _, supported, critical, _ = self._contacts() + velocity = np.empty(6) + mj.mj_objectVelocity(self.model, self.data, mj.mjtObj.mjOBJ_BODY, self.block, velocity, 0) + point = self.data.xpos[self.block] + expected_z = self.config.table_top_m+self.config.object_half_size_m[2] + if (not supported or critical or any(counts.values()) + or np.linalg.norm(point[:2]-self.config.object_position_m[:2]) > .005 + or abs(float(point[2])-expected_z) > .002 + or np.linalg.norm(velocity[3:]) > .02 or np.linalg.norm(velocity[:3]) > .2): + raise RuntimeError('Reset must settle a supported, clear, stationary block near the declared start') + self.initial_object_position = self.data.xpos[self.block].copy() + self.elapsed, self.steps, self.dwell, self.lift_dwell = 0., 0, 0., 0. + self.max_lift, self.max_pad_force, self.critical_contact_ticks = 0., 0., 0 + self.lift_seen, self.grasp_seen, self.done = False, False, False + self.carry_complete, self.retention_lost = False, False + self.carry_contact_loss, self.max_carry_contact_loss, self.carry_contact_loss_events = 0., 0., 0 + self.first_success_time, self.reason = None, 'running' + self.contact_pair_native_ticks, self.ready = {}, True + return self.observation(), self.info() + + def _controls(self): + self.data.ctrl[:6] = self.command_targets + self.data.ctrl[6] = self.command_gripper + + def _contacts(self): + mj, np = sim._native_imports() + counts, forces, table, critical, pairs = {'left': 0, 'right': 0}, {'left': 0., 'right': 0.}, 0, 0, [] + pads = set(sum(self.pad_geoms.values(), [])) + for index, contact in enumerate(self.data.contact[:self.data.ncon]): + force = np.zeros(6) + mj.mj_contactForce(self.model, self.data, index, force) + if force[0] <= .01: + continue + pair = {int(contact.geom1), int(contact.geom2)} + pairs.append({'geom_ids': sorted(pair), 'normal_force_n': float(force[0])}) + if self.block_geom in pair: + table += int(self.table_geom in pair) + for side in counts: + if pair.intersection(self.pad_geoms[side]): + counts[side] += 1 + forces[side] += float(force[0]) + critical += int(bool(pair.intersection(self.robot_geoms-pads)) or self.floor_geom in pair) + elif pair.intersection({self.table_geom, self.floor_geom}) and pair.intersection(self.moving_geoms): + critical += 1 + elif pair.intersection(self.arm_geoms) and pair.issubset(self.robot_geoms): + critical += 1 + return counts, forces, table, critical, pairs + + def observation(self): + mj, np = sim._native_imports() + if not self._finite(): + raise RuntimeError('Cannot record nonfinite PiPER physics') + counts, forces, table, critical, pairs = self._contacts() + quat, velocity = np.empty(4), np.empty(6) + mj.mju_mat2Quat(quat, self.data.site_xmat[self.tcp]) + mj.mj_objectVelocity(self.model, self.data, mj.mjtObj.mjOBJ_BODY, self.block, velocity, 0) + return {'t_seconds': self.elapsed, 'qpos': self.data.qpos.tolist(), 'qvel': self.data.qvel.tolist(), + 'joint_position_rad': self.data.qpos[:6].tolist(), 'joint_velocity_rad_s': self.data.qvel[:6].tolist(), + 'gripper_joint_position_m': self.data.qpos[6:8].tolist(), + 'tcp_position_m': self.data.site_xpos[self.tcp].tolist(), 'tcp_quaternion_wxyz': quat.tolist(), + 'object_position_m': self.data.xpos[self.block].tolist(), 'object_quaternion_wxyz': self.data.xquat[self.block].tolist(), + 'object_linear_velocity_m_s': velocity[3:].tolist(), 'object_angular_velocity_rad_s': velocity[:3].tolist(), + 'target_position_m': list(self.config.target_position_m), 'grasp_contact_counts': counts, + 'pad_normal_forces_n': forces, 'table_object_contact_count': table, 'unexpected_contact_count': critical, + 'contact_count': int(self.data.ncon), 'active_contact_pairs': pairs, + 'native_actuator_controls': self.data.ctrl.tolist(), 'actuator_force_native': self.data.actuator_force.tolist(), + 'issued_joint_targets_rad': None, 'issued_gripper_position_m': None, 'command': None, + 'observation_origin': 'privileged_native_simulator_state'} + + def pose_action(self, position_m, quaternion_wxyz, gripper_position_m): + if not self.ready or self.done: + raise RuntimeError('Reset required before another PiPER action') + mj, np = sim._native_imports() + position = np.asarray(_vector(position_m, 3, 'tool position')) + quaternion = np.asarray(_vector(quaternion_wxyz, 4, 'tool quaternion', -1, 1)) + if not math.isclose(float(quaternion@quaternion), 1., abs_tol=1e-8, rel_tol=0): + raise ValueError('Tool quaternion must be normalized wxyz') + jaw = _number(gripper_position_m, 'gripper position', 0, .035) + jacp, jacr = np.zeros((3, self.model.nv)), np.zeros((3, self.model.nv)) + mj.mj_jacSite(self.model, self.data, jacp, jacr, self.tcp) + current, rotation = np.empty(4), np.empty(3) + mj.mju_mat2Quat(current, self.data.site_xmat[self.tcp]) + mj.mju_subQuat(rotation, quaternion, current) + rotation = self.data.site_xmat[self.tcp].reshape(3, 3)@rotation + translation = position-self.data.site_xpos[self.tcp] + for error, maximum in ((translation, .015), (rotation, .05)): + norm = float(np.linalg.norm(error)) + if norm > maximum: + error *= maximum/norm + jacobian = np.vstack((jacp[:, :6], .25*jacr[:, :6])) + error = np.concatenate((translation, .25*rotation)) + delta = jacobian.T@np.linalg.solve(jacobian@jacobian.T+.012**2*np.eye(6), error) + targets = np.clip(self.data.qpos[:6]+np.clip(delta, -.06, .06), + self.model.actuator_ctrlrange[:6, 0]+.02, self.model.actuator_ctrlrange[:6, 1]-.02) + return {'joint_targets_rad': targets.tolist(), 'gripper_position_m': jaw} + + def step(self, action): + if not self.ready or self.done: + raise RuntimeError('Reset required before another PiPER step') + if type(action) is not dict or set(action) != {'joint_targets_rad', 'gripper_position_m'}: + raise ValueError('PiPER requires six radian arm targets and one metre jaw target') + mj, np = sim._native_imports() + targets = np.asarray(_vector(action['joint_targets_rad'], 6, 'arm targets')) + jaw = _number(action['gripper_position_m'], 'jaw target', 0, .035) + if np.any(targets < self.model.actuator_ctrlrange[:6, 0]) or np.any(targets > self.model.actuator_ctrlrange[:6, 1]): + raise ValueError('Arm target exceeds native limits') + if not self._finite(): + self.reason, self.done = 'invalid_state', True + return None, self.info() + messages = [] + with sim.native_warnings(messages): + for _ in range(round(self.config.control_dt/self.config.timestep)): + self.command_targets += np.clip(targets-self.command_targets, + -self.config.joint_target_rate_rad_s*self.config.timestep, + self.config.joint_target_rate_rad_s*self.config.timestep) + self.command_gripper += float(np.clip(jaw-self.command_gripper, + -self.config.jaw_target_rate_m_s*self.config.timestep, + self.config.jaw_target_rate_m_s*self.config.timestep)) + self._controls() + mj.mj_step(self.model, self.data) + mj.mj_forward(self.model, self.data) + self.elapsed += self.config.timestep + if not self._finite() or messages or any(x.number for x in self.data.warning): + self.reason = 'invalid_state' if not self._finite() else 'solver_warning' + self.done = True + break + counts, forces, supported, critical, pairs = self._contacts() + for pair in {tuple(contact['geom_ids']) for contact in pairs}: + name = ':'.join(map(str, pair)) + self.contact_pair_native_ticks[name] = self.contact_pair_native_ticks.get(name, 0)+1 + velocity = np.empty(6) + mj.mj_objectVelocity(self.model, self.data, mj.mjtObj.mjOBJ_BODY, self.block, velocity, 0) + both = all(counts[side] > 0 for side in counts) + lift = float(self.data.xpos[self.block, 2]-self.initial_object_position[2]) + distance = float(np.linalg.norm(self.data.xpos[self.block]-self.config.target_position_m)) + actual_open = self.data.qpos[6] > .028 and self.data.qpos[7] < -.028 + self._outcome_tick(both=both, supported=supported, lift=lift, distance=distance, + released=not any(counts.values()) and actual_open, + settled=np.linalg.norm(velocity[3:]) < .035 and np.linalg.norm(velocity[:3]) < .3, + clear=self.data.site_xpos[self.tcp, 2] >= self.data.xpos[self.block, 2]+self.config.retreat_clearance_m, + critical=critical, pad_force=max(forces.values())) + self.warnings.extend(messages) + self.steps += 1 + if not self.done and self.steps >= round(self.config.timeout_s/self.config.control_dt): + self.reason, self.done = 'timeout', True + return self.observation() if self._finite() else None, self.info() + + +class PiperTaskPolicy: + def __init__(self, environment): + self.env, self.phase, self.ticks = environment, 'approach', 0 + self.grasp_position, self.held_offset = None, None + self.issued_phase = self.phase + + def __call__(self, observation): + mj, np = sim._native_imports() + self.issued_phase = self.phase + obj, tcp, target = (np.asarray(observation[name]) for name in ('object_position_m', 'tcp_position_m', 'target_position_m')) + both, jaw = all(observation['grasp_contact_counts'][side] for side in ('left', 'right')), .035 + orientation = self.env.config.tool_orientation_wxyz + if self.phase in ('approach', 'lift', 'transfer', 'retreat', 'verify'): + orientation = self.env.config.carry_orientation_wxyz + rotation, angular_error = np.empty(9), np.empty(3) + mj.mju_quat2Mat(rotation, np.asarray(orientation)) + mj.mju_subQuat(angular_error, np.asarray(orientation), np.asarray(observation['tcp_quaternion_wxyz'])) + aligned = np.linalg.norm(angular_error) < .12 + offset = rotation.reshape(3, 3)@self.held_offset if self.held_offset is not None else None + if self.phase == 'approach': + goal = obj+np.asarray([0., 0., .10]) + if np.linalg.norm(tcp-goal) < .008 and aligned: + self.grasp_position = obj+np.asarray([0., 0., .002]) + self.phase, self.ticks = 'descend', 0 + elif self.phase == 'descend': + goal = self.grasp_position + if np.linalg.norm(tcp-goal) < .004 and aligned: + self.phase, self.ticks = 'close', 0 + elif self.phase == 'close': + goal, jaw = self.grasp_position, 0. + if both and min(observation['pad_normal_forces_n'].values()) > .01 and self.ticks >= 35: + current_rotation = np.empty(9) + mj.mju_quat2Mat(current_rotation, np.asarray(observation['tcp_quaternion_wxyz'])) + self.held_offset = current_rotation.reshape(3, 3).T@(obj-tcp) + self.phase, self.ticks = 'lift', 0 + elif self.phase == 'lift': + goal, jaw = self.grasp_position+np.asarray([0., 0., .10]), 0. + if self.env.lift_seen and np.linalg.norm(tcp-goal) < .008: + self.phase, self.ticks = 'transfer', 0 + elif self.phase == 'transfer': + goal, jaw = target-offset+np.asarray([0., 0., .10]), 0. + if np.linalg.norm(tcp-goal) < .008: + self.phase, self.ticks = 'place', 0 + elif self.phase == 'place': + goal, jaw = target-offset, 0. + if observation['table_object_contact_count'] and np.linalg.norm(obj-target) < .02 and np.linalg.norm(tcp-goal) < .006: + self.phase, self.ticks = 'release', 0 + elif self.phase == 'release': + goal = target-offset + if not any(observation['grasp_contact_counts'].values()) and self.ticks >= 35: + self.phase, self.ticks = 'retreat', 0 + else: + goal = target+np.asarray([0., 0., .13]) + if np.linalg.norm(tcp-goal) < .008: + self.phase = 'verify' + self.ticks += 1 + return self.env.pose_action(goal.tolist(), orientation, jaw) + + +def run_episode(assets, config=None, *, seed=0, control='placement', arm_tape=None, policy_mode='baseline'): + config = _config(config) + if control not in ('placement', 'replay_open_jaw', 'hold'): + raise ValueError('Unknown PiPER task control') + if policy_mode not in ('baseline', 'guarded'): + raise ValueError('PiPER policy mode must be baseline or guarded') + from . import piper_grip_guard as grip_guard + started, latencies, environment, phase = time.perf_counter(), [], None, 'validation' + result = {'schema': SCHEMA, 'profile': PROFILE, 'scope': SCOPE, 'physical_robot_ready': False, + 'seed': seed, 'control': control, 'policy_mode': policy_mode, 'config': asdict(config), 'timestep_seconds': config.timestep, + 'valid': False, 'success': False, 'reason': 'not_started', 'error': None, 'warnings': [], + 'simulated_seconds': 0., 'trajectory': [], 'actions': [], 'arm_tape': [], 'metrics': {}, 'timing': {}, + 'contract': task_contract(), 'platform': {'system': platform.system(), 'machine': platform.machine(), 'python': platform.python_version()}} + source = Path(__file__).parent + result['implementation_sha256'] = {name: sha256((source/name).read_bytes()).hexdigest() + for name in ('piper_task.py', 'robot_profiles.py', 'robot_profiles.lock.json', 'reference_task.py', 'reference_sim.py')} + result['policy_implementation_sha256'] = {'piper_grip_guard.py': sha256((source/'piper_grip_guard.py').read_bytes()).hexdigest()} + result['grip_guard'] = grip_guard.inactive_summary(policy_mode) + policy = None + try: + if control == 'replay_open_jaw': + if type(arm_tape) is not list or len(arm_tape) != round(config.timeout_s/config.control_dt): + raise ValueError('Open-jaw control requires a complete exact-duration arm tape') + arm_tape = [list(_vector(row, 6, 'arm replay')) for row in arm_tape] + phase = 'setup' + result['asset_provenance'] = robot_profiles.verify_assets('piper', _asset_root(assets)) + environment = PiperTaskEnv(assets, config) + observation, info = environment.reset(seed) + mj, np = sim._native_imports() + result['platform'].update(mujoco_version=mj.__version__, numpy_version=np.__version__) + result['compiled_model_sha256'] = sim.model_digest(environment.model) + result['initial_object_position_m'] = environment.initial_object_position.tolist() + result['native_servo_gains'] = environment.model.actuator_gainprm[:, 0].tolist() + result['native_servo_bias'] = environment.model.actuator_biasprm[:, :3].tolist() + result['native_force_limits'] = environment.model.actuator_forcerange.tolist() + result['native_control_limits'] = environment.model.actuator_ctrlrange.tolist() + result['native_model_settings'] = {'dimensions': {name: int(getattr(environment.model, name)) for name in ('nq', 'nv', 'nu', 'neq', 'nmocap')}, + 'gravity_m_s2': environment.model.opt.gravity.tolist(), + 'body_gravcomp': environment.model.body_gravcomp.tolist()} + result['contact_geometry'] = {'pad_geom_ids': environment.pad_geoms, + 'geom_body_names': [mj.mj_id2name(environment.model, mj.mjtObj.mjOBJ_BODY, int(body)) for body in environment.model.geom_bodyid]} + result['trajectory'].append(observation) + result['timing']['setup_seconds'] = time.perf_counter()-started + policy = (grip_guard.GuardedPiperTaskPolicy(environment) if policy_mode == 'guarded' and control == 'placement' + else PiperTaskPolicy(environment)) + hold, phase = observation['joint_position_rad'], 'rollout' + for index in range(round(config.timeout_s/config.control_dt)): + began = time.perf_counter() + action = policy(observation) if control == 'placement' else {'joint_targets_rad': hold if control == 'hold' else arm_tape[index], 'gripper_position_m': .035} + if isinstance(policy, grip_guard.GuardedPiperTaskPolicy): + observation['guard_diagnostic'] = dict(policy.diagnostic) + record = {'t_seconds': observation['t_seconds'], **action, 'phase': policy.issued_phase if control == 'placement' else control} + result['actions'].append(record) + result['arm_tape'].append(list(action['joint_targets_rad'])) + observation.update(issued_joint_targets_rad=list(action['joint_targets_rad']), issued_gripper_position_m=action['gripper_position_m'], command=record) + observation, info = environment.step(action) + latencies.append(time.perf_counter()-began) + if observation is not None: + if isinstance(policy, grip_guard.GuardedPiperTaskPolicy): + observation['guard_diagnostic'] = None + result['trajectory'].append(observation) + if environment.done: + break + result.update(valid=info['valid'], success=info['success'], reason=info['reason'], warnings=info['warnings'], + simulated_seconds=info['simulation_time'], metrics={**info, 'contact_pair_native_ticks': environment.contact_pair_native_ticks}) + except Exception as exc: + result['reason'], result['error'] = 'exception', {'phase': phase, 'type': type(exc).__name__, 'message': str(exc)[:500]} + if environment is not None: + result['warnings'] = list(getattr(environment, 'warnings', [])) + result['simulated_seconds'] = getattr(environment, 'elapsed', 0.) + if isinstance(policy, grip_guard.GuardedPiperTaskPolicy): + result['grip_guard'] = policy.summary() + elapsed = time.perf_counter()-started + result['timing'].update(episode_wall_seconds=elapsed, control_step_seconds=sim._summary(latencies) if latencies else None, + control_boundaries=len(latencies), missed_control_boundaries=sum(x > config.control_dt for x in latencies), + simulated_seconds_per_wall_second=result['simulated_seconds']/elapsed, + scope='Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency') + return result + + +def run_matched(assets, config=None, *, seed=0, policy_mode='baseline'): + config = _config(config) + placement = run_episode(assets, config, seed=seed, policy_mode=policy_mode) + tape = placement['arm_tape'] if placement['valid'] and len(placement['arm_tape']) == round(config.timeout_s/config.control_dt) else None + return [placement, run_episode(assets, config, seed=seed, control='replay_open_jaw', arm_tape=tape, policy_mode=policy_mode), + run_episode(assets, config, seed=seed, control='hold', policy_mode=policy_mode)] diff --git a/benchmarks/piper-contact-development-20261011/sources/frozen-v02/reference_sim.py b/benchmarks/piper-contact-development-20261011/sources/frozen-v02/reference_sim.py new file mode 100644 index 0000000..5a982d8 --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/sources/frozen-v02/reference_sim.py @@ -0,0 +1,457 @@ +"""Pinned hardware reference mechanics; no physical controller or skill policy. + +Asset installation is an explicit network operation. All later work is local. +Imports of the optional native simulator are deferred until a model is requested. +""" +from __future__ import annotations + +from contextlib import contextmanager +from hashlib import sha256 +import json +import math +import os +from pathlib import Path +import platform +import statistics +import stat +import time +from urllib.request import Request, urlopen + + +PROFILE = "ur5e-2f85-menagerie-reference-v0.1" +COMMIT = "0059d4335f8156206f63a35662313385f7ad6d74" +ARM_JOINTS = ("shoulder_pan_joint", "shoulder_lift_joint", "elbow_joint", + "wrist_1_joint", "wrist_2_joint", "wrist_3_joint") +ARM_BODIES = ("shoulder_link", "upper_arm_link", "forearm_link", + "wrist_1_link", "wrist_2_link", "wrist_3_link") +CONTROL_DT = .02 +CASES = ("hold_open", "arm_sweep", "jaw_cycle") +SCOPE = ("Pinned reference geometry, inertias, collision proxies and coupled gripper. " + "Authored native servos, privileged state and synthetic commands. " + "No serial-specific calibration, measured hardware response, task policy or physical qualification.") + + +def asset_lock(): + return json.loads(Path(__file__).with_name("reference_assets.lock.json").read_text(encoding="utf-8")) + + +def _files(hands=False): + return [x for x in asset_lock()["files"] if hands or not x["path"].startswith("shadow_hand/")] + + +def _regular_bytes(path, size): + before = path.lstat() + if not stat.S_ISREG(before.st_mode): + raise ValueError(f"Expected a regular non-symlink asset: {path.name}") + if before.st_size != size: + raise ValueError(f"Asset size mismatch: {path.name}") + flags = os.O_RDONLY | getattr(os, "O_NONBLOCK", 0) | getattr(os, "O_NOFOLLOW", 0) | getattr(os, "O_BINARY", 0) + descriptor = os.open(path, flags) + with os.fdopen(descriptor, "rb") as stream: + opened = os.fstat(stream.fileno()) + if not stat.S_ISREG(opened.st_mode) or opened.st_size != size: + raise ValueError("Asset must remain a bounded regular file during opening") + if before.st_ino and opened.st_ino and (before.st_dev, before.st_ino) != (opened.st_dev, opened.st_ino): + raise ValueError("Asset file identity changed during opening") + content = stream.read(size + 1) + if len(content) != size: + raise ValueError(f"Asset size mismatch: {path.name}") + return content + + +def _asset_payload(directory, *, hands=False): + root = Path(directory) + if root.is_symlink() or not root.is_dir(): + raise ValueError("Asset root must be an existing non-symlink directory") + records = _files(hands) + blobs = {} + for record in records: + path = root / record["path"] + # Reject redirected subdirectories before allowing the native parser access. + if any(x.is_symlink() for x in (path.parent, path.parent.parent)): + raise ValueError("Asset subdirectories must not be symlinks") + content = _regular_bytes(path, record["bytes"]) + if sha256(content).hexdigest() != record["sha256"]: + raise ValueError(f"Asset digest mismatch: {record['path']}") + blobs[record["path"]] = content + metadata = {"commit": COMMIT, "files_verified": len(records), + "bytes_verified": sum(x["bytes"] for x in records), + "lock_sha256": sha256(Path(__file__).with_name("reference_assets.lock.json").read_bytes()).hexdigest(), + "licenses": {k: v for k, v in asset_lock()["licenses"].items() + if hands or k != "shadow_hand"}} + return metadata, blobs + + +def verify_assets(directory, *, hands=False): + return _asset_payload(directory, hands=hands)[0] + + +def _spec(blobs, folder, filename): + mj, _ = _native_imports() + prefix = folder + "/" + local = {key[len(prefix):]: content for key, content in blobs.items() if key.startswith(prefix)} + # The native parser receives the exact verified bytes in memory. It does not + # reread model/mesh/include paths between verification and compilation. + return mj.MjSpec.from_string(local[filename].decode("utf-8"), + include={key: content for key, content in local.items() if key.endswith(".xml")}, + assets={key: content for key, content in local.items() if key.startswith("assets/")}) + + +def fetch_assets(directory, *, hands=False): + """Download only the packaged, pinned allowlist, retaining upstream licenses. + + A failed download leaves an incomplete fresh directory for inspection; verify + rejects it. No credentials, account, dynamic manifest or arbitrary URL is used. + """ + destination = Path(directory) + destination.mkdir(parents=True, exist_ok=False) + for record in _files(hands): + url = f"https://raw.githubusercontent.com/google-deepmind/mujoco_menagerie/{COMMIT}/{record['path']}" + request = Request(url, headers={"User-Agent": "DVIDIA-Reference-Simulator/0.1"}) + with urlopen(request, timeout=30) as response: + if not response.geturl().startswith("https://raw.githubusercontent.com/"): + raise ValueError("Asset download redirected outside the pinned source host") + content = response.read(record["bytes"] + 1) + if len(content) != record["bytes"] or sha256(content).hexdigest() != record["sha256"]: + raise ValueError(f"Downloaded asset does not match the lock: {record['path']}") + path = destination / record["path"] + path.parent.mkdir(parents=True, exist_ok=True) + with path.open("xb") as stream: + stream.write(content) + return verify_assets(destination, hands=hands) + + +def _native_imports(): + try: + import mujoco + import numpy as np + except ImportError as exc: + raise RuntimeError("Install dvidia-training with the optional arm extra") from exc + if mujoco.__version__ != "3.15.0": + raise RuntimeError("Reference simulation requires MuJoCo 3.15.0") + return mujoco, np + + +@contextmanager +def native_warnings(messages): + from .env import _NATIVE_LOCK + mj, _ = _native_imports() + with _NATIVE_LOCK: + previous = mj.get_mju_user_warning() + mj.set_mju_user_warning(lambda value: messages.append(str(value))) + try: + yield + finally: + mj.set_mju_user_warning(previous) + + +def _timestep(value): + if isinstance(value, bool) or not isinstance(value, (int, float)) or value not in (.002, .001, .0005): + raise ValueError("Reference timestep must be 0.002, 0.001 or 0.0005 seconds") + return float(value) + + +def validate_duration(seconds): + if isinstance(seconds, bool) or not isinstance(seconds, (int, float)) or not math.isfinite(seconds) or not .1 <= seconds <= 10: + raise ValueError("Reference duration must be finite, between 0.1 and 10 seconds") + if not math.isclose(seconds / CONTROL_DT, round(seconds / CONTROL_DT), rel_tol=0, abs_tol=1e-9): + raise ValueError("Duration must be an integer number of 20 ms boundaries") + return float(seconds) + + +def build_model(directory, *, timestep=.001, probe_position=None): + _, blobs = _asset_payload(directory) + mj, _ = _native_imports() + arm = _spec(blobs, "universal_robots_ur5e", "ur5e.xml") + jaw = _spec(blobs, "robotiq_2f85", "2f85.xml") + # Resolve child/parent option differences explicitly, preserving the jaw's + # elliptic contact cone and impratio; do not silently accept attach warnings. + arm.option.cone = jaw.option.cone + arm.option.impratio = jaw.option.impratio + arm.option.timestep = jaw.option.timestep = _timestep(timestep) + arm.option.integrator = jaw.option.integrator = mj.mjtIntegrator.mjINT_IMPLICITFAST + arm.attach(jaw, prefix="gripper/", site="attachment_site") + arm.worldbody.add_geom(name="reference_floor", type=mj.mjtGeom.mjGEOM_PLANE, + size=[2, 2, .1], rgba=[.9, .9, .88, 1]) + if probe_position is not None: + if len(probe_position) != 3 or not all(math.isfinite(x) for x in probe_position): + raise ValueError("Probe requires three finite coordinates") + arm.worldbody.add_geom(name="collision_probe", type=mj.mjtGeom.mjGEOM_SPHERE, + pos=probe_position, size=[.025, 0, 0], rgba=[1, .4, .2, 1]) + return arm.compile() + + +def model_digest(model): + mj, np = _native_imports() + buffer = np.empty(mj.mj_sizeModel(model), dtype=np.uint8) + mj.mj_saveModel(model, buffer=buffer) + return sha256(buffer.tobytes()).hexdigest() + + +def _name(model, kind, index): + mj, _ = _native_imports() + return mj.mj_id2name(model, kind, int(index)) or f"unnamed_{index}" + + +def model_inventory(model): + mj, np = _native_imports() + active = (model.geom_contype != 0) | (model.geom_conaffinity != 0) + bodies = [] + for i in range(1, model.nbody): + geoms = np.flatnonzero(model.geom_bodyid == i) + bodies.append({"name": _name(model, mj.mjtObj.mjOBJ_BODY, i), + "mass_kg": float(model.body_mass[i]), + "inertia_kg_m2": model.body_inertia[i].tolist(), + "collision_geoms": int(np.count_nonzero(active[geoms])), + "visual_geoms": int(np.count_nonzero(~active[geoms]))}) + joints = [{"name": _name(model, mj.mjtObj.mjOBJ_JOINT, i), + "type": int(model.jnt_type[i]), "limited": bool(model.jnt_limited[i]), + "range": model.jnt_range[i].tolist(), + "qpos_address": int(model.jnt_qposadr[i]), "velocity_address": int(model.jnt_dofadr[i])} + for i in range(model.njnt)] + actuators = [] + for i in range(model.nu): + trn = int(model.actuator_trntype[i]) + kind = mj.mjtObj.mjOBJ_TENDON if trn == int(mj.mjtTrn.mjTRN_TENDON) else mj.mjtObj.mjOBJ_JOINT + actuators.append({"name": _name(model, mj.mjtObj.mjOBJ_ACTUATOR, i), + "transmission_type": trn, + "target": _name(model, kind, model.actuator_trnid[i, 0]), + "control_range": model.actuator_ctrlrange[i].tolist(), + "control_limited": bool(model.actuator_ctrllimited[i]), + "native_force_range": model.actuator_forcerange[i].tolist(), + "force_limited": bool(model.actuator_forcelimited[i])}) + return {"joint_coordinates_nq": model.nq, "velocity_dofs_nv": model.nv, + "joints": joints, "actuator_count": model.nu, "actuators": actuators, + "bodies": bodies, "equality_constraints": model.neq, "tendons": model.ntendon, + "contact_exclusions": model.nexclude, "native_sensor_definitions": model.nsensor, + "native_sensor_channels": model.nsensordata, + "collision_geom_count": int(np.count_nonzero(active)), + "visual_geom_count": int(np.count_nonzero(~active)), + "compiled_model_sha256": model_digest(model)} + + +def audit_reference(directory, *, hands=False): + provenance, blobs = _asset_payload(directory, hands=hands) + mj, _ = _native_imports() + warnings = [] + with native_warnings(warnings): + model = build_model(directory) + inventory = model_inventory(model) + if model.nq != 14 or model.nu != 7 or model.neq != 3 or model.ntendon != 1: + raise ValueError("Pinned reference composition changed its mechanical contract") + by_name = {x["name"]: x for x in inventory["bodies"]} + coverage = {name: by_name[name]["collision_geoms"] for name in ARM_BODIES} + hand_models = {} + if hands: + for side in ("left", "right"): + hand = _spec(blobs, "shadow_hand", f"{side}_hand.xml").compile() + hand_models[side] = model_inventory(hand) + return {"schema": "dvidia.reference-audit/v1", "profile": PROFILE, "scope": SCOPE, + "physical_robot_ready": False, "asset_provenance": provenance, + "settings": {"timestep_seconds": .001, "integrator": "implicitfast", + "contact_cone": "elliptic", "impratio": 10, + "mount": "upstream attachment_site, gripper namespace, no added adapter mass", + "tcp": "upstream gripper/pinch; not a measured physical TCP"}, + "inventory": inventory, "arm_link_collision_coverage": coverage, + "fixed_base_collision_geoms": by_name["base"]["collision_geoms"], + "arm_command_unit": "joint target radians", + "gripper_command_unit": "native 0–255 servo input; not meters or calibrated physical force", + "hand_models": hand_models, "bimanual_assembly_implemented": False, + "calibration_gates": {name: "unmeasured" for name in + ("serial_kinematics", "base_and_tcp_frames", "actuator_response_and_latency", + "gripper_encoder_gap_hysteresis", "contact_and_slip", "deployed_sensor_age", + "physical_task_success")}, "warnings": warnings} + + +def _initial(model): + mj, _ = _native_imports() + data = mj.MjData(model) + mj.mj_resetDataKeyframe(model, data, 0) + mj.mj_forward(model, data) + return data + + +def _sample(model, data, elapsed, command): + mj, np = _native_imports() + ids = [mj.mj_name2id(model, mj.mjtObj.mjOBJ_JOINT, name) for name in ARM_JOINTS] + site = mj.mj_name2id(model, mj.mjtObj.mjOBJ_SITE, "gripper/pinch") + pads = [mj.mj_name2id(model, mj.mjtObj.mjOBJ_GEOM, f"gripper/{side}_pad1") for side in ("left", "right")] + quat = np.empty(4) + mj.mju_mat2Quat(quat, data.site_xmat[site]) + return {"t_seconds": elapsed, "joint_position_rad": data.qpos[model.jnt_qposadr[ids]].tolist(), + "joint_velocity_rad_s": data.qvel[model.jnt_dofadr[ids]].tolist(), + "linkage_position_rad": data.qpos[6:].tolist(), + "tcp_position_m": data.site_xpos[site].tolist(), "tcp_quaternion_wxyz": quat.tolist(), + "pad_center_separation_m": float(np.linalg.norm(data.geom_xpos[pads[0]] - data.geom_xpos[pads[1]])), + "arm_points_m": [data.xpos[mj.mj_name2id(model, mj.mjtObj.mjOBJ_BODY, name)].tolist() + for name in ("base",) + ARM_BODIES] + [data.site_xpos[site].tolist()], + "pad_centers_m": [data.geom_xpos[index].tolist() for index in pads], + "contact_count": data.ncon, + "issued_joint_targets_rad": command[:6].tolist(), "issued_gripper_0_255": float(command[6])} + + +def _summary(values): + ordered = sorted(values) + return {"count": len(values), "median": statistics.median(ordered), + "p95": ordered[math.ceil(.95 * len(ordered)) - 1], "max": ordered[-1]} + + +def _command(case, elapsed, home): + _, np = _native_imports() + result = np.array(home, dtype=float, copy=True) + if case == "arm_sweep": + result[0] += .20 * math.sin(math.pi * elapsed) + elif case == "jaw_cycle": + result[6] = 127.5 * (1 - math.cos(math.pi * elapsed)) + elif case != "hold_open": + raise ValueError("Unknown reference motion case") + return result + + +def run_case(directory, case, *, timestep=.001, seconds=4.): + mj, np = _native_imports() + timestep = _timestep(timestep) + seconds = validate_duration(seconds) + if case not in CASES: + raise ValueError("Unknown reference motion case") + warnings = [] + ticks, chunks, trajectory = [], [], [] + with native_warnings(warnings): + started = time.perf_counter() + model = build_model(directory, timestep=timestep) + compile_seconds = time.perf_counter() - started + data = _initial(model) + home = model.key_ctrl[0].copy() + # Settling is outside the reported physics throughput/tick timing. + for _ in range(round(1 / timestep)): + data.ctrl[:] = home + mj.mj_step(model, data) + mj.mj_forward(model, data) + trajectory.append(_sample(model, data, 0., home)) + physics_wall = 0. + for boundary in range(round(seconds / CONTROL_DT)): + elapsed = boundary * CONTROL_DT + command = _command(case, elapsed, home) + data.ctrl[:] = command + start = time.perf_counter_ns() + for _ in range(round(CONTROL_DT / timestep)): + before = time.perf_counter_ns() + mj.mj_step(model, data) + ticks.append((time.perf_counter_ns() - before) / 1e6) + mj.mj_forward(model, data) + chunk_ms = (time.perf_counter_ns() - start) / 1e6 + physics_wall += chunk_ms / 1000 + chunks.append(chunk_ms) + trajectory.append(_sample(model, data, (boundary + 1) * CONTROL_DT, command)) + valid = bool(not warnings and not any(x.number for x in data.warning) + and np.isfinite(data.qpos).all() and np.isfinite(data.qvel).all() + and np.isfinite(data.qacc).all() and np.isfinite(data.site_xpos).all() + and np.isfinite(data.actuator_force).all() + and all(math.isfinite(v) for row in trajectory for k in + ("joint_position_rad", "joint_velocity_rad_s", "tcp_position_m", "linkage_position_rad") for v in row[k])) + nonfinite_trajectory_omitted = False + try: + json.dumps(trajectory, allow_nan=False) + except ValueError: + trajectory = [] + valid = False + nonfinite_trajectory_omitted = True + return {"case": case, "valid": valid, "warnings": warnings, + "nonfinite_trajectory_omitted": nonfinite_trajectory_omitted, + "compiled_model_sha256": model_digest(model), "timestep_seconds": timestep, + "control_dt_seconds": CONTROL_DT, "simulated_seconds": seconds, + "compile_and_asset_verification_seconds": compile_seconds, + "physics_chunks_wall_seconds": physics_wall, + "simulation_seconds_per_wall_second": seconds / physics_wall, + "native_tick_ms": _summary(ticks), "control_chunk_ms": _summary(chunks), + "timing_scope": "mj_step calls with per-tick instrumentation; chunks also include boundary mj_forward. " + "Excludes verification/compile, settling, sampling, rendering, perception, policy, transport and real actuation.", + "trajectory": trajectory} + + +def collision_probe(directory): + """Matched overlap diagnostic, not a path planner or collision safety test.""" + mj, np = _native_imports() + warnings = [] + attempts = [] + with native_warnings(warnings): + model = build_model(directory) + data = _initial(model) + body = mj.mj_name2id(model, mj.mjtObj.mjOBJ_BODY, "upper_arm_link") + active = (model.geom_contype != 0) | (model.geom_conaffinity != 0) + geom = int(np.flatnonzero((model.geom_bodyid == body) & active)[-1]) + position = data.geom_xpos[geom].copy() + for mask in (False, True): + model = build_model(directory, probe_position=position.tolist()) + if mask: + bodies = [mj.mj_name2id(model, mj.mjtObj.mjOBJ_BODY, name) for name in ARM_BODIES] + for index in np.flatnonzero(np.isin(model.geom_bodyid, bodies)): + model.geom_contype[index] = model.geom_conaffinity[index] = 0 + data = _initial(model) + probe = mj.mj_name2id(model, mj.mjtObj.mjOBJ_GEOM, "collision_probe") + pairs = [] + for contact in data.contact[:data.ncon]: + if probe in (contact.geom1, contact.geom2): + other = contact.geom2 if contact.geom1 == probe else contact.geom1 + pairs.append({"other_body": _name(model, mj.mjtObj.mjOBJ_BODY, model.geom_bodyid[other]), + "signed_distance_m": float(contact.dist)}) + attempts.append({"arm_collision_masks_disabled": mask, "probe_contact_count": len(pairs), "pairs": pairs}) + return {"scope": "Authored initial sphere overlap at an upper-arm collision proxy; no motion or real collision trial", + "probe_position_m": position.tolist(), "attempts": attempts, "warnings": warnings} + + +def benchmark_reference(directory, *, repeats=2, seconds=4., hands=False): + if isinstance(repeats, bool) or not isinstance(repeats, int) or not 1 <= repeats <= 5: + raise ValueError("Repeats must be an integer between 1 and 5") + seconds = validate_duration(seconds) + audit = audit_reference(directory, hands=hands) + attempts = [] + for case in CASES: + for timestep in (.002, .001, .0005): + for repeat in range(repeats): + try: + attempt = run_case(directory, case, timestep=timestep, seconds=seconds) + except Exception as exc: + attempt = {"case": case, "timestep_seconds": timestep, "valid": False, + "error_type": type(exc).__name__, + "error": str(exc).replace(str(Path(directory).resolve()), "[assets]")[:500]} + attempt["repeat"] = repeat + attempts.append(attempt) + convergence = [] + _, np = _native_imports() + for case in CASES: + for coarse in (.002, .001): + for repeat in range(repeats): + pair = [next(x for x in attempts if x["case"] == case and x["timestep_seconds"] == dt and x["repeat"] == repeat) + for dt in (coarse, coarse / 2)] + result = {"case": case, "repeat": repeat, "timestep_pair_seconds": [coarse, coarse / 2], + "valid": all(x["valid"] for x in pair)} + if result["valid"]: + rows = [x["trajectory"] for x in pair] + def differences(key): + return np.asarray([x[key] for x in rows[0]]) - np.asarray([x[key] for x in rows[1]]) + dq = differences("joint_position_rad") + dx = differences("tcp_position_m") + dg = differences("pad_center_separation_m") + result.update({"matched_boundaries": len(rows[0]), "joint_position_rmse_rad": float(np.sqrt(np.mean(dq ** 2))), + "max_joint_position_difference_rad": float(np.max(np.abs(dq))), + "tcp_distance_rmse_m": float(np.sqrt(np.mean(np.sum(dx ** 2, axis=1)))), + "max_tcp_distance_m": float(np.max(np.linalg.norm(dx, axis=1))), + "pad_center_separation_rmse_m": float(np.sqrt(np.mean(dg ** 2))), + "max_pad_center_separation_difference_m": float(np.max(np.abs(dg)))}) + convergence.append(result) + source_files = ("reference_sim.py", "reference_assets.lock.json", "embodiment_cli.py", "reference_report.html") + return {"schema": "dvidia.reference-benchmark/v1", "profile": PROFILE, "scope": SCOPE, + "physical_robot_ready": False, "task_success_evaluated": False, + "hardware": {"platform": platform.platform(), "machine": platform.machine(), + "python": platform.python_version(), "mujoco": "3.15.0", "gpu_used": False}, + "protocol": {"cases": list(CASES), "timesteps_seconds": [.002, .001, .0005], + "repeats": repeats, "seconds_per_case": seconds, "control_dt_seconds": CONTROL_DT, + "same_synthetic_scene_and_commands": True, + "repeat_scope": "Repeated deterministic numerical/performance diagnostics, not independent physical or skill trials", + "pad_measurement": "Euclidean distance between upstream left_pad1/right_pad1 geom centers; not calibrated inner jaw gap", + "convergence_scope": "Matched 20 ms boundaries including post-settling start; adjacent timestep comparison, not comparison with reality"}, + "implementation_sha256": {name: sha256(Path(__file__).with_name(name).read_bytes()).hexdigest() for name in source_files}, + "audit": audit, "collision_probe": collision_probe(directory), + "attempted": len(attempts), "valid_attempts": sum(x["valid"] for x in attempts), + "attempts": attempts, "convergence": convergence} diff --git a/benchmarks/piper-contact-development-20261011/sources/frozen-v02/reference_task.py b/benchmarks/piper-contact-development-20261011/sources/frozen-v02/reference_task.py new file mode 100644 index 0000000..588f10c --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/sources/frozen-v02/reference_task.py @@ -0,0 +1,544 @@ +"""Authored contact-based rigid-block task on the pinned native six-axis reference. + +The policy is a development baseline, not a learned skill. Observations are +privileged simulator state. Only reset initializes the freely moving block; +grasping, transport and release thereafter require native contact dynamics. +""" +from __future__ import annotations + +from dataclasses import asdict, dataclass +from hashlib import sha256 +import json +import math +from pathlib import Path +import time + +from . import reference_sim as sim + + +PROFILE = 'ur5e-2f85-rigid-block-task-v0.1' +SCHEMA = 'dvidia.reference-task-episode/v1' +SCOPE = ('Authored native UR5e/Robotiq rigid-block manipulation, privileged state and synthetic commands. ' + 'No shoe model, learned task policy, camera sensing, calibrated contact or physical qualification.') +CARRY_CONTACT_LOSS_TOLERANCE_S = .04 +GRIPPER_JOINTS = tuple('gripper/' + side + '_' + link + '_joint' + for side in ('right', 'left') + for link in ('driver', 'coupler', 'spring_link', 'follower')) + + +def _number(value, name, minimum, maximum): + if isinstance(value, bool) or not isinstance(value, (int, float)): + raise ValueError(f'{name} must be finite numeric data') + try: + value = float(value) + except (OverflowError, ValueError, TypeError) as exc: + raise ValueError(f'{name} must be finite numeric data') from exc + if not math.isfinite(value) or not minimum <= value <= maximum: + raise ValueError(f'{name} must lie in [{minimum}, {maximum}]') + return value + + +def _vector(value, length, name, minimum=-10., maximum=10.): + if not isinstance(value, (list, tuple)) or len(value) != length: + raise ValueError(f'{name} requires {length} values') + return tuple(_number(item, name, minimum, maximum) for item in value) + + +@dataclass(frozen=True) +class ReferenceTaskConfig: + timestep: float = .001 + control_dt: float = .02 + timeout_s: float = 20. + settle_s: float = .5 + object_position_m: tuple = (-.134, .49, .302) + target_position_m: tuple = (.08, .49, .30) + object_half_size_m: tuple = (.02, .02, .02) + mass_kg: float = .04 + friction: float = .8 + table_top_m: float = .28 + table_center_xy_m: tuple = (0., .55) + table_half_size_xy_m: tuple = (.32, .26) + table_thickness_m: float = .04 + goal_position_tolerance_m: float = .025 + goal_dwell_s: float = .25 + min_lift_m: float = .06 + min_lift_dwell_s: float = .10 + retreat_clearance_m: float = .10 + joint_target_rate_rad_s: float = 1.5 + jaw_target_rate_0_255_s: float = 500. + tool_orientation_wxyz: tuple = (0., math.sqrt(.5), math.sqrt(.5), 0.) + + def __post_init__(self): + bounds = {'timestep': (.0005, .002), 'control_dt': (.02, .02), 'timeout_s': (.1, 30.), + 'settle_s': (.1, 2.), 'mass_kg': (.01, .15), 'friction': (.02, 2.), + 'table_top_m': (.24, .32), 'table_thickness_m': (.02, .08), + 'goal_position_tolerance_m': (.01, .03), 'goal_dwell_s': (.10, .6), + 'min_lift_m': (.04, .10), 'min_lift_dwell_s': (.05, .3), + 'retreat_clearance_m': (.08, .15), 'joint_target_rate_rad_s': (.1, 3.), + 'jaw_target_rate_0_255_s': (50., 1000.)} + for name, (low, high) in bounds.items(): + object.__setattr__(self, name, _number(getattr(self, name), name, low, high)) + sim._timestep(self.timestep) + for numerator, denominator in ((self.control_dt, self.timestep), (self.timeout_s, self.control_dt), + (self.settle_s, self.timestep)): + ratio = numerator / denominator + if not math.isclose(ratio, round(ratio), abs_tol=1e-9, rel_tol=0): + raise ValueError('Task durations must contain an integer number of native/control ticks') + for name, length, low, high in (('object_position_m', 3, -2, 2), ('target_position_m', 3, -2, 2), + ('object_half_size_m', 3, .015, .025), ('table_center_xy_m', 2, -1, 1), + ('table_half_size_xy_m', 2, .1, .5), ('tool_orientation_wxyz', 4, -1, 1)): + object.__setattr__(self, name, _vector(getattr(self, name), length, name, low, high)) + if not math.isclose(sum(x*x for x in self.tool_orientation_wxyz), 1., abs_tol=1e-8, rel_tol=0): + raise ValueError('Tool goal quaternion must be normalized wxyz') + for name in ('object_position_m', 'target_position_m'): + point = getattr(self, name) + if not -.25 <= point[0] <= .25 or not .35 <= point[1] <= .70: + raise ValueError('Task placement lies outside the declared reference reach envelope') + for axis in range(2): + if abs(point[axis]-self.table_center_xy_m[axis]) + self.object_half_size_m[axis] > self.table_half_size_xy_m[axis]-.01: + raise ValueError('Task placement must be supported within the table edge') + expected = self.table_top_m + self.object_half_size_m[2] + (.002 if name == 'object_position_m' else 0.) + if not math.isclose(point[2], expected, abs_tol=1e-8, rel_tol=0): + raise ValueError('Start/target height must match the declared support plane and block size') + if math.dist(self.object_position_m[:2], self.target_position_m[:2]) < .075: + raise ValueError('Task must require at least 75 mm of block transfer') + + +def task_contract(): + return {'profile': PROFILE, 'scope': SCOPE, 'physical_robot_ready': False, + 'arm_joint_order': list(sim.ARM_JOINTS), 'gripper_linkage_order': list(GRIPPER_JOINTS), + 'actions': {'joint_targets_rad': 'six absolute joint targets, rad; ramped then gravity feedforward', + 'gripper_0_255': 'one native tendon servo target; 0 open / 255 close, not measured gap or force'}, + 'observation_origin': 'privileged_native_simulator_state', 'native_sensor_definitions': 0, + 'observations': {'joint_position_rad': [6], 'joint_velocity_rad_s': [6], 'linkage_position_rad': [8], + 'tcp_position_m': [3], 'tcp_quaternion_wxyz': [4], 'object_position_m': [3], + 'object_quaternion_wxyz': [4], 'grasp_contact_counts': 'left/right native block contacts', + 'pad_normal_forces_n': 'native mj_contactForce, not deployable tactile sensing'}, + 'contacts': 'native collision proxies; object priority 1 overrides pad/table friction floors', + 'object': 'one free rigid box; no weld, grasp attachment or runtime object pose writes', + 'success': 'valid physics, retained bilateral table-free lift and supported destination carry completion, then released/settled destination dwell and tool retreat', + 'carry_retention': {'bilateral_contact_required': 'after sustained lift until supported at destination while held', + 'contact_force_threshold_n': .01, + 'consecutive_loss_tolerance_seconds': CARRY_CONTACT_LOSS_TOLERANCE_S, + 'loss_at_or_above_tolerance': 'permanent failure, independent of teacher phase'}, + 'fixed_base_collision_proxy': False} + + +def build_task_model(assets, config=None): + config = ReferenceTaskConfig() if config is None else config + if not isinstance(config, ReferenceTaskConfig): + raise TypeError('config must be ReferenceTaskConfig') + _, blobs = sim._asset_payload(assets) + mj, _ = sim._native_imports() + arm = sim._spec(blobs, 'universal_robots_ur5e', 'ur5e.xml') + jaw = sim._spec(blobs, 'robotiq_2f85', '2f85.xml') + arm.option.cone, arm.option.impratio = jaw.option.cone, jaw.option.impratio + arm.option.timestep = jaw.option.timestep = config.timestep + arm.option.integrator = jaw.option.integrator = mj.mjtIntegrator.mjINT_IMPLICITFAST + arm.attach(jaw, prefix='gripper/', site='attachment_site') + arm.worldbody.add_geom(name='task_floor', type=mj.mjtGeom.mjGEOM_PLANE, size=[2, 2, .1], rgba=[.9, .9, .88, 1]) + arm.worldbody.add_geom(name='task_table', type=mj.mjtGeom.mjGEOM_BOX, + pos=[*config.table_center_xy_m, config.table_top_m-config.table_thickness_m/2], + size=[*config.table_half_size_xy_m, config.table_thickness_m/2], rgba=[.73, .70, .64, 1]) + block = arm.worldbody.add_body(name='task_block', pos=config.object_position_m) + block.add_freejoint(name='task_block_free') + block.add_geom(name='task_block_geom', type=mj.mjtGeom.mjGEOM_BOX, size=config.object_half_size_m, + mass=config.mass_kg, friction=[config.friction, .005, .0001], priority=1, + condim=4, rgba=[.75, .30, .16, 1]) + marker = arm.worldbody.add_body(name='task_target_frame', + pos=[*config.target_position_m[:2], config.table_top_m+.0005]) + marker.add_geom(name='task_target', type=mj.mjtGeom.mjGEOM_BOX, + size=[config.object_half_size_m[0]+.015, config.object_half_size_m[1]+.015, .0005], + rgba=[.17, .47, .35, .3], contype=0, conaffinity=0) + model = arm.compile() + if (model.nq, model.nv, model.nu, model.neq) != (21, 20, 7, 3): + raise ValueError('Task native mechanical contract changed') + return model + + +class ReferenceTaskEnv: + def __init__(self, assets, config=None): + self.assets = Path(assets) + self.config = ReferenceTaskConfig() if config is None else config + if not isinstance(self.config, ReferenceTaskConfig): + raise TypeError('config must be ReferenceTaskConfig') + self.ready = False + + def reset(self, seed=0): + if type(seed) is not int or not 0 <= seed <= 999999: + raise ValueError('seed must be an integer in [0, 999999]') + mj, np = sim._native_imports() + self.ready = False + self.seed, self.warnings = seed, [] + with sim.native_warnings(self.warnings): + self.model = build_task_model(self.assets, self.config) + self.data = mj.MjData(self.model) + self.arm_ids = np.asarray([mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_JOINT, x) for x in sim.ARM_JOINTS]) + self.arm_qpos = self.model.jnt_qposadr[self.arm_ids] + self.arm_dof = self.model.jnt_dofadr[self.arm_ids] + self.linkage_ids = np.asarray([mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_JOINT, x) for x in GRIPPER_JOINTS]) + self.linkage_qpos = self.model.jnt_qposadr[self.linkage_ids] + self.tcp = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_SITE, 'gripper/pinch') + self.block = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_BODY, 'task_block') + self.block_geom = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_GEOM, 'task_block_geom') + self.table_geom = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_GEOM, 'task_table') + self.floor_geom = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_GEOM, 'task_floor') + self.pad_geoms = {side: [mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_GEOM, f'gripper/{side}_pad{i}') + for i in (1, 2)] for side in ('left', 'right')} + self.robot_geoms = set(range(self.model.ngeom)) - { + self.block_geom, self.table_geom, + self.floor_geom, + mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_GEOM, 'task_target')} + arm_bodies = {mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_BODY, name) for name in sim.ARM_BODIES} + self.arm_geoms = {i for i in self.robot_geoms if int(self.model.geom_bodyid[i]) in arm_bodies} + # The upstream keyframe contains only robot qpos; initialize them + # explicitly and leave the free block's compiled reset coordinates. + self.data.qpos[self.arm_qpos] = [-1.5708, -1.5708, 1.5708, -1.5708, -1.5708, 0.] + self.data.qpos[self.linkage_qpos] = 0. + self.command_targets = self.data.qpos[self.arm_qpos].copy() + self.command_gripper = 0. + mj.mj_forward(self.model, self.data) + for _ in range(round(self.config.settle_s/self.config.timestep)): + self._controls() + mj.mj_step(self.model, self.data) + mj.mj_forward(self.model, self.data) + if not self._finite() or self.warnings or any(x.number for x in self.data.warning): + raise RuntimeError('Task settling produced invalid native physics') + self.initial_object_position = self.data.xpos[self.block].copy() + self.elapsed, self.steps, self.dwell, self.lift_dwell = 0., 0, 0., 0. + self.max_lift, self.max_pad_force, self.critical_contact_ticks = 0., 0., 0 + self.lift_seen, self.grasp_seen, self.done = False, False, False + self.carry_complete, self.retention_lost = False, False + self.carry_contact_loss, self.max_carry_contact_loss = 0., 0. + self.carry_contact_loss_events = 0 + self.first_success_time = None + self.reason = 'running' + self.ready = True + return self.observation(), self.info() + + def _finite(self): + _, np = sim._native_imports() + return all(np.isfinite(value).all() for value in (self.data.qpos, self.data.qvel, self.data.qacc, self.data.xpos)) + + def _controls(self): + _, np = sim._native_imports() + # Authored gravity feedforward, applied inside the original bounded + # affine position servos. Actual force/velocity are never overwritten. + gains = self.model.actuator_gainprm[:6, 0] + requested = self.command_targets + self.data.qfrc_bias[self.arm_dof]/gains + self.data.ctrl[:6] = np.clip(requested, self.model.actuator_ctrlrange[:6, 0], self.model.actuator_ctrlrange[:6, 1]) + self.data.ctrl[6] = self.command_gripper + + def _contacts(self): + mj, np = sim._native_imports() + counts, forces, table, critical = {'left': 0, 'right': 0}, {'left': 0., 'right': 0.}, 0, 0 + pads = set(sum(self.pad_geoms.values(), [])) + for index, contact in enumerate(self.data.contact[:self.data.ncon]): + pair = {int(contact.geom1), int(contact.geom2)} + force = np.zeros(6) + mj.mj_contactForce(self.model, self.data, index, force) + if force[0] <= .01: + continue + if self.block_geom in pair: + if self.table_geom in pair: + table += 1 + for side in ('left', 'right'): + if pair.intersection(self.pad_geoms[side]): + counts[side] += 1 + forces[side] += float(force[0]) + if pair.intersection(self.robot_geoms-pads): + critical += 1 + elif pair.intersection({self.table_geom, self.floor_geom}) and pair.intersection(self.robot_geoms): + critical += 1 + elif pair.intersection(self.arm_geoms) and pair.issubset(self.robot_geoms): + critical += 1 + return counts, forces, table, critical + + def observation(self): + mj, np = sim._native_imports() + if not self._finite(): + raise RuntimeError('Cannot record a nonfinite native state') + counts, forces, table, critical = self._contacts() + tcp_quat, velocity = np.empty(4), np.empty(6) + mj.mju_mat2Quat(tcp_quat, self.data.site_xmat[self.tcp]) + mj.mj_objectVelocity(self.model, self.data, mj.mjtObj.mjOBJ_BODY, self.block, velocity, 0) + separation = float(np.linalg.norm(self.data.geom_xpos[self.pad_geoms['left'][0]]- + self.data.geom_xpos[self.pad_geoms['right'][0]])) + return {'t_seconds': self.elapsed, 'qpos': self.data.qpos.tolist(), 'qvel': self.data.qvel.tolist(), + 'joint_position_rad': self.data.qpos[self.arm_qpos].tolist(), + 'joint_velocity_rad_s': self.data.qvel[self.arm_dof].tolist(), + 'linkage_position_rad': self.data.qpos[self.linkage_qpos].tolist(), + 'tcp_position_m': self.data.site_xpos[self.tcp].tolist(), 'tcp_quaternion_wxyz': tcp_quat.tolist(), + 'object_position_m': self.data.xpos[self.block].tolist(), 'object_quaternion_wxyz': self.data.xquat[self.block].tolist(), + 'object_linear_velocity_m_s': velocity[3:].tolist(), 'object_angular_velocity_rad_s': velocity[:3].tolist(), + 'target_position_m': list(self.config.target_position_m), 'pad_center_separation_m': separation, + 'grasp_contact_counts': counts, 'pad_normal_forces_n': forces, 'table_object_contact_count': table, + 'unexpected_contact_count': critical, 'contact_count': int(self.data.ncon), + 'native_actuator_controls': self.data.ctrl.tolist(), 'actuator_force': self.data.actuator_force.tolist(), + 'issued_joint_targets_rad': None, 'issued_gripper_0_255': None, 'command': None, + 'observation_origin': 'privileged_native_simulator_state'} + + def info(self): + _, np = sim._native_imports() + valid = self.reason not in ('invalid_state', 'solver_warning') and not self.warnings + success = valid and self.carry_complete and not self.retention_lost and self.dwell+1e-12 >= self.config.goal_dwell_s + return {'valid': valid, 'success': success, + 'reason': ('success' if success else self.reason), 'simulation_time': self.elapsed, + 'steps': self.steps, 'lift_seen': self.lift_seen, 'grasp_seen': self.grasp_seen, + 'max_object_lift_m': self.max_lift, 'dwell_seconds': self.dwell, 'lift_dwell_seconds': self.lift_dwell, + 'max_pad_normal_force_n': self.max_pad_force, 'unexpected_contact_native_ticks': self.critical_contact_ticks, + 'carry_complete': self.carry_complete, 'retention_lost': self.retention_lost, + 'max_carry_contact_loss_seconds': self.max_carry_contact_loss, + 'carry_contact_loss_events': self.carry_contact_loss_events, + 'carry_contact_loss_tolerance_seconds': CARRY_CONTACT_LOSS_TOLERANCE_S, + 'first_success_time_seconds': self.first_success_time, + 'target_distance_m': float(np.linalg.norm(self.data.xpos[self.block]-self.config.target_position_m)) if self._finite() else None, + 'warnings': list(self.warnings), 'physical_robot_ready': False} + + def _outcome_tick(self, *, both, supported, lift, distance, released, settled, clear, critical, pad_force): + """Score native evidence without consulting the authored policy phase.""" + dt = self.config.timestep + self.max_pad_force = max(self.max_pad_force, pad_force) + self.critical_contact_ticks += bool(critical) + self.grasp_seen |= both + self.max_lift = max(self.max_lift, lift) + loaded = both and not supported and lift >= self.config.min_lift_m + self.lift_dwell = self.lift_dwell+dt if loaded else 0. + self.lift_seen |= self.lift_dwell+1e-12 >= self.config.min_lift_dwell_s + if self.lift_seen and not self.carry_complete: + # Release is allowed only once the still-held block actually rests + # at its destination; a dropped/tossed block cannot acquire this latch. + self.carry_complete |= bool(both and supported and distance <= self.config.goal_position_tolerance_m) + if not self.carry_complete: + if both: + self.carry_contact_loss = 0. + else: + before = self.carry_contact_loss + self.carry_contact_loss += dt + self.max_carry_contact_loss = max(self.max_carry_contact_loss, self.carry_contact_loss) + if before+1e-12 < CARRY_CONTACT_LOSS_TOLERANCE_S <= self.carry_contact_loss+1e-12: + self.carry_contact_loss_events += 1 + self.retention_lost = True + qualifies = (self.lift_seen and self.grasp_seen and self.carry_complete and not self.retention_lost + and released and supported and settled and clear + and distance <= self.config.goal_position_tolerance_m and self.critical_contact_ticks == 0) + self.dwell = self.dwell+dt if qualifies else 0. + if self.dwell+1e-12 >= self.config.goal_dwell_s and self.first_success_time is None: + self.first_success_time = self.elapsed + + def pose_action(self, position_m, quaternion_wxyz, gripper_0_255): + if not self.ready or self.done: + raise RuntimeError('Reset is required before another task action') + mj, np = sim._native_imports() + position = np.asarray(_vector(position_m, 3, 'pose position'), dtype=float) + quaternion = np.asarray(_vector(quaternion_wxyz, 4, 'pose quaternion', -1, 1), dtype=float) + if not math.isclose(float(quaternion@quaternion), 1., abs_tol=1e-8, rel_tol=0): + raise ValueError('Pose quaternion must be normalized wxyz') + jaw = _number(gripper_0_255, 'gripper command', 0, 255) + jacp, jacr = np.zeros((3, self.model.nv)), np.zeros((3, self.model.nv)) + mj.mj_jacSite(self.model, self.data, jacp, jacr, self.tcp) + current, rotation = np.empty(4), np.empty(3) + mj.mju_mat2Quat(current, self.data.site_xmat[self.tcp]) + mj.mju_subQuat(rotation, quaternion, current) + # mju_subQuat returns angular velocity in the current local frame; + # site rotational Jacobians are in world coordinates. + rotation = self.data.site_xmat[self.tcp].reshape(3, 3) @ rotation + translation = position-self.data.site_xpos[self.tcp] + for error, maximum in ((translation, .018), (rotation, .04)): + norm = float(np.linalg.norm(error)) + if norm > maximum: + error *= maximum/norm + jacobian = np.vstack((jacp[:, self.arm_dof], .25*jacr[:, self.arm_dof])) + error = np.concatenate((translation, .25*rotation)) + delta = jacobian.T @ np.linalg.solve(jacobian@jacobian.T+.012**2*np.eye(6), error) + delta = np.clip(delta, -.06, .06) + targets = np.clip(self.data.qpos[self.arm_qpos]+delta, + self.model.actuator_ctrlrange[:6, 0]+.02, self.model.actuator_ctrlrange[:6, 1]-.02) + return {'joint_targets_rad': targets.tolist(), 'gripper_0_255': jaw} + + def step(self, action): + if not self.ready or self.done: + raise RuntimeError('Reset is required before another task step') + if type(action) is not dict or set(action) != {'joint_targets_rad', 'gripper_0_255'}: + raise ValueError('Task action requires six joint targets and one native gripper command') + mj, np = sim._native_imports() + targets = np.asarray(_vector(action['joint_targets_rad'], 6, 'joint targets'), dtype=float) + jaw = _number(action['gripper_0_255'], 'gripper command', 0, 255) + if np.any(targets < self.model.actuator_ctrlrange[:6, 0]) or np.any(targets > self.model.actuator_ctrlrange[:6, 1]): + raise ValueError('Task joint target exceeds native actuator limits') + if not self._finite(): + self.reason, self.done = 'invalid_state', True + return None, -1., True, False, self.info() + before_distance = float(np.linalg.norm(self.data.xpos[self.block]-self.config.target_position_m)) + messages = [] + with sim.native_warnings(messages): + for _ in range(round(self.config.control_dt/self.config.timestep)): + self.command_targets += np.clip(targets-self.command_targets, + -self.config.joint_target_rate_rad_s*self.config.timestep, + self.config.joint_target_rate_rad_s*self.config.timestep) + self.command_gripper += float(np.clip(jaw-self.command_gripper, + -self.config.jaw_target_rate_0_255_s*self.config.timestep, + self.config.jaw_target_rate_0_255_s*self.config.timestep)) + self._controls() + mj.mj_step(self.model, self.data) + mj.mj_forward(self.model, self.data) + self.elapsed += self.config.timestep + if not self._finite(): + self.reason, self.done = 'invalid_state', True + break + if messages or any(x.number for x in self.data.warning): + self.reason, self.done = 'solver_warning', True + break + counts, forces, supported, critical = self._contacts() + both = all(counts[side] > 0 for side in ('left', 'right')) + lift = float(self.data.xpos[self.block, 2]-self.initial_object_position[2]) + velocity = np.empty(6) + mj.mj_objectVelocity(self.model, self.data, mj.mjtObj.mjOBJ_BODY, self.block, velocity, 0) + distance = float(np.linalg.norm(self.data.xpos[self.block]-self.config.target_position_m)) + drivers = self.data.qpos[self.linkage_qpos[[0, 4]]] + released = not any(counts.values()) and bool(np.max(drivers) < .1) + settled = np.linalg.norm(velocity[3:]) < .035 and np.linalg.norm(velocity[:3]) < .3 + clear = self.data.site_xpos[self.tcp, 2] >= self.data.xpos[self.block, 2]+self.config.retreat_clearance_m + self._outcome_tick(both=both, supported=supported, lift=lift, distance=distance, + released=released, settled=settled, clear=clear, + critical=critical, pad_force=max(forces.values())) + self.warnings.extend(messages) + self.steps += 1 + if not self.done and self.steps >= round(self.config.timeout_s/self.config.control_dt): + self.reason, self.done = 'timeout', True + observation = self.observation() if self._finite() else None + info = self.info() + reward = before_distance-info['target_distance_m'] if info['target_distance_m'] is not None else -1. + return observation, reward, self.done and self.reason != 'timeout', self.done and self.reason == 'timeout', info + + +class ReferenceTaskPolicy: + """Authored approach/grasp/place baseline, with no learned model or fallback.""" + def __init__(self, environment): + self.env, self.phase, self.ticks = environment, 'approach', 0 + self.grasp_position = None + self.held_offset = None + + def __call__(self, observation): + _, np = sim._native_imports() + c = self.env.config + obj, tcp, target = (np.asarray(observation[name]) for name in + ('object_position_m', 'tcp_position_m', 'target_position_m')) + jaw = 0. + both = all(observation['grasp_contact_counts'][side] > 0 for side in ('left', 'right')) + if self.phase == 'approach': + goal = obj+np.asarray([0., 0., .13]) + if np.linalg.norm(tcp-goal) < .008: + self.grasp_position = obj+np.asarray([0., 0., .005]) + self.phase, self.ticks = 'descend', 0 + elif self.phase == 'descend': + goal = self.grasp_position + if np.linalg.norm(tcp-goal) < .004: + self.phase, self.ticks = 'close', 0 + elif self.phase == 'close': + goal, jaw = self.grasp_position, 180. + if both and min(observation['pad_normal_forces_n'].values()) > .1 and self.ticks >= 25: + self.held_offset = obj-tcp + self.phase, self.ticks = 'lift', 0 + elif self.phase == 'lift': + goal, jaw = self.grasp_position+np.asarray([0., 0., .13]), 180. + if self.env.lift_seen and np.linalg.norm(tcp-goal) < .008: + self.phase, self.ticks = 'transfer', 0 + elif self.phase == 'transfer': + goal, jaw = target-self.held_offset+np.asarray([0., 0., .13]), 180. + if np.linalg.norm(tcp-goal) < .008: + self.phase, self.ticks = 'place', 0 + elif self.phase == 'place': + goal, jaw = target-self.held_offset, 180. + if observation['table_object_contact_count'] > 0 and np.linalg.norm(obj-target) < .02 and np.linalg.norm(tcp-goal) < .006: + self.phase, self.ticks = 'release', 0 + elif self.phase == 'release': + goal = target-self.held_offset + if not any(observation['grasp_contact_counts'].values()) and self.ticks >= 35: + self.phase, self.ticks = 'retreat', 0 + else: + goal = target+np.asarray([0., 0., .135]) + if np.linalg.norm(tcp-goal) < .008: + self.phase = 'verify' + self.ticks += 1 + return self.env.pose_action(goal.tolist(), c.tool_orientation_wxyz, jaw) + + +def run_episode(assets, config=None, *, seed=0, control='placement', arm_tape=None): + """Retain every issued decision and native state for one attempted episode.""" + config = ReferenceTaskConfig() if config is None else config + if not isinstance(config, ReferenceTaskConfig): + raise TypeError('config must be ReferenceTaskConfig') + if control not in ('placement', 'hold', 'replay_open_jaw'): + raise ValueError('Unknown reference task control') + started = time.perf_counter() + attempt = {'schema': SCHEMA, 'profile': PROFILE, 'scope': SCOPE, 'physical_robot_ready': False, + 'seed': seed, 'control': control, 'config': asdict(config), 'timestep_seconds': config.timestep, + 'simulated_seconds': 0., 'valid': False, 'success': False, 'reason': 'not_started', + 'error': None, 'warnings': [], 'trajectory': [], 'actions': [], 'arm_tape': [], + 'metrics': {}, 'timing': {}, 'contract': task_contract()} + source_root = Path(__file__).parent + attempt['implementation_sha256'] = {name: sha256((source_root / name).read_bytes()).hexdigest() + for name in ('reference_task.py', 'reference_sim.py', 'reference_assets.lock.json')} + environment, phase, latencies = None, 'validation', [] + try: + if control == 'replay_open_jaw': + if type(arm_tape) is not list or len(arm_tape) != round(config.timeout_s/config.control_dt): + raise ValueError('Open-jaw control requires exactly one arm target for every configured control tick') + arm_tape = [list(_vector(row, 6, 'replay arm target')) for row in arm_tape] + phase = 'setup' + attempt['asset_provenance'] = sim.verify_assets(assets) + environment = ReferenceTaskEnv(assets, config) + observation, info = environment.reset(seed=seed) + attempt['compiled_model_sha256'] = sim.model_digest(environment.model) + attempt['initial_object_position_m'] = environment.initial_object_position.tolist() + attempt['target_position_m'] = list(config.target_position_m) + attempt['trajectory'].append(observation) + attempt['timing']['setup_seconds'] = time.perf_counter()-started + policy = ReferenceTaskPolicy(environment) + hold = list(observation['joint_position_rad']) + phase = 'rollout' + for index in range(round(config.timeout_s/config.control_dt)): + began = time.perf_counter() + if control == 'placement': + action = policy(observation) + action_phase = policy.phase + else: + action = {'joint_targets_rad': hold if control == 'hold' else arm_tape[index], + 'gripper_0_255': 0.} + action_phase = control + record = {'t_seconds': observation['t_seconds'], **action, 'phase': action_phase} + attempt['actions'].append(record) + attempt['arm_tape'].append(list(action['joint_targets_rad'])) + observation['issued_joint_targets_rad'] = list(action['joint_targets_rad']) + observation['issued_gripper_0_255'] = action['gripper_0_255'] + observation['command'] = record + observation, _, terminated, truncated, info = environment.step(action) + latencies.append(time.perf_counter()-began) + if observation is not None: + attempt['trajectory'].append(observation) + if terminated or truncated: + break + attempt.update(valid=info['valid'], success=info['success'], reason=info['reason'], + simulated_seconds=info['simulation_time'], warnings=info['warnings'], metrics=info) + except Exception as exc: + attempt['error'] = {'phase': phase, 'type': type(exc).__name__, 'message': str(exc)[:500]} + attempt['reason'] = 'exception' + if environment is not None: + attempt['warnings'] = list(getattr(environment, 'warnings', [])) + attempt['simulated_seconds'] = getattr(environment, 'elapsed', 0.) + elapsed = time.perf_counter()-started + attempt['timing'].update(episode_wall_seconds=elapsed, + control_step_seconds=sim._summary(latencies) if latencies else None, + missed_control_boundaries=sum(latency > config.control_dt for latency in latencies), + control_boundaries=len(latencies), + simulated_seconds_per_wall_second=attempt['simulated_seconds']/elapsed, + scope='Wall computation, not real-time sensor-to-actuator latency. Includes setup, policy/IK, native physics, contacts, observations and trace construction; excludes process startup, output I/O and rendering') + return attempt + + +def run_matched(assets, config=None, *, seed=0): + placement = run_episode(assets, config, seed=seed) + controls = [run_episode(assets, config, seed=seed, control='replay_open_jaw', arm_tape=placement['arm_tape'])] + controls.append(run_episode(assets, config, seed=seed, control='hold')) + return [placement, *controls] diff --git a/benchmarks/piper-contact-development-20261011/sources/frozen-v02/robot_profiles.lock.json b/benchmarks/piper-contact-development-20261011/sources/frozen-v02/robot_profiles.lock.json new file mode 100644 index 0000000..a8ef55f --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/sources/frozen-v02/robot_profiles.lock.json @@ -0,0 +1,898 @@ +{ + "schema": "dvidia.robot-profiles-lock/v1", + "repository": "https://github.com/google-deepmind/mujoco_menagerie", + "commit": "0059d4335f8156206f63a35662313385f7ad6d74", + "profiles": [ + { + "id": "piper", + "name": "AgileX PiPER", + "folder": "agilex_piper", + "model": "piper.xml", + "simulation_asset_license": "MIT", + "arm_axes": 6, + "gripper_axes": 1, + "arm_joint_names": [ + "joint1", + "joint2", + "joint3", + "joint4", + "joint5", + "joint6" + ], + "gripper_joint_names": [ + "joint7", + "joint8" + ], + "actuator_names": [ + "joint1", + "joint2", + "joint3", + "joint4", + "joint5", + "joint6", + "gripper" + ], + "native_command_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "m" + ], + "expected_dimensions": { + "nq": 8, + "nv": 8, + "nu": 7, + "neq": 1 + }, + "tool_frame_body": "link6", + "tool_frame_scope": "terminal arm link origin; not a calibrated fingertip TCP", + "gripper_command": "single-finger slide target in metres, native range [0,0.035]; not total jaw gap", + "sdk_url": "https://github.com/agilexrobotics/piper_sdk", + "hardware_url": "https://global.agilex.ai/products/piper", + "upstream_model_url": "https://github.com/google-deepmind/mujoco_menagerie/tree/0059d4335f8156206f63a35662313385f7ad6d74/agilex_piper", + "openness_scope": "The stated license covers these pinned simulation assets; SDK and physical design licenses must be assessed separately.", + "files": [ + { + "path": "agilex_piper/CHANGELOG.md", + "bytes": 145, + "sha256": "d54aa5c57eb44153e86ecea15f247bbf6a708100e2d4744b8540eadc274e04f0", + "git_blob_sha1": "858f2eee85026e4999f2335230b6612be7c0b376" + }, + { + "path": "agilex_piper/LICENSE", + "bytes": 1065, + "sha256": "e32d78fd3761052ab0b2bb42fef8a7a9ad3f298d315d305333c349d2aff1f134", + "git_blob_sha1": "1ace5a240f199be4ae0567bed99051213893345c" + }, + { + "path": "agilex_piper/README.md", + "bytes": 1681, + "sha256": "ab0d218758ec6c298417407962f49179e369236e8f316dbaa7671756d6f8eb77", + "git_blob_sha1": "7a300b81e0556b580ed4e4942bf0aaa9c90944a8" + }, + { + "path": "agilex_piper/assets/base_link.stl", + "bytes": 535084, + "sha256": "fd9c5c5816513cae313b6bee70f95474faadd136eb3ea19c68ffa451dfcd962a", + "git_blob_sha1": "f9ad9da087272dd1916f7f3f872d5236f6a0c0fd" + }, + { + "path": "agilex_piper/assets/link1.stl", + "bytes": 938084, + "sha256": "2288b210ac2a4a0a6150cbe024870e6d1eee21dea320d5d6d19d17eb3099b8ea", + "git_blob_sha1": "f29ff2628b6a8bf620b4f9fb7039df790749154d" + }, + { + "path": "agilex_piper/assets/link2.stl", + "bytes": 3595884, + "sha256": "02e1d9f50eafe7ed69f2352317871e24f758c6181c2c2b192d43999122bc48aa", + "git_blob_sha1": "2c3ab29ec2ebba230d78d6a708c880dfa44761fb" + }, + { + "path": "agilex_piper/assets/link2_0.obj", + "bytes": 3388066, + "sha256": "2f44a3bfb67e36f2fb148ef4021ec18a644365b0bb7f43b2f5fdcaef8c42970d", + "git_blob_sha1": "d3289a5d714821b5ccb728934161133b96e250b1" + }, + { + "path": "agilex_piper/assets/link2_1.obj", + "bytes": 100403, + "sha256": "5b65b00f6046695a4911f14cc95e5022fc68aa5a456932f2d91d1d80dabd05f4", + "git_blob_sha1": "923fec63aed4991faddda4961f91e35142e20d0d" + }, + { + "path": "agilex_piper/assets/link2_10.obj", + "bytes": 29779, + "sha256": "c4b0ac50cdf34d6774c9dd248ac79450d2077497c1696443a02e36d25f1b724c", + "git_blob_sha1": "5d1f265a4273d707666caeb846db81689380d35e" + }, + { + "path": "agilex_piper/assets/link2_11.obj", + "bytes": 58387, + "sha256": "525a33293c587749f6cfa6f4e0341a0e791be887e7e72b5493feb53dca74e4d5", + "git_blob_sha1": "b34ad25291e33e2c66dd545c8fed0d9306109f62" + }, + { + "path": "agilex_piper/assets/link2_12.obj", + "bytes": 55034, + "sha256": "f2736682eb7d11e96cbded267e617f0512c17d3b85fd047575c265d3780c4728", + "git_blob_sha1": "58389b5bfc3e5f4f1d4a185ee4d93acf1271cb2e" + }, + { + "path": "agilex_piper/assets/link2_13.obj", + "bytes": 29671, + "sha256": "d3ec5463a6a9c5ccef97475514d4a536739eba3701c5a8a1a196813e27ec2a46", + "git_blob_sha1": "f494b675aeac5e126beaa8e8f1a204eb8cefdc5e" + }, + { + "path": "agilex_piper/assets/link2_14.obj", + "bytes": 59190, + "sha256": "9faa61dbe96d976271574458ad9aa5883d6b663770a191fb62f8b8dd78d389d4", + "git_blob_sha1": "30dbf5b48b5452adb6f1c5a3193c8f930ea3ef4b" + }, + { + "path": "agilex_piper/assets/link2_15.obj", + "bytes": 29439, + "sha256": "a39acb181508ebb84b9269438f275fe57c26dcdeb4b64856fb4251975ce78cbd", + "git_blob_sha1": "ed8de528fe22872d31129c4b2215b8da3b4868c9" + }, + { + "path": "agilex_piper/assets/link2_16.obj", + "bytes": 53557, + "sha256": "273b405e484c5ae97c442732590ea0e9dfa7af99cf5c2680515f091b6591f526", + "git_blob_sha1": "5a51f30391e4af7da1d4d81fc7ee874f2015526e" + }, + { + "path": "agilex_piper/assets/link2_17.obj", + "bytes": 29281, + "sha256": "c62f2c6de9f94def5f46c79c57e605464888804660599790ae0c3cf1b996ed92", + "git_blob_sha1": "103a6fcdef56fd3cf0d90c29aed7349cace632b3" + }, + { + "path": "agilex_piper/assets/link2_18.obj", + "bytes": 23997, + "sha256": "3ce81fde3f5605af76340686dd82e67372dfcd2fe15c08bb5a0dbe275b400b70", + "git_blob_sha1": "1dba62daa44ce61a14ef616370fe7f00fa0f19b6" + }, + { + "path": "agilex_piper/assets/link2_19.obj", + "bytes": 32457, + "sha256": "39691e367fff1b6dd176c7e27cf8496e6166e41e3f26d98ba4f562834aa3aa57", + "git_blob_sha1": "33f99f9d1ffb48de04dbea173dc4a8bddb7988a7" + }, + { + "path": "agilex_piper/assets/link2_2.obj", + "bytes": 99885, + "sha256": "9b0c2ca0300bc1366a29bd0e71d8275c6f81f311349f783845cf6d1bec59de46", + "git_blob_sha1": "cd470a8505322c136ef7a9f5c195119b99a7c789" + }, + { + "path": "agilex_piper/assets/link2_20.obj", + "bytes": 43817, + "sha256": "f7123aa41c3b043788097b8660728eed3cbce327d0f54f23959d31e302b28557", + "git_blob_sha1": "c462d02088d2aa5a993395720697c94edc53653a" + }, + { + "path": "agilex_piper/assets/link2_21.obj", + "bytes": 39258, + "sha256": "6ffff4a218cd218de6041cc3425189fa737c74ed3cbf17de79401f9673d1a524", + "git_blob_sha1": "4217db71c544c9726bffa5887a7442103d25d098" + }, + { + "path": "agilex_piper/assets/link2_22.obj", + "bytes": 31373, + "sha256": "9b0be27413ffdba150f63c456aa7ccb5ed9cd2cc907adf8e09824263c6edf63b", + "git_blob_sha1": "a5ed5a665bc93502e130c8b4a0d334f1bfde49c0" + }, + { + "path": "agilex_piper/assets/link2_23.obj", + "bytes": 43902, + "sha256": "e0a34cd191bfedfc0a71c1bf478222c9d694dc305bf59efb37b357260cc90335", + "git_blob_sha1": "27a226ce929f179c4c503016125d04cc4206ab4d" + }, + { + "path": "agilex_piper/assets/link2_24.obj", + "bytes": 39526, + "sha256": "2012cbea054ddefb6f7308e86be07e4a382a5f516673f4f95fb77250bc2dc1cc", + "git_blob_sha1": "13ce81f89b79b92a7c5c5127348ef8433748e625" + }, + { + "path": "agilex_piper/assets/link2_25.obj", + "bytes": 24111, + "sha256": "a44629754983f45de28d7a9ad827ea30d2e6ee9565a7741f86f505636808ddfb", + "git_blob_sha1": "5f5d981b21daf475ea0e2145c9dd632922c59e78" + }, + { + "path": "agilex_piper/assets/link2_26.obj", + "bytes": 51974, + "sha256": "f2c2140893951632fc4f0f4c5428cdac234c131d0e3dbcddf4e90c3446663f11", + "git_blob_sha1": "1e7c9f811c5f74c988fccf06500965b04164d81e" + }, + { + "path": "agilex_piper/assets/link2_27.obj", + "bytes": 24075, + "sha256": "a8078b9214cf7c8980dc567bd6ab6367b98ff0f568e907867554458fa1b1ab93", + "git_blob_sha1": "4fff84e8cb5391b3f1eac188faa5c453165bf5d2" + }, + { + "path": "agilex_piper/assets/link2_28.obj", + "bytes": 12884, + "sha256": "b72a71a458fc99d2429991fb3d0e86b717d93af2c489dafdcdff6629ac7ee0ac", + "git_blob_sha1": "eea332c3048c9f2b801ef8bde9fcd13129d89ad3" + }, + { + "path": "agilex_piper/assets/link2_29.obj", + "bytes": 25090, + "sha256": "56c22bba80c0b62036148b9b0e7844a342d6dd485fc0570d98b84a7cdb63cbec", + "git_blob_sha1": "3bf7eb67f1555ee2fd70927ce1aec38fd79f4d4d" + }, + { + "path": "agilex_piper/assets/link2_3.obj", + "bytes": 282937, + "sha256": "b77b1bb82f0884edfce81287d63af47f9182975dfebd4f6698f52610e085481b", + "git_blob_sha1": "3fe63f019200cac9860ab6f34a1d6e7a12f74983" + }, + { + "path": "agilex_piper/assets/link2_30.obj", + "bytes": 12280, + "sha256": "525d7dfae5bcbb7d60c86ca52103a6def0b47fa0ae18dadda7f5e2282d1fd894", + "git_blob_sha1": "0ff2accf7f221afaa35618c3557b8b6d366414d5" + }, + { + "path": "agilex_piper/assets/link2_31.obj", + "bytes": 4621268, + "sha256": "db4ebec6fdcdd5f7a9cfe0986b3d7680bad4d71708f3dacb5c0ff7c9842d8632", + "git_blob_sha1": "103a8ecfaa09c4dd0385dd53c223d26f5df5b584" + }, + { + "path": "agilex_piper/assets/link2_4.obj", + "bytes": 274531, + "sha256": "30e76263f4b8c94b7df6b62f846ac8cb46d32d11fbc1b84e4a417993e09b0e06", + "git_blob_sha1": "fc0f84fdb99707ede0fb74db51d47dea0fa3f59c" + }, + { + "path": "agilex_piper/assets/link2_5.obj", + "bytes": 29647, + "sha256": "43b61bb3fdc6ad91b973b860b11f59094bb400497e19de76725698dde2c87cff", + "git_blob_sha1": "5f54e060b30ea841f9946e99a0a53931f8bebf55" + }, + { + "path": "agilex_piper/assets/link2_6.obj", + "bytes": 30085, + "sha256": "1d8c48045ea3da9d40bc5dad27d589f44ea705867f53e8546c13af88c32238d6", + "git_blob_sha1": "6029251f4eb245c92d025307927b109eda920f26" + }, + { + "path": "agilex_piper/assets/link2_7.obj", + "bytes": 52047, + "sha256": "7036e70d8e869de5d52f2a0cb6661430e9a0a3dfbcf9c08f3cf6344a8893fcbc", + "git_blob_sha1": "149961f1003ea390d05ccab73875367d28e0fe39" + }, + { + "path": "agilex_piper/assets/link2_8.obj", + "bytes": 53837, + "sha256": "5201670ce6c0f34de7770f4079b83d5fb2f815c60e6af69b545e055b74e99092", + "git_blob_sha1": "0dc54a211e59374fc5372b18ecf0da8ed602f78f" + }, + { + "path": "agilex_piper/assets/link2_9.obj", + "bytes": 55512, + "sha256": "af4a6540278f1694def7f09a355bd967e7840dc67ea02b5e75cf9a5cec348315", + "git_blob_sha1": "8b314083f9159cd2479a3d289853cc0e4121fed7" + }, + { + "path": "agilex_piper/assets/link2_gray.stl", + "bytes": 41284, + "sha256": "891335b5109fb65d3dddb4888dc0c318bca33b7fb6809ab31a6998dbf848a4a6", + "git_blob_sha1": "923708414163c51c1c9489c7fa709335d61af4c9" + }, + { + "path": "agilex_piper/assets/link2_red.stl", + "bytes": 191084, + "sha256": "1279d1bbf9ffee557ec9ee95eefd80e86cf88ed7d7960a6bd56e6871e56d335b", + "git_blob_sha1": "550716b85041a917e8b2cde6f2fadee9b7341804" + }, + { + "path": "agilex_piper/assets/link3.stl", + "bytes": 2703584, + "sha256": "3ed8aa63ae21403d85d0f818d4d6a098eff435b2eb7d2372306857c9c5538f50", + "git_blob_sha1": "56c2bf45abd6d8ce6d5bfe6d732a98a04d3d4126" + }, + { + "path": "agilex_piper/assets/link3_0.obj", + "bytes": 314533, + "sha256": "eb211f9bce1811834760b1387aab0e8c1ff11ebd3bb5aa89fa3fe2cc537e51c1", + "git_blob_sha1": "26a21dbb104b99f4fc1c7b569d624ae256f96c0c" + }, + { + "path": "agilex_piper/assets/link3_1.obj", + "bytes": 4236, + "sha256": "2e880f0454de98559bae42e8b7d323e5226692e4af9f8a50ed4b7f8e6dc906e9", + "git_blob_sha1": "12dc2bf84617e9dd06e6dcb1061c6160906c7bd1" + }, + { + "path": "agilex_piper/assets/link3_10.obj", + "bytes": 11974, + "sha256": "d314f8101be5ba36289c4c7475a5c45504e09c9a9fd453d3167ec410833e3823", + "git_blob_sha1": "ce51455b164f4854c09887eafdabe368b9221817" + }, + { + "path": "agilex_piper/assets/link3_11.obj", + "bytes": 20406, + "sha256": "4c8ab2f5fb630127d954cf6be38da416b8627204643f1d4abd4b055d270bd346", + "git_blob_sha1": "25aaa35997a5c066b055b8d855e89cbe9073e456" + }, + { + "path": "agilex_piper/assets/link3_12.obj", + "bytes": 24374, + "sha256": "bb3b1f3200ac8c6fb3807db2f032819e9cba9a942b48d0ee8dc5777c7507e4f5", + "git_blob_sha1": "d30cf3dcf9192818ab056ff4f96d504056becad8" + }, + { + "path": "agilex_piper/assets/link3_13.obj", + "bytes": 28094, + "sha256": "69b34c59953286bc059a88a38d7fb818881a419ee2b03d801a3f6407c23cc525", + "git_blob_sha1": "5b68eef9f81b1f0aff2745ccc22f5f49f33f7476" + }, + { + "path": "agilex_piper/assets/link3_14.obj", + "bytes": 2236465, + "sha256": "9fc1bacbb5c7c4fc1006aca33bc6ca94717edc9e2415f94773d7d645c14b47e7", + "git_blob_sha1": "8c74e8300129f0ad948dbc38a5d0bfe832eef268" + }, + { + "path": "agilex_piper/assets/link3_15.obj", + "bytes": 361248, + "sha256": "c21278046e13ef3875e6703ed55b5b50837c78072d1b30218e61873f88896553", + "git_blob_sha1": "49255a6b82be626ff79ee6350b193819c74398e4" + }, + { + "path": "agilex_piper/assets/link3_16.obj", + "bytes": 410181, + "sha256": "a9d63ea9f2a334e2f68c657ad3493c294caedaab3bf1fe3efd89063c62a6d04b", + "git_blob_sha1": "442d11df89c7be63a34c4cc2e96e847c26478d3e" + }, + { + "path": "agilex_piper/assets/link3_17.obj", + "bytes": 328947, + "sha256": "a540b4325a096b17575f853165ba9c57b3743255f88c2d1076c916de397e24bd", + "git_blob_sha1": "2df4f49e59563cab88f2230c110de9d2ddbb0ecf" + }, + { + "path": "agilex_piper/assets/link3_18.obj", + "bytes": 485677, + "sha256": "3315ddfb4fb0cc496411284f01575205bb665810e47e2a03e3d96a570490ef57", + "git_blob_sha1": "5689ea1e2193bd8794ea24d0c121ae3ee4c6af00" + }, + { + "path": "agilex_piper/assets/link3_19.obj", + "bytes": 441403, + "sha256": "b945dc6e756c049bf6734dab4a485374ce6cefca00478f2e06520664003911e0", + "git_blob_sha1": "67ec3c91f88360c7391ea0c5535c0706d44adfc5" + }, + { + "path": "agilex_piper/assets/link3_2.obj", + "bytes": 12776, + "sha256": "61f9aa738ed625e189d401ed380ae4198e7317854ea352ab1494aa760de6d522", + "git_blob_sha1": "87eca49d38efbcd48e8ea21fe5b649056fbd86c7" + }, + { + "path": "agilex_piper/assets/link3_20.obj", + "bytes": 371433, + "sha256": "c622a302f1beb5d536178c6d2d4ed040d3813418c70e624bdbaa3e518392ab8e", + "git_blob_sha1": "1bf067c1f87416008228d6f7bf5f9cad80bfa00b" + }, + { + "path": "agilex_piper/assets/link3_21.obj", + "bytes": 366150, + "sha256": "d4cddc3ab6e624953f617dd0bde38a4ba16c896cde08fe145a3c5de4374e41d8", + "git_blob_sha1": "ce8914e49cc392267283972b4982980866edde22" + }, + { + "path": "agilex_piper/assets/link3_22.obj", + "bytes": 406666, + "sha256": "cebfa57377d59979668eaf5138ae67cfb4e4174f35dd399cb8bcb3ba579b5f30", + "git_blob_sha1": "0b553507026cdd21e401bded74b9e5340dbb486d" + }, + { + "path": "agilex_piper/assets/link3_23.obj", + "bytes": 372094, + "sha256": "0c4baba793261715bf3d0b08402306f4fcc7c0b677d61ae92ae14abbf6eac92d", + "git_blob_sha1": "dca1d8ec4609f96890448e5af82530fe6e711264" + }, + { + "path": "agilex_piper/assets/link3_24.obj", + "bytes": 27673, + "sha256": "ef5b5780161af47cda0651416b43c377a95adffb1d095e270cf4722e81811da9", + "git_blob_sha1": "a7b1c526939b07a27e32bde3d747e07763e01ce3" + }, + { + "path": "agilex_piper/assets/link3_25.obj", + "bytes": 27968, + "sha256": "99e9de5b421cec36ba4755737832e80615a478a2bfde7dff21ce46f0843c3dd5", + "git_blob_sha1": "2bb433399cbb7aecbfa5746f92324eb9ce3cf423" + }, + { + "path": "agilex_piper/assets/link3_26.obj", + "bytes": 28048, + "sha256": "d95e4318b185e58def277c7365efb3bbeff929f8400e266f686361bf7876ccc6", + "git_blob_sha1": "973660334f4e1c00b1786d174bed2cb728693fcf" + }, + { + "path": "agilex_piper/assets/link3_27.obj", + "bytes": 593047, + "sha256": "5d38cceb70f130efe6a2d77dc4dc58d2bed7f1679fbbae6c48e58d5a0c58a5ab", + "git_blob_sha1": "f1617cdc13207ea4fc0cd77eb48f978b83726f11" + }, + { + "path": "agilex_piper/assets/link3_28.obj", + "bytes": 385831, + "sha256": "62c52edf1d67808f7f6739b0ba2fc387b0465f362f50eba415d459f2b6241148", + "git_blob_sha1": "8a9eec4ee3fd2bba28882bd09f11aaa1587402ef" + }, + { + "path": "agilex_piper/assets/link3_3.obj", + "bytes": 21158, + "sha256": "82430d358437e045d74d0f829acc27fbd30900dd59bc113ed5bbc146524e5afa", + "git_blob_sha1": "ece273c010cac22ac7d5e3273d2a9ceedb28ca10" + }, + { + "path": "agilex_piper/assets/link3_4.obj", + "bytes": 24968, + "sha256": "bd40cb87fff5c678b571b1abbb3435618b07c7fab5875f71c894a434a7203254", + "git_blob_sha1": "099a0f5a01acc9d266ecbf05dfcc0564a453449e" + }, + { + "path": "agilex_piper/assets/link3_5.obj", + "bytes": 29032, + "sha256": "ed69d967cb2c1b4533042727ba3a1d56148afdc13bdea019b05c51ddd6bd42a3", + "git_blob_sha1": "6c7a54a2ffef1d70d40d4be9e363544f6f39638f" + }, + { + "path": "agilex_piper/assets/link3_7.obj", + "bytes": 306050, + "sha256": "334b08b12313bffcc34af5cc9af8a08073d25ce9fd1db9d518087f1ee080476b", + "git_blob_sha1": "e3c5c7023959b0b7b2bd2f70525f5c868ed7273e" + }, + { + "path": "agilex_piper/assets/link3_8.obj", + "bytes": 18174, + "sha256": "58893e8ea1f2a1a732689747513b4d4855863c7f65f3c21594d0c8dceeebe002", + "git_blob_sha1": "d866ac46cb06f0ebad304a28743c46ba50a8c768" + }, + { + "path": "agilex_piper/assets/link3_9.obj", + "bytes": 4134, + "sha256": "b5805f1cca9993e06f34d20e703d3ccee6dddedb25cb6c4f14d53dab856b95d3", + "git_blob_sha1": "1d73f7a9ff6e0c4d47e4ea8b316f17300d083dcb" + }, + { + "path": "agilex_piper/assets/link4.stl", + "bytes": 730484, + "sha256": "e58f7bfa284c7a6a23faf3945ffba5735d5d7c168953d8947c8ff09428f8881a", + "git_blob_sha1": "6077b622cd7a06473ce703221106f5c5e731c6cb" + }, + { + "path": "agilex_piper/assets/link4_2.obj", + "bytes": 496498, + "sha256": "8ff1075944a0ac7f54295b44cf6d1474daf81e968f19c03ac892b921aaa6cb85", + "git_blob_sha1": "154ec12b183273e25c0b67ad93dbbeac31883a8e" + }, + { + "path": "agilex_piper/assets/link4_3.obj", + "bytes": 389641, + "sha256": "1f76a433db58d61e71364d08223341de0d900cc048aa02f481568d919f06ec05", + "git_blob_sha1": "168ee256f67bb93935715444a92748b38f7fb009" + }, + { + "path": "agilex_piper/assets/link4_4.obj", + "bytes": 188047, + "sha256": "49d3390041498df885e647ff9e00af72c18feb16d421a074771c87662e34d3f6", + "git_blob_sha1": "dfa070074072cd2a1b8cbe639dc187cc274c0524" + }, + { + "path": "agilex_piper/assets/link4_5.obj", + "bytes": 390967, + "sha256": "a180f6d5aa83e7153d8b32257f35ca08c8520ddffad0344959a7ff40117a63d2", + "git_blob_sha1": "9f1236ec76ace4c351aa894f56582bd9c7933263" + }, + { + "path": "agilex_piper/assets/link4_6.obj", + "bytes": 315503, + "sha256": "755bed6a3ea29a45ce000fa42db84e6eb5d4f719c04f6f7e52705df933027c1c", + "git_blob_sha1": "fa9a54d142a9738e001a967e8b4a1f1a0d03c0b5" + }, + { + "path": "agilex_piper/assets/link5.stl", + "bytes": 1147884, + "sha256": "76d638a20581ce52befc3adc360bf7cf769937befc03803a485e6c689ce316fd", + "git_blob_sha1": "6b6f5ee6ea996a33b198ce3e0580b50d5a30696f" + }, + { + "path": "agilex_piper/assets/link5_2.obj", + "bytes": 313882, + "sha256": "b12395b1f63009f3b716a0a18519693e1114205f2c90c61fca75c00faa00252e", + "git_blob_sha1": "3f48e736b5ca589adff4f6497602c53a535668d9" + }, + { + "path": "agilex_piper/assets/link5_3.obj", + "bytes": 86793, + "sha256": "05feb3afbc6d4a0114561237bdafc10d28a6743c9c1912503be3b9567551d99a", + "git_blob_sha1": "74be807a5761be91dffea478f6e2154f1a5ffc52" + }, + { + "path": "agilex_piper/assets/link5_4.obj", + "bytes": 485245, + "sha256": "76a6db8f453e627871a6000f50cdfb8ea6603c30ff2c985f3a2ef72c4e20273d", + "git_blob_sha1": "341a3ecbcae8b2b3170c1721926abd83b1d33d6a" + }, + { + "path": "agilex_piper/assets/link5_5.obj", + "bytes": 237046, + "sha256": "7e5e43c40857ac14b5b2a60456a55cd0bc60162f8151348c7b2c47bfa5d4513a", + "git_blob_sha1": "16605db3217caa8a9aae37cf6eb7b8e10ee7f529" + }, + { + "path": "agilex_piper/assets/link5_6.obj", + "bytes": 689622, + "sha256": "bedac642badd06af0d9a5834eda868f1577a926fad59e6d15a5d5252a3d950f5", + "git_blob_sha1": "d4a80c6ad6650e40cb1d62c95af10f0af3a44381" + }, + { + "path": "agilex_piper/assets/link5_7.obj", + "bytes": 1081203, + "sha256": "52b6bff4dfd2f3fe18b2fb676d05f2da30ab4053300c11ef0e1dbfab46058028", + "git_blob_sha1": "750598d7e93a77819afab21bd7c94c7019a0a2ae" + }, + { + "path": "agilex_piper/assets/link5_8.obj", + "bytes": 335282, + "sha256": "ee698e03a1ed3828abca997290ca93aef140476616ab81d7baacd9c45fc6698a", + "git_blob_sha1": "08975a4036619130951be09f8c0b5163f7a8dd8a" + }, + { + "path": "agilex_piper/assets/link6.stl", + "bytes": 671184, + "sha256": "e0b2050ba81a45c79c045b9f13e3d1dd11f84bca1beb12eebc3102651c8476cf", + "git_blob_sha1": "40e0d81827fb1f9ff69424d0328d355cf2c803a7" + }, + { + "path": "agilex_piper/assets/link7.stl", + "bytes": 91984, + "sha256": "907dcdd10498a9d2e9317e42f550570a4ca522d1c4ff7b7c8721fd5cb951e481", + "git_blob_sha1": "ef2a30ca89fe970588b4fdbfcf58e9ceb6b8565e" + }, + { + "path": "agilex_piper/assets/link8.stl", + "bytes": 91884, + "sha256": "5552c0fda737f3abfa1e324ee8a4284dc473a17a0ca5fcbf35d61ca3e6701a18", + "git_blob_sha1": "f8e75c1d7bc6e77b7cd2cc5d30ef773c88fc5e64" + }, + { + "path": "agilex_piper/assets/linke2_dark_gray.stl", + "bytes": 17284, + "sha256": "6d2ef825b5f4291be6e44e4fb7cdae03eac3a3df08b0d777b776690ec9d07426", + "git_blob_sha1": "2a33b3dac2dd03fb2e92e65e8a0b24500a8c478c" + }, + { + "path": "agilex_piper/piper.png", + "bytes": 1378578, + "sha256": "3826ccfb2aed85eaeef2f48604fd5059caa764ac47fcf928b5c3a3d8ec02c682", + "git_blob_sha1": "1270421db3b4cb27dfc09dd8e27ac02fc4d9f738" + }, + { + "path": "agilex_piper/piper.xml", + "bytes": 14537, + "sha256": "a7b5b5d3b2a68d5c553b2ee9665d54a422bd8bf1fa6f3251bc11834993d37098", + "git_blob_sha1": "8b8962d805b519bc25f764316abf65bb3f6d8f37" + }, + { + "path": "agilex_piper/scene.xml", + "bytes": 819, + "sha256": "a4146e916ab3a85f5cfdc4139e2844b686bdaa2109f6ce2486df7e43b53bf602", + "git_blob_sha1": "3025eb80f088a9075e55561efa89a2929b5dfe2a" + } + ], + "native_joint_position_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "m", + "m" + ], + "native_actuator_force_units": [ + "Nm", + "Nm", + "Nm", + "Nm", + "Nm", + "Nm", + "N" + ], + "native_command_range": [ + [ + -2.618, + 2.618 + ], + [ + 0.0, + 3.14 + ], + [ + -2.697, + 0.0 + ], + [ + -1.832, + 1.832 + ], + [ + -1.22, + 1.22 + ], + [ + -3.14, + 3.14 + ], + [ + 0.0, + 0.035 + ] + ] + }, + { + "id": "so101", + "name": "The Robot Studio SO101", + "folder": "robotstudio_so101", + "model": "so101.xml", + "simulation_asset_license": "Apache-2.0", + "arm_axes": 5, + "gripper_axes": 1, + "arm_joint_names": [ + "shoulder_pan", + "shoulder_lift", + "elbow_flex", + "wrist_flex", + "wrist_roll" + ], + "gripper_joint_names": [ + "gripper" + ], + "actuator_names": [ + "shoulder_pan", + "shoulder_lift", + "elbow_flex", + "wrist_flex", + "wrist_roll", + "gripper" + ], + "native_command_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "expected_dimensions": { + "nq": 6, + "nv": 6, + "nu": 6, + "neq": 0 + }, + "tool_frame_body": "gripper", + "tool_frame_scope": "native gripper link origin; not a calibrated fingertip TCP", + "gripper_command": "moving-jaw hinge angle target in radians; not linear jaw gap", + "sdk_url": "https://github.com/huggingface/lerobot", + "hardware_url": "https://github.com/TheRobotStudio/SO-ARM100", + "upstream_model_url": "https://github.com/google-deepmind/mujoco_menagerie/tree/0059d4335f8156206f63a35662313385f7ad6d74/robotstudio_so101", + "openness_scope": "The stated license covers these pinned simulation assets; SDK and physical design licenses must be assessed separately.", + "files": [ + { + "path": "robotstudio_so101/CHANGELOG.md", + "bytes": 391, + "sha256": "ac7f6205e40f0fb2bc08ff3ff4c5e5092dacf8d78cb03f024ae9aae33738acc4", + "git_blob_sha1": "d8318d4c49688f8ea714e4dce5349c4958783d0e" + }, + { + "path": "robotstudio_so101/LICENSE", + "bytes": 11357, + "sha256": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4", + "git_blob_sha1": "261eeb9e9f8b2b4b0d119366dda99c6fd7d35c64" + }, + { + "path": "robotstudio_so101/README.md", + "bytes": 1142, + "sha256": "e2344e7c14290bed85c7907247aecb8bf6cb4392e3de0d7c45680efe9bb9b5a9", + "git_blob_sha1": "65129dba053c84d2ad384b1922cea46b119e9036" + }, + { + "path": "robotstudio_so101/assets/base_motor_holder_so101_v1.stl", + "bytes": 1877084, + "sha256": "8cd2f241037ea377af1191fffe0dd9d9006beea6dcc48543660ed41647072424", + "git_blob_sha1": "cac2b8dd98d3d8a6dcdf429b36aaa4b576d82041" + }, + { + "path": "robotstudio_so101/assets/base_so101_v2.stl", + "bytes": 471584, + "sha256": "bb12b7026575e1f70ccc7240051f9d943553bf34e5128537de6cd86fae33924d", + "git_blob_sha1": "ed10aa61d1181f8001c908ee5cae5c4f970ba417" + }, + { + "path": "robotstudio_so101/assets/motor_holder_so101_base_v1.stl", + "bytes": 1129384, + "sha256": "31242ae6fb59d8b15c66617b88ad8e9bded62d57c35d11c0c43a70d2f4caa95b", + "git_blob_sha1": "9eaf67243a5ffc2dacb3fbd026b4c0620adcdd66" + }, + { + "path": "robotstudio_so101/assets/motor_holder_so101_wrist_v1.stl", + "bytes": 1052184, + "sha256": "887f92e6013cb64ea3a1ab8675e92da1e0beacfd5e001f972523540545e08011", + "git_blob_sha1": "d0aa18b15a9cd63f41fa4d48e82df7a3b618c75d" + }, + { + "path": "robotstudio_so101/assets/moving_jaw_so101_gripper_part0_v1.stl", + "bytes": 50684, + "sha256": "3a92e115d1934d4c45cff808c4eff2ea10361a137a7f89940033a1f8a821b88c", + "git_blob_sha1": "d8dd83494b31952e2f52432bc9624e74bd241030" + }, + { + "path": "robotstudio_so101/assets/moving_jaw_so101_gripper_part1_v1.stl", + "bytes": 342684, + "sha256": "d10f6c671d26f62988ec95efee9370a0657b5833b3c5f8aad59fd69a87ef2aee", + "git_blob_sha1": "ed758675140114dbab751f93ea7d40b8d27e4594" + }, + { + "path": "robotstudio_so101/assets/moving_jaw_so101_gripper_v1.stl", + "bytes": 690384, + "sha256": "e8a5dc040b98e27453a5b74f9087d1dbca14589cf9a17c4de7868d5ab98413cd", + "git_blob_sha1": "f5bd23f855f0d90f73d00abef90576d0c7120719" + }, + { + "path": "robotstudio_so101/assets/moving_jaw_so101_v1.stl", + "bytes": 1413584, + "sha256": "785a9dded2f474bc1d869e0d3dae398a3dcd9c0c345640040472210d2861fa9d", + "git_blob_sha1": "7e8736686592072cf34c7f6e2e6e88f8a3ba60bb" + }, + { + "path": "robotstudio_so101/assets/rotation_pitch_so101_v1.stl", + "bytes": 883684, + "sha256": "9be900cc2a2bf718102841ef82ef8d2873842427648092c8ed2ca1e2ef4ffa34", + "git_blob_sha1": "5c05dee570623f62c4ab7597d76c7bdea20eacea" + }, + { + "path": "robotstudio_so101/assets/sts3215_03a_no_horn_v1.stl", + "bytes": 865884, + "sha256": "75ef3781b752e4065891aea855e34dc161a38a549549cd0970cedd07eae6f887", + "git_blob_sha1": "2a89597702f5ec6849b6b1b894c867b35b98ca42" + }, + { + "path": "robotstudio_so101/assets/sts3215_03a_v1.stl", + "bytes": 954084, + "sha256": "a37c871fb502483ab96c256baf457d36f2e97afc9205313d9c5ab275ef941cd0", + "git_blob_sha1": "fe05403dbfac7a26822b8c8cd0fc3d5288a69fc8" + }, + { + "path": "robotstudio_so101/assets/under_arm_so101_v1.stl", + "bytes": 1975884, + "sha256": "d01d1f2de365651dcad9d6669e94ff87ff7652b5bb2d10752a66a456a86dbc71", + "git_blob_sha1": "480e0583c8bb27ff9affefbebee72b784fb054c8" + }, + { + "path": "robotstudio_so101/assets/upper_arm_so101_v1.stl", + "bytes": 1303484, + "sha256": "475056e03a17e71919b82fd88ab9a0b898ab50164f2a7943652a6b2941bb2d4f", + "git_blob_sha1": "9c0f9b275a51f720476e529c92193f4f69d4784c" + }, + { + "path": "robotstudio_so101/assets/waveshare_mounting_plate_so101_v2.stl", + "bytes": 62784, + "sha256": "e197e24005a07d01bbc06a8c42311664eaeda415bf859f68fa247884d0f1a6e9", + "git_blob_sha1": "4dba1f22b01ab9afef2466872fcb3e1efca89e38" + }, + { + "path": "robotstudio_so101/assets/wrist_roll_follower_so101_camera_mount.stl", + "bytes": 122884, + "sha256": "58c457b33a26d9c9bb337aa351173e7123f84719a93f486541adef6eba57ae21", + "git_blob_sha1": "dfe1ecc5e11eb79280c032148ad6ba68a21c431e" + }, + { + "path": "robotstudio_so101/assets/wrist_roll_follower_so101_gripper_part0_v1.stl", + "bytes": 73784, + "sha256": "370eb470a6ab48b08febcaeb5274d2bcc91246692532ce12c795fb82977def72", + "git_blob_sha1": "7a6bdae516080bd381758fb87cfa48beab3c96b9" + }, + { + "path": "robotstudio_so101/assets/wrist_roll_follower_so101_gripper_v1.stl", + "bytes": 741684, + "sha256": "65f32debcf265420c0160afe004f8befc5df4b3e578fd59ebaa62eade0371224", + "git_blob_sha1": "279308978e9d64d0bb231968d6169ce78aa0ebde" + }, + { + "path": "robotstudio_so101/assets/wrist_roll_follower_so101_v1.stl", + "bytes": 1439884, + "sha256": "4b17b410a12d64ec39554abc3e8054d8a97384b2dc4a8d95a5ecb2a93670f5f4", + "git_blob_sha1": "123ce374ad3efc240e4d7022f31314e59fe4b0c0" + }, + { + "path": "robotstudio_so101/assets/wrist_roll_pitch_so101_v2.stl", + "bytes": 2699784, + "sha256": "6c7ec5525b4d8b9e397a30ab4bb0037156a5d5f38a4adf2c7d943d6c56eda5ae", + "git_blob_sha1": "ac5172a35e6da3e9fdea21e25803f23cc61e31f1" + }, + { + "path": "robotstudio_so101/scene.xml", + "bytes": 825, + "sha256": "d3037f0fd36b61a9b6805b2c79831e7a392276d0f490145d01f718542eee9150", + "git_blob_sha1": "f6d8d5b119f0966a8c1139fa65277355b8474327" + }, + { + "path": "robotstudio_so101/scene_box.xml", + "bytes": 1469, + "sha256": "14c3826f23889587e63b88ef9a0e7d72318ffe13078fad8287c56dbdb9ba9ad8", + "git_blob_sha1": "f51dd3b7609d75c0a26d2735e924c140a15b72b1" + }, + { + "path": "robotstudio_so101/so101.png", + "bytes": 1010575, + "sha256": "fca552381f318dab5b1f9a69007e79d905d91c9d1bebbfdf267b78d924a9c46d", + "git_blob_sha1": "f9ac493bb3809531abe7f23ef7168d15315c2c23" + }, + { + "path": "robotstudio_so101/so101.xml", + "bytes": 17206, + "sha256": "982c02c027ec0c62d3459d0a6eb00dfb7dc13a451992e72ce99addc71f209805", + "git_blob_sha1": "38bd905c819c8c6d755fecb6394d166944262cce" + } + ], + "native_joint_position_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "native_actuator_force_units": [ + "Nm", + "Nm", + "Nm", + "Nm", + "Nm", + "Nm" + ], + "native_command_range": [ + [ + -1.91986, + 1.91986 + ], + [ + -1.74533, + 1.74533 + ], + [ + -1.69, + 1.69 + ], + [ + -1.65806, + 1.65806 + ], + [ + -2.74385, + 2.84121 + ], + [ + -0.17453, + 1.74533 + ] + ] + } + ] +} diff --git a/benchmarks/piper-contact-development-20261011/sources/frozen-v02/robot_profiles.py b/benchmarks/piper-contact-development-20261011/sources/frozen-v02/robot_profiles.py new file mode 100644 index 0000000..b7f781e --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/sources/frozen-v02/robot_profiles.py @@ -0,0 +1,424 @@ +"""Pinned PiPER/SO101 CPU mechanics smoke tests, without hardware control. + +Fetch is the only network operation. Audit, native stepping and inspection are +offline. Simulation asset licenses do not establish the openness of hardware. +""" +from __future__ import annotations + +import argparse +from hashlib import sha256 +import html +import json +import math +from pathlib import Path, PurePosixPath +import platform +import time +from urllib.request import Request, urlopen + +from . import reference_sim as sim + + +LOCK_PATH = Path(__file__).with_name('robot_profiles.lock.json') +SCHEMA = 'dvidia.robot-profile-benchmark/v1' +INTEGRITY_SCHEMA = 'dvidia.robot-profile-integrity/v1' +CASES = ('hold', 'arm_sweep', 'gripper_cycle') +SCOPE = ('Unloaded native CPU mechanics smoke: authored position servos, upstream gravity settings, ' + 'privileged joint/link state and synthetic commands. No object task, learned skill, measured ' + 'hardware response, contact calibration or physical robot qualification.') + + +def _lock(): + return json.loads(LOCK_PATH.read_text(encoding='utf-8')) + + +def _profile(name): + for item in _lock()['profiles']: + if item['id'] == name: + return item + raise ValueError('Profile must be piper or so101') + + +def list_profiles(): + """Return explicit axes, units and asset-license claims without native imports.""" + return [{key: value for key, value in item.items() if key != 'files'} for item in _lock()['profiles']] + + +def _payload(profile, directory): + item, root = _profile(profile), Path(directory) + if root.is_symlink() or not root.is_dir(): + raise ValueError('Assets require an existing non-symlink directory') + blobs = {} + for record in item['files']: + path = root / record['path'] + if any(parent.is_symlink() for parent in path.parents if parent != root and root in parent.parents): + raise ValueError('Asset subdirectories must not be symlinks') + content = sim._regular_bytes(path, record['bytes']) + if sha256(content).hexdigest() != record['sha256']: + raise ValueError('Asset digest mismatch: '+record['path']) + blobs[record['path']] = content + return item, blobs + + +def verify_assets(profile, directory): + item, blobs = _payload(profile, directory) + return {'profile': item['id'], 'repository': _lock()['repository'], 'commit': _lock()['commit'], + 'files_verified': len(blobs), 'bytes_verified': sum(map(len, blobs.values())), + 'lock_sha256': sha256(LOCK_PATH.read_bytes()).hexdigest(), + 'simulation_asset_license': item['simulation_asset_license']} + + +def fetch_assets(profile, output): + """Explicitly fetch the fixed packaged allowlist into a fresh asset root.""" + item, lock = _profile(profile), _lock() + destination = Path(output) + if destination.is_symlink() or (destination.exists() and not destination.is_dir()): + raise ValueError('Asset root must be a plain directory') + destination.mkdir(parents=True, exist_ok=True) + (destination/item['folder']).mkdir(exist_ok=False) + for record in item['files']: + url = f"https://raw.githubusercontent.com/google-deepmind/mujoco_menagerie/{lock['commit']}/{record['path']}" + with urlopen(Request(url, headers={'User-Agent': 'DVIDIA-Robot-Sim/0.1'}), timeout=30) as response: + if response.geturl() != url: + raise ValueError('Pinned asset download redirected') + content = response.read(record['bytes']+1) + if len(content) != record['bytes'] or sha256(content).hexdigest() != record['sha256']: + raise ValueError('Downloaded asset differs from packaged lock: '+record['path']) + path = destination / record['path'] + path.parent.mkdir(parents=True, exist_ok=True) + with path.open('xb') as stream: + stream.write(content) + return verify_assets(profile, destination) + + +def build_model(profile, directory, *, timestep=.001): + dt = sim._timestep(timestep) + item, blobs = _payload(profile, directory) + model_spec = sim._spec(blobs, item['folder'], item['model']) + model_spec.option.timestep = dt + model = model_spec.compile() + mj, _ = sim._native_imports() + actual = {name: int(getattr(model, name)) for name in ('nq', 'nv', 'nu', 'neq')} + if actual != item['expected_dimensions']: + raise ValueError('Native profile mechanical dimensions differ from the pinned contract') + if [mj.mj_id2name(model, mj.mjtObj.mjOBJ_ACTUATOR, i) for i in range(model.nu)] != item['actuator_names']: + raise ValueError('Native profile actuator order differs from the pinned contract') + expected_joints = item['arm_joint_names']+item['gripper_joint_names'] + if [mj.mj_id2name(model, mj.mjtObj.mjOBJ_JOINT, i) for i in range(model.njnt)] != expected_joints: + raise ValueError('Native profile joint order differs from the pinned contract') + if mj.mj_name2id(model, mj.mjtObj.mjOBJ_BODY, item['tool_frame_body']) <= 0: + raise ValueError('Native profile terminal link body is missing') + for index, unit in enumerate(item['native_command_units']): + joint = int(model.actuator_trnid[index, 0]) + expected = mj.mjtJoint.mjJNT_HINGE if unit == 'rad' else mj.mjtJoint.mjJNT_SLIDE + if model.jnt_type[joint] != expected or not model.actuator_ctrllimited[index]: + raise ValueError('Native command units/limits differ from the pinned contract') + return model + + +def audit(profile, directory, *, timestep=.001): + metadata = verify_assets(profile, directory) + messages = [] + with sim.native_warnings(messages): + model = build_model(profile, directory, timestep=timestep) + if messages: + raise ValueError('Native profile compilation emitted warnings: '+str(messages)) + mj, _ = sim._native_imports() + return {'schema': 'dvidia.robot-profile-audit/v1', 'profile': list_profiles()[0 if profile == 'piper' else 1], + 'assets': metadata, 'native_version': mj.__version__, 'compiled_model_sha256': sim.model_digest(model), + 'dimensions': {name: int(getattr(model, name)) for name in ('nq', 'nv', 'nu', 'neq', 'ngeom', 'nbody')}, + 'actuator_ctrlrange_native': model.actuator_ctrlrange.tolist(), + 'actuator_forcerange_native': model.actuator_forcerange.tolist(), + 'gravity_compensated_bodies': int(sum(model.body_gravcomp != 0)), + 'scope': SCOPE, 'task_qualified': False, 'physical_robot_ready': False} + + +def _bounded(value, name, low, high): + if isinstance(value, bool) or not isinstance(value, (int, float)): + raise ValueError(name+' must be finite numeric data') + try: + number = float(value) + except (OverflowError, ValueError, TypeError) as exc: + raise ValueError(name+' must be finite numeric data') from exc + if not math.isfinite(number) or not low <= number <= high: + raise ValueError(name+' outside bounded range') + return number + + +def _duration(value): + number = _bounded(value, 'duration', .1, 2.) + if not math.isclose(number/sim.CONTROL_DT, round(number/sim.CONTROL_DT), abs_tol=1e-9, rel_tol=0): + raise ValueError('Duration must contain complete 20 ms control boundaries') + return number + + +def _sample(model, data, item, elapsed): + mj, np = sim._native_imports() + if not all(np.isfinite(value).all() for value in (data.qpos, data.qvel, data.qacc, data.xpos)): + raise RuntimeError('Nonfinite native profile state') + body = mj.mj_name2id(model, mj.mjtObj.mjOBJ_BODY, item['tool_frame_body']) + return {'t_seconds': elapsed, 'qpos_native': data.qpos.tolist(), 'qvel_native_per_second': data.qvel.tolist(), + 'arm_joint_position_rad': data.qpos[:item['arm_axes']].tolist(), + 'arm_joint_velocity_rad_s': data.qvel[:item['arm_axes']].tolist(), + 'gripper_joint_position_native': data.qpos[item['arm_axes']:].tolist(), + 'terminal_link_position_m': data.xpos[body].tolist(), 'terminal_link_quaternion_wxyz': data.xquat[body].tolist(), + 'actuator_force_native': data.actuator_force.tolist(), 'contact_count': int(data.ncon), + 'issued_controls_native': None, 'observation_origin': 'privileged_native_simulator_state'} + + +def _attempt(profile, assets, case, repeat, duration, timestep): + started, latencies = time.perf_counter(), [] + item = _profile(profile) + result = {'id': f'{case}-{repeat}', 'case': case, 'repeat': repeat, 'valid': False, + 'error': None, 'warnings': [], 'simulated_seconds': 0., 'trajectory': [], 'timing': {}, 'metrics': {}} + try: + with sim.native_warnings(result['warnings']): + model = build_model(profile, assets, timestep=timestep) + mj, np = sim._native_imports() + data = mj.MjData(model) + if model.nkey: + mj.mj_resetDataKeyframe(model, data, 0) + else: + data.ctrl[:] = data.qpos[model.jnt_qposadr[model.actuator_trnid[:, 0]]] + base = data.ctrl.copy() + mj.mj_forward(model, data) + result['compiled_model_sha256'] = sim.model_digest(model) + result['runtime'] = {'mujoco_version': mj.__version__, 'numpy_version': np.__version__} + result['native_model_settings'] = {'gravity_m_s2': model.opt.gravity.tolist(), + 'gravity_compensated_bodies': [ + {'name': mj.mj_id2name(model, mj.mjtObj.mjOBJ_BODY, i), + 'fraction': float(model.body_gravcomp[i])} + for i in range(model.nbody) if model.body_gravcomp[i] != 0]} + result['trajectory'].append(_sample(model, data, item, 0.)) + for index in range(round(duration/sim.CONTROL_DT)): + tick_started = time.perf_counter() + commands = base.copy() + phase = math.sin(math.pi*(index+1)*sim.CONTROL_DT/duration) + if case == 'arm_sweep': + commands[:item['arm_axes']] += .08*phase + elif case == 'gripper_cycle': + commands[-1] += (.012 if item['id'] == 'piper' else .15)*phase + commands = np.clip(commands, model.actuator_ctrlrange[:, 0], model.actuator_ctrlrange[:, 1]) + result['trajectory'][-1]['issued_controls_native'] = commands.tolist() + data.ctrl[:] = commands + for _ in range(round(sim.CONTROL_DT/timestep)): + mj.mj_step(model, data) + mj.mj_forward(model, data) + _sample(model, data, item, 0.) + if result['warnings'] or any(warning.number for warning in data.warning): + raise RuntimeError('Native profile emitted a solver warning') + result['simulated_seconds'] = (index+1)*sim.CONTROL_DT + result['trajectory'].append(_sample(model, data, item, result['simulated_seconds'])) + latencies.append(time.perf_counter()-tick_started) + result['valid'] = not result['warnings'] + errors = [abs(row['qpos_native'][int(model.jnt_qposadr[model.actuator_trnid[j, 0]])]-row['issued_controls_native'][j]) + for row in result['trajectory'][:-1] for j in range(item['arm_axes'])] + result['metrics'] = {'max_before_step_arm_target_error_rad': max(errors, default=0.), + 'max_recorded_contact_count': max(row['contact_count'] for row in result['trajectory']), + 'scope': 'Numerical state/command diagnostics only; no task success metric'} + except Exception as exc: + result['error'] = {'type': type(exc).__name__, 'message': str(exc)[:500]} + elapsed = time.perf_counter()-started + result['timing'] = {'episode_wall_seconds': elapsed, 'control_step_seconds': sim._summary(latencies) if latencies else None, + 'control_boundaries': len(latencies), 'missed_control_boundaries': sum(x > sim.CONTROL_DT for x in latencies), + 'simulated_seconds_per_wall_second': result['simulated_seconds']/elapsed, + 'scope': 'Wall computation including compilation/state snapshots; not real-time sensor-to-actuator latency'} + return result + + +def _json_bytes(value): + return (json.dumps(value, allow_nan=False, indent=2)+'\n').encode() + + +def _record(path, content): + return {'path': path, 'bytes': len(content), 'sha256': sha256(content).hexdigest()} + + +def benchmark(profile, assets, output, *, duration=.4, timestep=.001, repeats=1): + """Seal every bounded unloaded attempt, including numerical/setup failures.""" + item, duration, timestep = _profile(profile), _duration(duration), sim._timestep(timestep) + if type(repeats) is not int or not 1 <= repeats <= 3: + raise ValueError('repeats must be an integer in [1,3]') + metadata, blobs = verify_assets(profile, assets), _payload(profile, assets)[1] + destination = Path(output) + destination.mkdir(parents=True, exist_ok=False) + report = {'schema': SCHEMA, 'profile': {key: value for key, value in item.items() if key != 'files'}, + 'scope': SCOPE, 'task_qualified': False, 'physical_robot_ready': False, 'assets': metadata, + 'source': {'implementation_sha256': sha256(Path(__file__).read_bytes()).hexdigest(), + 'reference_sim_sha256': sha256(Path(sim.__file__).read_bytes()).hexdigest(), + 'lock_sha256': sha256(LOCK_PATH.read_bytes()).hexdigest(), 'asset_commit': _lock()['commit']}, + 'settings': {'duration_seconds': duration, 'timestep_seconds': timestep, + 'control_dt_seconds': sim.CONTROL_DT, 'repeats': repeats, 'cases': list(CASES)}, + 'platform': {'system': platform.system(), 'machine': platform.machine(), 'python': platform.python_version()}, + 'attempts': []} + for case in CASES: + for repeat in range(repeats): + attempt = _attempt(profile, assets, case, repeat, duration, timestep) + report['attempts'].append(attempt) + path = destination/f'attempt-{attempt["id"]}.json' + path.write_bytes(_json_bytes(attempt)) + report['summary'] = {'attempt_count': len(report['attempts']), + 'valid_attempts': sum(bool(x['valid']) for x in report['attempts'])} + compiled = next((attempt for attempt in report['attempts'] if 'runtime' in attempt), None) + report['platform'].update(mujoco_version=compiled['runtime']['mujoco_version'] if compiled else None, + numpy_version=compiled['runtime']['numpy_version'] if compiled else None) + report['native_model_settings'] = compiled['native_model_settings'] if compiled else None + rows = ''.join(f'{html.escape(x["id"])}{x["valid"]}{x["simulated_seconds"]:.2f}' + f'{html.escape(json.dumps(x["error"]))}' for x in report['attempts']) + page = (f'' + f'DVIDIA {html.escape(item["name"])} CPU mechanics' + f'

DVIDIA · {html.escape(item["name"])} CPU mechanics

{html.escape(SCOPE)}

' + f'

{item["arm_axes"]} arm axes + {item["gripper_axes"]} gripper command. Simulation asset license: {html.escape(item["simulation_asset_license"])}.

' + f'

Native command units: {html.escape(", ".join(item["native_command_units"]))}. {html.escape(item["gripper_command"])}

' + f'

Complete sealed numerical receipt · Original asset license

' + f'{rows}
AttemptValid physicsSimulated secondsError
').encode() + files = {'report.json': _json_bytes(report), 'report.html': page, + f'licenses/{profile}/LICENSE': blobs[item['folder']+'/LICENSE']} + for name, content in files.items(): + path = destination/name + path.parent.mkdir(parents=True, exist_ok=True) + path.write_bytes(content) + for path in sorted(destination.glob('attempt-*.json')): + files[path.name] = path.read_bytes() + integrity = {'schema': INTEGRITY_SCHEMA, 'files': [_record(name, content) for name, content in sorted(files.items())]} + (destination/'integrity.json').write_bytes(_json_bytes(integrity)) + return {'output': str(destination), 'profile': profile, **report['summary'], 'report_sha256': sha256(files['report.json']).hexdigest()} + + +def _bounded_file(path, limit): + size = path.lstat().st_size + if size > limit: + raise ValueError('Benchmark file exceeds the bounded size limit') + return sim._regular_bytes(path, size) + + +def inspect_benchmark(directory): + """Verify the standalone numerical receipt without loading native physics.""" + root = Path(directory) + if root.is_symlink() or not root.is_dir(): + raise ValueError('Benchmark root must be a non-symlink directory') + integrity = json.loads(_bounded_file(root/'integrity.json', 100000)) + if integrity.get('schema') != INTEGRITY_SCHEMA or type(integrity.get('files')) is not list or not 3 <= len(integrity['files']) <= 12: + raise ValueError('Unsupported bounded profile integrity manifest') + payload, total = {}, 0 + for record in integrity['files']: + name = record.get('path') + if type(name) is not str or name in payload or PurePosixPath(name).is_absolute() or '..' in PurePosixPath(name).parts or '\\' in name: + raise ValueError('Unsafe or duplicate benchmark file path') + path = root/name + if any(parent.is_symlink() for parent in path.parents if parent != root and root in parent.parents): + raise ValueError('Benchmark subdirectories must not be symlinks') + content = _bounded_file(path, 5000000) + total += len(content) + if total > 12000000 or len(content) != record.get('bytes') or sha256(content).hexdigest() != record.get('sha256'): + raise ValueError('Benchmark integrity mismatch') + payload[name] = content + report = json.loads(payload['report.json']) + if report.get('schema') != SCHEMA or report.get('task_qualified') is not False or report.get('physical_robot_ready') is not False: + raise ValueError('Unsupported profile receipt or qualification claim') + profile = _profile(report['profile']['id']) + expected_profile = {key: value for key, value in profile.items() if key != 'files'} + if report['profile'] != expected_profile: + raise ValueError('Profile receipt axes/units/provenance contract mismatch') + lock = _lock() + lock_digest = sha256(LOCK_PATH.read_bytes()).hexdigest() + expected_assets = {'profile': profile['id'], 'repository': lock['repository'], 'commit': lock['commit'], + 'files_verified': len(profile['files']), 'bytes_verified': sum(x['bytes'] for x in profile['files']), + 'lock_sha256': lock_digest, 'simulation_asset_license': profile['simulation_asset_license']} + if report.get('assets') != expected_assets or report['source'].get('asset_commit') != lock['commit'] or report['source'].get('lock_sha256') != lock_digest: + raise ValueError('Profile asset/source lock provenance mismatch') + for key in ('implementation_sha256', 'reference_sim_sha256'): + digest = report['source'].get(key) + if type(digest) is not str or len(digest) != 64 or any(x not in '0123456789abcdef' for x in digest): + raise ValueError('Profile implementation source digest is malformed') + settings = report['settings'] + duration, timestep = _duration(settings['duration_seconds']), sim._timestep(settings['timestep_seconds']) + repeats = settings['repeats'] + if type(repeats) is not int or not 1 <= repeats <= 3 or settings['cases'] != list(CASES) or settings['control_dt_seconds'] != sim.CONTROL_DT: + raise ValueError('Profile benchmark settings mismatch') + attempts = report['attempts'] + if type(attempts) is not list or len(attempts) != len(CASES)*repeats: + raise ValueError('Profile benchmark attempt count mismatch') + expected_files = {'report.json', 'report.html', f'licenses/{profile["id"]}/LICENSE'} | { + f'attempt-{case}-{repeat}.json' for case in CASES for repeat in range(repeats)} + actual_files = {path.relative_to(root).as_posix() for path in root.rglob('*') if not path.is_dir()} + if set(payload) != expected_files or actual_files != expected_files | {'integrity.json'}: + raise ValueError('Profile benchmark file inventory mismatch') + for index, attempt in enumerate(attempts): + case, repeat = CASES[index//repeats], index%repeats + if attempt['id'] != f'{case}-{repeat}' or attempt['case'] != case or attempt['repeat'] != repeat or type(attempt['valid']) is not bool: + raise ValueError('Profile attempt ordering/validity mismatch') + if json.loads(payload[f'attempt-{attempt["id"]}.json']) != attempt: + raise ValueError('Profile raw attempt and report differ') + if attempt['valid'] and (attempt['error'] is not None or attempt['warnings'] or len(attempt['trajectory']) != round(duration/sim.CONTROL_DT)+1): + raise ValueError('Valid profile attempt has incomplete or invalid native evidence') + for row_index, row in enumerate(attempt['trajectory']): + _bounded(row['t_seconds'], 'clock', 0, duration) + if not math.isclose(row['t_seconds'], row_index*sim.CONTROL_DT, abs_tol=1e-9, rel_tol=0): + raise ValueError('Profile trace clock mismatch') + for key, count in (('qpos_native', profile['expected_dimensions']['nq']), + ('qvel_native_per_second', profile['expected_dimensions']['nv']), + ('arm_joint_position_rad', profile['arm_axes']), + ('arm_joint_velocity_rad_s', profile['arm_axes']), + ('gripper_joint_position_native', len(profile['gripper_joint_names'])), + ('terminal_link_position_m', 3), ('terminal_link_quaternion_wxyz', 4), + ('actuator_force_native', len(profile['actuator_names']))): + if type(row[key]) is not list or len(row[key]) != count: + raise ValueError('Profile trace state shape mismatch') + for value in row[key]: + _bounded(value, key, -1000000, 1000000) + if row['arm_joint_position_rad'] != row['qpos_native'][:profile['arm_axes']] or row['gripper_joint_position_native'] != row['qpos_native'][profile['arm_axes']:] or row['arm_joint_velocity_rad_s'] != row['qvel_native_per_second'][:profile['arm_axes']]: + raise ValueError('Profile redundant joint state differs from its native coordinates') + if not math.isclose(sum(value*value for value in row['terminal_link_quaternion_wxyz']), 1., abs_tol=1e-8, rel_tol=0): + raise ValueError('Profile terminal link quaternion must be normalized wxyz') + if type(row['contact_count']) is not int or not 0 <= row['contact_count'] <= 100000 or row['observation_origin'] != 'privileged_native_simulator_state': + raise ValueError('Profile contact count/observation provenance mismatch') + issued = row['issued_controls_native'] + if attempt['valid'] and ((row_index == len(attempt['trajectory'])-1) != (issued is None)): + raise ValueError('Valid profile trace must issue each decision and leave its terminal row unissued') + if issued is not None: + if type(issued) is not list or len(issued) != len(profile['native_command_units']): + raise ValueError('Profile native command shape mismatch') + for value, (low, high) in zip(issued, profile['native_command_range']): + _bounded(value, 'native command', low, high) + valid = sum(x['valid'] for x in attempts) + if report['summary'] != {'attempt_count': len(attempts), 'valid_attempts': valid}: + raise ValueError('Profile attempt summary mismatch') + license_name = f'licenses/{profile["id"]}/LICENSE' + record = next(x for x in profile['files'] if x['path'] == profile['folder']+'/LICENSE') + if len(payload[license_name]) != record['bytes'] or sha256(payload[license_name]).hexdigest() != record['sha256']: + raise ValueError('Upstream simulation asset license mismatch') + return {'report': report, 'files': integrity['files'], 'valid_attempts': valid, 'attempts': len(attempts)} + + +def main(argv=None): + parser = argparse.ArgumentParser(description='DVIDIA pinned CPU robot mechanics; no hardware control') + commands = parser.add_subparsers(dest='command', required=True) + commands.add_parser('list') + for name in ('fetch', 'audit', 'benchmark'): + command = commands.add_parser(name) + command.add_argument('profile', choices=('piper', 'so101')) + if name != 'fetch': + command.add_argument('assets') + if name != 'audit': + command.add_argument('--output', required=True) + if name == 'benchmark': + command.add_argument('--duration', type=float, default=.4) + command.add_argument('--timestep', type=float, default=.001) + command.add_argument('--repeats', type=int, default=1) + args = parser.parse_args(argv) + try: + if args.command == 'list': + result = list_profiles() + elif args.command == 'fetch': + result = fetch_assets(args.profile, args.output) + elif args.command == 'audit': + result = audit(args.profile, args.assets) + else: + result = benchmark(args.profile, args.assets, args.output, duration=args.duration, timestep=args.timestep, repeats=args.repeats) + print(json.dumps(result, allow_nan=False, indent=2)) + except (ValueError, OSError, RuntimeError, KeyError) as exc: + parser.exit(2, 'error: '+str(exc)+'\n') + + +if __name__ == '__main__': + main() diff --git a/benchmarks/piper-contact-development-20261011/sources/r0/piper_contact_memory.py b/benchmarks/piper-contact-development-20261011/sources/r0/piper_contact_memory.py new file mode 100644 index 0000000..14cb216 --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/sources/r0/piper_contact_memory.py @@ -0,0 +1,218 @@ +"""Interpretable causal PiPER contact history, with unchanged native dynamics. + +Both modes inherit the exact v0.2 acquisition probe and supported retry. A +hold changes requested joint positions; native motion can continue afterward. +""" +from __future__ import annotations + +from dataclasses import asdict, dataclass +import math + +from . import piper_grip_guard as acquisition + + +SCHEMA = 'dvidia.piper-contact-memory/v0.3' + + +@dataclass(frozen=True) +class ContactMemoryConfig: + history_window_s: float = .12 + minimum_history_s: float = .10 + trend_rate_m_s: float = .025 + trend_displacement_m: float = .0025 + minimum_straightness: float = .7 + trend_samples: int = 2 + loss_samples: int = 2 + slowdown_joint_delta_scale: float = .35 + slowdown_duration_s: float = .12 + hold_minimum_s: float = .12 + hold_timeout_s: float = .8 + settled_rate_m_s: float = .008 + settled_displacement_m: float = .0015 + settled_dwell_s: float = .10 + resumed_joint_delta_scale: float = .45 + maximum_reassessments: int = 2 + + def __post_init__(self): + for name, value in asdict(self).items(): + try: + finite = math.isfinite(value) + except (OverflowError, TypeError, ValueError): + finite = False + if isinstance(value, bool) or not isinstance(value, (int, float)) or not finite or value <= 0: + raise ValueError('Invalid contact memory parameter: '+name) + for name in ('trend_samples', 'loss_samples', 'maximum_reassessments'): + if type(getattr(self, name)) is not int or getattr(self, name) != 2: + raise ValueError('Contact memory uses two observations and at most two reassessments') + if (self.minimum_history_s > self.history_window_s or self.hold_minimum_s >= self.hold_timeout_s + or self.minimum_straightness > 1 or self.slowdown_joint_delta_scale > 1 + or self.resumed_joint_delta_scale > 1 or self.settled_rate_m_s >= self.trend_rate_m_s): + raise ValueError('Invalid contact memory threshold ordering') + + +def contact_memory_contract(): + return {'schema': SCHEMA, 'parameters': asdict(ContactMemoryConfig()), + 'acquisition': acquisition.guard_contract(), + 'observations': 'causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check', + 'history': 'inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path', + 'trend': 'rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold', + 'slowdown': 'scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately', + 'reassessment': 'minimum 120 ms hold; known window displacement <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds', + 'resume': 'causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget', + 'probe_only': 'identical acquisition and retry; removes postqualification carry monitoring only', + 'stop': 'measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion', + 'duration': 'unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change', + 'scope': 'authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim'} + + +def inactive_summary(mode): + value = acquisition.inactive_summary(mode) + value.update(schema=SCHEMA, contract=contact_memory_contract(), slowdown_count=0, + reassessment_count=0, resume_count=0) + return value + + +class ContactMemoryPiperTaskPolicy(acquisition.GuardedPiperTaskPolicy): + """Same acquisition, with a causal history controller or probe ablation.""" + + def __init__(self, environment, mode='history'): + if mode not in ('probe_only', 'history'): + raise ValueError('Contact memory mode must be probe_only or history') + super().__init__(environment) + self.mode, self.memory_config = mode, ContactMemoryConfig() + self.history = [] + self.memory_stage, self.memory_started, self.settled_since = 'observe', None, None + self.trend_streak, self.memory_loss_streak = 0, 0 + self.slowdown_count = self.reassessment_count = self.resume_count = 0 + self.resumed = False + + def summary(self): + value = super().summary() + value.update(schema=SCHEMA, mode=self.mode, contract=contact_memory_contract(), + slowdown_count=self.slowdown_count, reassessment_count=self.reassessment_count, + resume_count=self.resume_count) + return value + + def _diagnose(self, observation): + value = super()._diagnose(observation) + now = observation['t_seconds'] + if self.state == 'probe' or self.qualified: + sample = {'t': now, 'offset': acquisition._local_offset(observation), + 'bilateral': value['bilateral_contact'], + 'loaded': value['bilateral_contact'] and min(observation['pad_normal_forces_n'].values()) > .01, + 'supported': value['table_supported']} + # The parent diagnoses twice when a probe starts; one snapshot is + # one history sample, never two apparent observations. + if self.history and abs(self.history[-1]['t']-now) < 1e-9: + self.history[-1] = sample + else: + self.history.append(sample) + self.history = [row for row in self.history if row['t'] >= now-self.memory_config.history_window_s-1e-9] + else: + self.history = [] + span = self.history[-1]['t']-self.history[0]['t'] if self.history else 0. + known = span+1e-9 >= self.memory_config.minimum_history_s + displacement = math.dist(self.history[-1]['offset'], self.history[0]['offset']) if self.history else None + path = sum(math.dist(a['offset'], b['offset']) for a, b in zip(self.history, self.history[1:])) + slope = None + if known: + mean_t = sum(row['t'] for row in self.history)/len(self.history) + denominator = sum((row['t']-mean_t)**2 for row in self.history) + slope = [sum((row['t']-mean_t)*row['offset'][axis] for row in self.history)/denominator for axis in range(3)] + value.update(memory_stage=self.memory_stage, history_count=len(self.history), history_known=known, + history_span_seconds=span, history_displacement_m=displacement, + history_rate_m_s=displacement/span if known else None, + history_slope_m_s=slope, + history_straightness=displacement/path if known and path > 1e-12 else (0. if known else None), + history_bilateral_fraction=sum(row['bilateral'] for row in self.history)/len(self.history) if self.history else None, + history_loaded_bilateral_all=known and all(row['loaded'] for row in self.history), + history_unsupported_all=known and all(not row['supported'] for row in self.history), + slip_trend_streak=self.trend_streak, persistent_loss_streak=self.memory_loss_streak, + settled_dwell_seconds=0. if self.settled_since is None else now-self.settled_since, + joint_delta_scale=1., resume_local_offset_m=None) + return value + + def _scaled_teacher(self, observation, scale): + action = self.teacher(observation) + action['joint_targets_rad'] = [current+scale*(target-current) for current, target + in zip(observation['joint_position_rad'], action['joint_targets_rad'])] + self.issued_phase = 'memory_slowdown' if self.memory_stage == 'slowdown' else self.teacher.issued_phase + self.diagnostic['joint_delta_scale'] = scale + self.diagnostic['decision'] = 'slow_requested_joint_delta' if self.memory_stage == 'slowdown' else 'resume_reduced_requested_delta' + return action + + def _start_hold(self, observation, reason): + if self.reassessment_count >= self.memory_config.maximum_reassessments: + return self._abort(observation, 'reassessment_budget_exhausted:'+reason) + self.memory_stage, self.memory_started, self.settled_since = 'hold', observation['t_seconds'], None + self.stop_targets = list(observation['joint_position_rad']) + self.reassessment_count += 1 + self.issued_phase = 'memory_hold' + self.diagnostic.update(memory_stage='hold', decision='hold_measured_arm_closed') + self._event('reassessment_started', observation, reason) + return self._hold() + + def _monitor(self, observation, *, probe): + if probe: + return super()._monitor(observation, probe=True) + if self.mode == 'probe_only': + return None + cfg, diagnostic, now = self.memory_config, self.diagnostic, observation['t_seconds'] + if observation['unexpected_contact_count']: + return self._abort(observation, 'unexpected_contact_during_carry') + trend = (diagnostic['history_known'] and diagnostic['history_rate_m_s'] >= cfg.trend_rate_m_s + and diagnostic['history_displacement_m'] >= cfg.trend_displacement_m + and diagnostic['history_straightness'] >= cfg.minimum_straightness) + self.trend_streak = self.trend_streak+1 if trend else 0 + self.memory_loss_streak = self.memory_loss_streak+1 if not diagnostic['bilateral_contact'] else 0 + diagnostic.update(slip_trend_streak=self.trend_streak, persistent_loss_streak=self.memory_loss_streak) + if self.memory_stage == 'hold': + self.issued_phase = 'memory_hold' + diagnostic['decision'] = 'hold_measured_arm_closed' + stable = (now-self.memory_started+1e-9 >= cfg.hold_minimum_s and diagnostic['history_known'] + and diagnostic['history_displacement_m'] <= cfg.settled_displacement_m + and diagnostic['history_rate_m_s'] <= cfg.settled_rate_m_s + and diagnostic['history_loaded_bilateral_all'] and diagnostic['history_unsupported_all'] + and diagnostic['object_height_delta_m'] >= self.config.probe_min_object_rise_m) + self.settled_since = (now if self.settled_since is None else self.settled_since) if stable else None + diagnostic['settled_dwell_seconds'] = 0. if self.settled_since is None else now-self.settled_since + if diagnostic['settled_dwell_seconds']+1e-9 >= cfg.settled_dwell_s: + self.teacher.held_offset = acquisition._local_offset(observation) + self.memory_stage, self.resumed = 'observe', True + self.resume_count += 1 + self.trend_streak = self.memory_loss_streak = 0 + diagnostic.update(memory_stage='observe', decision='settled_resume_reduced_delta', + resume_local_offset_m=list(self.teacher.held_offset)) + self._event('carry_resumed', observation, 'sustained_loaded_relative_settling') + # Last held command at the resume boundary; original motion + # starts on the next observed decision, never retrospectively. + return self._hold() + if now-self.memory_started > cfg.hold_timeout_s: + return self._abort(observation, 'reassessment_timeout_unsettled_or_unknown') + return self._hold() + if self.memory_loss_streak >= cfg.loss_samples: + return self._start_hold(observation, 'persistent_bilateral_contact_loss') + if self.memory_stage == 'slowdown': + if now-self.memory_started+1e-9 >= cfg.slowdown_duration_s: + return self._start_hold(observation, 'bounded_slowdown_complete') + return self._scaled_teacher(observation, cfg.slowdown_joint_delta_scale) + if self.trend_streak >= cfg.trend_samples: + self.memory_stage, self.memory_started = 'slowdown', now + self.slowdown_count += 1 + self.issued_phase = 'memory_slowdown' + diagnostic.update(memory_stage='slowdown', decision='slow_requested_joint_delta', + joint_delta_scale=cfg.slowdown_joint_delta_scale) + self._event('slowdown_started', observation, 'persistent_local_offset_trend') + return self._scaled_teacher(observation, cfg.slowdown_joint_delta_scale) + if self.resumed: + return self._scaled_teacher(observation, cfg.resumed_joint_delta_scale) + diagnostic['decision'] = 'history_unknown_continue' if not diagnostic['history_known'] else 'history_observe' + return None + + def __call__(self, observation): + action = super().__call__(observation) + # The inherited arrival gate stops carry monitoring. Clear memory so + # the original supported release/retreat can run without slow scaling. + if self.carry_supported: + self.memory_stage = 'destination_supported' + return action diff --git a/benchmarks/piper-contact-development-20261011/sources/r0/piper_grip_guard.py b/benchmarks/piper-contact-development-20261011/sources/r0/piper_grip_guard.py new file mode 100644 index 0000000..82d4184 --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/sources/r0/piper_grip_guard.py @@ -0,0 +1,230 @@ +"""Causal, privileged-state PiPER grasp checks; unchanged native dynamics. + +The guard observes only the current recorded robot/object/contact state. It +does not read object mass, friction, the outcome scorer or future observations. +Stopping means holding measured joint targets, not instant physical arrest. +""" +from __future__ import annotations + +from dataclasses import asdict, dataclass +import math + + +SCHEMA = 'dvidia.piper-grip-guard/v1' + + +@dataclass(frozen=True) +class GuardConfig: + probe_height_m: float = .010 + probe_speed_m_s: float = .020 + probe_min_object_rise_m: float = .006 + qualification_dwell_s: float = .10 + relative_drift_limit_m: float = .003 + monitor_min_probe_motion_m: float = .003 + consecutive_alarm_samples: int = 2 + probe_timeout_s: float = 1.4 + close_timeout_s: float = 1.4 + retry_open_timeout_s: float = 1.2 + retry_recenter_timeout_s: float = 1.5 + retry_clearance_m: float = .012 + max_retries: int = 1 + + def __post_init__(self): + # This first experiment has one fixed, reviewable parameter set. + for name, value in asdict(self).items(): + try: + finite = math.isfinite(value) + except (TypeError, ValueError, OverflowError): + finite = False + if isinstance(value, bool) or not isinstance(value, (int, float)) or not finite or value <= 0: + raise ValueError('Invalid guard parameter: '+name) + if type(self.consecutive_alarm_samples) is not int or self.consecutive_alarm_samples != 2 or self.max_retries != 1: + raise ValueError('Guard requires two consecutive observations and at most one retry') + if self.probe_min_object_rise_m >= self.probe_height_m or self.relative_drift_limit_m >= self.probe_height_m: + raise ValueError('Guard probe must exceed its qualification/drift thresholds') + + +def guard_contract(): + return {'schema': SCHEMA, 'parameters': asdict(GuardConfig()), + 'observations': 'grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag', + 'qualification': 'slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms', + 'alarm': 'two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts', + 'recovery': 'hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed', + 'stop': 'requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded', + 'duration': 'original fixed episode timeout including every probe/retry/abort holding command', + 'scope': 'authored simulator controller, not a sensor implementation, hardware safety controller or learned policy'} + + +def inactive_summary(mode): + return {'schema': SCHEMA, 'mode': mode, 'active': False, 'contract': guard_contract(), 'events': [], + 'retry_count': 0, 'acquisition_qualified': False, 'acquisition_qualification_count': 0, + 'abort_reason': None, 'aborted': False, 'diagnostic_count': 0} + + +def _local_offset(observation): + w, x, y, z = observation['tcp_quaternion_wxyz'] + # R transpose times object minus TCP, using the recorded wxyz orientation. + rotation = ((1-2*(y*y+z*z), 2*(x*y-z*w), 2*(x*z+y*w)), + (2*(x*y+z*w), 1-2*(x*x+z*z), 2*(y*z-x*w)), + (2*(x*z-y*w), 2*(y*z+x*w), 1-2*(x*x+y*y))) + difference = [a-b for a, b in zip(observation['object_position_m'], observation['tcp_position_m'])] + return [sum(rotation[row][column]*difference[row] for row in range(3)) for column in range(3)] + + +class GuardedPiperTaskPolicy: + """Wrap the original authored motion policy with a bounded acquisition gate.""" + + def __init__(self, environment): + from .piper_task import PiperTaskPolicy + self.env, self.teacher, self.config = environment, PiperTaskPolicy(environment), GuardConfig() + self.state, self.issued_phase = 'normal', 'approach' + self.events, self.retry_count, self.qualification_count, self.diagnostic_count = [], 0, 0, 0 + self.qualified, self.aborted, self.abort_reason = False, False, None + self.anchor, self.probe_origin, self.probe_quaternion, self.probe_started = None, None, None, None + self.qualification_since, self.stage_started, self.stop_targets = None, None, None + self.drift_streak, self.loss_streak, self.progress_streak = 0, 0, 0 + self.carry_supported, self.diagnostic = False, None + + def summary(self): + return {'schema': SCHEMA, 'mode': 'guarded', 'active': True, 'contract': guard_contract(), + 'events': self.events, 'retry_count': self.retry_count, 'acquisition_qualified': self.qualified, + 'acquisition_qualification_count': self.qualification_count, 'abort_reason': self.abort_reason, + 'aborted': self.aborted, 'diagnostic_count': self.diagnostic_count} + + def _diagnose(self, observation): + offset = _local_offset(observation) + drift = math.dist(offset, self.anchor) if self.anchor is not None else None + return {'t_seconds': observation['t_seconds'], 'phase': self.state if self.state != 'normal' else self.teacher.phase, + 'retry_index': self.retry_count, 'bilateral_contact': all(observation['grasp_contact_counts'].values()), + 'table_supported': observation['table_object_contact_count'] > 0, + 'relative_offset_error_m': drift, + 'object_height_delta_m': observation['object_position_m'][2]-self.probe_origin['object'][2] if self.probe_origin else None, + 'tcp_probe_height_delta_m': observation['tcp_position_m'][2]-self.probe_origin['tcp'][2] if self.probe_origin else None, + 'qualified': self.qualified, 'qualification_dwell_seconds': 0. if self.qualification_since is None else observation['t_seconds']-self.qualification_since, + 'drift_streak': self.drift_streak, 'contact_loss_streak': self.loss_streak, + 'progress_streak': self.progress_streak, 'decision': 'continue'} + + def _event(self, kind, observation, reason): + self.events.append({'type': kind, 't_seconds': observation['t_seconds'], 'phase': self.issued_phase, + 'reason': reason, 'retry_index': self.retry_count, 'diagnostic': dict(self.diagnostic)}) + + def _hold(self, jaw=0.): + return {'joint_targets_rad': list(self.stop_targets), 'gripper_position_m': jaw} + + def _abort(self, observation, reason): + self.stop_targets = list(observation['joint_position_rad']) + self.state, self.issued_phase, self.aborted, self.abort_reason = 'abort', 'guard_abort', True, reason + self.diagnostic['decision'] = 'abort_hold_closed' + self._event('abort', observation, reason) + return self._hold() + + def _alarm(self, observation, reason): + self.stop_targets = list(observation['joint_position_rad']) + self.issued_phase, self.diagnostic['decision'] = 'guard_stop', 'hold_measured_arm' + self._event('alarm', observation, reason) + if self.diagnostic['table_supported'] and observation['unexpected_contact_count'] == 0 and self.retry_count < self.config.max_retries: + self.retry_count += 1 + self.state, self.stage_started = 'retry_open', observation['t_seconds'] + self.qualified, self.qualification_since = False, None + self._event('retry_started', observation, 'supported_object_only') + return self._hold() + return self._abort(observation, reason if not self.diagnostic['table_supported'] else 'retry_budget_exhausted:'+reason) + + def _monitor(self, observation, *, probe): + diagnostic = self.diagnostic + moving = not probe or diagnostic['tcp_probe_height_delta_m'] > self.config.monitor_min_probe_motion_m + drift = moving and diagnostic['relative_offset_error_m'] > self.config.relative_drift_limit_m + loss = moving and not diagnostic['bilateral_contact'] + progress = (probe and moving and diagnostic['table_supported'] + and diagnostic['object_height_delta_m'] < .25*diagnostic['tcp_probe_height_delta_m']) + self.drift_streak = self.drift_streak+1 if drift else 0 + self.loss_streak = self.loss_streak+1 if loss else 0 + self.progress_streak = self.progress_streak+1 if progress else 0 + diagnostic.update(drift_streak=self.drift_streak, contact_loss_streak=self.loss_streak, progress_streak=self.progress_streak) + reason = ('object_not_following' if self.progress_streak >= self.config.consecutive_alarm_samples else + 'relative_slip' if self.drift_streak >= self.config.consecutive_alarm_samples else + 'bilateral_contact_loss' if self.loss_streak >= self.config.consecutive_alarm_samples else None) + return self._alarm(observation, reason) if reason else None + + def __call__(self, observation): + self.diagnostic_count += 1 + self.diagnostic = self._diagnose(observation) + if self.state == 'abort': + self.issued_phase, self.diagnostic['decision'] = 'guard_abort', 'abort_hold_closed' + return self._hold() + if self.state in ('retry_open', 'retry_recenter'): + if not self.diagnostic['table_supported'] or observation['unexpected_contact_count']: + return self._abort(observation, 'support_lost_during_retry') + if self.state == 'retry_open': + self.issued_phase, self.diagnostic['decision'] = 'guard_retry_open', 'open_supported_object' + if observation['t_seconds']-self.stage_started > self.config.retry_open_timeout_s: + return self._abort(observation, 'retry_open_timeout') + if (observation['gripper_joint_position_m'][0] > .028 and observation['gripper_joint_position_m'][1] < -.028 + and not any(observation['grasp_contact_counts'].values())): + self.state, self.stage_started = 'retry_recenter', observation['t_seconds'] + return self._hold(.035) + self.issued_phase, self.diagnostic['decision'] = 'guard_retry_recenter', 'recenter_with_open_jaw' + if observation['t_seconds']-self.stage_started > self.config.retry_recenter_timeout_s: + return self._abort(observation, 'retry_recenter_timeout') + goal = list(observation['object_position_m']) + goal[2] += self.config.retry_clearance_m + action = self.env.pose_action(goal, self.env.config.tool_orientation_wxyz, .035) + # Keep the correction above the supported object until alignment. + current = observation['tcp_quaternion_wxyz'] + desired = self.env.config.tool_orientation_wxyz + aligned = abs(sum(a*b for a, b in zip(current, desired))) > math.cos(.12/2) + if math.dist(goal, observation['tcp_position_m']) < .003 and aligned: + self.teacher.phase, self.teacher.ticks = 'descend', 0 + self.teacher.grasp_position[:] = [*observation['object_position_m'][:2], observation['object_position_m'][2]+.002] + self.teacher.held_offset = None + self.state, self.anchor, self.probe_origin, self.probe_started = 'normal', None, None, None + self.drift_streak = self.loss_streak = self.progress_streak = 0 + self.carry_supported = False + self._event('retry_completed', observation, 'open_recenter_complete') + return action + if self.state == 'probe': + self.issued_phase = 'guard_probe' + if self.probe_started is None: + self.probe_started = observation['t_seconds'] + self.probe_origin = {'object': list(observation['object_position_m']), 'tcp': list(observation['tcp_position_m'])} + self.probe_quaternion = list(observation['tcp_quaternion_wxyz']) + self.anchor = _local_offset(observation) + self.diagnostic = self._diagnose(observation) + self._event('probe_started', observation, 'slow_load_bearing_check') + guarded = self._monitor(observation, probe=True) + if guarded is not None: + return guarded + eligible = (self.diagnostic['bilateral_contact'] and min(observation['pad_normal_forces_n'].values()) > .01 + and not self.diagnostic['table_supported'] + and self.diagnostic['object_height_delta_m'] >= self.config.probe_min_object_rise_m + and self.diagnostic['relative_offset_error_m'] <= self.config.relative_drift_limit_m) + self.qualification_since = (observation['t_seconds'] if self.qualification_since is None else self.qualification_since) if eligible else None + self.diagnostic['qualification_dwell_seconds'] = 0. if self.qualification_since is None else observation['t_seconds']-self.qualification_since + if self.diagnostic['qualification_dwell_seconds']+1e-9 >= self.config.qualification_dwell_s: + self.qualified, self.qualification_count, self.state = True, self.qualification_count+1, 'normal' + self.teacher.held_offset = _local_offset(observation) + self.diagnostic['qualified'], self.diagnostic['decision'] = True, 'qualified_resume_full_lift' + self._event('acquisition_qualified', observation, 'sustained_table_free_probe') + elif observation['t_seconds']-self.probe_started > self.config.probe_timeout_s: + return self._alarm(observation, 'probe_timeout') + goal = list(self.probe_origin['tcp']) + goal[2] += min(self.config.probe_height_m, self.config.probe_speed_m_s*(observation['t_seconds']-self.probe_started+self.env.config.control_dt)) + return self.env.pose_action(goal, self.probe_quaternion, 0.) + # Once qualified, the original motion controller remains responsible for + # lift/transfer/place. Contact scoring remains independent and unchanged. + if self.qualified and self.teacher.phase in ('lift', 'transfer', 'place') and not self.carry_supported: + if (self.diagnostic['table_supported'] and self.diagnostic['bilateral_contact'] + and math.dist(observation['object_position_m'], observation['target_position_m']) <= self.env.config.goal_position_tolerance_m): + self.carry_supported = True + else: + guarded = self._monitor(observation, probe=False) + if guarded is not None: + return guarded + if self.teacher.phase == 'close' and self.teacher.ticks*self.env.config.control_dt >= self.config.close_timeout_s: + return self._alarm(observation, 'closure_timeout') + self.issued_phase = self.teacher.phase + action = self.teacher(observation) + self.issued_phase = self.teacher.issued_phase + if self.issued_phase == 'close' and self.teacher.phase == 'lift': + self.state = 'probe' + return action diff --git a/benchmarks/piper-contact-development-20261011/sources/r0/piper_task.py b/benchmarks/piper-contact-development-20261011/sources/r0/piper_task.py new file mode 100644 index 0000000..ff142a0 --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/sources/r0/piper_task.py @@ -0,0 +1,492 @@ +"""PiPER free-block contact pilot; authored policy and privileged simulator state. + +The pinned robot's native servos, force limits and gravity compensation remain +unchanged. The block moves under gravity and contact, with no grasp attachment. +""" +from __future__ import annotations + +from dataclasses import asdict, dataclass +from hashlib import sha256 +import math +from pathlib import Path +import platform +import time + +from . import reference_sim as sim +from . import robot_profiles +from .reference_task import ReferenceTaskEnv, _number, _vector + + +PROFILE = 'piper-rigid-block-task-v0.1' +SCHEMA = 'dvidia.piper-task-episode/v1' +SCOPE = ('Authored PiPER rigid-block contact pilot with privileged native state. ' + 'Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. ' + 'No learned skill, camera sensing, shoe manipulation or physical robot qualification.') +ARM_JOINTS = tuple('joint'+str(i) for i in range(1, 7)) + + +@dataclass(frozen=True) +class PiperTaskConfig: + timestep: float = .001 + control_dt: float = .02 + timeout_s: float = 20. + settle_s: float = .5 + object_position_m: tuple = (.30, -.03, .082) + target_position_m: tuple = (.35, .08, .08) + object_half_size_m: tuple = (.02, .02, .02) + mass_kg: float = .04 + friction: float = .8 + table_top_m: float = .06 + table_center_xy_m: tuple = (.38, 0.) + table_half_size_xy_m: tuple = (.17, .22) + table_thickness_m: float = .04 + goal_position_tolerance_m: float = .025 + goal_dwell_s: float = .25 + min_lift_m: float = .06 + min_lift_dwell_s: float = .10 + retreat_clearance_m: float = .10 + joint_target_rate_rad_s: float = 1.5 + jaw_target_rate_m_s: float = .05 + tool_orientation_wxyz: tuple = (0., 0., 1., 0.) + carry_orientation_wxyz: tuple = (math.cos(5*math.pi/12), 0., math.sin(5*math.pi/12), 0.) + + def __post_init__(self): + bounds = {'timestep': (.0005, .002), 'control_dt': (.02, .02), 'timeout_s': (.1, 30.), + 'settle_s': (.1, 2.), 'mass_kg': (.01, .10), 'friction': (.05, 2.), + 'table_top_m': (.04, .20), 'table_thickness_m': (.02, .08), + 'goal_position_tolerance_m': (.01, .025), 'goal_dwell_s': (.1, .6), + 'min_lift_m': (.04, .1), 'min_lift_dwell_s': (.05, .3), + 'retreat_clearance_m': (.08, .15), 'joint_target_rate_rad_s': (.1, 3.), + 'jaw_target_rate_m_s': (.005, .10)} + for name, (low, high) in bounds.items(): + object.__setattr__(self, name, _number(getattr(self, name), name, low, high)) + sim._timestep(self.timestep) + for numerator, denominator in ((self.control_dt, self.timestep), (self.timeout_s, self.control_dt), (self.settle_s, self.timestep)): + ratio = numerator/denominator + if not math.isclose(ratio, round(ratio), abs_tol=1e-9, rel_tol=0): + raise ValueError('Durations must contain complete native/control ticks') + for name, length, low, high in (('object_position_m', 3, -1, 1), ('target_position_m', 3, -1, 1), + ('object_half_size_m', 3, .018, .023), ('table_center_xy_m', 2, -1, 1), + ('table_half_size_xy_m', 2, .1, .3), ('tool_orientation_wxyz', 4, -1, 1), + ('carry_orientation_wxyz', 4, -1, 1)): + object.__setattr__(self, name, _vector(getattr(self, name), length, name, low, high)) + if any(not math.isclose(sum(x*x for x in quaternion), 1., abs_tol=1e-8, rel_tol=0) + for quaternion in (self.tool_orientation_wxyz, self.carry_orientation_wxyz)): + raise ValueError('Tool quaternion must be normalized wxyz') + for name in ('object_position_m', 'target_position_m'): + point = getattr(self, name) + if not .25 <= point[0] <= .48 or not -.15 <= point[1] <= .15: + raise ValueError('Placement outside the bounded pilot workspace') + for axis in range(2): + if abs(point[axis]-self.table_center_xy_m[axis])+self.object_half_size_m[axis] > self.table_half_size_xy_m[axis]-.01: + raise ValueError('Block placement must be inside the support table') + expected = self.table_top_m+self.object_half_size_m[2]+(.002 if name == 'object_position_m' else 0.) + if not math.isclose(point[2], expected, abs_tol=1e-8, rel_tol=0): + raise ValueError('Block start/target height differs from support plane') + if math.dist(self.object_position_m[:2], self.target_position_m[:2]) < .075: + raise ValueError('Pilot must require at least 75 mm transfer') + + +def _config(value): + value = PiperTaskConfig() if value is None else value + if not isinstance(value, PiperTaskConfig): + raise TypeError('config must be PiperTaskConfig') + return value + + +def _asset_root(assets): + path = Path(assets) + return path.parent if path.name == 'agilex_piper' else path + + +def task_contract(): + return {'profile': PROFILE, 'scope': SCOPE, 'physical_robot_ready': False, 'arm_joint_order': list(ARM_JOINTS), + 'actions': {'joint_targets_rad': 'six native position-servo targets in radians', + 'gripper_position_m': 'one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap'}, + 'gripper_joints': ['joint7', 'joint8'], 'independent_gripper_commands': 1, + 'tcp': 'authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated', + 'object': 'free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes', + 'contact': 'stock native finger collision boxes; object priority1 authors pair friction explicitly', + 'servo_gains': 'unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained', + 'collision_support_exemption': 'fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical', + 'observations': 'privileged joint/object/TCP/contact state; no deployable sensor pipeline', + 'success': 'valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat', + 'carry_contact_loss_tolerance_seconds': .04, 'contact_force_threshold_n': .01, + 'simulation_asset_license': 'MIT'} + + +def build_task_model(assets, config=None): + config = _config(config) + item, blobs = robot_profiles._payload('piper', _asset_root(assets)) + mj, _ = sim._native_imports() + spec = sim._spec(blobs, item['folder'], item['model']) + spec.option.timestep = config.timestep + spec.body('link6').add_site(name='piper_task_tcp', pos=[0, 0, .12003], size=[.004, 0, 0], rgba=[.1, .5, .3, 1]) + spec.worldbody.add_geom(name='task_floor', type=mj.mjtGeom.mjGEOM_PLANE, size=[2, 2, .1], rgba=[.9, .9, .88, 1]) + spec.worldbody.add_geom(name='task_table', type=mj.mjtGeom.mjGEOM_BOX, + pos=[*config.table_center_xy_m, config.table_top_m-config.table_thickness_m/2], + size=[*config.table_half_size_xy_m, config.table_thickness_m/2], rgba=[.73, .70, .64, 1]) + block = spec.worldbody.add_body(name='task_block', pos=config.object_position_m, gravcomp=0) + block.add_freejoint(name='task_block_free') + block.add_geom(name='task_block_geom', type=mj.mjtGeom.mjGEOM_BOX, size=config.object_half_size_m, + mass=config.mass_kg, friction=[config.friction, .005, .0001], priority=1, condim=4, rgba=[.75, .30, .16, 1]) + target = spec.worldbody.add_body(name='task_target_frame', pos=[*config.target_position_m[:2], config.table_top_m+.0005]) + target.add_geom(name='task_target', type=mj.mjtGeom.mjGEOM_BOX, size=[.035, .035, .0005], + contype=0, conaffinity=0, rgba=[.17, .47, .35, .3]) + model = spec.compile() + if (model.nq, model.nv, model.nu, model.neq, model.nmocap) != (15, 14, 7, 1, 0): + raise ValueError('PiPER task mechanical contract changed') + return model + + +class PiperTaskEnv: + _outcome_tick = ReferenceTaskEnv._outcome_tick + + def __init__(self, assets, config=None): + self.assets, self.config, self.ready = _asset_root(assets), _config(config), False + + def _finite(self): + _, np = sim._native_imports() + return (ReferenceTaskEnv._finite(self) and not np.any(self.data.qfrc_applied) + and not np.any(self.data.xfrc_applied)) + + def info(self): + result = ReferenceTaskEnv.info(self) + if not self._finite() or any(warning.number for warning in self.data.warning): + result.update(valid=False, success=False, + reason='invalid_state' if not self._finite() else 'solver_warning') + return result + + def reset(self, seed=0): + if type(seed) is not int or not 0 <= seed <= 999999: + raise ValueError('seed must be an integer in [0,999999]') + mj, np = sim._native_imports() + self.ready, self.seed, self.warnings = False, seed, [] + with sim.native_warnings(self.warnings): + self.model = build_task_model(self.assets, self.config) + self.data = mj.MjData(self.model) + self.arm_qpos, self.arm_dof = np.arange(6), np.arange(6) + self.linkage_qpos = np.arange(6, 8) + self.tcp = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_SITE, 'piper_task_tcp') + self.block = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_BODY, 'task_block') + self.block_geom = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_GEOM, 'task_block_geom') + self.table_geom = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_GEOM, 'task_table') + self.floor_geom = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_GEOM, 'task_floor') + self.pad_geoms = {} + for side, name in (('left', 'link7'), ('right', 'link8')): + body = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_BODY, name) + self.pad_geoms[side] = [i for i in range(self.model.ngeom) if self.model.geom_bodyid[i] == body + and self.model.geom_type[i] == mj.mjtGeom.mjGEOM_BOX and self.model.geom_contype[i]] + if len(self.pad_geoms[side]) != 2: + raise ValueError('PiPER stock finger collision boxes changed') + self.robot_geoms = {i for i in range(self.model.ngeom) if 1 <= self.model.geom_bodyid[i] <= 9} + self.moving_geoms = {i for i in self.robot_geoms if self.model.geom_bodyid[i] > 1} + self.arm_geoms = {i for i in self.robot_geoms if 2 <= self.model.geom_bodyid[i] <= 7} + self.data.qpos[:8] = [0., 1.57, -1.3485, 0., 0., 0., .035, -.035] + self.command_targets = self.data.qpos[:6].copy() + self.command_gripper = .035 + mj.mj_forward(self.model, self.data) + for _ in range(round(self.config.settle_s/self.config.timestep)): + self._controls() + mj.mj_step(self.model, self.data) + mj.mj_forward(self.model, self.data) + if not self._finite() or self.warnings or any(x.number for x in self.data.warning): + raise RuntimeError('PiPER settling produced invalid native physics') + counts, _, supported, critical, _ = self._contacts() + velocity = np.empty(6) + mj.mj_objectVelocity(self.model, self.data, mj.mjtObj.mjOBJ_BODY, self.block, velocity, 0) + point = self.data.xpos[self.block] + expected_z = self.config.table_top_m+self.config.object_half_size_m[2] + if (not supported or critical or any(counts.values()) + or np.linalg.norm(point[:2]-self.config.object_position_m[:2]) > .005 + or abs(float(point[2])-expected_z) > .002 + or np.linalg.norm(velocity[3:]) > .02 or np.linalg.norm(velocity[:3]) > .2): + raise RuntimeError('Reset must settle a supported, clear, stationary block near the declared start') + self.initial_object_position = self.data.xpos[self.block].copy() + self.elapsed, self.steps, self.dwell, self.lift_dwell = 0., 0, 0., 0. + self.max_lift, self.max_pad_force, self.critical_contact_ticks = 0., 0., 0 + self.lift_seen, self.grasp_seen, self.done = False, False, False + self.carry_complete, self.retention_lost = False, False + self.carry_contact_loss, self.max_carry_contact_loss, self.carry_contact_loss_events = 0., 0., 0 + self.first_success_time, self.reason = None, 'running' + self.contact_pair_native_ticks, self.ready = {}, True + return self.observation(), self.info() + + def _controls(self): + self.data.ctrl[:6] = self.command_targets + self.data.ctrl[6] = self.command_gripper + + def _contacts(self): + mj, np = sim._native_imports() + counts, forces, table, critical, pairs = {'left': 0, 'right': 0}, {'left': 0., 'right': 0.}, 0, 0, [] + pads = set(sum(self.pad_geoms.values(), [])) + for index, contact in enumerate(self.data.contact[:self.data.ncon]): + force = np.zeros(6) + mj.mj_contactForce(self.model, self.data, index, force) + if force[0] <= .01: + continue + pair = {int(contact.geom1), int(contact.geom2)} + pairs.append({'geom_ids': sorted(pair), 'normal_force_n': float(force[0])}) + if self.block_geom in pair: + table += int(self.table_geom in pair) + for side in counts: + if pair.intersection(self.pad_geoms[side]): + counts[side] += 1 + forces[side] += float(force[0]) + critical += int(bool(pair.intersection(self.robot_geoms-pads)) or self.floor_geom in pair) + elif pair.intersection({self.table_geom, self.floor_geom}) and pair.intersection(self.moving_geoms): + critical += 1 + elif pair.intersection(self.arm_geoms) and pair.issubset(self.robot_geoms): + critical += 1 + return counts, forces, table, critical, pairs + + def observation(self): + mj, np = sim._native_imports() + if not self._finite(): + raise RuntimeError('Cannot record nonfinite PiPER physics') + counts, forces, table, critical, pairs = self._contacts() + quat, velocity = np.empty(4), np.empty(6) + mj.mju_mat2Quat(quat, self.data.site_xmat[self.tcp]) + mj.mj_objectVelocity(self.model, self.data, mj.mjtObj.mjOBJ_BODY, self.block, velocity, 0) + return {'t_seconds': self.elapsed, 'qpos': self.data.qpos.tolist(), 'qvel': self.data.qvel.tolist(), + 'joint_position_rad': self.data.qpos[:6].tolist(), 'joint_velocity_rad_s': self.data.qvel[:6].tolist(), + 'gripper_joint_position_m': self.data.qpos[6:8].tolist(), + 'tcp_position_m': self.data.site_xpos[self.tcp].tolist(), 'tcp_quaternion_wxyz': quat.tolist(), + 'object_position_m': self.data.xpos[self.block].tolist(), 'object_quaternion_wxyz': self.data.xquat[self.block].tolist(), + 'object_linear_velocity_m_s': velocity[3:].tolist(), 'object_angular_velocity_rad_s': velocity[:3].tolist(), + 'target_position_m': list(self.config.target_position_m), 'grasp_contact_counts': counts, + 'pad_normal_forces_n': forces, 'table_object_contact_count': table, 'unexpected_contact_count': critical, + 'contact_count': int(self.data.ncon), 'active_contact_pairs': pairs, + 'native_actuator_controls': self.data.ctrl.tolist(), 'actuator_force_native': self.data.actuator_force.tolist(), + 'issued_joint_targets_rad': None, 'issued_gripper_position_m': None, 'command': None, + 'observation_origin': 'privileged_native_simulator_state'} + + def pose_action(self, position_m, quaternion_wxyz, gripper_position_m): + if not self.ready or self.done: + raise RuntimeError('Reset required before another PiPER action') + mj, np = sim._native_imports() + position = np.asarray(_vector(position_m, 3, 'tool position')) + quaternion = np.asarray(_vector(quaternion_wxyz, 4, 'tool quaternion', -1, 1)) + if not math.isclose(float(quaternion@quaternion), 1., abs_tol=1e-8, rel_tol=0): + raise ValueError('Tool quaternion must be normalized wxyz') + jaw = _number(gripper_position_m, 'gripper position', 0, .035) + jacp, jacr = np.zeros((3, self.model.nv)), np.zeros((3, self.model.nv)) + mj.mj_jacSite(self.model, self.data, jacp, jacr, self.tcp) + current, rotation = np.empty(4), np.empty(3) + mj.mju_mat2Quat(current, self.data.site_xmat[self.tcp]) + mj.mju_subQuat(rotation, quaternion, current) + rotation = self.data.site_xmat[self.tcp].reshape(3, 3)@rotation + translation = position-self.data.site_xpos[self.tcp] + for error, maximum in ((translation, .015), (rotation, .05)): + norm = float(np.linalg.norm(error)) + if norm > maximum: + error *= maximum/norm + jacobian = np.vstack((jacp[:, :6], .25*jacr[:, :6])) + error = np.concatenate((translation, .25*rotation)) + delta = jacobian.T@np.linalg.solve(jacobian@jacobian.T+.012**2*np.eye(6), error) + targets = np.clip(self.data.qpos[:6]+np.clip(delta, -.06, .06), + self.model.actuator_ctrlrange[:6, 0]+.02, self.model.actuator_ctrlrange[:6, 1]-.02) + return {'joint_targets_rad': targets.tolist(), 'gripper_position_m': jaw} + + def step(self, action): + if not self.ready or self.done: + raise RuntimeError('Reset required before another PiPER step') + if type(action) is not dict or set(action) != {'joint_targets_rad', 'gripper_position_m'}: + raise ValueError('PiPER requires six radian arm targets and one metre jaw target') + mj, np = sim._native_imports() + targets = np.asarray(_vector(action['joint_targets_rad'], 6, 'arm targets')) + jaw = _number(action['gripper_position_m'], 'jaw target', 0, .035) + if np.any(targets < self.model.actuator_ctrlrange[:6, 0]) or np.any(targets > self.model.actuator_ctrlrange[:6, 1]): + raise ValueError('Arm target exceeds native limits') + if not self._finite(): + self.reason, self.done = 'invalid_state', True + return None, self.info() + messages = [] + with sim.native_warnings(messages): + for _ in range(round(self.config.control_dt/self.config.timestep)): + self.command_targets += np.clip(targets-self.command_targets, + -self.config.joint_target_rate_rad_s*self.config.timestep, + self.config.joint_target_rate_rad_s*self.config.timestep) + self.command_gripper += float(np.clip(jaw-self.command_gripper, + -self.config.jaw_target_rate_m_s*self.config.timestep, + self.config.jaw_target_rate_m_s*self.config.timestep)) + self._controls() + mj.mj_step(self.model, self.data) + mj.mj_forward(self.model, self.data) + self.elapsed += self.config.timestep + if not self._finite() or messages or any(x.number for x in self.data.warning): + self.reason = 'invalid_state' if not self._finite() else 'solver_warning' + self.done = True + break + counts, forces, supported, critical, pairs = self._contacts() + for pair in {tuple(contact['geom_ids']) for contact in pairs}: + name = ':'.join(map(str, pair)) + self.contact_pair_native_ticks[name] = self.contact_pair_native_ticks.get(name, 0)+1 + velocity = np.empty(6) + mj.mj_objectVelocity(self.model, self.data, mj.mjtObj.mjOBJ_BODY, self.block, velocity, 0) + both = all(counts[side] > 0 for side in counts) + lift = float(self.data.xpos[self.block, 2]-self.initial_object_position[2]) + distance = float(np.linalg.norm(self.data.xpos[self.block]-self.config.target_position_m)) + actual_open = self.data.qpos[6] > .028 and self.data.qpos[7] < -.028 + self._outcome_tick(both=both, supported=supported, lift=lift, distance=distance, + released=not any(counts.values()) and actual_open, + settled=np.linalg.norm(velocity[3:]) < .035 and np.linalg.norm(velocity[:3]) < .3, + clear=self.data.site_xpos[self.tcp, 2] >= self.data.xpos[self.block, 2]+self.config.retreat_clearance_m, + critical=critical, pad_force=max(forces.values())) + self.warnings.extend(messages) + self.steps += 1 + if not self.done and self.steps >= round(self.config.timeout_s/self.config.control_dt): + self.reason, self.done = 'timeout', True + return self.observation() if self._finite() else None, self.info() + + +class PiperTaskPolicy: + def __init__(self, environment): + self.env, self.phase, self.ticks = environment, 'approach', 0 + self.grasp_position, self.held_offset = None, None + self.issued_phase = self.phase + + def __call__(self, observation): + mj, np = sim._native_imports() + self.issued_phase = self.phase + obj, tcp, target = (np.asarray(observation[name]) for name in ('object_position_m', 'tcp_position_m', 'target_position_m')) + both, jaw = all(observation['grasp_contact_counts'][side] for side in ('left', 'right')), .035 + orientation = self.env.config.tool_orientation_wxyz + if self.phase in ('approach', 'lift', 'transfer', 'retreat', 'verify'): + orientation = self.env.config.carry_orientation_wxyz + rotation, angular_error = np.empty(9), np.empty(3) + mj.mju_quat2Mat(rotation, np.asarray(orientation)) + mj.mju_subQuat(angular_error, np.asarray(orientation), np.asarray(observation['tcp_quaternion_wxyz'])) + aligned = np.linalg.norm(angular_error) < .12 + offset = rotation.reshape(3, 3)@self.held_offset if self.held_offset is not None else None + if self.phase == 'approach': + goal = obj+np.asarray([0., 0., .10]) + if np.linalg.norm(tcp-goal) < .008 and aligned: + self.grasp_position = obj+np.asarray([0., 0., .002]) + self.phase, self.ticks = 'descend', 0 + elif self.phase == 'descend': + goal = self.grasp_position + if np.linalg.norm(tcp-goal) < .004 and aligned: + self.phase, self.ticks = 'close', 0 + elif self.phase == 'close': + goal, jaw = self.grasp_position, 0. + if both and min(observation['pad_normal_forces_n'].values()) > .01 and self.ticks >= 35: + current_rotation = np.empty(9) + mj.mju_quat2Mat(current_rotation, np.asarray(observation['tcp_quaternion_wxyz'])) + self.held_offset = current_rotation.reshape(3, 3).T@(obj-tcp) + self.phase, self.ticks = 'lift', 0 + elif self.phase == 'lift': + goal, jaw = self.grasp_position+np.asarray([0., 0., .10]), 0. + if self.env.lift_seen and np.linalg.norm(tcp-goal) < .008: + self.phase, self.ticks = 'transfer', 0 + elif self.phase == 'transfer': + goal, jaw = target-offset+np.asarray([0., 0., .10]), 0. + if np.linalg.norm(tcp-goal) < .008: + self.phase, self.ticks = 'place', 0 + elif self.phase == 'place': + goal, jaw = target-offset, 0. + if observation['table_object_contact_count'] and np.linalg.norm(obj-target) < .02 and np.linalg.norm(tcp-goal) < .006: + self.phase, self.ticks = 'release', 0 + elif self.phase == 'release': + goal = target-offset + if not any(observation['grasp_contact_counts'].values()) and self.ticks >= 35: + self.phase, self.ticks = 'retreat', 0 + else: + goal = target+np.asarray([0., 0., .13]) + if np.linalg.norm(tcp-goal) < .008: + self.phase = 'verify' + self.ticks += 1 + return self.env.pose_action(goal.tolist(), orientation, jaw) + + +def run_episode(assets, config=None, *, seed=0, control='placement', arm_tape=None, policy_mode='baseline'): + config = _config(config) + if control not in ('placement', 'replay_open_jaw', 'hold'): + raise ValueError('Unknown PiPER task control') + if policy_mode not in ('baseline', 'guarded', 'probe_only', 'history'): + raise ValueError('PiPER policy mode must be baseline, guarded, probe_only or history') + from . import piper_grip_guard as grip_guard + from . import piper_contact_memory as contact_memory + started, latencies, environment, phase = time.perf_counter(), [], None, 'validation' + result = {'schema': SCHEMA, 'profile': PROFILE, 'scope': SCOPE, 'physical_robot_ready': False, + 'seed': seed, 'control': control, 'policy_mode': policy_mode, 'config': asdict(config), 'timestep_seconds': config.timestep, + 'valid': False, 'success': False, 'reason': 'not_started', 'error': None, 'warnings': [], + 'simulated_seconds': 0., 'trajectory': [], 'actions': [], 'arm_tape': [], 'metrics': {}, 'timing': {}, + 'contract': task_contract(), 'platform': {'system': platform.system(), 'machine': platform.machine(), 'python': platform.python_version()}} + source = Path(__file__).parent + result['implementation_sha256'] = {name: sha256((source/name).read_bytes()).hexdigest() + for name in ('piper_task.py', 'robot_profiles.py', 'robot_profiles.lock.json', 'reference_task.py', 'reference_sim.py')} + result['policy_implementation_sha256'] = {'piper_grip_guard.py': sha256((source/'piper_grip_guard.py').read_bytes()).hexdigest()} + memory_mode = policy_mode in ('probe_only', 'history') + if memory_mode: + result['policy_implementation_sha256']['piper_contact_memory.py'] = sha256((source/'piper_contact_memory.py').read_bytes()).hexdigest() + result['grip_guard'] = (contact_memory.inactive_summary(policy_mode) if memory_mode else grip_guard.inactive_summary(policy_mode)) + policy = None + try: + if control == 'replay_open_jaw': + if type(arm_tape) is not list or len(arm_tape) != round(config.timeout_s/config.control_dt): + raise ValueError('Open-jaw control requires a complete exact-duration arm tape') + arm_tape = [list(_vector(row, 6, 'arm replay')) for row in arm_tape] + phase = 'setup' + result['asset_provenance'] = robot_profiles.verify_assets('piper', _asset_root(assets)) + environment = PiperTaskEnv(assets, config) + observation, info = environment.reset(seed) + mj, np = sim._native_imports() + result['platform'].update(mujoco_version=mj.__version__, numpy_version=np.__version__) + result['compiled_model_sha256'] = sim.model_digest(environment.model) + result['initial_object_position_m'] = environment.initial_object_position.tolist() + result['native_servo_gains'] = environment.model.actuator_gainprm[:, 0].tolist() + result['native_servo_bias'] = environment.model.actuator_biasprm[:, :3].tolist() + result['native_force_limits'] = environment.model.actuator_forcerange.tolist() + result['native_control_limits'] = environment.model.actuator_ctrlrange.tolist() + result['native_model_settings'] = {'dimensions': {name: int(getattr(environment.model, name)) for name in ('nq', 'nv', 'nu', 'neq', 'nmocap')}, + 'gravity_m_s2': environment.model.opt.gravity.tolist(), + 'body_gravcomp': environment.model.body_gravcomp.tolist()} + result['contact_geometry'] = {'pad_geom_ids': environment.pad_geoms, + 'geom_body_names': [mj.mj_id2name(environment.model, mj.mjtObj.mjOBJ_BODY, int(body)) for body in environment.model.geom_bodyid]} + result['trajectory'].append(observation) + result['timing']['setup_seconds'] = time.perf_counter()-started + policy = (contact_memory.ContactMemoryPiperTaskPolicy(environment, policy_mode) if memory_mode and control == 'placement' + else grip_guard.GuardedPiperTaskPolicy(environment) if policy_mode == 'guarded' and control == 'placement' + else PiperTaskPolicy(environment)) + hold, phase = observation['joint_position_rad'], 'rollout' + for index in range(round(config.timeout_s/config.control_dt)): + began = time.perf_counter() + action = policy(observation) if control == 'placement' else {'joint_targets_rad': hold if control == 'hold' else arm_tape[index], 'gripper_position_m': .035} + if isinstance(policy, grip_guard.GuardedPiperTaskPolicy): + observation['guard_diagnostic'] = dict(policy.diagnostic) + record = {'t_seconds': observation['t_seconds'], **action, 'phase': policy.issued_phase if control == 'placement' else control} + result['actions'].append(record) + result['arm_tape'].append(list(action['joint_targets_rad'])) + observation.update(issued_joint_targets_rad=list(action['joint_targets_rad']), issued_gripper_position_m=action['gripper_position_m'], command=record) + observation, info = environment.step(action) + latencies.append(time.perf_counter()-began) + if observation is not None: + if isinstance(policy, grip_guard.GuardedPiperTaskPolicy): + observation['guard_diagnostic'] = None + result['trajectory'].append(observation) + if environment.done: + break + result.update(valid=info['valid'], success=info['success'], reason=info['reason'], warnings=info['warnings'], + simulated_seconds=info['simulation_time'], metrics={**info, 'contact_pair_native_ticks': environment.contact_pair_native_ticks}) + except Exception as exc: + result['reason'], result['error'] = 'exception', {'phase': phase, 'type': type(exc).__name__, 'message': str(exc)[:500]} + if environment is not None: + result['warnings'] = list(getattr(environment, 'warnings', [])) + result['simulated_seconds'] = getattr(environment, 'elapsed', 0.) + if isinstance(policy, grip_guard.GuardedPiperTaskPolicy): + result['grip_guard'] = policy.summary() + elapsed = time.perf_counter()-started + result['timing'].update(episode_wall_seconds=elapsed, control_step_seconds=sim._summary(latencies) if latencies else None, + control_boundaries=len(latencies), missed_control_boundaries=sum(x > config.control_dt for x in latencies), + simulated_seconds_per_wall_second=result['simulated_seconds']/elapsed, + scope='Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency') + return result + + +def run_matched(assets, config=None, *, seed=0, policy_mode='baseline'): + config = _config(config) + placement = run_episode(assets, config, seed=seed, policy_mode=policy_mode) + tape = placement['arm_tape'] if placement['valid'] and len(placement['arm_tape']) == round(config.timeout_s/config.control_dt) else None + return [placement, run_episode(assets, config, seed=seed, control='replay_open_jaw', arm_tape=tape, policy_mode=policy_mode), + run_episode(assets, config, seed=seed, control='hold', policy_mode=policy_mode)] diff --git a/benchmarks/piper-contact-development-20261011/sources/r0/reference_sim.py b/benchmarks/piper-contact-development-20261011/sources/r0/reference_sim.py new file mode 100644 index 0000000..5a982d8 --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/sources/r0/reference_sim.py @@ -0,0 +1,457 @@ +"""Pinned hardware reference mechanics; no physical controller or skill policy. + +Asset installation is an explicit network operation. All later work is local. +Imports of the optional native simulator are deferred until a model is requested. +""" +from __future__ import annotations + +from contextlib import contextmanager +from hashlib import sha256 +import json +import math +import os +from pathlib import Path +import platform +import statistics +import stat +import time +from urllib.request import Request, urlopen + + +PROFILE = "ur5e-2f85-menagerie-reference-v0.1" +COMMIT = "0059d4335f8156206f63a35662313385f7ad6d74" +ARM_JOINTS = ("shoulder_pan_joint", "shoulder_lift_joint", "elbow_joint", + "wrist_1_joint", "wrist_2_joint", "wrist_3_joint") +ARM_BODIES = ("shoulder_link", "upper_arm_link", "forearm_link", + "wrist_1_link", "wrist_2_link", "wrist_3_link") +CONTROL_DT = .02 +CASES = ("hold_open", "arm_sweep", "jaw_cycle") +SCOPE = ("Pinned reference geometry, inertias, collision proxies and coupled gripper. " + "Authored native servos, privileged state and synthetic commands. " + "No serial-specific calibration, measured hardware response, task policy or physical qualification.") + + +def asset_lock(): + return json.loads(Path(__file__).with_name("reference_assets.lock.json").read_text(encoding="utf-8")) + + +def _files(hands=False): + return [x for x in asset_lock()["files"] if hands or not x["path"].startswith("shadow_hand/")] + + +def _regular_bytes(path, size): + before = path.lstat() + if not stat.S_ISREG(before.st_mode): + raise ValueError(f"Expected a regular non-symlink asset: {path.name}") + if before.st_size != size: + raise ValueError(f"Asset size mismatch: {path.name}") + flags = os.O_RDONLY | getattr(os, "O_NONBLOCK", 0) | getattr(os, "O_NOFOLLOW", 0) | getattr(os, "O_BINARY", 0) + descriptor = os.open(path, flags) + with os.fdopen(descriptor, "rb") as stream: + opened = os.fstat(stream.fileno()) + if not stat.S_ISREG(opened.st_mode) or opened.st_size != size: + raise ValueError("Asset must remain a bounded regular file during opening") + if before.st_ino and opened.st_ino and (before.st_dev, before.st_ino) != (opened.st_dev, opened.st_ino): + raise ValueError("Asset file identity changed during opening") + content = stream.read(size + 1) + if len(content) != size: + raise ValueError(f"Asset size mismatch: {path.name}") + return content + + +def _asset_payload(directory, *, hands=False): + root = Path(directory) + if root.is_symlink() or not root.is_dir(): + raise ValueError("Asset root must be an existing non-symlink directory") + records = _files(hands) + blobs = {} + for record in records: + path = root / record["path"] + # Reject redirected subdirectories before allowing the native parser access. + if any(x.is_symlink() for x in (path.parent, path.parent.parent)): + raise ValueError("Asset subdirectories must not be symlinks") + content = _regular_bytes(path, record["bytes"]) + if sha256(content).hexdigest() != record["sha256"]: + raise ValueError(f"Asset digest mismatch: {record['path']}") + blobs[record["path"]] = content + metadata = {"commit": COMMIT, "files_verified": len(records), + "bytes_verified": sum(x["bytes"] for x in records), + "lock_sha256": sha256(Path(__file__).with_name("reference_assets.lock.json").read_bytes()).hexdigest(), + "licenses": {k: v for k, v in asset_lock()["licenses"].items() + if hands or k != "shadow_hand"}} + return metadata, blobs + + +def verify_assets(directory, *, hands=False): + return _asset_payload(directory, hands=hands)[0] + + +def _spec(blobs, folder, filename): + mj, _ = _native_imports() + prefix = folder + "/" + local = {key[len(prefix):]: content for key, content in blobs.items() if key.startswith(prefix)} + # The native parser receives the exact verified bytes in memory. It does not + # reread model/mesh/include paths between verification and compilation. + return mj.MjSpec.from_string(local[filename].decode("utf-8"), + include={key: content for key, content in local.items() if key.endswith(".xml")}, + assets={key: content for key, content in local.items() if key.startswith("assets/")}) + + +def fetch_assets(directory, *, hands=False): + """Download only the packaged, pinned allowlist, retaining upstream licenses. + + A failed download leaves an incomplete fresh directory for inspection; verify + rejects it. No credentials, account, dynamic manifest or arbitrary URL is used. + """ + destination = Path(directory) + destination.mkdir(parents=True, exist_ok=False) + for record in _files(hands): + url = f"https://raw.githubusercontent.com/google-deepmind/mujoco_menagerie/{COMMIT}/{record['path']}" + request = Request(url, headers={"User-Agent": "DVIDIA-Reference-Simulator/0.1"}) + with urlopen(request, timeout=30) as response: + if not response.geturl().startswith("https://raw.githubusercontent.com/"): + raise ValueError("Asset download redirected outside the pinned source host") + content = response.read(record["bytes"] + 1) + if len(content) != record["bytes"] or sha256(content).hexdigest() != record["sha256"]: + raise ValueError(f"Downloaded asset does not match the lock: {record['path']}") + path = destination / record["path"] + path.parent.mkdir(parents=True, exist_ok=True) + with path.open("xb") as stream: + stream.write(content) + return verify_assets(destination, hands=hands) + + +def _native_imports(): + try: + import mujoco + import numpy as np + except ImportError as exc: + raise RuntimeError("Install dvidia-training with the optional arm extra") from exc + if mujoco.__version__ != "3.15.0": + raise RuntimeError("Reference simulation requires MuJoCo 3.15.0") + return mujoco, np + + +@contextmanager +def native_warnings(messages): + from .env import _NATIVE_LOCK + mj, _ = _native_imports() + with _NATIVE_LOCK: + previous = mj.get_mju_user_warning() + mj.set_mju_user_warning(lambda value: messages.append(str(value))) + try: + yield + finally: + mj.set_mju_user_warning(previous) + + +def _timestep(value): + if isinstance(value, bool) or not isinstance(value, (int, float)) or value not in (.002, .001, .0005): + raise ValueError("Reference timestep must be 0.002, 0.001 or 0.0005 seconds") + return float(value) + + +def validate_duration(seconds): + if isinstance(seconds, bool) or not isinstance(seconds, (int, float)) or not math.isfinite(seconds) or not .1 <= seconds <= 10: + raise ValueError("Reference duration must be finite, between 0.1 and 10 seconds") + if not math.isclose(seconds / CONTROL_DT, round(seconds / CONTROL_DT), rel_tol=0, abs_tol=1e-9): + raise ValueError("Duration must be an integer number of 20 ms boundaries") + return float(seconds) + + +def build_model(directory, *, timestep=.001, probe_position=None): + _, blobs = _asset_payload(directory) + mj, _ = _native_imports() + arm = _spec(blobs, "universal_robots_ur5e", "ur5e.xml") + jaw = _spec(blobs, "robotiq_2f85", "2f85.xml") + # Resolve child/parent option differences explicitly, preserving the jaw's + # elliptic contact cone and impratio; do not silently accept attach warnings. + arm.option.cone = jaw.option.cone + arm.option.impratio = jaw.option.impratio + arm.option.timestep = jaw.option.timestep = _timestep(timestep) + arm.option.integrator = jaw.option.integrator = mj.mjtIntegrator.mjINT_IMPLICITFAST + arm.attach(jaw, prefix="gripper/", site="attachment_site") + arm.worldbody.add_geom(name="reference_floor", type=mj.mjtGeom.mjGEOM_PLANE, + size=[2, 2, .1], rgba=[.9, .9, .88, 1]) + if probe_position is not None: + if len(probe_position) != 3 or not all(math.isfinite(x) for x in probe_position): + raise ValueError("Probe requires three finite coordinates") + arm.worldbody.add_geom(name="collision_probe", type=mj.mjtGeom.mjGEOM_SPHERE, + pos=probe_position, size=[.025, 0, 0], rgba=[1, .4, .2, 1]) + return arm.compile() + + +def model_digest(model): + mj, np = _native_imports() + buffer = np.empty(mj.mj_sizeModel(model), dtype=np.uint8) + mj.mj_saveModel(model, buffer=buffer) + return sha256(buffer.tobytes()).hexdigest() + + +def _name(model, kind, index): + mj, _ = _native_imports() + return mj.mj_id2name(model, kind, int(index)) or f"unnamed_{index}" + + +def model_inventory(model): + mj, np = _native_imports() + active = (model.geom_contype != 0) | (model.geom_conaffinity != 0) + bodies = [] + for i in range(1, model.nbody): + geoms = np.flatnonzero(model.geom_bodyid == i) + bodies.append({"name": _name(model, mj.mjtObj.mjOBJ_BODY, i), + "mass_kg": float(model.body_mass[i]), + "inertia_kg_m2": model.body_inertia[i].tolist(), + "collision_geoms": int(np.count_nonzero(active[geoms])), + "visual_geoms": int(np.count_nonzero(~active[geoms]))}) + joints = [{"name": _name(model, mj.mjtObj.mjOBJ_JOINT, i), + "type": int(model.jnt_type[i]), "limited": bool(model.jnt_limited[i]), + "range": model.jnt_range[i].tolist(), + "qpos_address": int(model.jnt_qposadr[i]), "velocity_address": int(model.jnt_dofadr[i])} + for i in range(model.njnt)] + actuators = [] + for i in range(model.nu): + trn = int(model.actuator_trntype[i]) + kind = mj.mjtObj.mjOBJ_TENDON if trn == int(mj.mjtTrn.mjTRN_TENDON) else mj.mjtObj.mjOBJ_JOINT + actuators.append({"name": _name(model, mj.mjtObj.mjOBJ_ACTUATOR, i), + "transmission_type": trn, + "target": _name(model, kind, model.actuator_trnid[i, 0]), + "control_range": model.actuator_ctrlrange[i].tolist(), + "control_limited": bool(model.actuator_ctrllimited[i]), + "native_force_range": model.actuator_forcerange[i].tolist(), + "force_limited": bool(model.actuator_forcelimited[i])}) + return {"joint_coordinates_nq": model.nq, "velocity_dofs_nv": model.nv, + "joints": joints, "actuator_count": model.nu, "actuators": actuators, + "bodies": bodies, "equality_constraints": model.neq, "tendons": model.ntendon, + "contact_exclusions": model.nexclude, "native_sensor_definitions": model.nsensor, + "native_sensor_channels": model.nsensordata, + "collision_geom_count": int(np.count_nonzero(active)), + "visual_geom_count": int(np.count_nonzero(~active)), + "compiled_model_sha256": model_digest(model)} + + +def audit_reference(directory, *, hands=False): + provenance, blobs = _asset_payload(directory, hands=hands) + mj, _ = _native_imports() + warnings = [] + with native_warnings(warnings): + model = build_model(directory) + inventory = model_inventory(model) + if model.nq != 14 or model.nu != 7 or model.neq != 3 or model.ntendon != 1: + raise ValueError("Pinned reference composition changed its mechanical contract") + by_name = {x["name"]: x for x in inventory["bodies"]} + coverage = {name: by_name[name]["collision_geoms"] for name in ARM_BODIES} + hand_models = {} + if hands: + for side in ("left", "right"): + hand = _spec(blobs, "shadow_hand", f"{side}_hand.xml").compile() + hand_models[side] = model_inventory(hand) + return {"schema": "dvidia.reference-audit/v1", "profile": PROFILE, "scope": SCOPE, + "physical_robot_ready": False, "asset_provenance": provenance, + "settings": {"timestep_seconds": .001, "integrator": "implicitfast", + "contact_cone": "elliptic", "impratio": 10, + "mount": "upstream attachment_site, gripper namespace, no added adapter mass", + "tcp": "upstream gripper/pinch; not a measured physical TCP"}, + "inventory": inventory, "arm_link_collision_coverage": coverage, + "fixed_base_collision_geoms": by_name["base"]["collision_geoms"], + "arm_command_unit": "joint target radians", + "gripper_command_unit": "native 0–255 servo input; not meters or calibrated physical force", + "hand_models": hand_models, "bimanual_assembly_implemented": False, + "calibration_gates": {name: "unmeasured" for name in + ("serial_kinematics", "base_and_tcp_frames", "actuator_response_and_latency", + "gripper_encoder_gap_hysteresis", "contact_and_slip", "deployed_sensor_age", + "physical_task_success")}, "warnings": warnings} + + +def _initial(model): + mj, _ = _native_imports() + data = mj.MjData(model) + mj.mj_resetDataKeyframe(model, data, 0) + mj.mj_forward(model, data) + return data + + +def _sample(model, data, elapsed, command): + mj, np = _native_imports() + ids = [mj.mj_name2id(model, mj.mjtObj.mjOBJ_JOINT, name) for name in ARM_JOINTS] + site = mj.mj_name2id(model, mj.mjtObj.mjOBJ_SITE, "gripper/pinch") + pads = [mj.mj_name2id(model, mj.mjtObj.mjOBJ_GEOM, f"gripper/{side}_pad1") for side in ("left", "right")] + quat = np.empty(4) + mj.mju_mat2Quat(quat, data.site_xmat[site]) + return {"t_seconds": elapsed, "joint_position_rad": data.qpos[model.jnt_qposadr[ids]].tolist(), + "joint_velocity_rad_s": data.qvel[model.jnt_dofadr[ids]].tolist(), + "linkage_position_rad": data.qpos[6:].tolist(), + "tcp_position_m": data.site_xpos[site].tolist(), "tcp_quaternion_wxyz": quat.tolist(), + "pad_center_separation_m": float(np.linalg.norm(data.geom_xpos[pads[0]] - data.geom_xpos[pads[1]])), + "arm_points_m": [data.xpos[mj.mj_name2id(model, mj.mjtObj.mjOBJ_BODY, name)].tolist() + for name in ("base",) + ARM_BODIES] + [data.site_xpos[site].tolist()], + "pad_centers_m": [data.geom_xpos[index].tolist() for index in pads], + "contact_count": data.ncon, + "issued_joint_targets_rad": command[:6].tolist(), "issued_gripper_0_255": float(command[6])} + + +def _summary(values): + ordered = sorted(values) + return {"count": len(values), "median": statistics.median(ordered), + "p95": ordered[math.ceil(.95 * len(ordered)) - 1], "max": ordered[-1]} + + +def _command(case, elapsed, home): + _, np = _native_imports() + result = np.array(home, dtype=float, copy=True) + if case == "arm_sweep": + result[0] += .20 * math.sin(math.pi * elapsed) + elif case == "jaw_cycle": + result[6] = 127.5 * (1 - math.cos(math.pi * elapsed)) + elif case != "hold_open": + raise ValueError("Unknown reference motion case") + return result + + +def run_case(directory, case, *, timestep=.001, seconds=4.): + mj, np = _native_imports() + timestep = _timestep(timestep) + seconds = validate_duration(seconds) + if case not in CASES: + raise ValueError("Unknown reference motion case") + warnings = [] + ticks, chunks, trajectory = [], [], [] + with native_warnings(warnings): + started = time.perf_counter() + model = build_model(directory, timestep=timestep) + compile_seconds = time.perf_counter() - started + data = _initial(model) + home = model.key_ctrl[0].copy() + # Settling is outside the reported physics throughput/tick timing. + for _ in range(round(1 / timestep)): + data.ctrl[:] = home + mj.mj_step(model, data) + mj.mj_forward(model, data) + trajectory.append(_sample(model, data, 0., home)) + physics_wall = 0. + for boundary in range(round(seconds / CONTROL_DT)): + elapsed = boundary * CONTROL_DT + command = _command(case, elapsed, home) + data.ctrl[:] = command + start = time.perf_counter_ns() + for _ in range(round(CONTROL_DT / timestep)): + before = time.perf_counter_ns() + mj.mj_step(model, data) + ticks.append((time.perf_counter_ns() - before) / 1e6) + mj.mj_forward(model, data) + chunk_ms = (time.perf_counter_ns() - start) / 1e6 + physics_wall += chunk_ms / 1000 + chunks.append(chunk_ms) + trajectory.append(_sample(model, data, (boundary + 1) * CONTROL_DT, command)) + valid = bool(not warnings and not any(x.number for x in data.warning) + and np.isfinite(data.qpos).all() and np.isfinite(data.qvel).all() + and np.isfinite(data.qacc).all() and np.isfinite(data.site_xpos).all() + and np.isfinite(data.actuator_force).all() + and all(math.isfinite(v) for row in trajectory for k in + ("joint_position_rad", "joint_velocity_rad_s", "tcp_position_m", "linkage_position_rad") for v in row[k])) + nonfinite_trajectory_omitted = False + try: + json.dumps(trajectory, allow_nan=False) + except ValueError: + trajectory = [] + valid = False + nonfinite_trajectory_omitted = True + return {"case": case, "valid": valid, "warnings": warnings, + "nonfinite_trajectory_omitted": nonfinite_trajectory_omitted, + "compiled_model_sha256": model_digest(model), "timestep_seconds": timestep, + "control_dt_seconds": CONTROL_DT, "simulated_seconds": seconds, + "compile_and_asset_verification_seconds": compile_seconds, + "physics_chunks_wall_seconds": physics_wall, + "simulation_seconds_per_wall_second": seconds / physics_wall, + "native_tick_ms": _summary(ticks), "control_chunk_ms": _summary(chunks), + "timing_scope": "mj_step calls with per-tick instrumentation; chunks also include boundary mj_forward. " + "Excludes verification/compile, settling, sampling, rendering, perception, policy, transport and real actuation.", + "trajectory": trajectory} + + +def collision_probe(directory): + """Matched overlap diagnostic, not a path planner or collision safety test.""" + mj, np = _native_imports() + warnings = [] + attempts = [] + with native_warnings(warnings): + model = build_model(directory) + data = _initial(model) + body = mj.mj_name2id(model, mj.mjtObj.mjOBJ_BODY, "upper_arm_link") + active = (model.geom_contype != 0) | (model.geom_conaffinity != 0) + geom = int(np.flatnonzero((model.geom_bodyid == body) & active)[-1]) + position = data.geom_xpos[geom].copy() + for mask in (False, True): + model = build_model(directory, probe_position=position.tolist()) + if mask: + bodies = [mj.mj_name2id(model, mj.mjtObj.mjOBJ_BODY, name) for name in ARM_BODIES] + for index in np.flatnonzero(np.isin(model.geom_bodyid, bodies)): + model.geom_contype[index] = model.geom_conaffinity[index] = 0 + data = _initial(model) + probe = mj.mj_name2id(model, mj.mjtObj.mjOBJ_GEOM, "collision_probe") + pairs = [] + for contact in data.contact[:data.ncon]: + if probe in (contact.geom1, contact.geom2): + other = contact.geom2 if contact.geom1 == probe else contact.geom1 + pairs.append({"other_body": _name(model, mj.mjtObj.mjOBJ_BODY, model.geom_bodyid[other]), + "signed_distance_m": float(contact.dist)}) + attempts.append({"arm_collision_masks_disabled": mask, "probe_contact_count": len(pairs), "pairs": pairs}) + return {"scope": "Authored initial sphere overlap at an upper-arm collision proxy; no motion or real collision trial", + "probe_position_m": position.tolist(), "attempts": attempts, "warnings": warnings} + + +def benchmark_reference(directory, *, repeats=2, seconds=4., hands=False): + if isinstance(repeats, bool) or not isinstance(repeats, int) or not 1 <= repeats <= 5: + raise ValueError("Repeats must be an integer between 1 and 5") + seconds = validate_duration(seconds) + audit = audit_reference(directory, hands=hands) + attempts = [] + for case in CASES: + for timestep in (.002, .001, .0005): + for repeat in range(repeats): + try: + attempt = run_case(directory, case, timestep=timestep, seconds=seconds) + except Exception as exc: + attempt = {"case": case, "timestep_seconds": timestep, "valid": False, + "error_type": type(exc).__name__, + "error": str(exc).replace(str(Path(directory).resolve()), "[assets]")[:500]} + attempt["repeat"] = repeat + attempts.append(attempt) + convergence = [] + _, np = _native_imports() + for case in CASES: + for coarse in (.002, .001): + for repeat in range(repeats): + pair = [next(x for x in attempts if x["case"] == case and x["timestep_seconds"] == dt and x["repeat"] == repeat) + for dt in (coarse, coarse / 2)] + result = {"case": case, "repeat": repeat, "timestep_pair_seconds": [coarse, coarse / 2], + "valid": all(x["valid"] for x in pair)} + if result["valid"]: + rows = [x["trajectory"] for x in pair] + def differences(key): + return np.asarray([x[key] for x in rows[0]]) - np.asarray([x[key] for x in rows[1]]) + dq = differences("joint_position_rad") + dx = differences("tcp_position_m") + dg = differences("pad_center_separation_m") + result.update({"matched_boundaries": len(rows[0]), "joint_position_rmse_rad": float(np.sqrt(np.mean(dq ** 2))), + "max_joint_position_difference_rad": float(np.max(np.abs(dq))), + "tcp_distance_rmse_m": float(np.sqrt(np.mean(np.sum(dx ** 2, axis=1)))), + "max_tcp_distance_m": float(np.max(np.linalg.norm(dx, axis=1))), + "pad_center_separation_rmse_m": float(np.sqrt(np.mean(dg ** 2))), + "max_pad_center_separation_difference_m": float(np.max(np.abs(dg)))}) + convergence.append(result) + source_files = ("reference_sim.py", "reference_assets.lock.json", "embodiment_cli.py", "reference_report.html") + return {"schema": "dvidia.reference-benchmark/v1", "profile": PROFILE, "scope": SCOPE, + "physical_robot_ready": False, "task_success_evaluated": False, + "hardware": {"platform": platform.platform(), "machine": platform.machine(), + "python": platform.python_version(), "mujoco": "3.15.0", "gpu_used": False}, + "protocol": {"cases": list(CASES), "timesteps_seconds": [.002, .001, .0005], + "repeats": repeats, "seconds_per_case": seconds, "control_dt_seconds": CONTROL_DT, + "same_synthetic_scene_and_commands": True, + "repeat_scope": "Repeated deterministic numerical/performance diagnostics, not independent physical or skill trials", + "pad_measurement": "Euclidean distance between upstream left_pad1/right_pad1 geom centers; not calibrated inner jaw gap", + "convergence_scope": "Matched 20 ms boundaries including post-settling start; adjacent timestep comparison, not comparison with reality"}, + "implementation_sha256": {name: sha256(Path(__file__).with_name(name).read_bytes()).hexdigest() for name in source_files}, + "audit": audit, "collision_probe": collision_probe(directory), + "attempted": len(attempts), "valid_attempts": sum(x["valid"] for x in attempts), + "attempts": attempts, "convergence": convergence} diff --git a/benchmarks/piper-contact-development-20261011/sources/r0/reference_task.py b/benchmarks/piper-contact-development-20261011/sources/r0/reference_task.py new file mode 100644 index 0000000..588f10c --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/sources/r0/reference_task.py @@ -0,0 +1,544 @@ +"""Authored contact-based rigid-block task on the pinned native six-axis reference. + +The policy is a development baseline, not a learned skill. Observations are +privileged simulator state. Only reset initializes the freely moving block; +grasping, transport and release thereafter require native contact dynamics. +""" +from __future__ import annotations + +from dataclasses import asdict, dataclass +from hashlib import sha256 +import json +import math +from pathlib import Path +import time + +from . import reference_sim as sim + + +PROFILE = 'ur5e-2f85-rigid-block-task-v0.1' +SCHEMA = 'dvidia.reference-task-episode/v1' +SCOPE = ('Authored native UR5e/Robotiq rigid-block manipulation, privileged state and synthetic commands. ' + 'No shoe model, learned task policy, camera sensing, calibrated contact or physical qualification.') +CARRY_CONTACT_LOSS_TOLERANCE_S = .04 +GRIPPER_JOINTS = tuple('gripper/' + side + '_' + link + '_joint' + for side in ('right', 'left') + for link in ('driver', 'coupler', 'spring_link', 'follower')) + + +def _number(value, name, minimum, maximum): + if isinstance(value, bool) or not isinstance(value, (int, float)): + raise ValueError(f'{name} must be finite numeric data') + try: + value = float(value) + except (OverflowError, ValueError, TypeError) as exc: + raise ValueError(f'{name} must be finite numeric data') from exc + if not math.isfinite(value) or not minimum <= value <= maximum: + raise ValueError(f'{name} must lie in [{minimum}, {maximum}]') + return value + + +def _vector(value, length, name, minimum=-10., maximum=10.): + if not isinstance(value, (list, tuple)) or len(value) != length: + raise ValueError(f'{name} requires {length} values') + return tuple(_number(item, name, minimum, maximum) for item in value) + + +@dataclass(frozen=True) +class ReferenceTaskConfig: + timestep: float = .001 + control_dt: float = .02 + timeout_s: float = 20. + settle_s: float = .5 + object_position_m: tuple = (-.134, .49, .302) + target_position_m: tuple = (.08, .49, .30) + object_half_size_m: tuple = (.02, .02, .02) + mass_kg: float = .04 + friction: float = .8 + table_top_m: float = .28 + table_center_xy_m: tuple = (0., .55) + table_half_size_xy_m: tuple = (.32, .26) + table_thickness_m: float = .04 + goal_position_tolerance_m: float = .025 + goal_dwell_s: float = .25 + min_lift_m: float = .06 + min_lift_dwell_s: float = .10 + retreat_clearance_m: float = .10 + joint_target_rate_rad_s: float = 1.5 + jaw_target_rate_0_255_s: float = 500. + tool_orientation_wxyz: tuple = (0., math.sqrt(.5), math.sqrt(.5), 0.) + + def __post_init__(self): + bounds = {'timestep': (.0005, .002), 'control_dt': (.02, .02), 'timeout_s': (.1, 30.), + 'settle_s': (.1, 2.), 'mass_kg': (.01, .15), 'friction': (.02, 2.), + 'table_top_m': (.24, .32), 'table_thickness_m': (.02, .08), + 'goal_position_tolerance_m': (.01, .03), 'goal_dwell_s': (.10, .6), + 'min_lift_m': (.04, .10), 'min_lift_dwell_s': (.05, .3), + 'retreat_clearance_m': (.08, .15), 'joint_target_rate_rad_s': (.1, 3.), + 'jaw_target_rate_0_255_s': (50., 1000.)} + for name, (low, high) in bounds.items(): + object.__setattr__(self, name, _number(getattr(self, name), name, low, high)) + sim._timestep(self.timestep) + for numerator, denominator in ((self.control_dt, self.timestep), (self.timeout_s, self.control_dt), + (self.settle_s, self.timestep)): + ratio = numerator / denominator + if not math.isclose(ratio, round(ratio), abs_tol=1e-9, rel_tol=0): + raise ValueError('Task durations must contain an integer number of native/control ticks') + for name, length, low, high in (('object_position_m', 3, -2, 2), ('target_position_m', 3, -2, 2), + ('object_half_size_m', 3, .015, .025), ('table_center_xy_m', 2, -1, 1), + ('table_half_size_xy_m', 2, .1, .5), ('tool_orientation_wxyz', 4, -1, 1)): + object.__setattr__(self, name, _vector(getattr(self, name), length, name, low, high)) + if not math.isclose(sum(x*x for x in self.tool_orientation_wxyz), 1., abs_tol=1e-8, rel_tol=0): + raise ValueError('Tool goal quaternion must be normalized wxyz') + for name in ('object_position_m', 'target_position_m'): + point = getattr(self, name) + if not -.25 <= point[0] <= .25 or not .35 <= point[1] <= .70: + raise ValueError('Task placement lies outside the declared reference reach envelope') + for axis in range(2): + if abs(point[axis]-self.table_center_xy_m[axis]) + self.object_half_size_m[axis] > self.table_half_size_xy_m[axis]-.01: + raise ValueError('Task placement must be supported within the table edge') + expected = self.table_top_m + self.object_half_size_m[2] + (.002 if name == 'object_position_m' else 0.) + if not math.isclose(point[2], expected, abs_tol=1e-8, rel_tol=0): + raise ValueError('Start/target height must match the declared support plane and block size') + if math.dist(self.object_position_m[:2], self.target_position_m[:2]) < .075: + raise ValueError('Task must require at least 75 mm of block transfer') + + +def task_contract(): + return {'profile': PROFILE, 'scope': SCOPE, 'physical_robot_ready': False, + 'arm_joint_order': list(sim.ARM_JOINTS), 'gripper_linkage_order': list(GRIPPER_JOINTS), + 'actions': {'joint_targets_rad': 'six absolute joint targets, rad; ramped then gravity feedforward', + 'gripper_0_255': 'one native tendon servo target; 0 open / 255 close, not measured gap or force'}, + 'observation_origin': 'privileged_native_simulator_state', 'native_sensor_definitions': 0, + 'observations': {'joint_position_rad': [6], 'joint_velocity_rad_s': [6], 'linkage_position_rad': [8], + 'tcp_position_m': [3], 'tcp_quaternion_wxyz': [4], 'object_position_m': [3], + 'object_quaternion_wxyz': [4], 'grasp_contact_counts': 'left/right native block contacts', + 'pad_normal_forces_n': 'native mj_contactForce, not deployable tactile sensing'}, + 'contacts': 'native collision proxies; object priority 1 overrides pad/table friction floors', + 'object': 'one free rigid box; no weld, grasp attachment or runtime object pose writes', + 'success': 'valid physics, retained bilateral table-free lift and supported destination carry completion, then released/settled destination dwell and tool retreat', + 'carry_retention': {'bilateral_contact_required': 'after sustained lift until supported at destination while held', + 'contact_force_threshold_n': .01, + 'consecutive_loss_tolerance_seconds': CARRY_CONTACT_LOSS_TOLERANCE_S, + 'loss_at_or_above_tolerance': 'permanent failure, independent of teacher phase'}, + 'fixed_base_collision_proxy': False} + + +def build_task_model(assets, config=None): + config = ReferenceTaskConfig() if config is None else config + if not isinstance(config, ReferenceTaskConfig): + raise TypeError('config must be ReferenceTaskConfig') + _, blobs = sim._asset_payload(assets) + mj, _ = sim._native_imports() + arm = sim._spec(blobs, 'universal_robots_ur5e', 'ur5e.xml') + jaw = sim._spec(blobs, 'robotiq_2f85', '2f85.xml') + arm.option.cone, arm.option.impratio = jaw.option.cone, jaw.option.impratio + arm.option.timestep = jaw.option.timestep = config.timestep + arm.option.integrator = jaw.option.integrator = mj.mjtIntegrator.mjINT_IMPLICITFAST + arm.attach(jaw, prefix='gripper/', site='attachment_site') + arm.worldbody.add_geom(name='task_floor', type=mj.mjtGeom.mjGEOM_PLANE, size=[2, 2, .1], rgba=[.9, .9, .88, 1]) + arm.worldbody.add_geom(name='task_table', type=mj.mjtGeom.mjGEOM_BOX, + pos=[*config.table_center_xy_m, config.table_top_m-config.table_thickness_m/2], + size=[*config.table_half_size_xy_m, config.table_thickness_m/2], rgba=[.73, .70, .64, 1]) + block = arm.worldbody.add_body(name='task_block', pos=config.object_position_m) + block.add_freejoint(name='task_block_free') + block.add_geom(name='task_block_geom', type=mj.mjtGeom.mjGEOM_BOX, size=config.object_half_size_m, + mass=config.mass_kg, friction=[config.friction, .005, .0001], priority=1, + condim=4, rgba=[.75, .30, .16, 1]) + marker = arm.worldbody.add_body(name='task_target_frame', + pos=[*config.target_position_m[:2], config.table_top_m+.0005]) + marker.add_geom(name='task_target', type=mj.mjtGeom.mjGEOM_BOX, + size=[config.object_half_size_m[0]+.015, config.object_half_size_m[1]+.015, .0005], + rgba=[.17, .47, .35, .3], contype=0, conaffinity=0) + model = arm.compile() + if (model.nq, model.nv, model.nu, model.neq) != (21, 20, 7, 3): + raise ValueError('Task native mechanical contract changed') + return model + + +class ReferenceTaskEnv: + def __init__(self, assets, config=None): + self.assets = Path(assets) + self.config = ReferenceTaskConfig() if config is None else config + if not isinstance(self.config, ReferenceTaskConfig): + raise TypeError('config must be ReferenceTaskConfig') + self.ready = False + + def reset(self, seed=0): + if type(seed) is not int or not 0 <= seed <= 999999: + raise ValueError('seed must be an integer in [0, 999999]') + mj, np = sim._native_imports() + self.ready = False + self.seed, self.warnings = seed, [] + with sim.native_warnings(self.warnings): + self.model = build_task_model(self.assets, self.config) + self.data = mj.MjData(self.model) + self.arm_ids = np.asarray([mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_JOINT, x) for x in sim.ARM_JOINTS]) + self.arm_qpos = self.model.jnt_qposadr[self.arm_ids] + self.arm_dof = self.model.jnt_dofadr[self.arm_ids] + self.linkage_ids = np.asarray([mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_JOINT, x) for x in GRIPPER_JOINTS]) + self.linkage_qpos = self.model.jnt_qposadr[self.linkage_ids] + self.tcp = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_SITE, 'gripper/pinch') + self.block = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_BODY, 'task_block') + self.block_geom = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_GEOM, 'task_block_geom') + self.table_geom = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_GEOM, 'task_table') + self.floor_geom = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_GEOM, 'task_floor') + self.pad_geoms = {side: [mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_GEOM, f'gripper/{side}_pad{i}') + for i in (1, 2)] for side in ('left', 'right')} + self.robot_geoms = set(range(self.model.ngeom)) - { + self.block_geom, self.table_geom, + self.floor_geom, + mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_GEOM, 'task_target')} + arm_bodies = {mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_BODY, name) for name in sim.ARM_BODIES} + self.arm_geoms = {i for i in self.robot_geoms if int(self.model.geom_bodyid[i]) in arm_bodies} + # The upstream keyframe contains only robot qpos; initialize them + # explicitly and leave the free block's compiled reset coordinates. + self.data.qpos[self.arm_qpos] = [-1.5708, -1.5708, 1.5708, -1.5708, -1.5708, 0.] + self.data.qpos[self.linkage_qpos] = 0. + self.command_targets = self.data.qpos[self.arm_qpos].copy() + self.command_gripper = 0. + mj.mj_forward(self.model, self.data) + for _ in range(round(self.config.settle_s/self.config.timestep)): + self._controls() + mj.mj_step(self.model, self.data) + mj.mj_forward(self.model, self.data) + if not self._finite() or self.warnings or any(x.number for x in self.data.warning): + raise RuntimeError('Task settling produced invalid native physics') + self.initial_object_position = self.data.xpos[self.block].copy() + self.elapsed, self.steps, self.dwell, self.lift_dwell = 0., 0, 0., 0. + self.max_lift, self.max_pad_force, self.critical_contact_ticks = 0., 0., 0 + self.lift_seen, self.grasp_seen, self.done = False, False, False + self.carry_complete, self.retention_lost = False, False + self.carry_contact_loss, self.max_carry_contact_loss = 0., 0. + self.carry_contact_loss_events = 0 + self.first_success_time = None + self.reason = 'running' + self.ready = True + return self.observation(), self.info() + + def _finite(self): + _, np = sim._native_imports() + return all(np.isfinite(value).all() for value in (self.data.qpos, self.data.qvel, self.data.qacc, self.data.xpos)) + + def _controls(self): + _, np = sim._native_imports() + # Authored gravity feedforward, applied inside the original bounded + # affine position servos. Actual force/velocity are never overwritten. + gains = self.model.actuator_gainprm[:6, 0] + requested = self.command_targets + self.data.qfrc_bias[self.arm_dof]/gains + self.data.ctrl[:6] = np.clip(requested, self.model.actuator_ctrlrange[:6, 0], self.model.actuator_ctrlrange[:6, 1]) + self.data.ctrl[6] = self.command_gripper + + def _contacts(self): + mj, np = sim._native_imports() + counts, forces, table, critical = {'left': 0, 'right': 0}, {'left': 0., 'right': 0.}, 0, 0 + pads = set(sum(self.pad_geoms.values(), [])) + for index, contact in enumerate(self.data.contact[:self.data.ncon]): + pair = {int(contact.geom1), int(contact.geom2)} + force = np.zeros(6) + mj.mj_contactForce(self.model, self.data, index, force) + if force[0] <= .01: + continue + if self.block_geom in pair: + if self.table_geom in pair: + table += 1 + for side in ('left', 'right'): + if pair.intersection(self.pad_geoms[side]): + counts[side] += 1 + forces[side] += float(force[0]) + if pair.intersection(self.robot_geoms-pads): + critical += 1 + elif pair.intersection({self.table_geom, self.floor_geom}) and pair.intersection(self.robot_geoms): + critical += 1 + elif pair.intersection(self.arm_geoms) and pair.issubset(self.robot_geoms): + critical += 1 + return counts, forces, table, critical + + def observation(self): + mj, np = sim._native_imports() + if not self._finite(): + raise RuntimeError('Cannot record a nonfinite native state') + counts, forces, table, critical = self._contacts() + tcp_quat, velocity = np.empty(4), np.empty(6) + mj.mju_mat2Quat(tcp_quat, self.data.site_xmat[self.tcp]) + mj.mj_objectVelocity(self.model, self.data, mj.mjtObj.mjOBJ_BODY, self.block, velocity, 0) + separation = float(np.linalg.norm(self.data.geom_xpos[self.pad_geoms['left'][0]]- + self.data.geom_xpos[self.pad_geoms['right'][0]])) + return {'t_seconds': self.elapsed, 'qpos': self.data.qpos.tolist(), 'qvel': self.data.qvel.tolist(), + 'joint_position_rad': self.data.qpos[self.arm_qpos].tolist(), + 'joint_velocity_rad_s': self.data.qvel[self.arm_dof].tolist(), + 'linkage_position_rad': self.data.qpos[self.linkage_qpos].tolist(), + 'tcp_position_m': self.data.site_xpos[self.tcp].tolist(), 'tcp_quaternion_wxyz': tcp_quat.tolist(), + 'object_position_m': self.data.xpos[self.block].tolist(), 'object_quaternion_wxyz': self.data.xquat[self.block].tolist(), + 'object_linear_velocity_m_s': velocity[3:].tolist(), 'object_angular_velocity_rad_s': velocity[:3].tolist(), + 'target_position_m': list(self.config.target_position_m), 'pad_center_separation_m': separation, + 'grasp_contact_counts': counts, 'pad_normal_forces_n': forces, 'table_object_contact_count': table, + 'unexpected_contact_count': critical, 'contact_count': int(self.data.ncon), + 'native_actuator_controls': self.data.ctrl.tolist(), 'actuator_force': self.data.actuator_force.tolist(), + 'issued_joint_targets_rad': None, 'issued_gripper_0_255': None, 'command': None, + 'observation_origin': 'privileged_native_simulator_state'} + + def info(self): + _, np = sim._native_imports() + valid = self.reason not in ('invalid_state', 'solver_warning') and not self.warnings + success = valid and self.carry_complete and not self.retention_lost and self.dwell+1e-12 >= self.config.goal_dwell_s + return {'valid': valid, 'success': success, + 'reason': ('success' if success else self.reason), 'simulation_time': self.elapsed, + 'steps': self.steps, 'lift_seen': self.lift_seen, 'grasp_seen': self.grasp_seen, + 'max_object_lift_m': self.max_lift, 'dwell_seconds': self.dwell, 'lift_dwell_seconds': self.lift_dwell, + 'max_pad_normal_force_n': self.max_pad_force, 'unexpected_contact_native_ticks': self.critical_contact_ticks, + 'carry_complete': self.carry_complete, 'retention_lost': self.retention_lost, + 'max_carry_contact_loss_seconds': self.max_carry_contact_loss, + 'carry_contact_loss_events': self.carry_contact_loss_events, + 'carry_contact_loss_tolerance_seconds': CARRY_CONTACT_LOSS_TOLERANCE_S, + 'first_success_time_seconds': self.first_success_time, + 'target_distance_m': float(np.linalg.norm(self.data.xpos[self.block]-self.config.target_position_m)) if self._finite() else None, + 'warnings': list(self.warnings), 'physical_robot_ready': False} + + def _outcome_tick(self, *, both, supported, lift, distance, released, settled, clear, critical, pad_force): + """Score native evidence without consulting the authored policy phase.""" + dt = self.config.timestep + self.max_pad_force = max(self.max_pad_force, pad_force) + self.critical_contact_ticks += bool(critical) + self.grasp_seen |= both + self.max_lift = max(self.max_lift, lift) + loaded = both and not supported and lift >= self.config.min_lift_m + self.lift_dwell = self.lift_dwell+dt if loaded else 0. + self.lift_seen |= self.lift_dwell+1e-12 >= self.config.min_lift_dwell_s + if self.lift_seen and not self.carry_complete: + # Release is allowed only once the still-held block actually rests + # at its destination; a dropped/tossed block cannot acquire this latch. + self.carry_complete |= bool(both and supported and distance <= self.config.goal_position_tolerance_m) + if not self.carry_complete: + if both: + self.carry_contact_loss = 0. + else: + before = self.carry_contact_loss + self.carry_contact_loss += dt + self.max_carry_contact_loss = max(self.max_carry_contact_loss, self.carry_contact_loss) + if before+1e-12 < CARRY_CONTACT_LOSS_TOLERANCE_S <= self.carry_contact_loss+1e-12: + self.carry_contact_loss_events += 1 + self.retention_lost = True + qualifies = (self.lift_seen and self.grasp_seen and self.carry_complete and not self.retention_lost + and released and supported and settled and clear + and distance <= self.config.goal_position_tolerance_m and self.critical_contact_ticks == 0) + self.dwell = self.dwell+dt if qualifies else 0. + if self.dwell+1e-12 >= self.config.goal_dwell_s and self.first_success_time is None: + self.first_success_time = self.elapsed + + def pose_action(self, position_m, quaternion_wxyz, gripper_0_255): + if not self.ready or self.done: + raise RuntimeError('Reset is required before another task action') + mj, np = sim._native_imports() + position = np.asarray(_vector(position_m, 3, 'pose position'), dtype=float) + quaternion = np.asarray(_vector(quaternion_wxyz, 4, 'pose quaternion', -1, 1), dtype=float) + if not math.isclose(float(quaternion@quaternion), 1., abs_tol=1e-8, rel_tol=0): + raise ValueError('Pose quaternion must be normalized wxyz') + jaw = _number(gripper_0_255, 'gripper command', 0, 255) + jacp, jacr = np.zeros((3, self.model.nv)), np.zeros((3, self.model.nv)) + mj.mj_jacSite(self.model, self.data, jacp, jacr, self.tcp) + current, rotation = np.empty(4), np.empty(3) + mj.mju_mat2Quat(current, self.data.site_xmat[self.tcp]) + mj.mju_subQuat(rotation, quaternion, current) + # mju_subQuat returns angular velocity in the current local frame; + # site rotational Jacobians are in world coordinates. + rotation = self.data.site_xmat[self.tcp].reshape(3, 3) @ rotation + translation = position-self.data.site_xpos[self.tcp] + for error, maximum in ((translation, .018), (rotation, .04)): + norm = float(np.linalg.norm(error)) + if norm > maximum: + error *= maximum/norm + jacobian = np.vstack((jacp[:, self.arm_dof], .25*jacr[:, self.arm_dof])) + error = np.concatenate((translation, .25*rotation)) + delta = jacobian.T @ np.linalg.solve(jacobian@jacobian.T+.012**2*np.eye(6), error) + delta = np.clip(delta, -.06, .06) + targets = np.clip(self.data.qpos[self.arm_qpos]+delta, + self.model.actuator_ctrlrange[:6, 0]+.02, self.model.actuator_ctrlrange[:6, 1]-.02) + return {'joint_targets_rad': targets.tolist(), 'gripper_0_255': jaw} + + def step(self, action): + if not self.ready or self.done: + raise RuntimeError('Reset is required before another task step') + if type(action) is not dict or set(action) != {'joint_targets_rad', 'gripper_0_255'}: + raise ValueError('Task action requires six joint targets and one native gripper command') + mj, np = sim._native_imports() + targets = np.asarray(_vector(action['joint_targets_rad'], 6, 'joint targets'), dtype=float) + jaw = _number(action['gripper_0_255'], 'gripper command', 0, 255) + if np.any(targets < self.model.actuator_ctrlrange[:6, 0]) or np.any(targets > self.model.actuator_ctrlrange[:6, 1]): + raise ValueError('Task joint target exceeds native actuator limits') + if not self._finite(): + self.reason, self.done = 'invalid_state', True + return None, -1., True, False, self.info() + before_distance = float(np.linalg.norm(self.data.xpos[self.block]-self.config.target_position_m)) + messages = [] + with sim.native_warnings(messages): + for _ in range(round(self.config.control_dt/self.config.timestep)): + self.command_targets += np.clip(targets-self.command_targets, + -self.config.joint_target_rate_rad_s*self.config.timestep, + self.config.joint_target_rate_rad_s*self.config.timestep) + self.command_gripper += float(np.clip(jaw-self.command_gripper, + -self.config.jaw_target_rate_0_255_s*self.config.timestep, + self.config.jaw_target_rate_0_255_s*self.config.timestep)) + self._controls() + mj.mj_step(self.model, self.data) + mj.mj_forward(self.model, self.data) + self.elapsed += self.config.timestep + if not self._finite(): + self.reason, self.done = 'invalid_state', True + break + if messages or any(x.number for x in self.data.warning): + self.reason, self.done = 'solver_warning', True + break + counts, forces, supported, critical = self._contacts() + both = all(counts[side] > 0 for side in ('left', 'right')) + lift = float(self.data.xpos[self.block, 2]-self.initial_object_position[2]) + velocity = np.empty(6) + mj.mj_objectVelocity(self.model, self.data, mj.mjtObj.mjOBJ_BODY, self.block, velocity, 0) + distance = float(np.linalg.norm(self.data.xpos[self.block]-self.config.target_position_m)) + drivers = self.data.qpos[self.linkage_qpos[[0, 4]]] + released = not any(counts.values()) and bool(np.max(drivers) < .1) + settled = np.linalg.norm(velocity[3:]) < .035 and np.linalg.norm(velocity[:3]) < .3 + clear = self.data.site_xpos[self.tcp, 2] >= self.data.xpos[self.block, 2]+self.config.retreat_clearance_m + self._outcome_tick(both=both, supported=supported, lift=lift, distance=distance, + released=released, settled=settled, clear=clear, + critical=critical, pad_force=max(forces.values())) + self.warnings.extend(messages) + self.steps += 1 + if not self.done and self.steps >= round(self.config.timeout_s/self.config.control_dt): + self.reason, self.done = 'timeout', True + observation = self.observation() if self._finite() else None + info = self.info() + reward = before_distance-info['target_distance_m'] if info['target_distance_m'] is not None else -1. + return observation, reward, self.done and self.reason != 'timeout', self.done and self.reason == 'timeout', info + + +class ReferenceTaskPolicy: + """Authored approach/grasp/place baseline, with no learned model or fallback.""" + def __init__(self, environment): + self.env, self.phase, self.ticks = environment, 'approach', 0 + self.grasp_position = None + self.held_offset = None + + def __call__(self, observation): + _, np = sim._native_imports() + c = self.env.config + obj, tcp, target = (np.asarray(observation[name]) for name in + ('object_position_m', 'tcp_position_m', 'target_position_m')) + jaw = 0. + both = all(observation['grasp_contact_counts'][side] > 0 for side in ('left', 'right')) + if self.phase == 'approach': + goal = obj+np.asarray([0., 0., .13]) + if np.linalg.norm(tcp-goal) < .008: + self.grasp_position = obj+np.asarray([0., 0., .005]) + self.phase, self.ticks = 'descend', 0 + elif self.phase == 'descend': + goal = self.grasp_position + if np.linalg.norm(tcp-goal) < .004: + self.phase, self.ticks = 'close', 0 + elif self.phase == 'close': + goal, jaw = self.grasp_position, 180. + if both and min(observation['pad_normal_forces_n'].values()) > .1 and self.ticks >= 25: + self.held_offset = obj-tcp + self.phase, self.ticks = 'lift', 0 + elif self.phase == 'lift': + goal, jaw = self.grasp_position+np.asarray([0., 0., .13]), 180. + if self.env.lift_seen and np.linalg.norm(tcp-goal) < .008: + self.phase, self.ticks = 'transfer', 0 + elif self.phase == 'transfer': + goal, jaw = target-self.held_offset+np.asarray([0., 0., .13]), 180. + if np.linalg.norm(tcp-goal) < .008: + self.phase, self.ticks = 'place', 0 + elif self.phase == 'place': + goal, jaw = target-self.held_offset, 180. + if observation['table_object_contact_count'] > 0 and np.linalg.norm(obj-target) < .02 and np.linalg.norm(tcp-goal) < .006: + self.phase, self.ticks = 'release', 0 + elif self.phase == 'release': + goal = target-self.held_offset + if not any(observation['grasp_contact_counts'].values()) and self.ticks >= 35: + self.phase, self.ticks = 'retreat', 0 + else: + goal = target+np.asarray([0., 0., .135]) + if np.linalg.norm(tcp-goal) < .008: + self.phase = 'verify' + self.ticks += 1 + return self.env.pose_action(goal.tolist(), c.tool_orientation_wxyz, jaw) + + +def run_episode(assets, config=None, *, seed=0, control='placement', arm_tape=None): + """Retain every issued decision and native state for one attempted episode.""" + config = ReferenceTaskConfig() if config is None else config + if not isinstance(config, ReferenceTaskConfig): + raise TypeError('config must be ReferenceTaskConfig') + if control not in ('placement', 'hold', 'replay_open_jaw'): + raise ValueError('Unknown reference task control') + started = time.perf_counter() + attempt = {'schema': SCHEMA, 'profile': PROFILE, 'scope': SCOPE, 'physical_robot_ready': False, + 'seed': seed, 'control': control, 'config': asdict(config), 'timestep_seconds': config.timestep, + 'simulated_seconds': 0., 'valid': False, 'success': False, 'reason': 'not_started', + 'error': None, 'warnings': [], 'trajectory': [], 'actions': [], 'arm_tape': [], + 'metrics': {}, 'timing': {}, 'contract': task_contract()} + source_root = Path(__file__).parent + attempt['implementation_sha256'] = {name: sha256((source_root / name).read_bytes()).hexdigest() + for name in ('reference_task.py', 'reference_sim.py', 'reference_assets.lock.json')} + environment, phase, latencies = None, 'validation', [] + try: + if control == 'replay_open_jaw': + if type(arm_tape) is not list or len(arm_tape) != round(config.timeout_s/config.control_dt): + raise ValueError('Open-jaw control requires exactly one arm target for every configured control tick') + arm_tape = [list(_vector(row, 6, 'replay arm target')) for row in arm_tape] + phase = 'setup' + attempt['asset_provenance'] = sim.verify_assets(assets) + environment = ReferenceTaskEnv(assets, config) + observation, info = environment.reset(seed=seed) + attempt['compiled_model_sha256'] = sim.model_digest(environment.model) + attempt['initial_object_position_m'] = environment.initial_object_position.tolist() + attempt['target_position_m'] = list(config.target_position_m) + attempt['trajectory'].append(observation) + attempt['timing']['setup_seconds'] = time.perf_counter()-started + policy = ReferenceTaskPolicy(environment) + hold = list(observation['joint_position_rad']) + phase = 'rollout' + for index in range(round(config.timeout_s/config.control_dt)): + began = time.perf_counter() + if control == 'placement': + action = policy(observation) + action_phase = policy.phase + else: + action = {'joint_targets_rad': hold if control == 'hold' else arm_tape[index], + 'gripper_0_255': 0.} + action_phase = control + record = {'t_seconds': observation['t_seconds'], **action, 'phase': action_phase} + attempt['actions'].append(record) + attempt['arm_tape'].append(list(action['joint_targets_rad'])) + observation['issued_joint_targets_rad'] = list(action['joint_targets_rad']) + observation['issued_gripper_0_255'] = action['gripper_0_255'] + observation['command'] = record + observation, _, terminated, truncated, info = environment.step(action) + latencies.append(time.perf_counter()-began) + if observation is not None: + attempt['trajectory'].append(observation) + if terminated or truncated: + break + attempt.update(valid=info['valid'], success=info['success'], reason=info['reason'], + simulated_seconds=info['simulation_time'], warnings=info['warnings'], metrics=info) + except Exception as exc: + attempt['error'] = {'phase': phase, 'type': type(exc).__name__, 'message': str(exc)[:500]} + attempt['reason'] = 'exception' + if environment is not None: + attempt['warnings'] = list(getattr(environment, 'warnings', [])) + attempt['simulated_seconds'] = getattr(environment, 'elapsed', 0.) + elapsed = time.perf_counter()-started + attempt['timing'].update(episode_wall_seconds=elapsed, + control_step_seconds=sim._summary(latencies) if latencies else None, + missed_control_boundaries=sum(latency > config.control_dt for latency in latencies), + control_boundaries=len(latencies), + simulated_seconds_per_wall_second=attempt['simulated_seconds']/elapsed, + scope='Wall computation, not real-time sensor-to-actuator latency. Includes setup, policy/IK, native physics, contacts, observations and trace construction; excludes process startup, output I/O and rendering') + return attempt + + +def run_matched(assets, config=None, *, seed=0): + placement = run_episode(assets, config, seed=seed) + controls = [run_episode(assets, config, seed=seed, control='replay_open_jaw', arm_tape=placement['arm_tape'])] + controls.append(run_episode(assets, config, seed=seed, control='hold')) + return [placement, *controls] diff --git a/benchmarks/piper-contact-development-20261011/sources/r0/robot_profiles.lock.json b/benchmarks/piper-contact-development-20261011/sources/r0/robot_profiles.lock.json new file mode 100644 index 0000000..a8ef55f --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/sources/r0/robot_profiles.lock.json @@ -0,0 +1,898 @@ +{ + "schema": "dvidia.robot-profiles-lock/v1", + "repository": "https://github.com/google-deepmind/mujoco_menagerie", + "commit": "0059d4335f8156206f63a35662313385f7ad6d74", + "profiles": [ + { + "id": "piper", + "name": "AgileX PiPER", + "folder": "agilex_piper", + "model": "piper.xml", + "simulation_asset_license": "MIT", + "arm_axes": 6, + "gripper_axes": 1, + "arm_joint_names": [ + "joint1", + "joint2", + "joint3", + "joint4", + "joint5", + "joint6" + ], + "gripper_joint_names": [ + "joint7", + "joint8" + ], + "actuator_names": [ + "joint1", + "joint2", + "joint3", + "joint4", + "joint5", + "joint6", + "gripper" + ], + "native_command_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "m" + ], + "expected_dimensions": { + "nq": 8, + "nv": 8, + "nu": 7, + "neq": 1 + }, + "tool_frame_body": "link6", + "tool_frame_scope": "terminal arm link origin; not a calibrated fingertip TCP", + "gripper_command": "single-finger slide target in metres, native range [0,0.035]; not total jaw gap", + "sdk_url": "https://github.com/agilexrobotics/piper_sdk", + "hardware_url": "https://global.agilex.ai/products/piper", + "upstream_model_url": "https://github.com/google-deepmind/mujoco_menagerie/tree/0059d4335f8156206f63a35662313385f7ad6d74/agilex_piper", + "openness_scope": "The stated license covers these pinned simulation assets; SDK and physical design licenses must be assessed separately.", + "files": [ + { + "path": "agilex_piper/CHANGELOG.md", + "bytes": 145, + "sha256": "d54aa5c57eb44153e86ecea15f247bbf6a708100e2d4744b8540eadc274e04f0", + "git_blob_sha1": "858f2eee85026e4999f2335230b6612be7c0b376" + }, + { + "path": "agilex_piper/LICENSE", + "bytes": 1065, + "sha256": "e32d78fd3761052ab0b2bb42fef8a7a9ad3f298d315d305333c349d2aff1f134", + "git_blob_sha1": "1ace5a240f199be4ae0567bed99051213893345c" + }, + { + "path": "agilex_piper/README.md", + "bytes": 1681, + "sha256": "ab0d218758ec6c298417407962f49179e369236e8f316dbaa7671756d6f8eb77", + "git_blob_sha1": "7a300b81e0556b580ed4e4942bf0aaa9c90944a8" + }, + { + "path": "agilex_piper/assets/base_link.stl", + "bytes": 535084, + "sha256": "fd9c5c5816513cae313b6bee70f95474faadd136eb3ea19c68ffa451dfcd962a", + "git_blob_sha1": "f9ad9da087272dd1916f7f3f872d5236f6a0c0fd" + }, + { + "path": "agilex_piper/assets/link1.stl", + "bytes": 938084, + "sha256": "2288b210ac2a4a0a6150cbe024870e6d1eee21dea320d5d6d19d17eb3099b8ea", + "git_blob_sha1": "f29ff2628b6a8bf620b4f9fb7039df790749154d" + }, + { + "path": "agilex_piper/assets/link2.stl", + "bytes": 3595884, + "sha256": "02e1d9f50eafe7ed69f2352317871e24f758c6181c2c2b192d43999122bc48aa", + "git_blob_sha1": "2c3ab29ec2ebba230d78d6a708c880dfa44761fb" + }, + { + "path": "agilex_piper/assets/link2_0.obj", + "bytes": 3388066, + "sha256": "2f44a3bfb67e36f2fb148ef4021ec18a644365b0bb7f43b2f5fdcaef8c42970d", + "git_blob_sha1": "d3289a5d714821b5ccb728934161133b96e250b1" + }, + { + "path": "agilex_piper/assets/link2_1.obj", + "bytes": 100403, + "sha256": "5b65b00f6046695a4911f14cc95e5022fc68aa5a456932f2d91d1d80dabd05f4", + "git_blob_sha1": "923fec63aed4991faddda4961f91e35142e20d0d" + }, + { + "path": "agilex_piper/assets/link2_10.obj", + "bytes": 29779, + "sha256": "c4b0ac50cdf34d6774c9dd248ac79450d2077497c1696443a02e36d25f1b724c", + "git_blob_sha1": "5d1f265a4273d707666caeb846db81689380d35e" + }, + { + "path": "agilex_piper/assets/link2_11.obj", + "bytes": 58387, + "sha256": "525a33293c587749f6cfa6f4e0341a0e791be887e7e72b5493feb53dca74e4d5", + "git_blob_sha1": "b34ad25291e33e2c66dd545c8fed0d9306109f62" + }, + { + "path": "agilex_piper/assets/link2_12.obj", + "bytes": 55034, + "sha256": "f2736682eb7d11e96cbded267e617f0512c17d3b85fd047575c265d3780c4728", + "git_blob_sha1": "58389b5bfc3e5f4f1d4a185ee4d93acf1271cb2e" + }, + { + "path": "agilex_piper/assets/link2_13.obj", + "bytes": 29671, + "sha256": "d3ec5463a6a9c5ccef97475514d4a536739eba3701c5a8a1a196813e27ec2a46", + "git_blob_sha1": "f494b675aeac5e126beaa8e8f1a204eb8cefdc5e" + }, + { + "path": "agilex_piper/assets/link2_14.obj", + "bytes": 59190, + "sha256": "9faa61dbe96d976271574458ad9aa5883d6b663770a191fb62f8b8dd78d389d4", + "git_blob_sha1": "30dbf5b48b5452adb6f1c5a3193c8f930ea3ef4b" + }, + { + "path": "agilex_piper/assets/link2_15.obj", + "bytes": 29439, + "sha256": "a39acb181508ebb84b9269438f275fe57c26dcdeb4b64856fb4251975ce78cbd", + "git_blob_sha1": "ed8de528fe22872d31129c4b2215b8da3b4868c9" + }, + { + "path": "agilex_piper/assets/link2_16.obj", + "bytes": 53557, + "sha256": "273b405e484c5ae97c442732590ea0e9dfa7af99cf5c2680515f091b6591f526", + "git_blob_sha1": "5a51f30391e4af7da1d4d81fc7ee874f2015526e" + }, + { + "path": "agilex_piper/assets/link2_17.obj", + "bytes": 29281, + "sha256": "c62f2c6de9f94def5f46c79c57e605464888804660599790ae0c3cf1b996ed92", + "git_blob_sha1": "103a6fcdef56fd3cf0d90c29aed7349cace632b3" + }, + { + "path": "agilex_piper/assets/link2_18.obj", + "bytes": 23997, + "sha256": "3ce81fde3f5605af76340686dd82e67372dfcd2fe15c08bb5a0dbe275b400b70", + "git_blob_sha1": "1dba62daa44ce61a14ef616370fe7f00fa0f19b6" + }, + { + "path": "agilex_piper/assets/link2_19.obj", + "bytes": 32457, + "sha256": "39691e367fff1b6dd176c7e27cf8496e6166e41e3f26d98ba4f562834aa3aa57", + "git_blob_sha1": "33f99f9d1ffb48de04dbea173dc4a8bddb7988a7" + }, + { + "path": "agilex_piper/assets/link2_2.obj", + "bytes": 99885, + "sha256": "9b0c2ca0300bc1366a29bd0e71d8275c6f81f311349f783845cf6d1bec59de46", + "git_blob_sha1": "cd470a8505322c136ef7a9f5c195119b99a7c789" + }, + { + "path": "agilex_piper/assets/link2_20.obj", + "bytes": 43817, + "sha256": "f7123aa41c3b043788097b8660728eed3cbce327d0f54f23959d31e302b28557", + "git_blob_sha1": "c462d02088d2aa5a993395720697c94edc53653a" + }, + { + "path": "agilex_piper/assets/link2_21.obj", + "bytes": 39258, + "sha256": "6ffff4a218cd218de6041cc3425189fa737c74ed3cbf17de79401f9673d1a524", + "git_blob_sha1": "4217db71c544c9726bffa5887a7442103d25d098" + }, + { + "path": "agilex_piper/assets/link2_22.obj", + "bytes": 31373, + "sha256": "9b0be27413ffdba150f63c456aa7ccb5ed9cd2cc907adf8e09824263c6edf63b", + "git_blob_sha1": "a5ed5a665bc93502e130c8b4a0d334f1bfde49c0" + }, + { + "path": "agilex_piper/assets/link2_23.obj", + "bytes": 43902, + "sha256": "e0a34cd191bfedfc0a71c1bf478222c9d694dc305bf59efb37b357260cc90335", + "git_blob_sha1": "27a226ce929f179c4c503016125d04cc4206ab4d" + }, + { + "path": "agilex_piper/assets/link2_24.obj", + "bytes": 39526, + "sha256": "2012cbea054ddefb6f7308e86be07e4a382a5f516673f4f95fb77250bc2dc1cc", + "git_blob_sha1": "13ce81f89b79b92a7c5c5127348ef8433748e625" + }, + { + "path": "agilex_piper/assets/link2_25.obj", + "bytes": 24111, + "sha256": "a44629754983f45de28d7a9ad827ea30d2e6ee9565a7741f86f505636808ddfb", + "git_blob_sha1": "5f5d981b21daf475ea0e2145c9dd632922c59e78" + }, + { + "path": "agilex_piper/assets/link2_26.obj", + "bytes": 51974, + "sha256": "f2c2140893951632fc4f0f4c5428cdac234c131d0e3dbcddf4e90c3446663f11", + "git_blob_sha1": "1e7c9f811c5f74c988fccf06500965b04164d81e" + }, + { + "path": "agilex_piper/assets/link2_27.obj", + "bytes": 24075, + "sha256": "a8078b9214cf7c8980dc567bd6ab6367b98ff0f568e907867554458fa1b1ab93", + "git_blob_sha1": "4fff84e8cb5391b3f1eac188faa5c453165bf5d2" + }, + { + "path": "agilex_piper/assets/link2_28.obj", + "bytes": 12884, + "sha256": "b72a71a458fc99d2429991fb3d0e86b717d93af2c489dafdcdff6629ac7ee0ac", + "git_blob_sha1": "eea332c3048c9f2b801ef8bde9fcd13129d89ad3" + }, + { + "path": "agilex_piper/assets/link2_29.obj", + "bytes": 25090, + "sha256": "56c22bba80c0b62036148b9b0e7844a342d6dd485fc0570d98b84a7cdb63cbec", + "git_blob_sha1": "3bf7eb67f1555ee2fd70927ce1aec38fd79f4d4d" + }, + { + "path": "agilex_piper/assets/link2_3.obj", + "bytes": 282937, + "sha256": "b77b1bb82f0884edfce81287d63af47f9182975dfebd4f6698f52610e085481b", + "git_blob_sha1": "3fe63f019200cac9860ab6f34a1d6e7a12f74983" + }, + { + "path": "agilex_piper/assets/link2_30.obj", + "bytes": 12280, + "sha256": "525d7dfae5bcbb7d60c86ca52103a6def0b47fa0ae18dadda7f5e2282d1fd894", + "git_blob_sha1": "0ff2accf7f221afaa35618c3557b8b6d366414d5" + }, + { + "path": "agilex_piper/assets/link2_31.obj", + "bytes": 4621268, + "sha256": "db4ebec6fdcdd5f7a9cfe0986b3d7680bad4d71708f3dacb5c0ff7c9842d8632", + "git_blob_sha1": "103a8ecfaa09c4dd0385dd53c223d26f5df5b584" + }, + { + "path": "agilex_piper/assets/link2_4.obj", + "bytes": 274531, + "sha256": "30e76263f4b8c94b7df6b62f846ac8cb46d32d11fbc1b84e4a417993e09b0e06", + "git_blob_sha1": "fc0f84fdb99707ede0fb74db51d47dea0fa3f59c" + }, + { + "path": "agilex_piper/assets/link2_5.obj", + "bytes": 29647, + "sha256": "43b61bb3fdc6ad91b973b860b11f59094bb400497e19de76725698dde2c87cff", + "git_blob_sha1": "5f54e060b30ea841f9946e99a0a53931f8bebf55" + }, + { + "path": "agilex_piper/assets/link2_6.obj", + "bytes": 30085, + "sha256": "1d8c48045ea3da9d40bc5dad27d589f44ea705867f53e8546c13af88c32238d6", + "git_blob_sha1": "6029251f4eb245c92d025307927b109eda920f26" + }, + { + "path": "agilex_piper/assets/link2_7.obj", + "bytes": 52047, + "sha256": "7036e70d8e869de5d52f2a0cb6661430e9a0a3dfbcf9c08f3cf6344a8893fcbc", + "git_blob_sha1": "149961f1003ea390d05ccab73875367d28e0fe39" + }, + { + "path": "agilex_piper/assets/link2_8.obj", + "bytes": 53837, + "sha256": "5201670ce6c0f34de7770f4079b83d5fb2f815c60e6af69b545e055b74e99092", + "git_blob_sha1": "0dc54a211e59374fc5372b18ecf0da8ed602f78f" + }, + { + "path": "agilex_piper/assets/link2_9.obj", + "bytes": 55512, + "sha256": "af4a6540278f1694def7f09a355bd967e7840dc67ea02b5e75cf9a5cec348315", + "git_blob_sha1": "8b314083f9159cd2479a3d289853cc0e4121fed7" + }, + { + "path": "agilex_piper/assets/link2_gray.stl", + "bytes": 41284, + "sha256": "891335b5109fb65d3dddb4888dc0c318bca33b7fb6809ab31a6998dbf848a4a6", + "git_blob_sha1": "923708414163c51c1c9489c7fa709335d61af4c9" + }, + { + "path": "agilex_piper/assets/link2_red.stl", + "bytes": 191084, + "sha256": "1279d1bbf9ffee557ec9ee95eefd80e86cf88ed7d7960a6bd56e6871e56d335b", + "git_blob_sha1": "550716b85041a917e8b2cde6f2fadee9b7341804" + }, + { + "path": "agilex_piper/assets/link3.stl", + "bytes": 2703584, + "sha256": "3ed8aa63ae21403d85d0f818d4d6a098eff435b2eb7d2372306857c9c5538f50", + "git_blob_sha1": "56c2bf45abd6d8ce6d5bfe6d732a98a04d3d4126" + }, + { + "path": "agilex_piper/assets/link3_0.obj", + "bytes": 314533, + "sha256": "eb211f9bce1811834760b1387aab0e8c1ff11ebd3bb5aa89fa3fe2cc537e51c1", + "git_blob_sha1": "26a21dbb104b99f4fc1c7b569d624ae256f96c0c" + }, + { + "path": "agilex_piper/assets/link3_1.obj", + "bytes": 4236, + "sha256": "2e880f0454de98559bae42e8b7d323e5226692e4af9f8a50ed4b7f8e6dc906e9", + "git_blob_sha1": "12dc2bf84617e9dd06e6dcb1061c6160906c7bd1" + }, + { + "path": "agilex_piper/assets/link3_10.obj", + "bytes": 11974, + "sha256": "d314f8101be5ba36289c4c7475a5c45504e09c9a9fd453d3167ec410833e3823", + "git_blob_sha1": "ce51455b164f4854c09887eafdabe368b9221817" + }, + { + "path": "agilex_piper/assets/link3_11.obj", + "bytes": 20406, + "sha256": "4c8ab2f5fb630127d954cf6be38da416b8627204643f1d4abd4b055d270bd346", + "git_blob_sha1": "25aaa35997a5c066b055b8d855e89cbe9073e456" + }, + { + "path": "agilex_piper/assets/link3_12.obj", + "bytes": 24374, + "sha256": "bb3b1f3200ac8c6fb3807db2f032819e9cba9a942b48d0ee8dc5777c7507e4f5", + "git_blob_sha1": "d30cf3dcf9192818ab056ff4f96d504056becad8" + }, + { + "path": "agilex_piper/assets/link3_13.obj", + "bytes": 28094, + "sha256": "69b34c59953286bc059a88a38d7fb818881a419ee2b03d801a3f6407c23cc525", + "git_blob_sha1": "5b68eef9f81b1f0aff2745ccc22f5f49f33f7476" + }, + { + "path": "agilex_piper/assets/link3_14.obj", + "bytes": 2236465, + "sha256": "9fc1bacbb5c7c4fc1006aca33bc6ca94717edc9e2415f94773d7d645c14b47e7", + "git_blob_sha1": "8c74e8300129f0ad948dbc38a5d0bfe832eef268" + }, + { + "path": "agilex_piper/assets/link3_15.obj", + "bytes": 361248, + "sha256": "c21278046e13ef3875e6703ed55b5b50837c78072d1b30218e61873f88896553", + "git_blob_sha1": "49255a6b82be626ff79ee6350b193819c74398e4" + }, + { + "path": "agilex_piper/assets/link3_16.obj", + "bytes": 410181, + "sha256": "a9d63ea9f2a334e2f68c657ad3493c294caedaab3bf1fe3efd89063c62a6d04b", + "git_blob_sha1": "442d11df89c7be63a34c4cc2e96e847c26478d3e" + }, + { + "path": "agilex_piper/assets/link3_17.obj", + "bytes": 328947, + "sha256": "a540b4325a096b17575f853165ba9c57b3743255f88c2d1076c916de397e24bd", + "git_blob_sha1": "2df4f49e59563cab88f2230c110de9d2ddbb0ecf" + }, + { + "path": "agilex_piper/assets/link3_18.obj", + "bytes": 485677, + "sha256": "3315ddfb4fb0cc496411284f01575205bb665810e47e2a03e3d96a570490ef57", + "git_blob_sha1": "5689ea1e2193bd8794ea24d0c121ae3ee4c6af00" + }, + { + "path": "agilex_piper/assets/link3_19.obj", + "bytes": 441403, + "sha256": "b945dc6e756c049bf6734dab4a485374ce6cefca00478f2e06520664003911e0", + "git_blob_sha1": "67ec3c91f88360c7391ea0c5535c0706d44adfc5" + }, + { + "path": "agilex_piper/assets/link3_2.obj", + "bytes": 12776, + "sha256": "61f9aa738ed625e189d401ed380ae4198e7317854ea352ab1494aa760de6d522", + "git_blob_sha1": "87eca49d38efbcd48e8ea21fe5b649056fbd86c7" + }, + { + "path": "agilex_piper/assets/link3_20.obj", + "bytes": 371433, + "sha256": "c622a302f1beb5d536178c6d2d4ed040d3813418c70e624bdbaa3e518392ab8e", + "git_blob_sha1": "1bf067c1f87416008228d6f7bf5f9cad80bfa00b" + }, + { + "path": "agilex_piper/assets/link3_21.obj", + "bytes": 366150, + "sha256": "d4cddc3ab6e624953f617dd0bde38a4ba16c896cde08fe145a3c5de4374e41d8", + "git_blob_sha1": "ce8914e49cc392267283972b4982980866edde22" + }, + { + "path": "agilex_piper/assets/link3_22.obj", + "bytes": 406666, + "sha256": "cebfa57377d59979668eaf5138ae67cfb4e4174f35dd399cb8bcb3ba579b5f30", + "git_blob_sha1": "0b553507026cdd21e401bded74b9e5340dbb486d" + }, + { + "path": "agilex_piper/assets/link3_23.obj", + "bytes": 372094, + "sha256": "0c4baba793261715bf3d0b08402306f4fcc7c0b677d61ae92ae14abbf6eac92d", + "git_blob_sha1": "dca1d8ec4609f96890448e5af82530fe6e711264" + }, + { + "path": "agilex_piper/assets/link3_24.obj", + "bytes": 27673, + "sha256": "ef5b5780161af47cda0651416b43c377a95adffb1d095e270cf4722e81811da9", + "git_blob_sha1": "a7b1c526939b07a27e32bde3d747e07763e01ce3" + }, + { + "path": "agilex_piper/assets/link3_25.obj", + "bytes": 27968, + "sha256": "99e9de5b421cec36ba4755737832e80615a478a2bfde7dff21ce46f0843c3dd5", + "git_blob_sha1": "2bb433399cbb7aecbfa5746f92324eb9ce3cf423" + }, + { + "path": "agilex_piper/assets/link3_26.obj", + "bytes": 28048, + "sha256": "d95e4318b185e58def277c7365efb3bbeff929f8400e266f686361bf7876ccc6", + "git_blob_sha1": "973660334f4e1c00b1786d174bed2cb728693fcf" + }, + { + "path": "agilex_piper/assets/link3_27.obj", + "bytes": 593047, + "sha256": "5d38cceb70f130efe6a2d77dc4dc58d2bed7f1679fbbae6c48e58d5a0c58a5ab", + "git_blob_sha1": "f1617cdc13207ea4fc0cd77eb48f978b83726f11" + }, + { + "path": "agilex_piper/assets/link3_28.obj", + "bytes": 385831, + "sha256": "62c52edf1d67808f7f6739b0ba2fc387b0465f362f50eba415d459f2b6241148", + "git_blob_sha1": "8a9eec4ee3fd2bba28882bd09f11aaa1587402ef" + }, + { + "path": "agilex_piper/assets/link3_3.obj", + "bytes": 21158, + "sha256": "82430d358437e045d74d0f829acc27fbd30900dd59bc113ed5bbc146524e5afa", + "git_blob_sha1": "ece273c010cac22ac7d5e3273d2a9ceedb28ca10" + }, + { + "path": "agilex_piper/assets/link3_4.obj", + "bytes": 24968, + "sha256": "bd40cb87fff5c678b571b1abbb3435618b07c7fab5875f71c894a434a7203254", + "git_blob_sha1": "099a0f5a01acc9d266ecbf05dfcc0564a453449e" + }, + { + "path": "agilex_piper/assets/link3_5.obj", + "bytes": 29032, + "sha256": "ed69d967cb2c1b4533042727ba3a1d56148afdc13bdea019b05c51ddd6bd42a3", + "git_blob_sha1": "6c7a54a2ffef1d70d40d4be9e363544f6f39638f" + }, + { + "path": "agilex_piper/assets/link3_7.obj", + "bytes": 306050, + "sha256": "334b08b12313bffcc34af5cc9af8a08073d25ce9fd1db9d518087f1ee080476b", + "git_blob_sha1": "e3c5c7023959b0b7b2bd2f70525f5c868ed7273e" + }, + { + "path": "agilex_piper/assets/link3_8.obj", + "bytes": 18174, + "sha256": "58893e8ea1f2a1a732689747513b4d4855863c7f65f3c21594d0c8dceeebe002", + "git_blob_sha1": "d866ac46cb06f0ebad304a28743c46ba50a8c768" + }, + { + "path": "agilex_piper/assets/link3_9.obj", + "bytes": 4134, + "sha256": "b5805f1cca9993e06f34d20e703d3ccee6dddedb25cb6c4f14d53dab856b95d3", + "git_blob_sha1": "1d73f7a9ff6e0c4d47e4ea8b316f17300d083dcb" + }, + { + "path": "agilex_piper/assets/link4.stl", + "bytes": 730484, + "sha256": "e58f7bfa284c7a6a23faf3945ffba5735d5d7c168953d8947c8ff09428f8881a", + "git_blob_sha1": "6077b622cd7a06473ce703221106f5c5e731c6cb" + }, + { + "path": "agilex_piper/assets/link4_2.obj", + "bytes": 496498, + "sha256": "8ff1075944a0ac7f54295b44cf6d1474daf81e968f19c03ac892b921aaa6cb85", + "git_blob_sha1": "154ec12b183273e25c0b67ad93dbbeac31883a8e" + }, + { + "path": "agilex_piper/assets/link4_3.obj", + "bytes": 389641, + "sha256": "1f76a433db58d61e71364d08223341de0d900cc048aa02f481568d919f06ec05", + "git_blob_sha1": "168ee256f67bb93935715444a92748b38f7fb009" + }, + { + "path": "agilex_piper/assets/link4_4.obj", + "bytes": 188047, + "sha256": "49d3390041498df885e647ff9e00af72c18feb16d421a074771c87662e34d3f6", + "git_blob_sha1": "dfa070074072cd2a1b8cbe639dc187cc274c0524" + }, + { + "path": "agilex_piper/assets/link4_5.obj", + "bytes": 390967, + "sha256": "a180f6d5aa83e7153d8b32257f35ca08c8520ddffad0344959a7ff40117a63d2", + "git_blob_sha1": "9f1236ec76ace4c351aa894f56582bd9c7933263" + }, + { + "path": "agilex_piper/assets/link4_6.obj", + "bytes": 315503, + "sha256": "755bed6a3ea29a45ce000fa42db84e6eb5d4f719c04f6f7e52705df933027c1c", + "git_blob_sha1": "fa9a54d142a9738e001a967e8b4a1f1a0d03c0b5" + }, + { + "path": "agilex_piper/assets/link5.stl", + "bytes": 1147884, + "sha256": "76d638a20581ce52befc3adc360bf7cf769937befc03803a485e6c689ce316fd", + "git_blob_sha1": "6b6f5ee6ea996a33b198ce3e0580b50d5a30696f" + }, + { + "path": "agilex_piper/assets/link5_2.obj", + "bytes": 313882, + "sha256": "b12395b1f63009f3b716a0a18519693e1114205f2c90c61fca75c00faa00252e", + "git_blob_sha1": "3f48e736b5ca589adff4f6497602c53a535668d9" + }, + { + "path": "agilex_piper/assets/link5_3.obj", + "bytes": 86793, + "sha256": "05feb3afbc6d4a0114561237bdafc10d28a6743c9c1912503be3b9567551d99a", + "git_blob_sha1": "74be807a5761be91dffea478f6e2154f1a5ffc52" + }, + { + "path": "agilex_piper/assets/link5_4.obj", + "bytes": 485245, + "sha256": "76a6db8f453e627871a6000f50cdfb8ea6603c30ff2c985f3a2ef72c4e20273d", + "git_blob_sha1": "341a3ecbcae8b2b3170c1721926abd83b1d33d6a" + }, + { + "path": "agilex_piper/assets/link5_5.obj", + "bytes": 237046, + "sha256": "7e5e43c40857ac14b5b2a60456a55cd0bc60162f8151348c7b2c47bfa5d4513a", + "git_blob_sha1": "16605db3217caa8a9aae37cf6eb7b8e10ee7f529" + }, + { + "path": "agilex_piper/assets/link5_6.obj", + "bytes": 689622, + "sha256": "bedac642badd06af0d9a5834eda868f1577a926fad59e6d15a5d5252a3d950f5", + "git_blob_sha1": "d4a80c6ad6650e40cb1d62c95af10f0af3a44381" + }, + { + "path": "agilex_piper/assets/link5_7.obj", + "bytes": 1081203, + "sha256": "52b6bff4dfd2f3fe18b2fb676d05f2da30ab4053300c11ef0e1dbfab46058028", + "git_blob_sha1": "750598d7e93a77819afab21bd7c94c7019a0a2ae" + }, + { + "path": "agilex_piper/assets/link5_8.obj", + "bytes": 335282, + "sha256": "ee698e03a1ed3828abca997290ca93aef140476616ab81d7baacd9c45fc6698a", + "git_blob_sha1": "08975a4036619130951be09f8c0b5163f7a8dd8a" + }, + { + "path": "agilex_piper/assets/link6.stl", + "bytes": 671184, + "sha256": "e0b2050ba81a45c79c045b9f13e3d1dd11f84bca1beb12eebc3102651c8476cf", + "git_blob_sha1": "40e0d81827fb1f9ff69424d0328d355cf2c803a7" + }, + { + "path": "agilex_piper/assets/link7.stl", + "bytes": 91984, + "sha256": "907dcdd10498a9d2e9317e42f550570a4ca522d1c4ff7b7c8721fd5cb951e481", + "git_blob_sha1": "ef2a30ca89fe970588b4fdbfcf58e9ceb6b8565e" + }, + { + "path": "agilex_piper/assets/link8.stl", + "bytes": 91884, + "sha256": "5552c0fda737f3abfa1e324ee8a4284dc473a17a0ca5fcbf35d61ca3e6701a18", + "git_blob_sha1": "f8e75c1d7bc6e77b7cd2cc5d30ef773c88fc5e64" + }, + { + "path": "agilex_piper/assets/linke2_dark_gray.stl", + "bytes": 17284, + "sha256": "6d2ef825b5f4291be6e44e4fb7cdae03eac3a3df08b0d777b776690ec9d07426", + "git_blob_sha1": "2a33b3dac2dd03fb2e92e65e8a0b24500a8c478c" + }, + { + "path": "agilex_piper/piper.png", + "bytes": 1378578, + "sha256": "3826ccfb2aed85eaeef2f48604fd5059caa764ac47fcf928b5c3a3d8ec02c682", + "git_blob_sha1": "1270421db3b4cb27dfc09dd8e27ac02fc4d9f738" + }, + { + "path": "agilex_piper/piper.xml", + "bytes": 14537, + "sha256": "a7b5b5d3b2a68d5c553b2ee9665d54a422bd8bf1fa6f3251bc11834993d37098", + "git_blob_sha1": "8b8962d805b519bc25f764316abf65bb3f6d8f37" + }, + { + "path": "agilex_piper/scene.xml", + "bytes": 819, + "sha256": "a4146e916ab3a85f5cfdc4139e2844b686bdaa2109f6ce2486df7e43b53bf602", + "git_blob_sha1": "3025eb80f088a9075e55561efa89a2929b5dfe2a" + } + ], + "native_joint_position_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "m", + "m" + ], + "native_actuator_force_units": [ + "Nm", + "Nm", + "Nm", + "Nm", + "Nm", + "Nm", + "N" + ], + "native_command_range": [ + [ + -2.618, + 2.618 + ], + [ + 0.0, + 3.14 + ], + [ + -2.697, + 0.0 + ], + [ + -1.832, + 1.832 + ], + [ + -1.22, + 1.22 + ], + [ + -3.14, + 3.14 + ], + [ + 0.0, + 0.035 + ] + ] + }, + { + "id": "so101", + "name": "The Robot Studio SO101", + "folder": "robotstudio_so101", + "model": "so101.xml", + "simulation_asset_license": "Apache-2.0", + "arm_axes": 5, + "gripper_axes": 1, + "arm_joint_names": [ + "shoulder_pan", + "shoulder_lift", + "elbow_flex", + "wrist_flex", + "wrist_roll" + ], + "gripper_joint_names": [ + "gripper" + ], + "actuator_names": [ + "shoulder_pan", + "shoulder_lift", + "elbow_flex", + "wrist_flex", + "wrist_roll", + "gripper" + ], + "native_command_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "expected_dimensions": { + "nq": 6, + "nv": 6, + "nu": 6, + "neq": 0 + }, + "tool_frame_body": "gripper", + "tool_frame_scope": "native gripper link origin; not a calibrated fingertip TCP", + "gripper_command": "moving-jaw hinge angle target in radians; not linear jaw gap", + "sdk_url": "https://github.com/huggingface/lerobot", + "hardware_url": "https://github.com/TheRobotStudio/SO-ARM100", + "upstream_model_url": "https://github.com/google-deepmind/mujoco_menagerie/tree/0059d4335f8156206f63a35662313385f7ad6d74/robotstudio_so101", + "openness_scope": "The stated license covers these pinned simulation assets; SDK and physical design licenses must be assessed separately.", + "files": [ + { + "path": "robotstudio_so101/CHANGELOG.md", + "bytes": 391, + "sha256": "ac7f6205e40f0fb2bc08ff3ff4c5e5092dacf8d78cb03f024ae9aae33738acc4", + "git_blob_sha1": "d8318d4c49688f8ea714e4dce5349c4958783d0e" + }, + { + "path": "robotstudio_so101/LICENSE", + "bytes": 11357, + "sha256": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4", + "git_blob_sha1": "261eeb9e9f8b2b4b0d119366dda99c6fd7d35c64" + }, + { + "path": "robotstudio_so101/README.md", + "bytes": 1142, + "sha256": "e2344e7c14290bed85c7907247aecb8bf6cb4392e3de0d7c45680efe9bb9b5a9", + "git_blob_sha1": "65129dba053c84d2ad384b1922cea46b119e9036" + }, + { + "path": "robotstudio_so101/assets/base_motor_holder_so101_v1.stl", + "bytes": 1877084, + "sha256": "8cd2f241037ea377af1191fffe0dd9d9006beea6dcc48543660ed41647072424", + "git_blob_sha1": "cac2b8dd98d3d8a6dcdf429b36aaa4b576d82041" + }, + { + "path": "robotstudio_so101/assets/base_so101_v2.stl", + "bytes": 471584, + "sha256": "bb12b7026575e1f70ccc7240051f9d943553bf34e5128537de6cd86fae33924d", + "git_blob_sha1": "ed10aa61d1181f8001c908ee5cae5c4f970ba417" + }, + { + "path": "robotstudio_so101/assets/motor_holder_so101_base_v1.stl", + "bytes": 1129384, + "sha256": "31242ae6fb59d8b15c66617b88ad8e9bded62d57c35d11c0c43a70d2f4caa95b", + "git_blob_sha1": "9eaf67243a5ffc2dacb3fbd026b4c0620adcdd66" + }, + { + "path": "robotstudio_so101/assets/motor_holder_so101_wrist_v1.stl", + "bytes": 1052184, + "sha256": "887f92e6013cb64ea3a1ab8675e92da1e0beacfd5e001f972523540545e08011", + "git_blob_sha1": "d0aa18b15a9cd63f41fa4d48e82df7a3b618c75d" + }, + { + "path": "robotstudio_so101/assets/moving_jaw_so101_gripper_part0_v1.stl", + "bytes": 50684, + "sha256": "3a92e115d1934d4c45cff808c4eff2ea10361a137a7f89940033a1f8a821b88c", + "git_blob_sha1": "d8dd83494b31952e2f52432bc9624e74bd241030" + }, + { + "path": "robotstudio_so101/assets/moving_jaw_so101_gripper_part1_v1.stl", + "bytes": 342684, + "sha256": "d10f6c671d26f62988ec95efee9370a0657b5833b3c5f8aad59fd69a87ef2aee", + "git_blob_sha1": "ed758675140114dbab751f93ea7d40b8d27e4594" + }, + { + "path": "robotstudio_so101/assets/moving_jaw_so101_gripper_v1.stl", + "bytes": 690384, + "sha256": "e8a5dc040b98e27453a5b74f9087d1dbca14589cf9a17c4de7868d5ab98413cd", + "git_blob_sha1": "f5bd23f855f0d90f73d00abef90576d0c7120719" + }, + { + "path": "robotstudio_so101/assets/moving_jaw_so101_v1.stl", + "bytes": 1413584, + "sha256": "785a9dded2f474bc1d869e0d3dae398a3dcd9c0c345640040472210d2861fa9d", + "git_blob_sha1": "7e8736686592072cf34c7f6e2e6e88f8a3ba60bb" + }, + { + "path": "robotstudio_so101/assets/rotation_pitch_so101_v1.stl", + "bytes": 883684, + "sha256": "9be900cc2a2bf718102841ef82ef8d2873842427648092c8ed2ca1e2ef4ffa34", + "git_blob_sha1": "5c05dee570623f62c4ab7597d76c7bdea20eacea" + }, + { + "path": "robotstudio_so101/assets/sts3215_03a_no_horn_v1.stl", + "bytes": 865884, + "sha256": "75ef3781b752e4065891aea855e34dc161a38a549549cd0970cedd07eae6f887", + "git_blob_sha1": "2a89597702f5ec6849b6b1b894c867b35b98ca42" + }, + { + "path": "robotstudio_so101/assets/sts3215_03a_v1.stl", + "bytes": 954084, + "sha256": "a37c871fb502483ab96c256baf457d36f2e97afc9205313d9c5ab275ef941cd0", + "git_blob_sha1": "fe05403dbfac7a26822b8c8cd0fc3d5288a69fc8" + }, + { + "path": "robotstudio_so101/assets/under_arm_so101_v1.stl", + "bytes": 1975884, + "sha256": "d01d1f2de365651dcad9d6669e94ff87ff7652b5bb2d10752a66a456a86dbc71", + "git_blob_sha1": "480e0583c8bb27ff9affefbebee72b784fb054c8" + }, + { + "path": "robotstudio_so101/assets/upper_arm_so101_v1.stl", + "bytes": 1303484, + "sha256": "475056e03a17e71919b82fd88ab9a0b898ab50164f2a7943652a6b2941bb2d4f", + "git_blob_sha1": "9c0f9b275a51f720476e529c92193f4f69d4784c" + }, + { + "path": "robotstudio_so101/assets/waveshare_mounting_plate_so101_v2.stl", + "bytes": 62784, + "sha256": "e197e24005a07d01bbc06a8c42311664eaeda415bf859f68fa247884d0f1a6e9", + "git_blob_sha1": "4dba1f22b01ab9afef2466872fcb3e1efca89e38" + }, + { + "path": "robotstudio_so101/assets/wrist_roll_follower_so101_camera_mount.stl", + "bytes": 122884, + "sha256": "58c457b33a26d9c9bb337aa351173e7123f84719a93f486541adef6eba57ae21", + "git_blob_sha1": "dfe1ecc5e11eb79280c032148ad6ba68a21c431e" + }, + { + "path": "robotstudio_so101/assets/wrist_roll_follower_so101_gripper_part0_v1.stl", + "bytes": 73784, + "sha256": "370eb470a6ab48b08febcaeb5274d2bcc91246692532ce12c795fb82977def72", + "git_blob_sha1": "7a6bdae516080bd381758fb87cfa48beab3c96b9" + }, + { + "path": "robotstudio_so101/assets/wrist_roll_follower_so101_gripper_v1.stl", + "bytes": 741684, + "sha256": "65f32debcf265420c0160afe004f8befc5df4b3e578fd59ebaa62eade0371224", + "git_blob_sha1": "279308978e9d64d0bb231968d6169ce78aa0ebde" + }, + { + "path": "robotstudio_so101/assets/wrist_roll_follower_so101_v1.stl", + "bytes": 1439884, + "sha256": "4b17b410a12d64ec39554abc3e8054d8a97384b2dc4a8d95a5ecb2a93670f5f4", + "git_blob_sha1": "123ce374ad3efc240e4d7022f31314e59fe4b0c0" + }, + { + "path": "robotstudio_so101/assets/wrist_roll_pitch_so101_v2.stl", + "bytes": 2699784, + "sha256": "6c7ec5525b4d8b9e397a30ab4bb0037156a5d5f38a4adf2c7d943d6c56eda5ae", + "git_blob_sha1": "ac5172a35e6da3e9fdea21e25803f23cc61e31f1" + }, + { + "path": "robotstudio_so101/scene.xml", + "bytes": 825, + "sha256": "d3037f0fd36b61a9b6805b2c79831e7a392276d0f490145d01f718542eee9150", + "git_blob_sha1": "f6d8d5b119f0966a8c1139fa65277355b8474327" + }, + { + "path": "robotstudio_so101/scene_box.xml", + "bytes": 1469, + "sha256": "14c3826f23889587e63b88ef9a0e7d72318ffe13078fad8287c56dbdb9ba9ad8", + "git_blob_sha1": "f51dd3b7609d75c0a26d2735e924c140a15b72b1" + }, + { + "path": "robotstudio_so101/so101.png", + "bytes": 1010575, + "sha256": "fca552381f318dab5b1f9a69007e79d905d91c9d1bebbfdf267b78d924a9c46d", + "git_blob_sha1": "f9ac493bb3809531abe7f23ef7168d15315c2c23" + }, + { + "path": "robotstudio_so101/so101.xml", + "bytes": 17206, + "sha256": "982c02c027ec0c62d3459d0a6eb00dfb7dc13a451992e72ce99addc71f209805", + "git_blob_sha1": "38bd905c819c8c6d755fecb6394d166944262cce" + } + ], + "native_joint_position_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "native_actuator_force_units": [ + "Nm", + "Nm", + "Nm", + "Nm", + "Nm", + "Nm" + ], + "native_command_range": [ + [ + -1.91986, + 1.91986 + ], + [ + -1.74533, + 1.74533 + ], + [ + -1.69, + 1.69 + ], + [ + -1.65806, + 1.65806 + ], + [ + -2.74385, + 2.84121 + ], + [ + -0.17453, + 1.74533 + ] + ] + } + ] +} diff --git a/benchmarks/piper-contact-development-20261011/sources/r0/robot_profiles.py b/benchmarks/piper-contact-development-20261011/sources/r0/robot_profiles.py new file mode 100644 index 0000000..b7f781e --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/sources/r0/robot_profiles.py @@ -0,0 +1,424 @@ +"""Pinned PiPER/SO101 CPU mechanics smoke tests, without hardware control. + +Fetch is the only network operation. Audit, native stepping and inspection are +offline. Simulation asset licenses do not establish the openness of hardware. +""" +from __future__ import annotations + +import argparse +from hashlib import sha256 +import html +import json +import math +from pathlib import Path, PurePosixPath +import platform +import time +from urllib.request import Request, urlopen + +from . import reference_sim as sim + + +LOCK_PATH = Path(__file__).with_name('robot_profiles.lock.json') +SCHEMA = 'dvidia.robot-profile-benchmark/v1' +INTEGRITY_SCHEMA = 'dvidia.robot-profile-integrity/v1' +CASES = ('hold', 'arm_sweep', 'gripper_cycle') +SCOPE = ('Unloaded native CPU mechanics smoke: authored position servos, upstream gravity settings, ' + 'privileged joint/link state and synthetic commands. No object task, learned skill, measured ' + 'hardware response, contact calibration or physical robot qualification.') + + +def _lock(): + return json.loads(LOCK_PATH.read_text(encoding='utf-8')) + + +def _profile(name): + for item in _lock()['profiles']: + if item['id'] == name: + return item + raise ValueError('Profile must be piper or so101') + + +def list_profiles(): + """Return explicit axes, units and asset-license claims without native imports.""" + return [{key: value for key, value in item.items() if key != 'files'} for item in _lock()['profiles']] + + +def _payload(profile, directory): + item, root = _profile(profile), Path(directory) + if root.is_symlink() or not root.is_dir(): + raise ValueError('Assets require an existing non-symlink directory') + blobs = {} + for record in item['files']: + path = root / record['path'] + if any(parent.is_symlink() for parent in path.parents if parent != root and root in parent.parents): + raise ValueError('Asset subdirectories must not be symlinks') + content = sim._regular_bytes(path, record['bytes']) + if sha256(content).hexdigest() != record['sha256']: + raise ValueError('Asset digest mismatch: '+record['path']) + blobs[record['path']] = content + return item, blobs + + +def verify_assets(profile, directory): + item, blobs = _payload(profile, directory) + return {'profile': item['id'], 'repository': _lock()['repository'], 'commit': _lock()['commit'], + 'files_verified': len(blobs), 'bytes_verified': sum(map(len, blobs.values())), + 'lock_sha256': sha256(LOCK_PATH.read_bytes()).hexdigest(), + 'simulation_asset_license': item['simulation_asset_license']} + + +def fetch_assets(profile, output): + """Explicitly fetch the fixed packaged allowlist into a fresh asset root.""" + item, lock = _profile(profile), _lock() + destination = Path(output) + if destination.is_symlink() or (destination.exists() and not destination.is_dir()): + raise ValueError('Asset root must be a plain directory') + destination.mkdir(parents=True, exist_ok=True) + (destination/item['folder']).mkdir(exist_ok=False) + for record in item['files']: + url = f"https://raw.githubusercontent.com/google-deepmind/mujoco_menagerie/{lock['commit']}/{record['path']}" + with urlopen(Request(url, headers={'User-Agent': 'DVIDIA-Robot-Sim/0.1'}), timeout=30) as response: + if response.geturl() != url: + raise ValueError('Pinned asset download redirected') + content = response.read(record['bytes']+1) + if len(content) != record['bytes'] or sha256(content).hexdigest() != record['sha256']: + raise ValueError('Downloaded asset differs from packaged lock: '+record['path']) + path = destination / record['path'] + path.parent.mkdir(parents=True, exist_ok=True) + with path.open('xb') as stream: + stream.write(content) + return verify_assets(profile, destination) + + +def build_model(profile, directory, *, timestep=.001): + dt = sim._timestep(timestep) + item, blobs = _payload(profile, directory) + model_spec = sim._spec(blobs, item['folder'], item['model']) + model_spec.option.timestep = dt + model = model_spec.compile() + mj, _ = sim._native_imports() + actual = {name: int(getattr(model, name)) for name in ('nq', 'nv', 'nu', 'neq')} + if actual != item['expected_dimensions']: + raise ValueError('Native profile mechanical dimensions differ from the pinned contract') + if [mj.mj_id2name(model, mj.mjtObj.mjOBJ_ACTUATOR, i) for i in range(model.nu)] != item['actuator_names']: + raise ValueError('Native profile actuator order differs from the pinned contract') + expected_joints = item['arm_joint_names']+item['gripper_joint_names'] + if [mj.mj_id2name(model, mj.mjtObj.mjOBJ_JOINT, i) for i in range(model.njnt)] != expected_joints: + raise ValueError('Native profile joint order differs from the pinned contract') + if mj.mj_name2id(model, mj.mjtObj.mjOBJ_BODY, item['tool_frame_body']) <= 0: + raise ValueError('Native profile terminal link body is missing') + for index, unit in enumerate(item['native_command_units']): + joint = int(model.actuator_trnid[index, 0]) + expected = mj.mjtJoint.mjJNT_HINGE if unit == 'rad' else mj.mjtJoint.mjJNT_SLIDE + if model.jnt_type[joint] != expected or not model.actuator_ctrllimited[index]: + raise ValueError('Native command units/limits differ from the pinned contract') + return model + + +def audit(profile, directory, *, timestep=.001): + metadata = verify_assets(profile, directory) + messages = [] + with sim.native_warnings(messages): + model = build_model(profile, directory, timestep=timestep) + if messages: + raise ValueError('Native profile compilation emitted warnings: '+str(messages)) + mj, _ = sim._native_imports() + return {'schema': 'dvidia.robot-profile-audit/v1', 'profile': list_profiles()[0 if profile == 'piper' else 1], + 'assets': metadata, 'native_version': mj.__version__, 'compiled_model_sha256': sim.model_digest(model), + 'dimensions': {name: int(getattr(model, name)) for name in ('nq', 'nv', 'nu', 'neq', 'ngeom', 'nbody')}, + 'actuator_ctrlrange_native': model.actuator_ctrlrange.tolist(), + 'actuator_forcerange_native': model.actuator_forcerange.tolist(), + 'gravity_compensated_bodies': int(sum(model.body_gravcomp != 0)), + 'scope': SCOPE, 'task_qualified': False, 'physical_robot_ready': False} + + +def _bounded(value, name, low, high): + if isinstance(value, bool) or not isinstance(value, (int, float)): + raise ValueError(name+' must be finite numeric data') + try: + number = float(value) + except (OverflowError, ValueError, TypeError) as exc: + raise ValueError(name+' must be finite numeric data') from exc + if not math.isfinite(number) or not low <= number <= high: + raise ValueError(name+' outside bounded range') + return number + + +def _duration(value): + number = _bounded(value, 'duration', .1, 2.) + if not math.isclose(number/sim.CONTROL_DT, round(number/sim.CONTROL_DT), abs_tol=1e-9, rel_tol=0): + raise ValueError('Duration must contain complete 20 ms control boundaries') + return number + + +def _sample(model, data, item, elapsed): + mj, np = sim._native_imports() + if not all(np.isfinite(value).all() for value in (data.qpos, data.qvel, data.qacc, data.xpos)): + raise RuntimeError('Nonfinite native profile state') + body = mj.mj_name2id(model, mj.mjtObj.mjOBJ_BODY, item['tool_frame_body']) + return {'t_seconds': elapsed, 'qpos_native': data.qpos.tolist(), 'qvel_native_per_second': data.qvel.tolist(), + 'arm_joint_position_rad': data.qpos[:item['arm_axes']].tolist(), + 'arm_joint_velocity_rad_s': data.qvel[:item['arm_axes']].tolist(), + 'gripper_joint_position_native': data.qpos[item['arm_axes']:].tolist(), + 'terminal_link_position_m': data.xpos[body].tolist(), 'terminal_link_quaternion_wxyz': data.xquat[body].tolist(), + 'actuator_force_native': data.actuator_force.tolist(), 'contact_count': int(data.ncon), + 'issued_controls_native': None, 'observation_origin': 'privileged_native_simulator_state'} + + +def _attempt(profile, assets, case, repeat, duration, timestep): + started, latencies = time.perf_counter(), [] + item = _profile(profile) + result = {'id': f'{case}-{repeat}', 'case': case, 'repeat': repeat, 'valid': False, + 'error': None, 'warnings': [], 'simulated_seconds': 0., 'trajectory': [], 'timing': {}, 'metrics': {}} + try: + with sim.native_warnings(result['warnings']): + model = build_model(profile, assets, timestep=timestep) + mj, np = sim._native_imports() + data = mj.MjData(model) + if model.nkey: + mj.mj_resetDataKeyframe(model, data, 0) + else: + data.ctrl[:] = data.qpos[model.jnt_qposadr[model.actuator_trnid[:, 0]]] + base = data.ctrl.copy() + mj.mj_forward(model, data) + result['compiled_model_sha256'] = sim.model_digest(model) + result['runtime'] = {'mujoco_version': mj.__version__, 'numpy_version': np.__version__} + result['native_model_settings'] = {'gravity_m_s2': model.opt.gravity.tolist(), + 'gravity_compensated_bodies': [ + {'name': mj.mj_id2name(model, mj.mjtObj.mjOBJ_BODY, i), + 'fraction': float(model.body_gravcomp[i])} + for i in range(model.nbody) if model.body_gravcomp[i] != 0]} + result['trajectory'].append(_sample(model, data, item, 0.)) + for index in range(round(duration/sim.CONTROL_DT)): + tick_started = time.perf_counter() + commands = base.copy() + phase = math.sin(math.pi*(index+1)*sim.CONTROL_DT/duration) + if case == 'arm_sweep': + commands[:item['arm_axes']] += .08*phase + elif case == 'gripper_cycle': + commands[-1] += (.012 if item['id'] == 'piper' else .15)*phase + commands = np.clip(commands, model.actuator_ctrlrange[:, 0], model.actuator_ctrlrange[:, 1]) + result['trajectory'][-1]['issued_controls_native'] = commands.tolist() + data.ctrl[:] = commands + for _ in range(round(sim.CONTROL_DT/timestep)): + mj.mj_step(model, data) + mj.mj_forward(model, data) + _sample(model, data, item, 0.) + if result['warnings'] or any(warning.number for warning in data.warning): + raise RuntimeError('Native profile emitted a solver warning') + result['simulated_seconds'] = (index+1)*sim.CONTROL_DT + result['trajectory'].append(_sample(model, data, item, result['simulated_seconds'])) + latencies.append(time.perf_counter()-tick_started) + result['valid'] = not result['warnings'] + errors = [abs(row['qpos_native'][int(model.jnt_qposadr[model.actuator_trnid[j, 0]])]-row['issued_controls_native'][j]) + for row in result['trajectory'][:-1] for j in range(item['arm_axes'])] + result['metrics'] = {'max_before_step_arm_target_error_rad': max(errors, default=0.), + 'max_recorded_contact_count': max(row['contact_count'] for row in result['trajectory']), + 'scope': 'Numerical state/command diagnostics only; no task success metric'} + except Exception as exc: + result['error'] = {'type': type(exc).__name__, 'message': str(exc)[:500]} + elapsed = time.perf_counter()-started + result['timing'] = {'episode_wall_seconds': elapsed, 'control_step_seconds': sim._summary(latencies) if latencies else None, + 'control_boundaries': len(latencies), 'missed_control_boundaries': sum(x > sim.CONTROL_DT for x in latencies), + 'simulated_seconds_per_wall_second': result['simulated_seconds']/elapsed, + 'scope': 'Wall computation including compilation/state snapshots; not real-time sensor-to-actuator latency'} + return result + + +def _json_bytes(value): + return (json.dumps(value, allow_nan=False, indent=2)+'\n').encode() + + +def _record(path, content): + return {'path': path, 'bytes': len(content), 'sha256': sha256(content).hexdigest()} + + +def benchmark(profile, assets, output, *, duration=.4, timestep=.001, repeats=1): + """Seal every bounded unloaded attempt, including numerical/setup failures.""" + item, duration, timestep = _profile(profile), _duration(duration), sim._timestep(timestep) + if type(repeats) is not int or not 1 <= repeats <= 3: + raise ValueError('repeats must be an integer in [1,3]') + metadata, blobs = verify_assets(profile, assets), _payload(profile, assets)[1] + destination = Path(output) + destination.mkdir(parents=True, exist_ok=False) + report = {'schema': SCHEMA, 'profile': {key: value for key, value in item.items() if key != 'files'}, + 'scope': SCOPE, 'task_qualified': False, 'physical_robot_ready': False, 'assets': metadata, + 'source': {'implementation_sha256': sha256(Path(__file__).read_bytes()).hexdigest(), + 'reference_sim_sha256': sha256(Path(sim.__file__).read_bytes()).hexdigest(), + 'lock_sha256': sha256(LOCK_PATH.read_bytes()).hexdigest(), 'asset_commit': _lock()['commit']}, + 'settings': {'duration_seconds': duration, 'timestep_seconds': timestep, + 'control_dt_seconds': sim.CONTROL_DT, 'repeats': repeats, 'cases': list(CASES)}, + 'platform': {'system': platform.system(), 'machine': platform.machine(), 'python': platform.python_version()}, + 'attempts': []} + for case in CASES: + for repeat in range(repeats): + attempt = _attempt(profile, assets, case, repeat, duration, timestep) + report['attempts'].append(attempt) + path = destination/f'attempt-{attempt["id"]}.json' + path.write_bytes(_json_bytes(attempt)) + report['summary'] = {'attempt_count': len(report['attempts']), + 'valid_attempts': sum(bool(x['valid']) for x in report['attempts'])} + compiled = next((attempt for attempt in report['attempts'] if 'runtime' in attempt), None) + report['platform'].update(mujoco_version=compiled['runtime']['mujoco_version'] if compiled else None, + numpy_version=compiled['runtime']['numpy_version'] if compiled else None) + report['native_model_settings'] = compiled['native_model_settings'] if compiled else None + rows = ''.join(f'{html.escape(x["id"])}{x["valid"]}{x["simulated_seconds"]:.2f}' + f'{html.escape(json.dumps(x["error"]))}' for x in report['attempts']) + page = (f'' + f'DVIDIA {html.escape(item["name"])} CPU mechanics' + f'

DVIDIA · {html.escape(item["name"])} CPU mechanics

{html.escape(SCOPE)}

' + f'

{item["arm_axes"]} arm axes + {item["gripper_axes"]} gripper command. Simulation asset license: {html.escape(item["simulation_asset_license"])}.

' + f'

Native command units: {html.escape(", ".join(item["native_command_units"]))}. {html.escape(item["gripper_command"])}

' + f'

Complete sealed numerical receipt · Original asset license

' + f'{rows}
AttemptValid physicsSimulated secondsError
').encode() + files = {'report.json': _json_bytes(report), 'report.html': page, + f'licenses/{profile}/LICENSE': blobs[item['folder']+'/LICENSE']} + for name, content in files.items(): + path = destination/name + path.parent.mkdir(parents=True, exist_ok=True) + path.write_bytes(content) + for path in sorted(destination.glob('attempt-*.json')): + files[path.name] = path.read_bytes() + integrity = {'schema': INTEGRITY_SCHEMA, 'files': [_record(name, content) for name, content in sorted(files.items())]} + (destination/'integrity.json').write_bytes(_json_bytes(integrity)) + return {'output': str(destination), 'profile': profile, **report['summary'], 'report_sha256': sha256(files['report.json']).hexdigest()} + + +def _bounded_file(path, limit): + size = path.lstat().st_size + if size > limit: + raise ValueError('Benchmark file exceeds the bounded size limit') + return sim._regular_bytes(path, size) + + +def inspect_benchmark(directory): + """Verify the standalone numerical receipt without loading native physics.""" + root = Path(directory) + if root.is_symlink() or not root.is_dir(): + raise ValueError('Benchmark root must be a non-symlink directory') + integrity = json.loads(_bounded_file(root/'integrity.json', 100000)) + if integrity.get('schema') != INTEGRITY_SCHEMA or type(integrity.get('files')) is not list or not 3 <= len(integrity['files']) <= 12: + raise ValueError('Unsupported bounded profile integrity manifest') + payload, total = {}, 0 + for record in integrity['files']: + name = record.get('path') + if type(name) is not str or name in payload or PurePosixPath(name).is_absolute() or '..' in PurePosixPath(name).parts or '\\' in name: + raise ValueError('Unsafe or duplicate benchmark file path') + path = root/name + if any(parent.is_symlink() for parent in path.parents if parent != root and root in parent.parents): + raise ValueError('Benchmark subdirectories must not be symlinks') + content = _bounded_file(path, 5000000) + total += len(content) + if total > 12000000 or len(content) != record.get('bytes') or sha256(content).hexdigest() != record.get('sha256'): + raise ValueError('Benchmark integrity mismatch') + payload[name] = content + report = json.loads(payload['report.json']) + if report.get('schema') != SCHEMA or report.get('task_qualified') is not False or report.get('physical_robot_ready') is not False: + raise ValueError('Unsupported profile receipt or qualification claim') + profile = _profile(report['profile']['id']) + expected_profile = {key: value for key, value in profile.items() if key != 'files'} + if report['profile'] != expected_profile: + raise ValueError('Profile receipt axes/units/provenance contract mismatch') + lock = _lock() + lock_digest = sha256(LOCK_PATH.read_bytes()).hexdigest() + expected_assets = {'profile': profile['id'], 'repository': lock['repository'], 'commit': lock['commit'], + 'files_verified': len(profile['files']), 'bytes_verified': sum(x['bytes'] for x in profile['files']), + 'lock_sha256': lock_digest, 'simulation_asset_license': profile['simulation_asset_license']} + if report.get('assets') != expected_assets or report['source'].get('asset_commit') != lock['commit'] or report['source'].get('lock_sha256') != lock_digest: + raise ValueError('Profile asset/source lock provenance mismatch') + for key in ('implementation_sha256', 'reference_sim_sha256'): + digest = report['source'].get(key) + if type(digest) is not str or len(digest) != 64 or any(x not in '0123456789abcdef' for x in digest): + raise ValueError('Profile implementation source digest is malformed') + settings = report['settings'] + duration, timestep = _duration(settings['duration_seconds']), sim._timestep(settings['timestep_seconds']) + repeats = settings['repeats'] + if type(repeats) is not int or not 1 <= repeats <= 3 or settings['cases'] != list(CASES) or settings['control_dt_seconds'] != sim.CONTROL_DT: + raise ValueError('Profile benchmark settings mismatch') + attempts = report['attempts'] + if type(attempts) is not list or len(attempts) != len(CASES)*repeats: + raise ValueError('Profile benchmark attempt count mismatch') + expected_files = {'report.json', 'report.html', f'licenses/{profile["id"]}/LICENSE'} | { + f'attempt-{case}-{repeat}.json' for case in CASES for repeat in range(repeats)} + actual_files = {path.relative_to(root).as_posix() for path in root.rglob('*') if not path.is_dir()} + if set(payload) != expected_files or actual_files != expected_files | {'integrity.json'}: + raise ValueError('Profile benchmark file inventory mismatch') + for index, attempt in enumerate(attempts): + case, repeat = CASES[index//repeats], index%repeats + if attempt['id'] != f'{case}-{repeat}' or attempt['case'] != case or attempt['repeat'] != repeat or type(attempt['valid']) is not bool: + raise ValueError('Profile attempt ordering/validity mismatch') + if json.loads(payload[f'attempt-{attempt["id"]}.json']) != attempt: + raise ValueError('Profile raw attempt and report differ') + if attempt['valid'] and (attempt['error'] is not None or attempt['warnings'] or len(attempt['trajectory']) != round(duration/sim.CONTROL_DT)+1): + raise ValueError('Valid profile attempt has incomplete or invalid native evidence') + for row_index, row in enumerate(attempt['trajectory']): + _bounded(row['t_seconds'], 'clock', 0, duration) + if not math.isclose(row['t_seconds'], row_index*sim.CONTROL_DT, abs_tol=1e-9, rel_tol=0): + raise ValueError('Profile trace clock mismatch') + for key, count in (('qpos_native', profile['expected_dimensions']['nq']), + ('qvel_native_per_second', profile['expected_dimensions']['nv']), + ('arm_joint_position_rad', profile['arm_axes']), + ('arm_joint_velocity_rad_s', profile['arm_axes']), + ('gripper_joint_position_native', len(profile['gripper_joint_names'])), + ('terminal_link_position_m', 3), ('terminal_link_quaternion_wxyz', 4), + ('actuator_force_native', len(profile['actuator_names']))): + if type(row[key]) is not list or len(row[key]) != count: + raise ValueError('Profile trace state shape mismatch') + for value in row[key]: + _bounded(value, key, -1000000, 1000000) + if row['arm_joint_position_rad'] != row['qpos_native'][:profile['arm_axes']] or row['gripper_joint_position_native'] != row['qpos_native'][profile['arm_axes']:] or row['arm_joint_velocity_rad_s'] != row['qvel_native_per_second'][:profile['arm_axes']]: + raise ValueError('Profile redundant joint state differs from its native coordinates') + if not math.isclose(sum(value*value for value in row['terminal_link_quaternion_wxyz']), 1., abs_tol=1e-8, rel_tol=0): + raise ValueError('Profile terminal link quaternion must be normalized wxyz') + if type(row['contact_count']) is not int or not 0 <= row['contact_count'] <= 100000 or row['observation_origin'] != 'privileged_native_simulator_state': + raise ValueError('Profile contact count/observation provenance mismatch') + issued = row['issued_controls_native'] + if attempt['valid'] and ((row_index == len(attempt['trajectory'])-1) != (issued is None)): + raise ValueError('Valid profile trace must issue each decision and leave its terminal row unissued') + if issued is not None: + if type(issued) is not list or len(issued) != len(profile['native_command_units']): + raise ValueError('Profile native command shape mismatch') + for value, (low, high) in zip(issued, profile['native_command_range']): + _bounded(value, 'native command', low, high) + valid = sum(x['valid'] for x in attempts) + if report['summary'] != {'attempt_count': len(attempts), 'valid_attempts': valid}: + raise ValueError('Profile attempt summary mismatch') + license_name = f'licenses/{profile["id"]}/LICENSE' + record = next(x for x in profile['files'] if x['path'] == profile['folder']+'/LICENSE') + if len(payload[license_name]) != record['bytes'] or sha256(payload[license_name]).hexdigest() != record['sha256']: + raise ValueError('Upstream simulation asset license mismatch') + return {'report': report, 'files': integrity['files'], 'valid_attempts': valid, 'attempts': len(attempts)} + + +def main(argv=None): + parser = argparse.ArgumentParser(description='DVIDIA pinned CPU robot mechanics; no hardware control') + commands = parser.add_subparsers(dest='command', required=True) + commands.add_parser('list') + for name in ('fetch', 'audit', 'benchmark'): + command = commands.add_parser(name) + command.add_argument('profile', choices=('piper', 'so101')) + if name != 'fetch': + command.add_argument('assets') + if name != 'audit': + command.add_argument('--output', required=True) + if name == 'benchmark': + command.add_argument('--duration', type=float, default=.4) + command.add_argument('--timestep', type=float, default=.001) + command.add_argument('--repeats', type=int, default=1) + args = parser.parse_args(argv) + try: + if args.command == 'list': + result = list_profiles() + elif args.command == 'fetch': + result = fetch_assets(args.profile, args.output) + elif args.command == 'audit': + result = audit(args.profile, args.assets) + else: + result = benchmark(args.profile, args.assets, args.output, duration=args.duration, timestep=args.timestep, repeats=args.repeats) + print(json.dumps(result, allow_nan=False, indent=2)) + except (ValueError, OSError, RuntimeError, KeyError) as exc: + parser.exit(2, 'error: '+str(exc)+'\n') + + +if __name__ == '__main__': + main() diff --git a/benchmarks/piper-contact-development-20261011/sources/r1/piper_contact_memory.py b/benchmarks/piper-contact-development-20261011/sources/r1/piper_contact_memory.py new file mode 100644 index 0000000..51f4ed9 --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/sources/r1/piper_contact_memory.py @@ -0,0 +1,228 @@ +"""Interpretable causal PiPER contact history, with unchanged native dynamics. + +Both modes inherit the exact v0.2 acquisition probe and supported retry. A +hold changes requested joint positions; native motion can continue afterward. +""" +from __future__ import annotations + +from dataclasses import asdict, dataclass +import math + +from . import piper_grip_guard as acquisition + + +SCHEMA = 'dvidia.piper-contact-memory/v0.3' + + +@dataclass(frozen=True) +class ContactMemoryConfig: + history_window_s: float = .12 + minimum_history_s: float = .10 + trend_rate_m_s: float = .025 + trend_displacement_m: float = .0025 + minimum_straightness: float = .7 + trend_samples: int = 2 + loss_samples: int = 2 + slowdown_joint_delta_scale: float = .35 + slowdown_duration_s: float = .12 + hold_minimum_s: float = .12 + hold_timeout_s: float = .8 + settled_rate_m_s: float = .008 + settled_displacement_m: float = .0015 + settled_dwell_s: float = .10 + resumed_joint_delta_scale: float = .45 + maximum_reassessments: int = 2 + + def __post_init__(self): + for name, value in asdict(self).items(): + try: + finite = math.isfinite(value) + except (OverflowError, TypeError, ValueError): + finite = False + if isinstance(value, bool) or not isinstance(value, (int, float)) or not finite or value <= 0: + raise ValueError('Invalid contact memory parameter: '+name) + for name in ('trend_samples', 'loss_samples', 'maximum_reassessments'): + if type(getattr(self, name)) is not int or getattr(self, name) != 2: + raise ValueError('Contact memory uses two observations and at most two reassessments') + if (self.minimum_history_s > self.history_window_s or self.hold_minimum_s >= self.hold_timeout_s + or self.minimum_straightness > 1 or self.slowdown_joint_delta_scale > 1 + or self.resumed_joint_delta_scale > 1 or self.settled_rate_m_s >= self.trend_rate_m_s): + raise ValueError('Invalid contact memory threshold ordering') + + +def contact_memory_contract(): + return {'schema': SCHEMA, 'parameters': asdict(ContactMemoryConfig()), + 'acquisition': acquisition.guard_contract(), + 'observations': 'causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check', + 'history': 'inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path', + 'trend': 'rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold', + 'slowdown': 'scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately', + 'reassessment': 'minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds', + 'resume': 'causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget', + 'probe_only': 'identical acquisition and retry; removes postqualification carry monitoring only', + 'stop': 'measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion', + 'duration': 'unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change', + 'scope': 'authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim'} + + +def inactive_summary(mode): + value = acquisition.inactive_summary(mode) + value.update(schema=SCHEMA, contract=contact_memory_contract(), slowdown_count=0, + reassessment_count=0, resume_count=0) + return value + + +contact_contract = contact_memory_contract + + +class ContactMemoryPiperTaskPolicy(acquisition.GuardedPiperTaskPolicy): + """Same acquisition, with a causal history controller or probe ablation.""" + + def __init__(self, environment, mode='history'): + if mode not in ('probe_only', 'history'): + raise ValueError('Contact memory mode must be probe_only or history') + super().__init__(environment) + self.mode, self.memory_config = mode, ContactMemoryConfig() + self.history = [] + self.memory_stage, self.memory_started, self.settled_since = 'observe', None, None + self.trend_streak, self.memory_loss_streak = 0, 0 + self.slowdown_count = self.reassessment_count = self.resume_count = 0 + self.resumed = False + + def summary(self): + value = super().summary() + value.update(schema=SCHEMA, mode=self.mode, contract=contact_memory_contract(), + slowdown_count=self.slowdown_count, reassessment_count=self.reassessment_count, + resume_count=self.resume_count) + return value + + def _diagnose(self, observation): + value = super()._diagnose(observation) + now = observation['t_seconds'] + if self.state == 'probe' or self.qualified: + sample = {'t': now, 'offset': acquisition._local_offset(observation), + 'bilateral': value['bilateral_contact'], + 'loaded': value['bilateral_contact'] and min(observation['pad_normal_forces_n'].values()) > .01, + 'supported': value['table_supported']} + # The parent diagnoses twice when a probe starts; one snapshot is + # one history sample, never two apparent observations. + if self.history and abs(self.history[-1]['t']-now) < 1e-9: + self.history[-1] = sample + else: + self.history.append(sample) + self.history = [row for row in self.history if row['t'] >= now-self.memory_config.history_window_s-1e-9] + else: + self.history = [] + span = self.history[-1]['t']-self.history[0]['t'] if self.history else 0. + known = span+1e-9 >= self.memory_config.minimum_history_s + displacement = math.dist(self.history[-1]['offset'], self.history[0]['offset']) if self.history else None + path = sum(math.dist(a['offset'], b['offset']) for a, b in zip(self.history, self.history[1:])) + excursion = max((math.dist(a['offset'], b['offset']) for a in self.history for b in self.history), default=0.) + slope = None + if known: + mean_t = sum(row['t'] for row in self.history)/len(self.history) + denominator = sum((row['t']-mean_t)**2 for row in self.history) + slope = [sum((row['t']-mean_t)*row['offset'][axis] for row in self.history)/denominator for axis in range(3)] + value.update(memory_stage=self.memory_stage, history_count=len(self.history), history_known=known, + history_span_seconds=span, history_displacement_m=displacement, + history_rate_m_s=displacement/span if known else None, + history_path_m=path, history_excursion_m=excursion, + history_slope_m_s=slope, + history_straightness=displacement/path if known and path > 1e-12 else (0. if known else None), + history_bilateral_fraction=sum(row['bilateral'] for row in self.history)/len(self.history) if self.history else None, + history_loaded_bilateral_all=known and all(row['loaded'] for row in self.history), + history_unsupported_all=known and all(not row['supported'] for row in self.history), + slip_trend_streak=self.trend_streak, persistent_loss_streak=self.memory_loss_streak, + settled_dwell_seconds=0. if self.settled_since is None else now-self.settled_since, + joint_delta_scale=1., unscaled_joint_targets_rad=None, + motion_phase=self.teacher.phase, resume_local_offset_m=None) + return value + + def _scaled_teacher(self, observation, scale): + action = self.teacher(observation) + self.diagnostic['unscaled_joint_targets_rad'] = list(action['joint_targets_rad']) + self.diagnostic['motion_phase'] = self.teacher.issued_phase + action['joint_targets_rad'] = [current+scale*(target-current) for current, target + in zip(observation['joint_position_rad'], action['joint_targets_rad'])] + self.issued_phase = 'memory_slowdown' if self.memory_stage == 'slowdown' else self.teacher.issued_phase + self.diagnostic['joint_delta_scale'] = scale + self.diagnostic['decision'] = 'slow_requested_joint_delta' if self.memory_stage == 'slowdown' else 'resume_reduced_requested_delta' + return action + + def _start_hold(self, observation, reason): + if self.reassessment_count >= self.memory_config.maximum_reassessments: + return self._abort(observation, 'reassessment_budget_exhausted:'+reason) + self.memory_stage, self.memory_started, self.settled_since = 'hold', observation['t_seconds'], None + self.stop_targets = list(observation['joint_position_rad']) + self.reassessment_count += 1 + self.issued_phase = 'memory_hold' + self.diagnostic.update(memory_stage='hold', decision='hold_measured_arm_closed') + self._event('reassessment_started', observation, reason) + return self._hold() + + def _monitor(self, observation, *, probe): + if probe: + return super()._monitor(observation, probe=True) + if self.mode == 'probe_only': + return None + cfg, diagnostic, now = self.memory_config, self.diagnostic, observation['t_seconds'] + if observation['unexpected_contact_count']: + return self._abort(observation, 'unexpected_contact_during_carry') + trend = (diagnostic['history_known'] and diagnostic['history_rate_m_s'] >= cfg.trend_rate_m_s + and diagnostic['history_displacement_m'] >= cfg.trend_displacement_m + and diagnostic['history_straightness'] >= cfg.minimum_straightness) + self.trend_streak = self.trend_streak+1 if trend else 0 + self.memory_loss_streak = self.memory_loss_streak+1 if not diagnostic['bilateral_contact'] else 0 + diagnostic.update(slip_trend_streak=self.trend_streak, persistent_loss_streak=self.memory_loss_streak) + if self.memory_stage == 'hold': + self.issued_phase = 'memory_hold' + diagnostic['decision'] = 'hold_measured_arm_closed' + stable = (now-self.memory_started+1e-9 >= cfg.hold_minimum_s and diagnostic['history_known'] + and diagnostic['history_displacement_m'] <= cfg.settled_displacement_m + and diagnostic['history_excursion_m'] <= cfg.settled_displacement_m + and diagnostic['history_rate_m_s'] <= cfg.settled_rate_m_s + and diagnostic['history_loaded_bilateral_all'] and diagnostic['history_unsupported_all'] + and diagnostic['object_height_delta_m'] >= self.config.probe_min_object_rise_m) + self.settled_since = (now if self.settled_since is None else self.settled_since) if stable else None + diagnostic['settled_dwell_seconds'] = 0. if self.settled_since is None else now-self.settled_since + if diagnostic['settled_dwell_seconds']+1e-9 >= cfg.settled_dwell_s: + self.teacher.held_offset = acquisition._local_offset(observation) + self.memory_stage, self.resumed = 'observe', True + self.resume_count += 1 + self.trend_streak = self.memory_loss_streak = 0 + diagnostic.update(memory_stage='observe', decision='settled_resume_reduced_delta', + resume_local_offset_m=list(self.teacher.held_offset)) + self._event('carry_resumed', observation, 'sustained_loaded_relative_settling') + # Last held command at the resume boundary; original motion + # starts on the next observed decision, never retrospectively. + return self._hold() + if now-self.memory_started > cfg.hold_timeout_s: + return self._abort(observation, 'reassessment_timeout_unsettled_or_unknown') + return self._hold() + if self.memory_loss_streak >= cfg.loss_samples: + return self._start_hold(observation, 'persistent_bilateral_contact_loss') + if self.memory_stage == 'slowdown': + if now-self.memory_started+1e-9 >= cfg.slowdown_duration_s: + return self._start_hold(observation, 'bounded_slowdown_complete') + return self._scaled_teacher(observation, cfg.slowdown_joint_delta_scale) + if self.trend_streak >= cfg.trend_samples: + self.memory_stage, self.memory_started = 'slowdown', now + self.slowdown_count += 1 + self.issued_phase = 'memory_slowdown' + diagnostic.update(memory_stage='slowdown', decision='slow_requested_joint_delta', + joint_delta_scale=cfg.slowdown_joint_delta_scale) + action = self._scaled_teacher(observation, cfg.slowdown_joint_delta_scale) + self._event('slowdown_started', observation, 'persistent_local_offset_trend') + return action + if self.resumed: + return self._scaled_teacher(observation, cfg.resumed_joint_delta_scale) + diagnostic['decision'] = 'history_unknown_continue' if not diagnostic['history_known'] else 'history_observe' + return None + + def __call__(self, observation): + action = super().__call__(observation) + # The inherited arrival gate stops carry monitoring. Clear memory so + # the original supported release/retreat can run without slow scaling. + if self.carry_supported: + self.memory_stage = 'destination_supported' + return action diff --git a/benchmarks/piper-contact-development-20261011/sources/r1/piper_grip_guard.py b/benchmarks/piper-contact-development-20261011/sources/r1/piper_grip_guard.py new file mode 100644 index 0000000..82d4184 --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/sources/r1/piper_grip_guard.py @@ -0,0 +1,230 @@ +"""Causal, privileged-state PiPER grasp checks; unchanged native dynamics. + +The guard observes only the current recorded robot/object/contact state. It +does not read object mass, friction, the outcome scorer or future observations. +Stopping means holding measured joint targets, not instant physical arrest. +""" +from __future__ import annotations + +from dataclasses import asdict, dataclass +import math + + +SCHEMA = 'dvidia.piper-grip-guard/v1' + + +@dataclass(frozen=True) +class GuardConfig: + probe_height_m: float = .010 + probe_speed_m_s: float = .020 + probe_min_object_rise_m: float = .006 + qualification_dwell_s: float = .10 + relative_drift_limit_m: float = .003 + monitor_min_probe_motion_m: float = .003 + consecutive_alarm_samples: int = 2 + probe_timeout_s: float = 1.4 + close_timeout_s: float = 1.4 + retry_open_timeout_s: float = 1.2 + retry_recenter_timeout_s: float = 1.5 + retry_clearance_m: float = .012 + max_retries: int = 1 + + def __post_init__(self): + # This first experiment has one fixed, reviewable parameter set. + for name, value in asdict(self).items(): + try: + finite = math.isfinite(value) + except (TypeError, ValueError, OverflowError): + finite = False + if isinstance(value, bool) or not isinstance(value, (int, float)) or not finite or value <= 0: + raise ValueError('Invalid guard parameter: '+name) + if type(self.consecutive_alarm_samples) is not int or self.consecutive_alarm_samples != 2 or self.max_retries != 1: + raise ValueError('Guard requires two consecutive observations and at most one retry') + if self.probe_min_object_rise_m >= self.probe_height_m or self.relative_drift_limit_m >= self.probe_height_m: + raise ValueError('Guard probe must exceed its qualification/drift thresholds') + + +def guard_contract(): + return {'schema': SCHEMA, 'parameters': asdict(GuardConfig()), + 'observations': 'grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag', + 'qualification': 'slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms', + 'alarm': 'two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts', + 'recovery': 'hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed', + 'stop': 'requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded', + 'duration': 'original fixed episode timeout including every probe/retry/abort holding command', + 'scope': 'authored simulator controller, not a sensor implementation, hardware safety controller or learned policy'} + + +def inactive_summary(mode): + return {'schema': SCHEMA, 'mode': mode, 'active': False, 'contract': guard_contract(), 'events': [], + 'retry_count': 0, 'acquisition_qualified': False, 'acquisition_qualification_count': 0, + 'abort_reason': None, 'aborted': False, 'diagnostic_count': 0} + + +def _local_offset(observation): + w, x, y, z = observation['tcp_quaternion_wxyz'] + # R transpose times object minus TCP, using the recorded wxyz orientation. + rotation = ((1-2*(y*y+z*z), 2*(x*y-z*w), 2*(x*z+y*w)), + (2*(x*y+z*w), 1-2*(x*x+z*z), 2*(y*z-x*w)), + (2*(x*z-y*w), 2*(y*z+x*w), 1-2*(x*x+y*y))) + difference = [a-b for a, b in zip(observation['object_position_m'], observation['tcp_position_m'])] + return [sum(rotation[row][column]*difference[row] for row in range(3)) for column in range(3)] + + +class GuardedPiperTaskPolicy: + """Wrap the original authored motion policy with a bounded acquisition gate.""" + + def __init__(self, environment): + from .piper_task import PiperTaskPolicy + self.env, self.teacher, self.config = environment, PiperTaskPolicy(environment), GuardConfig() + self.state, self.issued_phase = 'normal', 'approach' + self.events, self.retry_count, self.qualification_count, self.diagnostic_count = [], 0, 0, 0 + self.qualified, self.aborted, self.abort_reason = False, False, None + self.anchor, self.probe_origin, self.probe_quaternion, self.probe_started = None, None, None, None + self.qualification_since, self.stage_started, self.stop_targets = None, None, None + self.drift_streak, self.loss_streak, self.progress_streak = 0, 0, 0 + self.carry_supported, self.diagnostic = False, None + + def summary(self): + return {'schema': SCHEMA, 'mode': 'guarded', 'active': True, 'contract': guard_contract(), + 'events': self.events, 'retry_count': self.retry_count, 'acquisition_qualified': self.qualified, + 'acquisition_qualification_count': self.qualification_count, 'abort_reason': self.abort_reason, + 'aborted': self.aborted, 'diagnostic_count': self.diagnostic_count} + + def _diagnose(self, observation): + offset = _local_offset(observation) + drift = math.dist(offset, self.anchor) if self.anchor is not None else None + return {'t_seconds': observation['t_seconds'], 'phase': self.state if self.state != 'normal' else self.teacher.phase, + 'retry_index': self.retry_count, 'bilateral_contact': all(observation['grasp_contact_counts'].values()), + 'table_supported': observation['table_object_contact_count'] > 0, + 'relative_offset_error_m': drift, + 'object_height_delta_m': observation['object_position_m'][2]-self.probe_origin['object'][2] if self.probe_origin else None, + 'tcp_probe_height_delta_m': observation['tcp_position_m'][2]-self.probe_origin['tcp'][2] if self.probe_origin else None, + 'qualified': self.qualified, 'qualification_dwell_seconds': 0. if self.qualification_since is None else observation['t_seconds']-self.qualification_since, + 'drift_streak': self.drift_streak, 'contact_loss_streak': self.loss_streak, + 'progress_streak': self.progress_streak, 'decision': 'continue'} + + def _event(self, kind, observation, reason): + self.events.append({'type': kind, 't_seconds': observation['t_seconds'], 'phase': self.issued_phase, + 'reason': reason, 'retry_index': self.retry_count, 'diagnostic': dict(self.diagnostic)}) + + def _hold(self, jaw=0.): + return {'joint_targets_rad': list(self.stop_targets), 'gripper_position_m': jaw} + + def _abort(self, observation, reason): + self.stop_targets = list(observation['joint_position_rad']) + self.state, self.issued_phase, self.aborted, self.abort_reason = 'abort', 'guard_abort', True, reason + self.diagnostic['decision'] = 'abort_hold_closed' + self._event('abort', observation, reason) + return self._hold() + + def _alarm(self, observation, reason): + self.stop_targets = list(observation['joint_position_rad']) + self.issued_phase, self.diagnostic['decision'] = 'guard_stop', 'hold_measured_arm' + self._event('alarm', observation, reason) + if self.diagnostic['table_supported'] and observation['unexpected_contact_count'] == 0 and self.retry_count < self.config.max_retries: + self.retry_count += 1 + self.state, self.stage_started = 'retry_open', observation['t_seconds'] + self.qualified, self.qualification_since = False, None + self._event('retry_started', observation, 'supported_object_only') + return self._hold() + return self._abort(observation, reason if not self.diagnostic['table_supported'] else 'retry_budget_exhausted:'+reason) + + def _monitor(self, observation, *, probe): + diagnostic = self.diagnostic + moving = not probe or diagnostic['tcp_probe_height_delta_m'] > self.config.monitor_min_probe_motion_m + drift = moving and diagnostic['relative_offset_error_m'] > self.config.relative_drift_limit_m + loss = moving and not diagnostic['bilateral_contact'] + progress = (probe and moving and diagnostic['table_supported'] + and diagnostic['object_height_delta_m'] < .25*diagnostic['tcp_probe_height_delta_m']) + self.drift_streak = self.drift_streak+1 if drift else 0 + self.loss_streak = self.loss_streak+1 if loss else 0 + self.progress_streak = self.progress_streak+1 if progress else 0 + diagnostic.update(drift_streak=self.drift_streak, contact_loss_streak=self.loss_streak, progress_streak=self.progress_streak) + reason = ('object_not_following' if self.progress_streak >= self.config.consecutive_alarm_samples else + 'relative_slip' if self.drift_streak >= self.config.consecutive_alarm_samples else + 'bilateral_contact_loss' if self.loss_streak >= self.config.consecutive_alarm_samples else None) + return self._alarm(observation, reason) if reason else None + + def __call__(self, observation): + self.diagnostic_count += 1 + self.diagnostic = self._diagnose(observation) + if self.state == 'abort': + self.issued_phase, self.diagnostic['decision'] = 'guard_abort', 'abort_hold_closed' + return self._hold() + if self.state in ('retry_open', 'retry_recenter'): + if not self.diagnostic['table_supported'] or observation['unexpected_contact_count']: + return self._abort(observation, 'support_lost_during_retry') + if self.state == 'retry_open': + self.issued_phase, self.diagnostic['decision'] = 'guard_retry_open', 'open_supported_object' + if observation['t_seconds']-self.stage_started > self.config.retry_open_timeout_s: + return self._abort(observation, 'retry_open_timeout') + if (observation['gripper_joint_position_m'][0] > .028 and observation['gripper_joint_position_m'][1] < -.028 + and not any(observation['grasp_contact_counts'].values())): + self.state, self.stage_started = 'retry_recenter', observation['t_seconds'] + return self._hold(.035) + self.issued_phase, self.diagnostic['decision'] = 'guard_retry_recenter', 'recenter_with_open_jaw' + if observation['t_seconds']-self.stage_started > self.config.retry_recenter_timeout_s: + return self._abort(observation, 'retry_recenter_timeout') + goal = list(observation['object_position_m']) + goal[2] += self.config.retry_clearance_m + action = self.env.pose_action(goal, self.env.config.tool_orientation_wxyz, .035) + # Keep the correction above the supported object until alignment. + current = observation['tcp_quaternion_wxyz'] + desired = self.env.config.tool_orientation_wxyz + aligned = abs(sum(a*b for a, b in zip(current, desired))) > math.cos(.12/2) + if math.dist(goal, observation['tcp_position_m']) < .003 and aligned: + self.teacher.phase, self.teacher.ticks = 'descend', 0 + self.teacher.grasp_position[:] = [*observation['object_position_m'][:2], observation['object_position_m'][2]+.002] + self.teacher.held_offset = None + self.state, self.anchor, self.probe_origin, self.probe_started = 'normal', None, None, None + self.drift_streak = self.loss_streak = self.progress_streak = 0 + self.carry_supported = False + self._event('retry_completed', observation, 'open_recenter_complete') + return action + if self.state == 'probe': + self.issued_phase = 'guard_probe' + if self.probe_started is None: + self.probe_started = observation['t_seconds'] + self.probe_origin = {'object': list(observation['object_position_m']), 'tcp': list(observation['tcp_position_m'])} + self.probe_quaternion = list(observation['tcp_quaternion_wxyz']) + self.anchor = _local_offset(observation) + self.diagnostic = self._diagnose(observation) + self._event('probe_started', observation, 'slow_load_bearing_check') + guarded = self._monitor(observation, probe=True) + if guarded is not None: + return guarded + eligible = (self.diagnostic['bilateral_contact'] and min(observation['pad_normal_forces_n'].values()) > .01 + and not self.diagnostic['table_supported'] + and self.diagnostic['object_height_delta_m'] >= self.config.probe_min_object_rise_m + and self.diagnostic['relative_offset_error_m'] <= self.config.relative_drift_limit_m) + self.qualification_since = (observation['t_seconds'] if self.qualification_since is None else self.qualification_since) if eligible else None + self.diagnostic['qualification_dwell_seconds'] = 0. if self.qualification_since is None else observation['t_seconds']-self.qualification_since + if self.diagnostic['qualification_dwell_seconds']+1e-9 >= self.config.qualification_dwell_s: + self.qualified, self.qualification_count, self.state = True, self.qualification_count+1, 'normal' + self.teacher.held_offset = _local_offset(observation) + self.diagnostic['qualified'], self.diagnostic['decision'] = True, 'qualified_resume_full_lift' + self._event('acquisition_qualified', observation, 'sustained_table_free_probe') + elif observation['t_seconds']-self.probe_started > self.config.probe_timeout_s: + return self._alarm(observation, 'probe_timeout') + goal = list(self.probe_origin['tcp']) + goal[2] += min(self.config.probe_height_m, self.config.probe_speed_m_s*(observation['t_seconds']-self.probe_started+self.env.config.control_dt)) + return self.env.pose_action(goal, self.probe_quaternion, 0.) + # Once qualified, the original motion controller remains responsible for + # lift/transfer/place. Contact scoring remains independent and unchanged. + if self.qualified and self.teacher.phase in ('lift', 'transfer', 'place') and not self.carry_supported: + if (self.diagnostic['table_supported'] and self.diagnostic['bilateral_contact'] + and math.dist(observation['object_position_m'], observation['target_position_m']) <= self.env.config.goal_position_tolerance_m): + self.carry_supported = True + else: + guarded = self._monitor(observation, probe=False) + if guarded is not None: + return guarded + if self.teacher.phase == 'close' and self.teacher.ticks*self.env.config.control_dt >= self.config.close_timeout_s: + return self._alarm(observation, 'closure_timeout') + self.issued_phase = self.teacher.phase + action = self.teacher(observation) + self.issued_phase = self.teacher.issued_phase + if self.issued_phase == 'close' and self.teacher.phase == 'lift': + self.state = 'probe' + return action diff --git a/benchmarks/piper-contact-development-20261011/sources/r1/piper_task.py b/benchmarks/piper-contact-development-20261011/sources/r1/piper_task.py new file mode 100644 index 0000000..ff142a0 --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/sources/r1/piper_task.py @@ -0,0 +1,492 @@ +"""PiPER free-block contact pilot; authored policy and privileged simulator state. + +The pinned robot's native servos, force limits and gravity compensation remain +unchanged. The block moves under gravity and contact, with no grasp attachment. +""" +from __future__ import annotations + +from dataclasses import asdict, dataclass +from hashlib import sha256 +import math +from pathlib import Path +import platform +import time + +from . import reference_sim as sim +from . import robot_profiles +from .reference_task import ReferenceTaskEnv, _number, _vector + + +PROFILE = 'piper-rigid-block-task-v0.1' +SCHEMA = 'dvidia.piper-task-episode/v1' +SCOPE = ('Authored PiPER rigid-block contact pilot with privileged native state. ' + 'Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. ' + 'No learned skill, camera sensing, shoe manipulation or physical robot qualification.') +ARM_JOINTS = tuple('joint'+str(i) for i in range(1, 7)) + + +@dataclass(frozen=True) +class PiperTaskConfig: + timestep: float = .001 + control_dt: float = .02 + timeout_s: float = 20. + settle_s: float = .5 + object_position_m: tuple = (.30, -.03, .082) + target_position_m: tuple = (.35, .08, .08) + object_half_size_m: tuple = (.02, .02, .02) + mass_kg: float = .04 + friction: float = .8 + table_top_m: float = .06 + table_center_xy_m: tuple = (.38, 0.) + table_half_size_xy_m: tuple = (.17, .22) + table_thickness_m: float = .04 + goal_position_tolerance_m: float = .025 + goal_dwell_s: float = .25 + min_lift_m: float = .06 + min_lift_dwell_s: float = .10 + retreat_clearance_m: float = .10 + joint_target_rate_rad_s: float = 1.5 + jaw_target_rate_m_s: float = .05 + tool_orientation_wxyz: tuple = (0., 0., 1., 0.) + carry_orientation_wxyz: tuple = (math.cos(5*math.pi/12), 0., math.sin(5*math.pi/12), 0.) + + def __post_init__(self): + bounds = {'timestep': (.0005, .002), 'control_dt': (.02, .02), 'timeout_s': (.1, 30.), + 'settle_s': (.1, 2.), 'mass_kg': (.01, .10), 'friction': (.05, 2.), + 'table_top_m': (.04, .20), 'table_thickness_m': (.02, .08), + 'goal_position_tolerance_m': (.01, .025), 'goal_dwell_s': (.1, .6), + 'min_lift_m': (.04, .1), 'min_lift_dwell_s': (.05, .3), + 'retreat_clearance_m': (.08, .15), 'joint_target_rate_rad_s': (.1, 3.), + 'jaw_target_rate_m_s': (.005, .10)} + for name, (low, high) in bounds.items(): + object.__setattr__(self, name, _number(getattr(self, name), name, low, high)) + sim._timestep(self.timestep) + for numerator, denominator in ((self.control_dt, self.timestep), (self.timeout_s, self.control_dt), (self.settle_s, self.timestep)): + ratio = numerator/denominator + if not math.isclose(ratio, round(ratio), abs_tol=1e-9, rel_tol=0): + raise ValueError('Durations must contain complete native/control ticks') + for name, length, low, high in (('object_position_m', 3, -1, 1), ('target_position_m', 3, -1, 1), + ('object_half_size_m', 3, .018, .023), ('table_center_xy_m', 2, -1, 1), + ('table_half_size_xy_m', 2, .1, .3), ('tool_orientation_wxyz', 4, -1, 1), + ('carry_orientation_wxyz', 4, -1, 1)): + object.__setattr__(self, name, _vector(getattr(self, name), length, name, low, high)) + if any(not math.isclose(sum(x*x for x in quaternion), 1., abs_tol=1e-8, rel_tol=0) + for quaternion in (self.tool_orientation_wxyz, self.carry_orientation_wxyz)): + raise ValueError('Tool quaternion must be normalized wxyz') + for name in ('object_position_m', 'target_position_m'): + point = getattr(self, name) + if not .25 <= point[0] <= .48 or not -.15 <= point[1] <= .15: + raise ValueError('Placement outside the bounded pilot workspace') + for axis in range(2): + if abs(point[axis]-self.table_center_xy_m[axis])+self.object_half_size_m[axis] > self.table_half_size_xy_m[axis]-.01: + raise ValueError('Block placement must be inside the support table') + expected = self.table_top_m+self.object_half_size_m[2]+(.002 if name == 'object_position_m' else 0.) + if not math.isclose(point[2], expected, abs_tol=1e-8, rel_tol=0): + raise ValueError('Block start/target height differs from support plane') + if math.dist(self.object_position_m[:2], self.target_position_m[:2]) < .075: + raise ValueError('Pilot must require at least 75 mm transfer') + + +def _config(value): + value = PiperTaskConfig() if value is None else value + if not isinstance(value, PiperTaskConfig): + raise TypeError('config must be PiperTaskConfig') + return value + + +def _asset_root(assets): + path = Path(assets) + return path.parent if path.name == 'agilex_piper' else path + + +def task_contract(): + return {'profile': PROFILE, 'scope': SCOPE, 'physical_robot_ready': False, 'arm_joint_order': list(ARM_JOINTS), + 'actions': {'joint_targets_rad': 'six native position-servo targets in radians', + 'gripper_position_m': 'one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap'}, + 'gripper_joints': ['joint7', 'joint8'], 'independent_gripper_commands': 1, + 'tcp': 'authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated', + 'object': 'free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes', + 'contact': 'stock native finger collision boxes; object priority1 authors pair friction explicitly', + 'servo_gains': 'unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained', + 'collision_support_exemption': 'fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical', + 'observations': 'privileged joint/object/TCP/contact state; no deployable sensor pipeline', + 'success': 'valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat', + 'carry_contact_loss_tolerance_seconds': .04, 'contact_force_threshold_n': .01, + 'simulation_asset_license': 'MIT'} + + +def build_task_model(assets, config=None): + config = _config(config) + item, blobs = robot_profiles._payload('piper', _asset_root(assets)) + mj, _ = sim._native_imports() + spec = sim._spec(blobs, item['folder'], item['model']) + spec.option.timestep = config.timestep + spec.body('link6').add_site(name='piper_task_tcp', pos=[0, 0, .12003], size=[.004, 0, 0], rgba=[.1, .5, .3, 1]) + spec.worldbody.add_geom(name='task_floor', type=mj.mjtGeom.mjGEOM_PLANE, size=[2, 2, .1], rgba=[.9, .9, .88, 1]) + spec.worldbody.add_geom(name='task_table', type=mj.mjtGeom.mjGEOM_BOX, + pos=[*config.table_center_xy_m, config.table_top_m-config.table_thickness_m/2], + size=[*config.table_half_size_xy_m, config.table_thickness_m/2], rgba=[.73, .70, .64, 1]) + block = spec.worldbody.add_body(name='task_block', pos=config.object_position_m, gravcomp=0) + block.add_freejoint(name='task_block_free') + block.add_geom(name='task_block_geom', type=mj.mjtGeom.mjGEOM_BOX, size=config.object_half_size_m, + mass=config.mass_kg, friction=[config.friction, .005, .0001], priority=1, condim=4, rgba=[.75, .30, .16, 1]) + target = spec.worldbody.add_body(name='task_target_frame', pos=[*config.target_position_m[:2], config.table_top_m+.0005]) + target.add_geom(name='task_target', type=mj.mjtGeom.mjGEOM_BOX, size=[.035, .035, .0005], + contype=0, conaffinity=0, rgba=[.17, .47, .35, .3]) + model = spec.compile() + if (model.nq, model.nv, model.nu, model.neq, model.nmocap) != (15, 14, 7, 1, 0): + raise ValueError('PiPER task mechanical contract changed') + return model + + +class PiperTaskEnv: + _outcome_tick = ReferenceTaskEnv._outcome_tick + + def __init__(self, assets, config=None): + self.assets, self.config, self.ready = _asset_root(assets), _config(config), False + + def _finite(self): + _, np = sim._native_imports() + return (ReferenceTaskEnv._finite(self) and not np.any(self.data.qfrc_applied) + and not np.any(self.data.xfrc_applied)) + + def info(self): + result = ReferenceTaskEnv.info(self) + if not self._finite() or any(warning.number for warning in self.data.warning): + result.update(valid=False, success=False, + reason='invalid_state' if not self._finite() else 'solver_warning') + return result + + def reset(self, seed=0): + if type(seed) is not int or not 0 <= seed <= 999999: + raise ValueError('seed must be an integer in [0,999999]') + mj, np = sim._native_imports() + self.ready, self.seed, self.warnings = False, seed, [] + with sim.native_warnings(self.warnings): + self.model = build_task_model(self.assets, self.config) + self.data = mj.MjData(self.model) + self.arm_qpos, self.arm_dof = np.arange(6), np.arange(6) + self.linkage_qpos = np.arange(6, 8) + self.tcp = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_SITE, 'piper_task_tcp') + self.block = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_BODY, 'task_block') + self.block_geom = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_GEOM, 'task_block_geom') + self.table_geom = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_GEOM, 'task_table') + self.floor_geom = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_GEOM, 'task_floor') + self.pad_geoms = {} + for side, name in (('left', 'link7'), ('right', 'link8')): + body = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_BODY, name) + self.pad_geoms[side] = [i for i in range(self.model.ngeom) if self.model.geom_bodyid[i] == body + and self.model.geom_type[i] == mj.mjtGeom.mjGEOM_BOX and self.model.geom_contype[i]] + if len(self.pad_geoms[side]) != 2: + raise ValueError('PiPER stock finger collision boxes changed') + self.robot_geoms = {i for i in range(self.model.ngeom) if 1 <= self.model.geom_bodyid[i] <= 9} + self.moving_geoms = {i for i in self.robot_geoms if self.model.geom_bodyid[i] > 1} + self.arm_geoms = {i for i in self.robot_geoms if 2 <= self.model.geom_bodyid[i] <= 7} + self.data.qpos[:8] = [0., 1.57, -1.3485, 0., 0., 0., .035, -.035] + self.command_targets = self.data.qpos[:6].copy() + self.command_gripper = .035 + mj.mj_forward(self.model, self.data) + for _ in range(round(self.config.settle_s/self.config.timestep)): + self._controls() + mj.mj_step(self.model, self.data) + mj.mj_forward(self.model, self.data) + if not self._finite() or self.warnings or any(x.number for x in self.data.warning): + raise RuntimeError('PiPER settling produced invalid native physics') + counts, _, supported, critical, _ = self._contacts() + velocity = np.empty(6) + mj.mj_objectVelocity(self.model, self.data, mj.mjtObj.mjOBJ_BODY, self.block, velocity, 0) + point = self.data.xpos[self.block] + expected_z = self.config.table_top_m+self.config.object_half_size_m[2] + if (not supported or critical or any(counts.values()) + or np.linalg.norm(point[:2]-self.config.object_position_m[:2]) > .005 + or abs(float(point[2])-expected_z) > .002 + or np.linalg.norm(velocity[3:]) > .02 or np.linalg.norm(velocity[:3]) > .2): + raise RuntimeError('Reset must settle a supported, clear, stationary block near the declared start') + self.initial_object_position = self.data.xpos[self.block].copy() + self.elapsed, self.steps, self.dwell, self.lift_dwell = 0., 0, 0., 0. + self.max_lift, self.max_pad_force, self.critical_contact_ticks = 0., 0., 0 + self.lift_seen, self.grasp_seen, self.done = False, False, False + self.carry_complete, self.retention_lost = False, False + self.carry_contact_loss, self.max_carry_contact_loss, self.carry_contact_loss_events = 0., 0., 0 + self.first_success_time, self.reason = None, 'running' + self.contact_pair_native_ticks, self.ready = {}, True + return self.observation(), self.info() + + def _controls(self): + self.data.ctrl[:6] = self.command_targets + self.data.ctrl[6] = self.command_gripper + + def _contacts(self): + mj, np = sim._native_imports() + counts, forces, table, critical, pairs = {'left': 0, 'right': 0}, {'left': 0., 'right': 0.}, 0, 0, [] + pads = set(sum(self.pad_geoms.values(), [])) + for index, contact in enumerate(self.data.contact[:self.data.ncon]): + force = np.zeros(6) + mj.mj_contactForce(self.model, self.data, index, force) + if force[0] <= .01: + continue + pair = {int(contact.geom1), int(contact.geom2)} + pairs.append({'geom_ids': sorted(pair), 'normal_force_n': float(force[0])}) + if self.block_geom in pair: + table += int(self.table_geom in pair) + for side in counts: + if pair.intersection(self.pad_geoms[side]): + counts[side] += 1 + forces[side] += float(force[0]) + critical += int(bool(pair.intersection(self.robot_geoms-pads)) or self.floor_geom in pair) + elif pair.intersection({self.table_geom, self.floor_geom}) and pair.intersection(self.moving_geoms): + critical += 1 + elif pair.intersection(self.arm_geoms) and pair.issubset(self.robot_geoms): + critical += 1 + return counts, forces, table, critical, pairs + + def observation(self): + mj, np = sim._native_imports() + if not self._finite(): + raise RuntimeError('Cannot record nonfinite PiPER physics') + counts, forces, table, critical, pairs = self._contacts() + quat, velocity = np.empty(4), np.empty(6) + mj.mju_mat2Quat(quat, self.data.site_xmat[self.tcp]) + mj.mj_objectVelocity(self.model, self.data, mj.mjtObj.mjOBJ_BODY, self.block, velocity, 0) + return {'t_seconds': self.elapsed, 'qpos': self.data.qpos.tolist(), 'qvel': self.data.qvel.tolist(), + 'joint_position_rad': self.data.qpos[:6].tolist(), 'joint_velocity_rad_s': self.data.qvel[:6].tolist(), + 'gripper_joint_position_m': self.data.qpos[6:8].tolist(), + 'tcp_position_m': self.data.site_xpos[self.tcp].tolist(), 'tcp_quaternion_wxyz': quat.tolist(), + 'object_position_m': self.data.xpos[self.block].tolist(), 'object_quaternion_wxyz': self.data.xquat[self.block].tolist(), + 'object_linear_velocity_m_s': velocity[3:].tolist(), 'object_angular_velocity_rad_s': velocity[:3].tolist(), + 'target_position_m': list(self.config.target_position_m), 'grasp_contact_counts': counts, + 'pad_normal_forces_n': forces, 'table_object_contact_count': table, 'unexpected_contact_count': critical, + 'contact_count': int(self.data.ncon), 'active_contact_pairs': pairs, + 'native_actuator_controls': self.data.ctrl.tolist(), 'actuator_force_native': self.data.actuator_force.tolist(), + 'issued_joint_targets_rad': None, 'issued_gripper_position_m': None, 'command': None, + 'observation_origin': 'privileged_native_simulator_state'} + + def pose_action(self, position_m, quaternion_wxyz, gripper_position_m): + if not self.ready or self.done: + raise RuntimeError('Reset required before another PiPER action') + mj, np = sim._native_imports() + position = np.asarray(_vector(position_m, 3, 'tool position')) + quaternion = np.asarray(_vector(quaternion_wxyz, 4, 'tool quaternion', -1, 1)) + if not math.isclose(float(quaternion@quaternion), 1., abs_tol=1e-8, rel_tol=0): + raise ValueError('Tool quaternion must be normalized wxyz') + jaw = _number(gripper_position_m, 'gripper position', 0, .035) + jacp, jacr = np.zeros((3, self.model.nv)), np.zeros((3, self.model.nv)) + mj.mj_jacSite(self.model, self.data, jacp, jacr, self.tcp) + current, rotation = np.empty(4), np.empty(3) + mj.mju_mat2Quat(current, self.data.site_xmat[self.tcp]) + mj.mju_subQuat(rotation, quaternion, current) + rotation = self.data.site_xmat[self.tcp].reshape(3, 3)@rotation + translation = position-self.data.site_xpos[self.tcp] + for error, maximum in ((translation, .015), (rotation, .05)): + norm = float(np.linalg.norm(error)) + if norm > maximum: + error *= maximum/norm + jacobian = np.vstack((jacp[:, :6], .25*jacr[:, :6])) + error = np.concatenate((translation, .25*rotation)) + delta = jacobian.T@np.linalg.solve(jacobian@jacobian.T+.012**2*np.eye(6), error) + targets = np.clip(self.data.qpos[:6]+np.clip(delta, -.06, .06), + self.model.actuator_ctrlrange[:6, 0]+.02, self.model.actuator_ctrlrange[:6, 1]-.02) + return {'joint_targets_rad': targets.tolist(), 'gripper_position_m': jaw} + + def step(self, action): + if not self.ready or self.done: + raise RuntimeError('Reset required before another PiPER step') + if type(action) is not dict or set(action) != {'joint_targets_rad', 'gripper_position_m'}: + raise ValueError('PiPER requires six radian arm targets and one metre jaw target') + mj, np = sim._native_imports() + targets = np.asarray(_vector(action['joint_targets_rad'], 6, 'arm targets')) + jaw = _number(action['gripper_position_m'], 'jaw target', 0, .035) + if np.any(targets < self.model.actuator_ctrlrange[:6, 0]) or np.any(targets > self.model.actuator_ctrlrange[:6, 1]): + raise ValueError('Arm target exceeds native limits') + if not self._finite(): + self.reason, self.done = 'invalid_state', True + return None, self.info() + messages = [] + with sim.native_warnings(messages): + for _ in range(round(self.config.control_dt/self.config.timestep)): + self.command_targets += np.clip(targets-self.command_targets, + -self.config.joint_target_rate_rad_s*self.config.timestep, + self.config.joint_target_rate_rad_s*self.config.timestep) + self.command_gripper += float(np.clip(jaw-self.command_gripper, + -self.config.jaw_target_rate_m_s*self.config.timestep, + self.config.jaw_target_rate_m_s*self.config.timestep)) + self._controls() + mj.mj_step(self.model, self.data) + mj.mj_forward(self.model, self.data) + self.elapsed += self.config.timestep + if not self._finite() or messages or any(x.number for x in self.data.warning): + self.reason = 'invalid_state' if not self._finite() else 'solver_warning' + self.done = True + break + counts, forces, supported, critical, pairs = self._contacts() + for pair in {tuple(contact['geom_ids']) for contact in pairs}: + name = ':'.join(map(str, pair)) + self.contact_pair_native_ticks[name] = self.contact_pair_native_ticks.get(name, 0)+1 + velocity = np.empty(6) + mj.mj_objectVelocity(self.model, self.data, mj.mjtObj.mjOBJ_BODY, self.block, velocity, 0) + both = all(counts[side] > 0 for side in counts) + lift = float(self.data.xpos[self.block, 2]-self.initial_object_position[2]) + distance = float(np.linalg.norm(self.data.xpos[self.block]-self.config.target_position_m)) + actual_open = self.data.qpos[6] > .028 and self.data.qpos[7] < -.028 + self._outcome_tick(both=both, supported=supported, lift=lift, distance=distance, + released=not any(counts.values()) and actual_open, + settled=np.linalg.norm(velocity[3:]) < .035 and np.linalg.norm(velocity[:3]) < .3, + clear=self.data.site_xpos[self.tcp, 2] >= self.data.xpos[self.block, 2]+self.config.retreat_clearance_m, + critical=critical, pad_force=max(forces.values())) + self.warnings.extend(messages) + self.steps += 1 + if not self.done and self.steps >= round(self.config.timeout_s/self.config.control_dt): + self.reason, self.done = 'timeout', True + return self.observation() if self._finite() else None, self.info() + + +class PiperTaskPolicy: + def __init__(self, environment): + self.env, self.phase, self.ticks = environment, 'approach', 0 + self.grasp_position, self.held_offset = None, None + self.issued_phase = self.phase + + def __call__(self, observation): + mj, np = sim._native_imports() + self.issued_phase = self.phase + obj, tcp, target = (np.asarray(observation[name]) for name in ('object_position_m', 'tcp_position_m', 'target_position_m')) + both, jaw = all(observation['grasp_contact_counts'][side] for side in ('left', 'right')), .035 + orientation = self.env.config.tool_orientation_wxyz + if self.phase in ('approach', 'lift', 'transfer', 'retreat', 'verify'): + orientation = self.env.config.carry_orientation_wxyz + rotation, angular_error = np.empty(9), np.empty(3) + mj.mju_quat2Mat(rotation, np.asarray(orientation)) + mj.mju_subQuat(angular_error, np.asarray(orientation), np.asarray(observation['tcp_quaternion_wxyz'])) + aligned = np.linalg.norm(angular_error) < .12 + offset = rotation.reshape(3, 3)@self.held_offset if self.held_offset is not None else None + if self.phase == 'approach': + goal = obj+np.asarray([0., 0., .10]) + if np.linalg.norm(tcp-goal) < .008 and aligned: + self.grasp_position = obj+np.asarray([0., 0., .002]) + self.phase, self.ticks = 'descend', 0 + elif self.phase == 'descend': + goal = self.grasp_position + if np.linalg.norm(tcp-goal) < .004 and aligned: + self.phase, self.ticks = 'close', 0 + elif self.phase == 'close': + goal, jaw = self.grasp_position, 0. + if both and min(observation['pad_normal_forces_n'].values()) > .01 and self.ticks >= 35: + current_rotation = np.empty(9) + mj.mju_quat2Mat(current_rotation, np.asarray(observation['tcp_quaternion_wxyz'])) + self.held_offset = current_rotation.reshape(3, 3).T@(obj-tcp) + self.phase, self.ticks = 'lift', 0 + elif self.phase == 'lift': + goal, jaw = self.grasp_position+np.asarray([0., 0., .10]), 0. + if self.env.lift_seen and np.linalg.norm(tcp-goal) < .008: + self.phase, self.ticks = 'transfer', 0 + elif self.phase == 'transfer': + goal, jaw = target-offset+np.asarray([0., 0., .10]), 0. + if np.linalg.norm(tcp-goal) < .008: + self.phase, self.ticks = 'place', 0 + elif self.phase == 'place': + goal, jaw = target-offset, 0. + if observation['table_object_contact_count'] and np.linalg.norm(obj-target) < .02 and np.linalg.norm(tcp-goal) < .006: + self.phase, self.ticks = 'release', 0 + elif self.phase == 'release': + goal = target-offset + if not any(observation['grasp_contact_counts'].values()) and self.ticks >= 35: + self.phase, self.ticks = 'retreat', 0 + else: + goal = target+np.asarray([0., 0., .13]) + if np.linalg.norm(tcp-goal) < .008: + self.phase = 'verify' + self.ticks += 1 + return self.env.pose_action(goal.tolist(), orientation, jaw) + + +def run_episode(assets, config=None, *, seed=0, control='placement', arm_tape=None, policy_mode='baseline'): + config = _config(config) + if control not in ('placement', 'replay_open_jaw', 'hold'): + raise ValueError('Unknown PiPER task control') + if policy_mode not in ('baseline', 'guarded', 'probe_only', 'history'): + raise ValueError('PiPER policy mode must be baseline, guarded, probe_only or history') + from . import piper_grip_guard as grip_guard + from . import piper_contact_memory as contact_memory + started, latencies, environment, phase = time.perf_counter(), [], None, 'validation' + result = {'schema': SCHEMA, 'profile': PROFILE, 'scope': SCOPE, 'physical_robot_ready': False, + 'seed': seed, 'control': control, 'policy_mode': policy_mode, 'config': asdict(config), 'timestep_seconds': config.timestep, + 'valid': False, 'success': False, 'reason': 'not_started', 'error': None, 'warnings': [], + 'simulated_seconds': 0., 'trajectory': [], 'actions': [], 'arm_tape': [], 'metrics': {}, 'timing': {}, + 'contract': task_contract(), 'platform': {'system': platform.system(), 'machine': platform.machine(), 'python': platform.python_version()}} + source = Path(__file__).parent + result['implementation_sha256'] = {name: sha256((source/name).read_bytes()).hexdigest() + for name in ('piper_task.py', 'robot_profiles.py', 'robot_profiles.lock.json', 'reference_task.py', 'reference_sim.py')} + result['policy_implementation_sha256'] = {'piper_grip_guard.py': sha256((source/'piper_grip_guard.py').read_bytes()).hexdigest()} + memory_mode = policy_mode in ('probe_only', 'history') + if memory_mode: + result['policy_implementation_sha256']['piper_contact_memory.py'] = sha256((source/'piper_contact_memory.py').read_bytes()).hexdigest() + result['grip_guard'] = (contact_memory.inactive_summary(policy_mode) if memory_mode else grip_guard.inactive_summary(policy_mode)) + policy = None + try: + if control == 'replay_open_jaw': + if type(arm_tape) is not list or len(arm_tape) != round(config.timeout_s/config.control_dt): + raise ValueError('Open-jaw control requires a complete exact-duration arm tape') + arm_tape = [list(_vector(row, 6, 'arm replay')) for row in arm_tape] + phase = 'setup' + result['asset_provenance'] = robot_profiles.verify_assets('piper', _asset_root(assets)) + environment = PiperTaskEnv(assets, config) + observation, info = environment.reset(seed) + mj, np = sim._native_imports() + result['platform'].update(mujoco_version=mj.__version__, numpy_version=np.__version__) + result['compiled_model_sha256'] = sim.model_digest(environment.model) + result['initial_object_position_m'] = environment.initial_object_position.tolist() + result['native_servo_gains'] = environment.model.actuator_gainprm[:, 0].tolist() + result['native_servo_bias'] = environment.model.actuator_biasprm[:, :3].tolist() + result['native_force_limits'] = environment.model.actuator_forcerange.tolist() + result['native_control_limits'] = environment.model.actuator_ctrlrange.tolist() + result['native_model_settings'] = {'dimensions': {name: int(getattr(environment.model, name)) for name in ('nq', 'nv', 'nu', 'neq', 'nmocap')}, + 'gravity_m_s2': environment.model.opt.gravity.tolist(), + 'body_gravcomp': environment.model.body_gravcomp.tolist()} + result['contact_geometry'] = {'pad_geom_ids': environment.pad_geoms, + 'geom_body_names': [mj.mj_id2name(environment.model, mj.mjtObj.mjOBJ_BODY, int(body)) for body in environment.model.geom_bodyid]} + result['trajectory'].append(observation) + result['timing']['setup_seconds'] = time.perf_counter()-started + policy = (contact_memory.ContactMemoryPiperTaskPolicy(environment, policy_mode) if memory_mode and control == 'placement' + else grip_guard.GuardedPiperTaskPolicy(environment) if policy_mode == 'guarded' and control == 'placement' + else PiperTaskPolicy(environment)) + hold, phase = observation['joint_position_rad'], 'rollout' + for index in range(round(config.timeout_s/config.control_dt)): + began = time.perf_counter() + action = policy(observation) if control == 'placement' else {'joint_targets_rad': hold if control == 'hold' else arm_tape[index], 'gripper_position_m': .035} + if isinstance(policy, grip_guard.GuardedPiperTaskPolicy): + observation['guard_diagnostic'] = dict(policy.diagnostic) + record = {'t_seconds': observation['t_seconds'], **action, 'phase': policy.issued_phase if control == 'placement' else control} + result['actions'].append(record) + result['arm_tape'].append(list(action['joint_targets_rad'])) + observation.update(issued_joint_targets_rad=list(action['joint_targets_rad']), issued_gripper_position_m=action['gripper_position_m'], command=record) + observation, info = environment.step(action) + latencies.append(time.perf_counter()-began) + if observation is not None: + if isinstance(policy, grip_guard.GuardedPiperTaskPolicy): + observation['guard_diagnostic'] = None + result['trajectory'].append(observation) + if environment.done: + break + result.update(valid=info['valid'], success=info['success'], reason=info['reason'], warnings=info['warnings'], + simulated_seconds=info['simulation_time'], metrics={**info, 'contact_pair_native_ticks': environment.contact_pair_native_ticks}) + except Exception as exc: + result['reason'], result['error'] = 'exception', {'phase': phase, 'type': type(exc).__name__, 'message': str(exc)[:500]} + if environment is not None: + result['warnings'] = list(getattr(environment, 'warnings', [])) + result['simulated_seconds'] = getattr(environment, 'elapsed', 0.) + if isinstance(policy, grip_guard.GuardedPiperTaskPolicy): + result['grip_guard'] = policy.summary() + elapsed = time.perf_counter()-started + result['timing'].update(episode_wall_seconds=elapsed, control_step_seconds=sim._summary(latencies) if latencies else None, + control_boundaries=len(latencies), missed_control_boundaries=sum(x > config.control_dt for x in latencies), + simulated_seconds_per_wall_second=result['simulated_seconds']/elapsed, + scope='Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency') + return result + + +def run_matched(assets, config=None, *, seed=0, policy_mode='baseline'): + config = _config(config) + placement = run_episode(assets, config, seed=seed, policy_mode=policy_mode) + tape = placement['arm_tape'] if placement['valid'] and len(placement['arm_tape']) == round(config.timeout_s/config.control_dt) else None + return [placement, run_episode(assets, config, seed=seed, control='replay_open_jaw', arm_tape=tape, policy_mode=policy_mode), + run_episode(assets, config, seed=seed, control='hold', policy_mode=policy_mode)] diff --git a/benchmarks/piper-contact-development-20261011/sources/r1/reference_sim.py b/benchmarks/piper-contact-development-20261011/sources/r1/reference_sim.py new file mode 100644 index 0000000..5a982d8 --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/sources/r1/reference_sim.py @@ -0,0 +1,457 @@ +"""Pinned hardware reference mechanics; no physical controller or skill policy. + +Asset installation is an explicit network operation. All later work is local. +Imports of the optional native simulator are deferred until a model is requested. +""" +from __future__ import annotations + +from contextlib import contextmanager +from hashlib import sha256 +import json +import math +import os +from pathlib import Path +import platform +import statistics +import stat +import time +from urllib.request import Request, urlopen + + +PROFILE = "ur5e-2f85-menagerie-reference-v0.1" +COMMIT = "0059d4335f8156206f63a35662313385f7ad6d74" +ARM_JOINTS = ("shoulder_pan_joint", "shoulder_lift_joint", "elbow_joint", + "wrist_1_joint", "wrist_2_joint", "wrist_3_joint") +ARM_BODIES = ("shoulder_link", "upper_arm_link", "forearm_link", + "wrist_1_link", "wrist_2_link", "wrist_3_link") +CONTROL_DT = .02 +CASES = ("hold_open", "arm_sweep", "jaw_cycle") +SCOPE = ("Pinned reference geometry, inertias, collision proxies and coupled gripper. " + "Authored native servos, privileged state and synthetic commands. " + "No serial-specific calibration, measured hardware response, task policy or physical qualification.") + + +def asset_lock(): + return json.loads(Path(__file__).with_name("reference_assets.lock.json").read_text(encoding="utf-8")) + + +def _files(hands=False): + return [x for x in asset_lock()["files"] if hands or not x["path"].startswith("shadow_hand/")] + + +def _regular_bytes(path, size): + before = path.lstat() + if not stat.S_ISREG(before.st_mode): + raise ValueError(f"Expected a regular non-symlink asset: {path.name}") + if before.st_size != size: + raise ValueError(f"Asset size mismatch: {path.name}") + flags = os.O_RDONLY | getattr(os, "O_NONBLOCK", 0) | getattr(os, "O_NOFOLLOW", 0) | getattr(os, "O_BINARY", 0) + descriptor = os.open(path, flags) + with os.fdopen(descriptor, "rb") as stream: + opened = os.fstat(stream.fileno()) + if not stat.S_ISREG(opened.st_mode) or opened.st_size != size: + raise ValueError("Asset must remain a bounded regular file during opening") + if before.st_ino and opened.st_ino and (before.st_dev, before.st_ino) != (opened.st_dev, opened.st_ino): + raise ValueError("Asset file identity changed during opening") + content = stream.read(size + 1) + if len(content) != size: + raise ValueError(f"Asset size mismatch: {path.name}") + return content + + +def _asset_payload(directory, *, hands=False): + root = Path(directory) + if root.is_symlink() or not root.is_dir(): + raise ValueError("Asset root must be an existing non-symlink directory") + records = _files(hands) + blobs = {} + for record in records: + path = root / record["path"] + # Reject redirected subdirectories before allowing the native parser access. + if any(x.is_symlink() for x in (path.parent, path.parent.parent)): + raise ValueError("Asset subdirectories must not be symlinks") + content = _regular_bytes(path, record["bytes"]) + if sha256(content).hexdigest() != record["sha256"]: + raise ValueError(f"Asset digest mismatch: {record['path']}") + blobs[record["path"]] = content + metadata = {"commit": COMMIT, "files_verified": len(records), + "bytes_verified": sum(x["bytes"] for x in records), + "lock_sha256": sha256(Path(__file__).with_name("reference_assets.lock.json").read_bytes()).hexdigest(), + "licenses": {k: v for k, v in asset_lock()["licenses"].items() + if hands or k != "shadow_hand"}} + return metadata, blobs + + +def verify_assets(directory, *, hands=False): + return _asset_payload(directory, hands=hands)[0] + + +def _spec(blobs, folder, filename): + mj, _ = _native_imports() + prefix = folder + "/" + local = {key[len(prefix):]: content for key, content in blobs.items() if key.startswith(prefix)} + # The native parser receives the exact verified bytes in memory. It does not + # reread model/mesh/include paths between verification and compilation. + return mj.MjSpec.from_string(local[filename].decode("utf-8"), + include={key: content for key, content in local.items() if key.endswith(".xml")}, + assets={key: content for key, content in local.items() if key.startswith("assets/")}) + + +def fetch_assets(directory, *, hands=False): + """Download only the packaged, pinned allowlist, retaining upstream licenses. + + A failed download leaves an incomplete fresh directory for inspection; verify + rejects it. No credentials, account, dynamic manifest or arbitrary URL is used. + """ + destination = Path(directory) + destination.mkdir(parents=True, exist_ok=False) + for record in _files(hands): + url = f"https://raw.githubusercontent.com/google-deepmind/mujoco_menagerie/{COMMIT}/{record['path']}" + request = Request(url, headers={"User-Agent": "DVIDIA-Reference-Simulator/0.1"}) + with urlopen(request, timeout=30) as response: + if not response.geturl().startswith("https://raw.githubusercontent.com/"): + raise ValueError("Asset download redirected outside the pinned source host") + content = response.read(record["bytes"] + 1) + if len(content) != record["bytes"] or sha256(content).hexdigest() != record["sha256"]: + raise ValueError(f"Downloaded asset does not match the lock: {record['path']}") + path = destination / record["path"] + path.parent.mkdir(parents=True, exist_ok=True) + with path.open("xb") as stream: + stream.write(content) + return verify_assets(destination, hands=hands) + + +def _native_imports(): + try: + import mujoco + import numpy as np + except ImportError as exc: + raise RuntimeError("Install dvidia-training with the optional arm extra") from exc + if mujoco.__version__ != "3.15.0": + raise RuntimeError("Reference simulation requires MuJoCo 3.15.0") + return mujoco, np + + +@contextmanager +def native_warnings(messages): + from .env import _NATIVE_LOCK + mj, _ = _native_imports() + with _NATIVE_LOCK: + previous = mj.get_mju_user_warning() + mj.set_mju_user_warning(lambda value: messages.append(str(value))) + try: + yield + finally: + mj.set_mju_user_warning(previous) + + +def _timestep(value): + if isinstance(value, bool) or not isinstance(value, (int, float)) or value not in (.002, .001, .0005): + raise ValueError("Reference timestep must be 0.002, 0.001 or 0.0005 seconds") + return float(value) + + +def validate_duration(seconds): + if isinstance(seconds, bool) or not isinstance(seconds, (int, float)) or not math.isfinite(seconds) or not .1 <= seconds <= 10: + raise ValueError("Reference duration must be finite, between 0.1 and 10 seconds") + if not math.isclose(seconds / CONTROL_DT, round(seconds / CONTROL_DT), rel_tol=0, abs_tol=1e-9): + raise ValueError("Duration must be an integer number of 20 ms boundaries") + return float(seconds) + + +def build_model(directory, *, timestep=.001, probe_position=None): + _, blobs = _asset_payload(directory) + mj, _ = _native_imports() + arm = _spec(blobs, "universal_robots_ur5e", "ur5e.xml") + jaw = _spec(blobs, "robotiq_2f85", "2f85.xml") + # Resolve child/parent option differences explicitly, preserving the jaw's + # elliptic contact cone and impratio; do not silently accept attach warnings. + arm.option.cone = jaw.option.cone + arm.option.impratio = jaw.option.impratio + arm.option.timestep = jaw.option.timestep = _timestep(timestep) + arm.option.integrator = jaw.option.integrator = mj.mjtIntegrator.mjINT_IMPLICITFAST + arm.attach(jaw, prefix="gripper/", site="attachment_site") + arm.worldbody.add_geom(name="reference_floor", type=mj.mjtGeom.mjGEOM_PLANE, + size=[2, 2, .1], rgba=[.9, .9, .88, 1]) + if probe_position is not None: + if len(probe_position) != 3 or not all(math.isfinite(x) for x in probe_position): + raise ValueError("Probe requires three finite coordinates") + arm.worldbody.add_geom(name="collision_probe", type=mj.mjtGeom.mjGEOM_SPHERE, + pos=probe_position, size=[.025, 0, 0], rgba=[1, .4, .2, 1]) + return arm.compile() + + +def model_digest(model): + mj, np = _native_imports() + buffer = np.empty(mj.mj_sizeModel(model), dtype=np.uint8) + mj.mj_saveModel(model, buffer=buffer) + return sha256(buffer.tobytes()).hexdigest() + + +def _name(model, kind, index): + mj, _ = _native_imports() + return mj.mj_id2name(model, kind, int(index)) or f"unnamed_{index}" + + +def model_inventory(model): + mj, np = _native_imports() + active = (model.geom_contype != 0) | (model.geom_conaffinity != 0) + bodies = [] + for i in range(1, model.nbody): + geoms = np.flatnonzero(model.geom_bodyid == i) + bodies.append({"name": _name(model, mj.mjtObj.mjOBJ_BODY, i), + "mass_kg": float(model.body_mass[i]), + "inertia_kg_m2": model.body_inertia[i].tolist(), + "collision_geoms": int(np.count_nonzero(active[geoms])), + "visual_geoms": int(np.count_nonzero(~active[geoms]))}) + joints = [{"name": _name(model, mj.mjtObj.mjOBJ_JOINT, i), + "type": int(model.jnt_type[i]), "limited": bool(model.jnt_limited[i]), + "range": model.jnt_range[i].tolist(), + "qpos_address": int(model.jnt_qposadr[i]), "velocity_address": int(model.jnt_dofadr[i])} + for i in range(model.njnt)] + actuators = [] + for i in range(model.nu): + trn = int(model.actuator_trntype[i]) + kind = mj.mjtObj.mjOBJ_TENDON if trn == int(mj.mjtTrn.mjTRN_TENDON) else mj.mjtObj.mjOBJ_JOINT + actuators.append({"name": _name(model, mj.mjtObj.mjOBJ_ACTUATOR, i), + "transmission_type": trn, + "target": _name(model, kind, model.actuator_trnid[i, 0]), + "control_range": model.actuator_ctrlrange[i].tolist(), + "control_limited": bool(model.actuator_ctrllimited[i]), + "native_force_range": model.actuator_forcerange[i].tolist(), + "force_limited": bool(model.actuator_forcelimited[i])}) + return {"joint_coordinates_nq": model.nq, "velocity_dofs_nv": model.nv, + "joints": joints, "actuator_count": model.nu, "actuators": actuators, + "bodies": bodies, "equality_constraints": model.neq, "tendons": model.ntendon, + "contact_exclusions": model.nexclude, "native_sensor_definitions": model.nsensor, + "native_sensor_channels": model.nsensordata, + "collision_geom_count": int(np.count_nonzero(active)), + "visual_geom_count": int(np.count_nonzero(~active)), + "compiled_model_sha256": model_digest(model)} + + +def audit_reference(directory, *, hands=False): + provenance, blobs = _asset_payload(directory, hands=hands) + mj, _ = _native_imports() + warnings = [] + with native_warnings(warnings): + model = build_model(directory) + inventory = model_inventory(model) + if model.nq != 14 or model.nu != 7 or model.neq != 3 or model.ntendon != 1: + raise ValueError("Pinned reference composition changed its mechanical contract") + by_name = {x["name"]: x for x in inventory["bodies"]} + coverage = {name: by_name[name]["collision_geoms"] for name in ARM_BODIES} + hand_models = {} + if hands: + for side in ("left", "right"): + hand = _spec(blobs, "shadow_hand", f"{side}_hand.xml").compile() + hand_models[side] = model_inventory(hand) + return {"schema": "dvidia.reference-audit/v1", "profile": PROFILE, "scope": SCOPE, + "physical_robot_ready": False, "asset_provenance": provenance, + "settings": {"timestep_seconds": .001, "integrator": "implicitfast", + "contact_cone": "elliptic", "impratio": 10, + "mount": "upstream attachment_site, gripper namespace, no added adapter mass", + "tcp": "upstream gripper/pinch; not a measured physical TCP"}, + "inventory": inventory, "arm_link_collision_coverage": coverage, + "fixed_base_collision_geoms": by_name["base"]["collision_geoms"], + "arm_command_unit": "joint target radians", + "gripper_command_unit": "native 0–255 servo input; not meters or calibrated physical force", + "hand_models": hand_models, "bimanual_assembly_implemented": False, + "calibration_gates": {name: "unmeasured" for name in + ("serial_kinematics", "base_and_tcp_frames", "actuator_response_and_latency", + "gripper_encoder_gap_hysteresis", "contact_and_slip", "deployed_sensor_age", + "physical_task_success")}, "warnings": warnings} + + +def _initial(model): + mj, _ = _native_imports() + data = mj.MjData(model) + mj.mj_resetDataKeyframe(model, data, 0) + mj.mj_forward(model, data) + return data + + +def _sample(model, data, elapsed, command): + mj, np = _native_imports() + ids = [mj.mj_name2id(model, mj.mjtObj.mjOBJ_JOINT, name) for name in ARM_JOINTS] + site = mj.mj_name2id(model, mj.mjtObj.mjOBJ_SITE, "gripper/pinch") + pads = [mj.mj_name2id(model, mj.mjtObj.mjOBJ_GEOM, f"gripper/{side}_pad1") for side in ("left", "right")] + quat = np.empty(4) + mj.mju_mat2Quat(quat, data.site_xmat[site]) + return {"t_seconds": elapsed, "joint_position_rad": data.qpos[model.jnt_qposadr[ids]].tolist(), + "joint_velocity_rad_s": data.qvel[model.jnt_dofadr[ids]].tolist(), + "linkage_position_rad": data.qpos[6:].tolist(), + "tcp_position_m": data.site_xpos[site].tolist(), "tcp_quaternion_wxyz": quat.tolist(), + "pad_center_separation_m": float(np.linalg.norm(data.geom_xpos[pads[0]] - data.geom_xpos[pads[1]])), + "arm_points_m": [data.xpos[mj.mj_name2id(model, mj.mjtObj.mjOBJ_BODY, name)].tolist() + for name in ("base",) + ARM_BODIES] + [data.site_xpos[site].tolist()], + "pad_centers_m": [data.geom_xpos[index].tolist() for index in pads], + "contact_count": data.ncon, + "issued_joint_targets_rad": command[:6].tolist(), "issued_gripper_0_255": float(command[6])} + + +def _summary(values): + ordered = sorted(values) + return {"count": len(values), "median": statistics.median(ordered), + "p95": ordered[math.ceil(.95 * len(ordered)) - 1], "max": ordered[-1]} + + +def _command(case, elapsed, home): + _, np = _native_imports() + result = np.array(home, dtype=float, copy=True) + if case == "arm_sweep": + result[0] += .20 * math.sin(math.pi * elapsed) + elif case == "jaw_cycle": + result[6] = 127.5 * (1 - math.cos(math.pi * elapsed)) + elif case != "hold_open": + raise ValueError("Unknown reference motion case") + return result + + +def run_case(directory, case, *, timestep=.001, seconds=4.): + mj, np = _native_imports() + timestep = _timestep(timestep) + seconds = validate_duration(seconds) + if case not in CASES: + raise ValueError("Unknown reference motion case") + warnings = [] + ticks, chunks, trajectory = [], [], [] + with native_warnings(warnings): + started = time.perf_counter() + model = build_model(directory, timestep=timestep) + compile_seconds = time.perf_counter() - started + data = _initial(model) + home = model.key_ctrl[0].copy() + # Settling is outside the reported physics throughput/tick timing. + for _ in range(round(1 / timestep)): + data.ctrl[:] = home + mj.mj_step(model, data) + mj.mj_forward(model, data) + trajectory.append(_sample(model, data, 0., home)) + physics_wall = 0. + for boundary in range(round(seconds / CONTROL_DT)): + elapsed = boundary * CONTROL_DT + command = _command(case, elapsed, home) + data.ctrl[:] = command + start = time.perf_counter_ns() + for _ in range(round(CONTROL_DT / timestep)): + before = time.perf_counter_ns() + mj.mj_step(model, data) + ticks.append((time.perf_counter_ns() - before) / 1e6) + mj.mj_forward(model, data) + chunk_ms = (time.perf_counter_ns() - start) / 1e6 + physics_wall += chunk_ms / 1000 + chunks.append(chunk_ms) + trajectory.append(_sample(model, data, (boundary + 1) * CONTROL_DT, command)) + valid = bool(not warnings and not any(x.number for x in data.warning) + and np.isfinite(data.qpos).all() and np.isfinite(data.qvel).all() + and np.isfinite(data.qacc).all() and np.isfinite(data.site_xpos).all() + and np.isfinite(data.actuator_force).all() + and all(math.isfinite(v) for row in trajectory for k in + ("joint_position_rad", "joint_velocity_rad_s", "tcp_position_m", "linkage_position_rad") for v in row[k])) + nonfinite_trajectory_omitted = False + try: + json.dumps(trajectory, allow_nan=False) + except ValueError: + trajectory = [] + valid = False + nonfinite_trajectory_omitted = True + return {"case": case, "valid": valid, "warnings": warnings, + "nonfinite_trajectory_omitted": nonfinite_trajectory_omitted, + "compiled_model_sha256": model_digest(model), "timestep_seconds": timestep, + "control_dt_seconds": CONTROL_DT, "simulated_seconds": seconds, + "compile_and_asset_verification_seconds": compile_seconds, + "physics_chunks_wall_seconds": physics_wall, + "simulation_seconds_per_wall_second": seconds / physics_wall, + "native_tick_ms": _summary(ticks), "control_chunk_ms": _summary(chunks), + "timing_scope": "mj_step calls with per-tick instrumentation; chunks also include boundary mj_forward. " + "Excludes verification/compile, settling, sampling, rendering, perception, policy, transport and real actuation.", + "trajectory": trajectory} + + +def collision_probe(directory): + """Matched overlap diagnostic, not a path planner or collision safety test.""" + mj, np = _native_imports() + warnings = [] + attempts = [] + with native_warnings(warnings): + model = build_model(directory) + data = _initial(model) + body = mj.mj_name2id(model, mj.mjtObj.mjOBJ_BODY, "upper_arm_link") + active = (model.geom_contype != 0) | (model.geom_conaffinity != 0) + geom = int(np.flatnonzero((model.geom_bodyid == body) & active)[-1]) + position = data.geom_xpos[geom].copy() + for mask in (False, True): + model = build_model(directory, probe_position=position.tolist()) + if mask: + bodies = [mj.mj_name2id(model, mj.mjtObj.mjOBJ_BODY, name) for name in ARM_BODIES] + for index in np.flatnonzero(np.isin(model.geom_bodyid, bodies)): + model.geom_contype[index] = model.geom_conaffinity[index] = 0 + data = _initial(model) + probe = mj.mj_name2id(model, mj.mjtObj.mjOBJ_GEOM, "collision_probe") + pairs = [] + for contact in data.contact[:data.ncon]: + if probe in (contact.geom1, contact.geom2): + other = contact.geom2 if contact.geom1 == probe else contact.geom1 + pairs.append({"other_body": _name(model, mj.mjtObj.mjOBJ_BODY, model.geom_bodyid[other]), + "signed_distance_m": float(contact.dist)}) + attempts.append({"arm_collision_masks_disabled": mask, "probe_contact_count": len(pairs), "pairs": pairs}) + return {"scope": "Authored initial sphere overlap at an upper-arm collision proxy; no motion or real collision trial", + "probe_position_m": position.tolist(), "attempts": attempts, "warnings": warnings} + + +def benchmark_reference(directory, *, repeats=2, seconds=4., hands=False): + if isinstance(repeats, bool) or not isinstance(repeats, int) or not 1 <= repeats <= 5: + raise ValueError("Repeats must be an integer between 1 and 5") + seconds = validate_duration(seconds) + audit = audit_reference(directory, hands=hands) + attempts = [] + for case in CASES: + for timestep in (.002, .001, .0005): + for repeat in range(repeats): + try: + attempt = run_case(directory, case, timestep=timestep, seconds=seconds) + except Exception as exc: + attempt = {"case": case, "timestep_seconds": timestep, "valid": False, + "error_type": type(exc).__name__, + "error": str(exc).replace(str(Path(directory).resolve()), "[assets]")[:500]} + attempt["repeat"] = repeat + attempts.append(attempt) + convergence = [] + _, np = _native_imports() + for case in CASES: + for coarse in (.002, .001): + for repeat in range(repeats): + pair = [next(x for x in attempts if x["case"] == case and x["timestep_seconds"] == dt and x["repeat"] == repeat) + for dt in (coarse, coarse / 2)] + result = {"case": case, "repeat": repeat, "timestep_pair_seconds": [coarse, coarse / 2], + "valid": all(x["valid"] for x in pair)} + if result["valid"]: + rows = [x["trajectory"] for x in pair] + def differences(key): + return np.asarray([x[key] for x in rows[0]]) - np.asarray([x[key] for x in rows[1]]) + dq = differences("joint_position_rad") + dx = differences("tcp_position_m") + dg = differences("pad_center_separation_m") + result.update({"matched_boundaries": len(rows[0]), "joint_position_rmse_rad": float(np.sqrt(np.mean(dq ** 2))), + "max_joint_position_difference_rad": float(np.max(np.abs(dq))), + "tcp_distance_rmse_m": float(np.sqrt(np.mean(np.sum(dx ** 2, axis=1)))), + "max_tcp_distance_m": float(np.max(np.linalg.norm(dx, axis=1))), + "pad_center_separation_rmse_m": float(np.sqrt(np.mean(dg ** 2))), + "max_pad_center_separation_difference_m": float(np.max(np.abs(dg)))}) + convergence.append(result) + source_files = ("reference_sim.py", "reference_assets.lock.json", "embodiment_cli.py", "reference_report.html") + return {"schema": "dvidia.reference-benchmark/v1", "profile": PROFILE, "scope": SCOPE, + "physical_robot_ready": False, "task_success_evaluated": False, + "hardware": {"platform": platform.platform(), "machine": platform.machine(), + "python": platform.python_version(), "mujoco": "3.15.0", "gpu_used": False}, + "protocol": {"cases": list(CASES), "timesteps_seconds": [.002, .001, .0005], + "repeats": repeats, "seconds_per_case": seconds, "control_dt_seconds": CONTROL_DT, + "same_synthetic_scene_and_commands": True, + "repeat_scope": "Repeated deterministic numerical/performance diagnostics, not independent physical or skill trials", + "pad_measurement": "Euclidean distance between upstream left_pad1/right_pad1 geom centers; not calibrated inner jaw gap", + "convergence_scope": "Matched 20 ms boundaries including post-settling start; adjacent timestep comparison, not comparison with reality"}, + "implementation_sha256": {name: sha256(Path(__file__).with_name(name).read_bytes()).hexdigest() for name in source_files}, + "audit": audit, "collision_probe": collision_probe(directory), + "attempted": len(attempts), "valid_attempts": sum(x["valid"] for x in attempts), + "attempts": attempts, "convergence": convergence} diff --git a/benchmarks/piper-contact-development-20261011/sources/r1/reference_task.py b/benchmarks/piper-contact-development-20261011/sources/r1/reference_task.py new file mode 100644 index 0000000..588f10c --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/sources/r1/reference_task.py @@ -0,0 +1,544 @@ +"""Authored contact-based rigid-block task on the pinned native six-axis reference. + +The policy is a development baseline, not a learned skill. Observations are +privileged simulator state. Only reset initializes the freely moving block; +grasping, transport and release thereafter require native contact dynamics. +""" +from __future__ import annotations + +from dataclasses import asdict, dataclass +from hashlib import sha256 +import json +import math +from pathlib import Path +import time + +from . import reference_sim as sim + + +PROFILE = 'ur5e-2f85-rigid-block-task-v0.1' +SCHEMA = 'dvidia.reference-task-episode/v1' +SCOPE = ('Authored native UR5e/Robotiq rigid-block manipulation, privileged state and synthetic commands. ' + 'No shoe model, learned task policy, camera sensing, calibrated contact or physical qualification.') +CARRY_CONTACT_LOSS_TOLERANCE_S = .04 +GRIPPER_JOINTS = tuple('gripper/' + side + '_' + link + '_joint' + for side in ('right', 'left') + for link in ('driver', 'coupler', 'spring_link', 'follower')) + + +def _number(value, name, minimum, maximum): + if isinstance(value, bool) or not isinstance(value, (int, float)): + raise ValueError(f'{name} must be finite numeric data') + try: + value = float(value) + except (OverflowError, ValueError, TypeError) as exc: + raise ValueError(f'{name} must be finite numeric data') from exc + if not math.isfinite(value) or not minimum <= value <= maximum: + raise ValueError(f'{name} must lie in [{minimum}, {maximum}]') + return value + + +def _vector(value, length, name, minimum=-10., maximum=10.): + if not isinstance(value, (list, tuple)) or len(value) != length: + raise ValueError(f'{name} requires {length} values') + return tuple(_number(item, name, minimum, maximum) for item in value) + + +@dataclass(frozen=True) +class ReferenceTaskConfig: + timestep: float = .001 + control_dt: float = .02 + timeout_s: float = 20. + settle_s: float = .5 + object_position_m: tuple = (-.134, .49, .302) + target_position_m: tuple = (.08, .49, .30) + object_half_size_m: tuple = (.02, .02, .02) + mass_kg: float = .04 + friction: float = .8 + table_top_m: float = .28 + table_center_xy_m: tuple = (0., .55) + table_half_size_xy_m: tuple = (.32, .26) + table_thickness_m: float = .04 + goal_position_tolerance_m: float = .025 + goal_dwell_s: float = .25 + min_lift_m: float = .06 + min_lift_dwell_s: float = .10 + retreat_clearance_m: float = .10 + joint_target_rate_rad_s: float = 1.5 + jaw_target_rate_0_255_s: float = 500. + tool_orientation_wxyz: tuple = (0., math.sqrt(.5), math.sqrt(.5), 0.) + + def __post_init__(self): + bounds = {'timestep': (.0005, .002), 'control_dt': (.02, .02), 'timeout_s': (.1, 30.), + 'settle_s': (.1, 2.), 'mass_kg': (.01, .15), 'friction': (.02, 2.), + 'table_top_m': (.24, .32), 'table_thickness_m': (.02, .08), + 'goal_position_tolerance_m': (.01, .03), 'goal_dwell_s': (.10, .6), + 'min_lift_m': (.04, .10), 'min_lift_dwell_s': (.05, .3), + 'retreat_clearance_m': (.08, .15), 'joint_target_rate_rad_s': (.1, 3.), + 'jaw_target_rate_0_255_s': (50., 1000.)} + for name, (low, high) in bounds.items(): + object.__setattr__(self, name, _number(getattr(self, name), name, low, high)) + sim._timestep(self.timestep) + for numerator, denominator in ((self.control_dt, self.timestep), (self.timeout_s, self.control_dt), + (self.settle_s, self.timestep)): + ratio = numerator / denominator + if not math.isclose(ratio, round(ratio), abs_tol=1e-9, rel_tol=0): + raise ValueError('Task durations must contain an integer number of native/control ticks') + for name, length, low, high in (('object_position_m', 3, -2, 2), ('target_position_m', 3, -2, 2), + ('object_half_size_m', 3, .015, .025), ('table_center_xy_m', 2, -1, 1), + ('table_half_size_xy_m', 2, .1, .5), ('tool_orientation_wxyz', 4, -1, 1)): + object.__setattr__(self, name, _vector(getattr(self, name), length, name, low, high)) + if not math.isclose(sum(x*x for x in self.tool_orientation_wxyz), 1., abs_tol=1e-8, rel_tol=0): + raise ValueError('Tool goal quaternion must be normalized wxyz') + for name in ('object_position_m', 'target_position_m'): + point = getattr(self, name) + if not -.25 <= point[0] <= .25 or not .35 <= point[1] <= .70: + raise ValueError('Task placement lies outside the declared reference reach envelope') + for axis in range(2): + if abs(point[axis]-self.table_center_xy_m[axis]) + self.object_half_size_m[axis] > self.table_half_size_xy_m[axis]-.01: + raise ValueError('Task placement must be supported within the table edge') + expected = self.table_top_m + self.object_half_size_m[2] + (.002 if name == 'object_position_m' else 0.) + if not math.isclose(point[2], expected, abs_tol=1e-8, rel_tol=0): + raise ValueError('Start/target height must match the declared support plane and block size') + if math.dist(self.object_position_m[:2], self.target_position_m[:2]) < .075: + raise ValueError('Task must require at least 75 mm of block transfer') + + +def task_contract(): + return {'profile': PROFILE, 'scope': SCOPE, 'physical_robot_ready': False, + 'arm_joint_order': list(sim.ARM_JOINTS), 'gripper_linkage_order': list(GRIPPER_JOINTS), + 'actions': {'joint_targets_rad': 'six absolute joint targets, rad; ramped then gravity feedforward', + 'gripper_0_255': 'one native tendon servo target; 0 open / 255 close, not measured gap or force'}, + 'observation_origin': 'privileged_native_simulator_state', 'native_sensor_definitions': 0, + 'observations': {'joint_position_rad': [6], 'joint_velocity_rad_s': [6], 'linkage_position_rad': [8], + 'tcp_position_m': [3], 'tcp_quaternion_wxyz': [4], 'object_position_m': [3], + 'object_quaternion_wxyz': [4], 'grasp_contact_counts': 'left/right native block contacts', + 'pad_normal_forces_n': 'native mj_contactForce, not deployable tactile sensing'}, + 'contacts': 'native collision proxies; object priority 1 overrides pad/table friction floors', + 'object': 'one free rigid box; no weld, grasp attachment or runtime object pose writes', + 'success': 'valid physics, retained bilateral table-free lift and supported destination carry completion, then released/settled destination dwell and tool retreat', + 'carry_retention': {'bilateral_contact_required': 'after sustained lift until supported at destination while held', + 'contact_force_threshold_n': .01, + 'consecutive_loss_tolerance_seconds': CARRY_CONTACT_LOSS_TOLERANCE_S, + 'loss_at_or_above_tolerance': 'permanent failure, independent of teacher phase'}, + 'fixed_base_collision_proxy': False} + + +def build_task_model(assets, config=None): + config = ReferenceTaskConfig() if config is None else config + if not isinstance(config, ReferenceTaskConfig): + raise TypeError('config must be ReferenceTaskConfig') + _, blobs = sim._asset_payload(assets) + mj, _ = sim._native_imports() + arm = sim._spec(blobs, 'universal_robots_ur5e', 'ur5e.xml') + jaw = sim._spec(blobs, 'robotiq_2f85', '2f85.xml') + arm.option.cone, arm.option.impratio = jaw.option.cone, jaw.option.impratio + arm.option.timestep = jaw.option.timestep = config.timestep + arm.option.integrator = jaw.option.integrator = mj.mjtIntegrator.mjINT_IMPLICITFAST + arm.attach(jaw, prefix='gripper/', site='attachment_site') + arm.worldbody.add_geom(name='task_floor', type=mj.mjtGeom.mjGEOM_PLANE, size=[2, 2, .1], rgba=[.9, .9, .88, 1]) + arm.worldbody.add_geom(name='task_table', type=mj.mjtGeom.mjGEOM_BOX, + pos=[*config.table_center_xy_m, config.table_top_m-config.table_thickness_m/2], + size=[*config.table_half_size_xy_m, config.table_thickness_m/2], rgba=[.73, .70, .64, 1]) + block = arm.worldbody.add_body(name='task_block', pos=config.object_position_m) + block.add_freejoint(name='task_block_free') + block.add_geom(name='task_block_geom', type=mj.mjtGeom.mjGEOM_BOX, size=config.object_half_size_m, + mass=config.mass_kg, friction=[config.friction, .005, .0001], priority=1, + condim=4, rgba=[.75, .30, .16, 1]) + marker = arm.worldbody.add_body(name='task_target_frame', + pos=[*config.target_position_m[:2], config.table_top_m+.0005]) + marker.add_geom(name='task_target', type=mj.mjtGeom.mjGEOM_BOX, + size=[config.object_half_size_m[0]+.015, config.object_half_size_m[1]+.015, .0005], + rgba=[.17, .47, .35, .3], contype=0, conaffinity=0) + model = arm.compile() + if (model.nq, model.nv, model.nu, model.neq) != (21, 20, 7, 3): + raise ValueError('Task native mechanical contract changed') + return model + + +class ReferenceTaskEnv: + def __init__(self, assets, config=None): + self.assets = Path(assets) + self.config = ReferenceTaskConfig() if config is None else config + if not isinstance(self.config, ReferenceTaskConfig): + raise TypeError('config must be ReferenceTaskConfig') + self.ready = False + + def reset(self, seed=0): + if type(seed) is not int or not 0 <= seed <= 999999: + raise ValueError('seed must be an integer in [0, 999999]') + mj, np = sim._native_imports() + self.ready = False + self.seed, self.warnings = seed, [] + with sim.native_warnings(self.warnings): + self.model = build_task_model(self.assets, self.config) + self.data = mj.MjData(self.model) + self.arm_ids = np.asarray([mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_JOINT, x) for x in sim.ARM_JOINTS]) + self.arm_qpos = self.model.jnt_qposadr[self.arm_ids] + self.arm_dof = self.model.jnt_dofadr[self.arm_ids] + self.linkage_ids = np.asarray([mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_JOINT, x) for x in GRIPPER_JOINTS]) + self.linkage_qpos = self.model.jnt_qposadr[self.linkage_ids] + self.tcp = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_SITE, 'gripper/pinch') + self.block = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_BODY, 'task_block') + self.block_geom = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_GEOM, 'task_block_geom') + self.table_geom = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_GEOM, 'task_table') + self.floor_geom = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_GEOM, 'task_floor') + self.pad_geoms = {side: [mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_GEOM, f'gripper/{side}_pad{i}') + for i in (1, 2)] for side in ('left', 'right')} + self.robot_geoms = set(range(self.model.ngeom)) - { + self.block_geom, self.table_geom, + self.floor_geom, + mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_GEOM, 'task_target')} + arm_bodies = {mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_BODY, name) for name in sim.ARM_BODIES} + self.arm_geoms = {i for i in self.robot_geoms if int(self.model.geom_bodyid[i]) in arm_bodies} + # The upstream keyframe contains only robot qpos; initialize them + # explicitly and leave the free block's compiled reset coordinates. + self.data.qpos[self.arm_qpos] = [-1.5708, -1.5708, 1.5708, -1.5708, -1.5708, 0.] + self.data.qpos[self.linkage_qpos] = 0. + self.command_targets = self.data.qpos[self.arm_qpos].copy() + self.command_gripper = 0. + mj.mj_forward(self.model, self.data) + for _ in range(round(self.config.settle_s/self.config.timestep)): + self._controls() + mj.mj_step(self.model, self.data) + mj.mj_forward(self.model, self.data) + if not self._finite() or self.warnings or any(x.number for x in self.data.warning): + raise RuntimeError('Task settling produced invalid native physics') + self.initial_object_position = self.data.xpos[self.block].copy() + self.elapsed, self.steps, self.dwell, self.lift_dwell = 0., 0, 0., 0. + self.max_lift, self.max_pad_force, self.critical_contact_ticks = 0., 0., 0 + self.lift_seen, self.grasp_seen, self.done = False, False, False + self.carry_complete, self.retention_lost = False, False + self.carry_contact_loss, self.max_carry_contact_loss = 0., 0. + self.carry_contact_loss_events = 0 + self.first_success_time = None + self.reason = 'running' + self.ready = True + return self.observation(), self.info() + + def _finite(self): + _, np = sim._native_imports() + return all(np.isfinite(value).all() for value in (self.data.qpos, self.data.qvel, self.data.qacc, self.data.xpos)) + + def _controls(self): + _, np = sim._native_imports() + # Authored gravity feedforward, applied inside the original bounded + # affine position servos. Actual force/velocity are never overwritten. + gains = self.model.actuator_gainprm[:6, 0] + requested = self.command_targets + self.data.qfrc_bias[self.arm_dof]/gains + self.data.ctrl[:6] = np.clip(requested, self.model.actuator_ctrlrange[:6, 0], self.model.actuator_ctrlrange[:6, 1]) + self.data.ctrl[6] = self.command_gripper + + def _contacts(self): + mj, np = sim._native_imports() + counts, forces, table, critical = {'left': 0, 'right': 0}, {'left': 0., 'right': 0.}, 0, 0 + pads = set(sum(self.pad_geoms.values(), [])) + for index, contact in enumerate(self.data.contact[:self.data.ncon]): + pair = {int(contact.geom1), int(contact.geom2)} + force = np.zeros(6) + mj.mj_contactForce(self.model, self.data, index, force) + if force[0] <= .01: + continue + if self.block_geom in pair: + if self.table_geom in pair: + table += 1 + for side in ('left', 'right'): + if pair.intersection(self.pad_geoms[side]): + counts[side] += 1 + forces[side] += float(force[0]) + if pair.intersection(self.robot_geoms-pads): + critical += 1 + elif pair.intersection({self.table_geom, self.floor_geom}) and pair.intersection(self.robot_geoms): + critical += 1 + elif pair.intersection(self.arm_geoms) and pair.issubset(self.robot_geoms): + critical += 1 + return counts, forces, table, critical + + def observation(self): + mj, np = sim._native_imports() + if not self._finite(): + raise RuntimeError('Cannot record a nonfinite native state') + counts, forces, table, critical = self._contacts() + tcp_quat, velocity = np.empty(4), np.empty(6) + mj.mju_mat2Quat(tcp_quat, self.data.site_xmat[self.tcp]) + mj.mj_objectVelocity(self.model, self.data, mj.mjtObj.mjOBJ_BODY, self.block, velocity, 0) + separation = float(np.linalg.norm(self.data.geom_xpos[self.pad_geoms['left'][0]]- + self.data.geom_xpos[self.pad_geoms['right'][0]])) + return {'t_seconds': self.elapsed, 'qpos': self.data.qpos.tolist(), 'qvel': self.data.qvel.tolist(), + 'joint_position_rad': self.data.qpos[self.arm_qpos].tolist(), + 'joint_velocity_rad_s': self.data.qvel[self.arm_dof].tolist(), + 'linkage_position_rad': self.data.qpos[self.linkage_qpos].tolist(), + 'tcp_position_m': self.data.site_xpos[self.tcp].tolist(), 'tcp_quaternion_wxyz': tcp_quat.tolist(), + 'object_position_m': self.data.xpos[self.block].tolist(), 'object_quaternion_wxyz': self.data.xquat[self.block].tolist(), + 'object_linear_velocity_m_s': velocity[3:].tolist(), 'object_angular_velocity_rad_s': velocity[:3].tolist(), + 'target_position_m': list(self.config.target_position_m), 'pad_center_separation_m': separation, + 'grasp_contact_counts': counts, 'pad_normal_forces_n': forces, 'table_object_contact_count': table, + 'unexpected_contact_count': critical, 'contact_count': int(self.data.ncon), + 'native_actuator_controls': self.data.ctrl.tolist(), 'actuator_force': self.data.actuator_force.tolist(), + 'issued_joint_targets_rad': None, 'issued_gripper_0_255': None, 'command': None, + 'observation_origin': 'privileged_native_simulator_state'} + + def info(self): + _, np = sim._native_imports() + valid = self.reason not in ('invalid_state', 'solver_warning') and not self.warnings + success = valid and self.carry_complete and not self.retention_lost and self.dwell+1e-12 >= self.config.goal_dwell_s + return {'valid': valid, 'success': success, + 'reason': ('success' if success else self.reason), 'simulation_time': self.elapsed, + 'steps': self.steps, 'lift_seen': self.lift_seen, 'grasp_seen': self.grasp_seen, + 'max_object_lift_m': self.max_lift, 'dwell_seconds': self.dwell, 'lift_dwell_seconds': self.lift_dwell, + 'max_pad_normal_force_n': self.max_pad_force, 'unexpected_contact_native_ticks': self.critical_contact_ticks, + 'carry_complete': self.carry_complete, 'retention_lost': self.retention_lost, + 'max_carry_contact_loss_seconds': self.max_carry_contact_loss, + 'carry_contact_loss_events': self.carry_contact_loss_events, + 'carry_contact_loss_tolerance_seconds': CARRY_CONTACT_LOSS_TOLERANCE_S, + 'first_success_time_seconds': self.first_success_time, + 'target_distance_m': float(np.linalg.norm(self.data.xpos[self.block]-self.config.target_position_m)) if self._finite() else None, + 'warnings': list(self.warnings), 'physical_robot_ready': False} + + def _outcome_tick(self, *, both, supported, lift, distance, released, settled, clear, critical, pad_force): + """Score native evidence without consulting the authored policy phase.""" + dt = self.config.timestep + self.max_pad_force = max(self.max_pad_force, pad_force) + self.critical_contact_ticks += bool(critical) + self.grasp_seen |= both + self.max_lift = max(self.max_lift, lift) + loaded = both and not supported and lift >= self.config.min_lift_m + self.lift_dwell = self.lift_dwell+dt if loaded else 0. + self.lift_seen |= self.lift_dwell+1e-12 >= self.config.min_lift_dwell_s + if self.lift_seen and not self.carry_complete: + # Release is allowed only once the still-held block actually rests + # at its destination; a dropped/tossed block cannot acquire this latch. + self.carry_complete |= bool(both and supported and distance <= self.config.goal_position_tolerance_m) + if not self.carry_complete: + if both: + self.carry_contact_loss = 0. + else: + before = self.carry_contact_loss + self.carry_contact_loss += dt + self.max_carry_contact_loss = max(self.max_carry_contact_loss, self.carry_contact_loss) + if before+1e-12 < CARRY_CONTACT_LOSS_TOLERANCE_S <= self.carry_contact_loss+1e-12: + self.carry_contact_loss_events += 1 + self.retention_lost = True + qualifies = (self.lift_seen and self.grasp_seen and self.carry_complete and not self.retention_lost + and released and supported and settled and clear + and distance <= self.config.goal_position_tolerance_m and self.critical_contact_ticks == 0) + self.dwell = self.dwell+dt if qualifies else 0. + if self.dwell+1e-12 >= self.config.goal_dwell_s and self.first_success_time is None: + self.first_success_time = self.elapsed + + def pose_action(self, position_m, quaternion_wxyz, gripper_0_255): + if not self.ready or self.done: + raise RuntimeError('Reset is required before another task action') + mj, np = sim._native_imports() + position = np.asarray(_vector(position_m, 3, 'pose position'), dtype=float) + quaternion = np.asarray(_vector(quaternion_wxyz, 4, 'pose quaternion', -1, 1), dtype=float) + if not math.isclose(float(quaternion@quaternion), 1., abs_tol=1e-8, rel_tol=0): + raise ValueError('Pose quaternion must be normalized wxyz') + jaw = _number(gripper_0_255, 'gripper command', 0, 255) + jacp, jacr = np.zeros((3, self.model.nv)), np.zeros((3, self.model.nv)) + mj.mj_jacSite(self.model, self.data, jacp, jacr, self.tcp) + current, rotation = np.empty(4), np.empty(3) + mj.mju_mat2Quat(current, self.data.site_xmat[self.tcp]) + mj.mju_subQuat(rotation, quaternion, current) + # mju_subQuat returns angular velocity in the current local frame; + # site rotational Jacobians are in world coordinates. + rotation = self.data.site_xmat[self.tcp].reshape(3, 3) @ rotation + translation = position-self.data.site_xpos[self.tcp] + for error, maximum in ((translation, .018), (rotation, .04)): + norm = float(np.linalg.norm(error)) + if norm > maximum: + error *= maximum/norm + jacobian = np.vstack((jacp[:, self.arm_dof], .25*jacr[:, self.arm_dof])) + error = np.concatenate((translation, .25*rotation)) + delta = jacobian.T @ np.linalg.solve(jacobian@jacobian.T+.012**2*np.eye(6), error) + delta = np.clip(delta, -.06, .06) + targets = np.clip(self.data.qpos[self.arm_qpos]+delta, + self.model.actuator_ctrlrange[:6, 0]+.02, self.model.actuator_ctrlrange[:6, 1]-.02) + return {'joint_targets_rad': targets.tolist(), 'gripper_0_255': jaw} + + def step(self, action): + if not self.ready or self.done: + raise RuntimeError('Reset is required before another task step') + if type(action) is not dict or set(action) != {'joint_targets_rad', 'gripper_0_255'}: + raise ValueError('Task action requires six joint targets and one native gripper command') + mj, np = sim._native_imports() + targets = np.asarray(_vector(action['joint_targets_rad'], 6, 'joint targets'), dtype=float) + jaw = _number(action['gripper_0_255'], 'gripper command', 0, 255) + if np.any(targets < self.model.actuator_ctrlrange[:6, 0]) or np.any(targets > self.model.actuator_ctrlrange[:6, 1]): + raise ValueError('Task joint target exceeds native actuator limits') + if not self._finite(): + self.reason, self.done = 'invalid_state', True + return None, -1., True, False, self.info() + before_distance = float(np.linalg.norm(self.data.xpos[self.block]-self.config.target_position_m)) + messages = [] + with sim.native_warnings(messages): + for _ in range(round(self.config.control_dt/self.config.timestep)): + self.command_targets += np.clip(targets-self.command_targets, + -self.config.joint_target_rate_rad_s*self.config.timestep, + self.config.joint_target_rate_rad_s*self.config.timestep) + self.command_gripper += float(np.clip(jaw-self.command_gripper, + -self.config.jaw_target_rate_0_255_s*self.config.timestep, + self.config.jaw_target_rate_0_255_s*self.config.timestep)) + self._controls() + mj.mj_step(self.model, self.data) + mj.mj_forward(self.model, self.data) + self.elapsed += self.config.timestep + if not self._finite(): + self.reason, self.done = 'invalid_state', True + break + if messages or any(x.number for x in self.data.warning): + self.reason, self.done = 'solver_warning', True + break + counts, forces, supported, critical = self._contacts() + both = all(counts[side] > 0 for side in ('left', 'right')) + lift = float(self.data.xpos[self.block, 2]-self.initial_object_position[2]) + velocity = np.empty(6) + mj.mj_objectVelocity(self.model, self.data, mj.mjtObj.mjOBJ_BODY, self.block, velocity, 0) + distance = float(np.linalg.norm(self.data.xpos[self.block]-self.config.target_position_m)) + drivers = self.data.qpos[self.linkage_qpos[[0, 4]]] + released = not any(counts.values()) and bool(np.max(drivers) < .1) + settled = np.linalg.norm(velocity[3:]) < .035 and np.linalg.norm(velocity[:3]) < .3 + clear = self.data.site_xpos[self.tcp, 2] >= self.data.xpos[self.block, 2]+self.config.retreat_clearance_m + self._outcome_tick(both=both, supported=supported, lift=lift, distance=distance, + released=released, settled=settled, clear=clear, + critical=critical, pad_force=max(forces.values())) + self.warnings.extend(messages) + self.steps += 1 + if not self.done and self.steps >= round(self.config.timeout_s/self.config.control_dt): + self.reason, self.done = 'timeout', True + observation = self.observation() if self._finite() else None + info = self.info() + reward = before_distance-info['target_distance_m'] if info['target_distance_m'] is not None else -1. + return observation, reward, self.done and self.reason != 'timeout', self.done and self.reason == 'timeout', info + + +class ReferenceTaskPolicy: + """Authored approach/grasp/place baseline, with no learned model or fallback.""" + def __init__(self, environment): + self.env, self.phase, self.ticks = environment, 'approach', 0 + self.grasp_position = None + self.held_offset = None + + def __call__(self, observation): + _, np = sim._native_imports() + c = self.env.config + obj, tcp, target = (np.asarray(observation[name]) for name in + ('object_position_m', 'tcp_position_m', 'target_position_m')) + jaw = 0. + both = all(observation['grasp_contact_counts'][side] > 0 for side in ('left', 'right')) + if self.phase == 'approach': + goal = obj+np.asarray([0., 0., .13]) + if np.linalg.norm(tcp-goal) < .008: + self.grasp_position = obj+np.asarray([0., 0., .005]) + self.phase, self.ticks = 'descend', 0 + elif self.phase == 'descend': + goal = self.grasp_position + if np.linalg.norm(tcp-goal) < .004: + self.phase, self.ticks = 'close', 0 + elif self.phase == 'close': + goal, jaw = self.grasp_position, 180. + if both and min(observation['pad_normal_forces_n'].values()) > .1 and self.ticks >= 25: + self.held_offset = obj-tcp + self.phase, self.ticks = 'lift', 0 + elif self.phase == 'lift': + goal, jaw = self.grasp_position+np.asarray([0., 0., .13]), 180. + if self.env.lift_seen and np.linalg.norm(tcp-goal) < .008: + self.phase, self.ticks = 'transfer', 0 + elif self.phase == 'transfer': + goal, jaw = target-self.held_offset+np.asarray([0., 0., .13]), 180. + if np.linalg.norm(tcp-goal) < .008: + self.phase, self.ticks = 'place', 0 + elif self.phase == 'place': + goal, jaw = target-self.held_offset, 180. + if observation['table_object_contact_count'] > 0 and np.linalg.norm(obj-target) < .02 and np.linalg.norm(tcp-goal) < .006: + self.phase, self.ticks = 'release', 0 + elif self.phase == 'release': + goal = target-self.held_offset + if not any(observation['grasp_contact_counts'].values()) and self.ticks >= 35: + self.phase, self.ticks = 'retreat', 0 + else: + goal = target+np.asarray([0., 0., .135]) + if np.linalg.norm(tcp-goal) < .008: + self.phase = 'verify' + self.ticks += 1 + return self.env.pose_action(goal.tolist(), c.tool_orientation_wxyz, jaw) + + +def run_episode(assets, config=None, *, seed=0, control='placement', arm_tape=None): + """Retain every issued decision and native state for one attempted episode.""" + config = ReferenceTaskConfig() if config is None else config + if not isinstance(config, ReferenceTaskConfig): + raise TypeError('config must be ReferenceTaskConfig') + if control not in ('placement', 'hold', 'replay_open_jaw'): + raise ValueError('Unknown reference task control') + started = time.perf_counter() + attempt = {'schema': SCHEMA, 'profile': PROFILE, 'scope': SCOPE, 'physical_robot_ready': False, + 'seed': seed, 'control': control, 'config': asdict(config), 'timestep_seconds': config.timestep, + 'simulated_seconds': 0., 'valid': False, 'success': False, 'reason': 'not_started', + 'error': None, 'warnings': [], 'trajectory': [], 'actions': [], 'arm_tape': [], + 'metrics': {}, 'timing': {}, 'contract': task_contract()} + source_root = Path(__file__).parent + attempt['implementation_sha256'] = {name: sha256((source_root / name).read_bytes()).hexdigest() + for name in ('reference_task.py', 'reference_sim.py', 'reference_assets.lock.json')} + environment, phase, latencies = None, 'validation', [] + try: + if control == 'replay_open_jaw': + if type(arm_tape) is not list or len(arm_tape) != round(config.timeout_s/config.control_dt): + raise ValueError('Open-jaw control requires exactly one arm target for every configured control tick') + arm_tape = [list(_vector(row, 6, 'replay arm target')) for row in arm_tape] + phase = 'setup' + attempt['asset_provenance'] = sim.verify_assets(assets) + environment = ReferenceTaskEnv(assets, config) + observation, info = environment.reset(seed=seed) + attempt['compiled_model_sha256'] = sim.model_digest(environment.model) + attempt['initial_object_position_m'] = environment.initial_object_position.tolist() + attempt['target_position_m'] = list(config.target_position_m) + attempt['trajectory'].append(observation) + attempt['timing']['setup_seconds'] = time.perf_counter()-started + policy = ReferenceTaskPolicy(environment) + hold = list(observation['joint_position_rad']) + phase = 'rollout' + for index in range(round(config.timeout_s/config.control_dt)): + began = time.perf_counter() + if control == 'placement': + action = policy(observation) + action_phase = policy.phase + else: + action = {'joint_targets_rad': hold if control == 'hold' else arm_tape[index], + 'gripper_0_255': 0.} + action_phase = control + record = {'t_seconds': observation['t_seconds'], **action, 'phase': action_phase} + attempt['actions'].append(record) + attempt['arm_tape'].append(list(action['joint_targets_rad'])) + observation['issued_joint_targets_rad'] = list(action['joint_targets_rad']) + observation['issued_gripper_0_255'] = action['gripper_0_255'] + observation['command'] = record + observation, _, terminated, truncated, info = environment.step(action) + latencies.append(time.perf_counter()-began) + if observation is not None: + attempt['trajectory'].append(observation) + if terminated or truncated: + break + attempt.update(valid=info['valid'], success=info['success'], reason=info['reason'], + simulated_seconds=info['simulation_time'], warnings=info['warnings'], metrics=info) + except Exception as exc: + attempt['error'] = {'phase': phase, 'type': type(exc).__name__, 'message': str(exc)[:500]} + attempt['reason'] = 'exception' + if environment is not None: + attempt['warnings'] = list(getattr(environment, 'warnings', [])) + attempt['simulated_seconds'] = getattr(environment, 'elapsed', 0.) + elapsed = time.perf_counter()-started + attempt['timing'].update(episode_wall_seconds=elapsed, + control_step_seconds=sim._summary(latencies) if latencies else None, + missed_control_boundaries=sum(latency > config.control_dt for latency in latencies), + control_boundaries=len(latencies), + simulated_seconds_per_wall_second=attempt['simulated_seconds']/elapsed, + scope='Wall computation, not real-time sensor-to-actuator latency. Includes setup, policy/IK, native physics, contacts, observations and trace construction; excludes process startup, output I/O and rendering') + return attempt + + +def run_matched(assets, config=None, *, seed=0): + placement = run_episode(assets, config, seed=seed) + controls = [run_episode(assets, config, seed=seed, control='replay_open_jaw', arm_tape=placement['arm_tape'])] + controls.append(run_episode(assets, config, seed=seed, control='hold')) + return [placement, *controls] diff --git a/benchmarks/piper-contact-development-20261011/sources/r1/robot_profiles.lock.json b/benchmarks/piper-contact-development-20261011/sources/r1/robot_profiles.lock.json new file mode 100644 index 0000000..a8ef55f --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/sources/r1/robot_profiles.lock.json @@ -0,0 +1,898 @@ +{ + "schema": "dvidia.robot-profiles-lock/v1", + "repository": "https://github.com/google-deepmind/mujoco_menagerie", + "commit": "0059d4335f8156206f63a35662313385f7ad6d74", + "profiles": [ + { + "id": "piper", + "name": "AgileX PiPER", + "folder": "agilex_piper", + "model": "piper.xml", + "simulation_asset_license": "MIT", + "arm_axes": 6, + "gripper_axes": 1, + "arm_joint_names": [ + "joint1", + "joint2", + "joint3", + "joint4", + "joint5", + "joint6" + ], + "gripper_joint_names": [ + "joint7", + "joint8" + ], + "actuator_names": [ + "joint1", + "joint2", + "joint3", + "joint4", + "joint5", + "joint6", + "gripper" + ], + "native_command_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "m" + ], + "expected_dimensions": { + "nq": 8, + "nv": 8, + "nu": 7, + "neq": 1 + }, + "tool_frame_body": "link6", + "tool_frame_scope": "terminal arm link origin; not a calibrated fingertip TCP", + "gripper_command": "single-finger slide target in metres, native range [0,0.035]; not total jaw gap", + "sdk_url": "https://github.com/agilexrobotics/piper_sdk", + "hardware_url": "https://global.agilex.ai/products/piper", + "upstream_model_url": "https://github.com/google-deepmind/mujoco_menagerie/tree/0059d4335f8156206f63a35662313385f7ad6d74/agilex_piper", + "openness_scope": "The stated license covers these pinned simulation assets; SDK and physical design licenses must be assessed separately.", + "files": [ + { + "path": "agilex_piper/CHANGELOG.md", + "bytes": 145, + "sha256": "d54aa5c57eb44153e86ecea15f247bbf6a708100e2d4744b8540eadc274e04f0", + "git_blob_sha1": "858f2eee85026e4999f2335230b6612be7c0b376" + }, + { + "path": "agilex_piper/LICENSE", + "bytes": 1065, + "sha256": "e32d78fd3761052ab0b2bb42fef8a7a9ad3f298d315d305333c349d2aff1f134", + "git_blob_sha1": "1ace5a240f199be4ae0567bed99051213893345c" + }, + { + "path": "agilex_piper/README.md", + "bytes": 1681, + "sha256": "ab0d218758ec6c298417407962f49179e369236e8f316dbaa7671756d6f8eb77", + "git_blob_sha1": "7a300b81e0556b580ed4e4942bf0aaa9c90944a8" + }, + { + "path": "agilex_piper/assets/base_link.stl", + "bytes": 535084, + "sha256": "fd9c5c5816513cae313b6bee70f95474faadd136eb3ea19c68ffa451dfcd962a", + "git_blob_sha1": "f9ad9da087272dd1916f7f3f872d5236f6a0c0fd" + }, + { + "path": "agilex_piper/assets/link1.stl", + "bytes": 938084, + "sha256": "2288b210ac2a4a0a6150cbe024870e6d1eee21dea320d5d6d19d17eb3099b8ea", + "git_blob_sha1": "f29ff2628b6a8bf620b4f9fb7039df790749154d" + }, + { + "path": "agilex_piper/assets/link2.stl", + "bytes": 3595884, + "sha256": "02e1d9f50eafe7ed69f2352317871e24f758c6181c2c2b192d43999122bc48aa", + "git_blob_sha1": "2c3ab29ec2ebba230d78d6a708c880dfa44761fb" + }, + { + "path": "agilex_piper/assets/link2_0.obj", + "bytes": 3388066, + "sha256": "2f44a3bfb67e36f2fb148ef4021ec18a644365b0bb7f43b2f5fdcaef8c42970d", + "git_blob_sha1": "d3289a5d714821b5ccb728934161133b96e250b1" + }, + { + "path": "agilex_piper/assets/link2_1.obj", + "bytes": 100403, + "sha256": "5b65b00f6046695a4911f14cc95e5022fc68aa5a456932f2d91d1d80dabd05f4", + "git_blob_sha1": "923fec63aed4991faddda4961f91e35142e20d0d" + }, + { + "path": "agilex_piper/assets/link2_10.obj", + "bytes": 29779, + "sha256": "c4b0ac50cdf34d6774c9dd248ac79450d2077497c1696443a02e36d25f1b724c", + "git_blob_sha1": "5d1f265a4273d707666caeb846db81689380d35e" + }, + { + "path": "agilex_piper/assets/link2_11.obj", + "bytes": 58387, + "sha256": "525a33293c587749f6cfa6f4e0341a0e791be887e7e72b5493feb53dca74e4d5", + "git_blob_sha1": "b34ad25291e33e2c66dd545c8fed0d9306109f62" + }, + { + "path": "agilex_piper/assets/link2_12.obj", + "bytes": 55034, + "sha256": "f2736682eb7d11e96cbded267e617f0512c17d3b85fd047575c265d3780c4728", + "git_blob_sha1": "58389b5bfc3e5f4f1d4a185ee4d93acf1271cb2e" + }, + { + "path": "agilex_piper/assets/link2_13.obj", + "bytes": 29671, + "sha256": "d3ec5463a6a9c5ccef97475514d4a536739eba3701c5a8a1a196813e27ec2a46", + "git_blob_sha1": "f494b675aeac5e126beaa8e8f1a204eb8cefdc5e" + }, + { + "path": "agilex_piper/assets/link2_14.obj", + "bytes": 59190, + "sha256": "9faa61dbe96d976271574458ad9aa5883d6b663770a191fb62f8b8dd78d389d4", + "git_blob_sha1": "30dbf5b48b5452adb6f1c5a3193c8f930ea3ef4b" + }, + { + "path": "agilex_piper/assets/link2_15.obj", + "bytes": 29439, + "sha256": "a39acb181508ebb84b9269438f275fe57c26dcdeb4b64856fb4251975ce78cbd", + "git_blob_sha1": "ed8de528fe22872d31129c4b2215b8da3b4868c9" + }, + { + "path": "agilex_piper/assets/link2_16.obj", + "bytes": 53557, + "sha256": "273b405e484c5ae97c442732590ea0e9dfa7af99cf5c2680515f091b6591f526", + "git_blob_sha1": "5a51f30391e4af7da1d4d81fc7ee874f2015526e" + }, + { + "path": "agilex_piper/assets/link2_17.obj", + "bytes": 29281, + "sha256": "c62f2c6de9f94def5f46c79c57e605464888804660599790ae0c3cf1b996ed92", + "git_blob_sha1": "103a6fcdef56fd3cf0d90c29aed7349cace632b3" + }, + { + "path": "agilex_piper/assets/link2_18.obj", + "bytes": 23997, + "sha256": "3ce81fde3f5605af76340686dd82e67372dfcd2fe15c08bb5a0dbe275b400b70", + "git_blob_sha1": "1dba62daa44ce61a14ef616370fe7f00fa0f19b6" + }, + { + "path": "agilex_piper/assets/link2_19.obj", + "bytes": 32457, + "sha256": "39691e367fff1b6dd176c7e27cf8496e6166e41e3f26d98ba4f562834aa3aa57", + "git_blob_sha1": "33f99f9d1ffb48de04dbea173dc4a8bddb7988a7" + }, + { + "path": "agilex_piper/assets/link2_2.obj", + "bytes": 99885, + "sha256": "9b0c2ca0300bc1366a29bd0e71d8275c6f81f311349f783845cf6d1bec59de46", + "git_blob_sha1": "cd470a8505322c136ef7a9f5c195119b99a7c789" + }, + { + "path": "agilex_piper/assets/link2_20.obj", + "bytes": 43817, + "sha256": "f7123aa41c3b043788097b8660728eed3cbce327d0f54f23959d31e302b28557", + "git_blob_sha1": "c462d02088d2aa5a993395720697c94edc53653a" + }, + { + "path": "agilex_piper/assets/link2_21.obj", + "bytes": 39258, + "sha256": "6ffff4a218cd218de6041cc3425189fa737c74ed3cbf17de79401f9673d1a524", + "git_blob_sha1": "4217db71c544c9726bffa5887a7442103d25d098" + }, + { + "path": "agilex_piper/assets/link2_22.obj", + "bytes": 31373, + "sha256": "9b0be27413ffdba150f63c456aa7ccb5ed9cd2cc907adf8e09824263c6edf63b", + "git_blob_sha1": "a5ed5a665bc93502e130c8b4a0d334f1bfde49c0" + }, + { + "path": "agilex_piper/assets/link2_23.obj", + "bytes": 43902, + "sha256": "e0a34cd191bfedfc0a71c1bf478222c9d694dc305bf59efb37b357260cc90335", + "git_blob_sha1": "27a226ce929f179c4c503016125d04cc4206ab4d" + }, + { + "path": "agilex_piper/assets/link2_24.obj", + "bytes": 39526, + "sha256": "2012cbea054ddefb6f7308e86be07e4a382a5f516673f4f95fb77250bc2dc1cc", + "git_blob_sha1": "13ce81f89b79b92a7c5c5127348ef8433748e625" + }, + { + "path": "agilex_piper/assets/link2_25.obj", + "bytes": 24111, + "sha256": "a44629754983f45de28d7a9ad827ea30d2e6ee9565a7741f86f505636808ddfb", + "git_blob_sha1": "5f5d981b21daf475ea0e2145c9dd632922c59e78" + }, + { + "path": "agilex_piper/assets/link2_26.obj", + "bytes": 51974, + "sha256": "f2c2140893951632fc4f0f4c5428cdac234c131d0e3dbcddf4e90c3446663f11", + "git_blob_sha1": "1e7c9f811c5f74c988fccf06500965b04164d81e" + }, + { + "path": "agilex_piper/assets/link2_27.obj", + "bytes": 24075, + "sha256": "a8078b9214cf7c8980dc567bd6ab6367b98ff0f568e907867554458fa1b1ab93", + "git_blob_sha1": "4fff84e8cb5391b3f1eac188faa5c453165bf5d2" + }, + { + "path": "agilex_piper/assets/link2_28.obj", + "bytes": 12884, + "sha256": "b72a71a458fc99d2429991fb3d0e86b717d93af2c489dafdcdff6629ac7ee0ac", + "git_blob_sha1": "eea332c3048c9f2b801ef8bde9fcd13129d89ad3" + }, + { + "path": "agilex_piper/assets/link2_29.obj", + "bytes": 25090, + "sha256": "56c22bba80c0b62036148b9b0e7844a342d6dd485fc0570d98b84a7cdb63cbec", + "git_blob_sha1": "3bf7eb67f1555ee2fd70927ce1aec38fd79f4d4d" + }, + { + "path": "agilex_piper/assets/link2_3.obj", + "bytes": 282937, + "sha256": "b77b1bb82f0884edfce81287d63af47f9182975dfebd4f6698f52610e085481b", + "git_blob_sha1": "3fe63f019200cac9860ab6f34a1d6e7a12f74983" + }, + { + "path": "agilex_piper/assets/link2_30.obj", + "bytes": 12280, + "sha256": "525d7dfae5bcbb7d60c86ca52103a6def0b47fa0ae18dadda7f5e2282d1fd894", + "git_blob_sha1": "0ff2accf7f221afaa35618c3557b8b6d366414d5" + }, + { + "path": "agilex_piper/assets/link2_31.obj", + "bytes": 4621268, + "sha256": "db4ebec6fdcdd5f7a9cfe0986b3d7680bad4d71708f3dacb5c0ff7c9842d8632", + "git_blob_sha1": "103a8ecfaa09c4dd0385dd53c223d26f5df5b584" + }, + { + "path": "agilex_piper/assets/link2_4.obj", + "bytes": 274531, + "sha256": "30e76263f4b8c94b7df6b62f846ac8cb46d32d11fbc1b84e4a417993e09b0e06", + "git_blob_sha1": "fc0f84fdb99707ede0fb74db51d47dea0fa3f59c" + }, + { + "path": "agilex_piper/assets/link2_5.obj", + "bytes": 29647, + "sha256": "43b61bb3fdc6ad91b973b860b11f59094bb400497e19de76725698dde2c87cff", + "git_blob_sha1": "5f54e060b30ea841f9946e99a0a53931f8bebf55" + }, + { + "path": "agilex_piper/assets/link2_6.obj", + "bytes": 30085, + "sha256": "1d8c48045ea3da9d40bc5dad27d589f44ea705867f53e8546c13af88c32238d6", + "git_blob_sha1": "6029251f4eb245c92d025307927b109eda920f26" + }, + { + "path": "agilex_piper/assets/link2_7.obj", + "bytes": 52047, + "sha256": "7036e70d8e869de5d52f2a0cb6661430e9a0a3dfbcf9c08f3cf6344a8893fcbc", + "git_blob_sha1": "149961f1003ea390d05ccab73875367d28e0fe39" + }, + { + "path": "agilex_piper/assets/link2_8.obj", + "bytes": 53837, + "sha256": "5201670ce6c0f34de7770f4079b83d5fb2f815c60e6af69b545e055b74e99092", + "git_blob_sha1": "0dc54a211e59374fc5372b18ecf0da8ed602f78f" + }, + { + "path": "agilex_piper/assets/link2_9.obj", + "bytes": 55512, + "sha256": "af4a6540278f1694def7f09a355bd967e7840dc67ea02b5e75cf9a5cec348315", + "git_blob_sha1": "8b314083f9159cd2479a3d289853cc0e4121fed7" + }, + { + "path": "agilex_piper/assets/link2_gray.stl", + "bytes": 41284, + "sha256": "891335b5109fb65d3dddb4888dc0c318bca33b7fb6809ab31a6998dbf848a4a6", + "git_blob_sha1": "923708414163c51c1c9489c7fa709335d61af4c9" + }, + { + "path": "agilex_piper/assets/link2_red.stl", + "bytes": 191084, + "sha256": "1279d1bbf9ffee557ec9ee95eefd80e86cf88ed7d7960a6bd56e6871e56d335b", + "git_blob_sha1": "550716b85041a917e8b2cde6f2fadee9b7341804" + }, + { + "path": "agilex_piper/assets/link3.stl", + "bytes": 2703584, + "sha256": "3ed8aa63ae21403d85d0f818d4d6a098eff435b2eb7d2372306857c9c5538f50", + "git_blob_sha1": "56c2bf45abd6d8ce6d5bfe6d732a98a04d3d4126" + }, + { + "path": "agilex_piper/assets/link3_0.obj", + "bytes": 314533, + "sha256": "eb211f9bce1811834760b1387aab0e8c1ff11ebd3bb5aa89fa3fe2cc537e51c1", + "git_blob_sha1": "26a21dbb104b99f4fc1c7b569d624ae256f96c0c" + }, + { + "path": "agilex_piper/assets/link3_1.obj", + "bytes": 4236, + "sha256": "2e880f0454de98559bae42e8b7d323e5226692e4af9f8a50ed4b7f8e6dc906e9", + "git_blob_sha1": "12dc2bf84617e9dd06e6dcb1061c6160906c7bd1" + }, + { + "path": "agilex_piper/assets/link3_10.obj", + "bytes": 11974, + "sha256": "d314f8101be5ba36289c4c7475a5c45504e09c9a9fd453d3167ec410833e3823", + "git_blob_sha1": "ce51455b164f4854c09887eafdabe368b9221817" + }, + { + "path": "agilex_piper/assets/link3_11.obj", + "bytes": 20406, + "sha256": "4c8ab2f5fb630127d954cf6be38da416b8627204643f1d4abd4b055d270bd346", + "git_blob_sha1": "25aaa35997a5c066b055b8d855e89cbe9073e456" + }, + { + "path": "agilex_piper/assets/link3_12.obj", + "bytes": 24374, + "sha256": "bb3b1f3200ac8c6fb3807db2f032819e9cba9a942b48d0ee8dc5777c7507e4f5", + "git_blob_sha1": "d30cf3dcf9192818ab056ff4f96d504056becad8" + }, + { + "path": "agilex_piper/assets/link3_13.obj", + "bytes": 28094, + "sha256": "69b34c59953286bc059a88a38d7fb818881a419ee2b03d801a3f6407c23cc525", + "git_blob_sha1": "5b68eef9f81b1f0aff2745ccc22f5f49f33f7476" + }, + { + "path": "agilex_piper/assets/link3_14.obj", + "bytes": 2236465, + "sha256": "9fc1bacbb5c7c4fc1006aca33bc6ca94717edc9e2415f94773d7d645c14b47e7", + "git_blob_sha1": "8c74e8300129f0ad948dbc38a5d0bfe832eef268" + }, + { + "path": "agilex_piper/assets/link3_15.obj", + "bytes": 361248, + "sha256": "c21278046e13ef3875e6703ed55b5b50837c78072d1b30218e61873f88896553", + "git_blob_sha1": "49255a6b82be626ff79ee6350b193819c74398e4" + }, + { + "path": "agilex_piper/assets/link3_16.obj", + "bytes": 410181, + "sha256": "a9d63ea9f2a334e2f68c657ad3493c294caedaab3bf1fe3efd89063c62a6d04b", + "git_blob_sha1": "442d11df89c7be63a34c4cc2e96e847c26478d3e" + }, + { + "path": "agilex_piper/assets/link3_17.obj", + "bytes": 328947, + "sha256": "a540b4325a096b17575f853165ba9c57b3743255f88c2d1076c916de397e24bd", + "git_blob_sha1": "2df4f49e59563cab88f2230c110de9d2ddbb0ecf" + }, + { + "path": "agilex_piper/assets/link3_18.obj", + "bytes": 485677, + "sha256": "3315ddfb4fb0cc496411284f01575205bb665810e47e2a03e3d96a570490ef57", + "git_blob_sha1": "5689ea1e2193bd8794ea24d0c121ae3ee4c6af00" + }, + { + "path": "agilex_piper/assets/link3_19.obj", + "bytes": 441403, + "sha256": "b945dc6e756c049bf6734dab4a485374ce6cefca00478f2e06520664003911e0", + "git_blob_sha1": "67ec3c91f88360c7391ea0c5535c0706d44adfc5" + }, + { + "path": "agilex_piper/assets/link3_2.obj", + "bytes": 12776, + "sha256": "61f9aa738ed625e189d401ed380ae4198e7317854ea352ab1494aa760de6d522", + "git_blob_sha1": "87eca49d38efbcd48e8ea21fe5b649056fbd86c7" + }, + { + "path": "agilex_piper/assets/link3_20.obj", + "bytes": 371433, + "sha256": "c622a302f1beb5d536178c6d2d4ed040d3813418c70e624bdbaa3e518392ab8e", + "git_blob_sha1": "1bf067c1f87416008228d6f7bf5f9cad80bfa00b" + }, + { + "path": "agilex_piper/assets/link3_21.obj", + "bytes": 366150, + "sha256": "d4cddc3ab6e624953f617dd0bde38a4ba16c896cde08fe145a3c5de4374e41d8", + "git_blob_sha1": "ce8914e49cc392267283972b4982980866edde22" + }, + { + "path": "agilex_piper/assets/link3_22.obj", + "bytes": 406666, + "sha256": "cebfa57377d59979668eaf5138ae67cfb4e4174f35dd399cb8bcb3ba579b5f30", + "git_blob_sha1": "0b553507026cdd21e401bded74b9e5340dbb486d" + }, + { + "path": "agilex_piper/assets/link3_23.obj", + "bytes": 372094, + "sha256": "0c4baba793261715bf3d0b08402306f4fcc7c0b677d61ae92ae14abbf6eac92d", + "git_blob_sha1": "dca1d8ec4609f96890448e5af82530fe6e711264" + }, + { + "path": "agilex_piper/assets/link3_24.obj", + "bytes": 27673, + "sha256": "ef5b5780161af47cda0651416b43c377a95adffb1d095e270cf4722e81811da9", + "git_blob_sha1": "a7b1c526939b07a27e32bde3d747e07763e01ce3" + }, + { + "path": "agilex_piper/assets/link3_25.obj", + "bytes": 27968, + "sha256": "99e9de5b421cec36ba4755737832e80615a478a2bfde7dff21ce46f0843c3dd5", + "git_blob_sha1": "2bb433399cbb7aecbfa5746f92324eb9ce3cf423" + }, + { + "path": "agilex_piper/assets/link3_26.obj", + "bytes": 28048, + "sha256": "d95e4318b185e58def277c7365efb3bbeff929f8400e266f686361bf7876ccc6", + "git_blob_sha1": "973660334f4e1c00b1786d174bed2cb728693fcf" + }, + { + "path": "agilex_piper/assets/link3_27.obj", + "bytes": 593047, + "sha256": "5d38cceb70f130efe6a2d77dc4dc58d2bed7f1679fbbae6c48e58d5a0c58a5ab", + "git_blob_sha1": "f1617cdc13207ea4fc0cd77eb48f978b83726f11" + }, + { + "path": "agilex_piper/assets/link3_28.obj", + "bytes": 385831, + "sha256": "62c52edf1d67808f7f6739b0ba2fc387b0465f362f50eba415d459f2b6241148", + "git_blob_sha1": "8a9eec4ee3fd2bba28882bd09f11aaa1587402ef" + }, + { + "path": "agilex_piper/assets/link3_3.obj", + "bytes": 21158, + "sha256": "82430d358437e045d74d0f829acc27fbd30900dd59bc113ed5bbc146524e5afa", + "git_blob_sha1": "ece273c010cac22ac7d5e3273d2a9ceedb28ca10" + }, + { + "path": "agilex_piper/assets/link3_4.obj", + "bytes": 24968, + "sha256": "bd40cb87fff5c678b571b1abbb3435618b07c7fab5875f71c894a434a7203254", + "git_blob_sha1": "099a0f5a01acc9d266ecbf05dfcc0564a453449e" + }, + { + "path": "agilex_piper/assets/link3_5.obj", + "bytes": 29032, + "sha256": "ed69d967cb2c1b4533042727ba3a1d56148afdc13bdea019b05c51ddd6bd42a3", + "git_blob_sha1": "6c7a54a2ffef1d70d40d4be9e363544f6f39638f" + }, + { + "path": "agilex_piper/assets/link3_7.obj", + "bytes": 306050, + "sha256": "334b08b12313bffcc34af5cc9af8a08073d25ce9fd1db9d518087f1ee080476b", + "git_blob_sha1": "e3c5c7023959b0b7b2bd2f70525f5c868ed7273e" + }, + { + "path": "agilex_piper/assets/link3_8.obj", + "bytes": 18174, + "sha256": "58893e8ea1f2a1a732689747513b4d4855863c7f65f3c21594d0c8dceeebe002", + "git_blob_sha1": "d866ac46cb06f0ebad304a28743c46ba50a8c768" + }, + { + "path": "agilex_piper/assets/link3_9.obj", + "bytes": 4134, + "sha256": "b5805f1cca9993e06f34d20e703d3ccee6dddedb25cb6c4f14d53dab856b95d3", + "git_blob_sha1": "1d73f7a9ff6e0c4d47e4ea8b316f17300d083dcb" + }, + { + "path": "agilex_piper/assets/link4.stl", + "bytes": 730484, + "sha256": "e58f7bfa284c7a6a23faf3945ffba5735d5d7c168953d8947c8ff09428f8881a", + "git_blob_sha1": "6077b622cd7a06473ce703221106f5c5e731c6cb" + }, + { + "path": "agilex_piper/assets/link4_2.obj", + "bytes": 496498, + "sha256": "8ff1075944a0ac7f54295b44cf6d1474daf81e968f19c03ac892b921aaa6cb85", + "git_blob_sha1": "154ec12b183273e25c0b67ad93dbbeac31883a8e" + }, + { + "path": "agilex_piper/assets/link4_3.obj", + "bytes": 389641, + "sha256": "1f76a433db58d61e71364d08223341de0d900cc048aa02f481568d919f06ec05", + "git_blob_sha1": "168ee256f67bb93935715444a92748b38f7fb009" + }, + { + "path": "agilex_piper/assets/link4_4.obj", + "bytes": 188047, + "sha256": "49d3390041498df885e647ff9e00af72c18feb16d421a074771c87662e34d3f6", + "git_blob_sha1": "dfa070074072cd2a1b8cbe639dc187cc274c0524" + }, + { + "path": "agilex_piper/assets/link4_5.obj", + "bytes": 390967, + "sha256": "a180f6d5aa83e7153d8b32257f35ca08c8520ddffad0344959a7ff40117a63d2", + "git_blob_sha1": "9f1236ec76ace4c351aa894f56582bd9c7933263" + }, + { + "path": "agilex_piper/assets/link4_6.obj", + "bytes": 315503, + "sha256": "755bed6a3ea29a45ce000fa42db84e6eb5d4f719c04f6f7e52705df933027c1c", + "git_blob_sha1": "fa9a54d142a9738e001a967e8b4a1f1a0d03c0b5" + }, + { + "path": "agilex_piper/assets/link5.stl", + "bytes": 1147884, + "sha256": "76d638a20581ce52befc3adc360bf7cf769937befc03803a485e6c689ce316fd", + "git_blob_sha1": "6b6f5ee6ea996a33b198ce3e0580b50d5a30696f" + }, + { + "path": "agilex_piper/assets/link5_2.obj", + "bytes": 313882, + "sha256": "b12395b1f63009f3b716a0a18519693e1114205f2c90c61fca75c00faa00252e", + "git_blob_sha1": "3f48e736b5ca589adff4f6497602c53a535668d9" + }, + { + "path": "agilex_piper/assets/link5_3.obj", + "bytes": 86793, + "sha256": "05feb3afbc6d4a0114561237bdafc10d28a6743c9c1912503be3b9567551d99a", + "git_blob_sha1": "74be807a5761be91dffea478f6e2154f1a5ffc52" + }, + { + "path": "agilex_piper/assets/link5_4.obj", + "bytes": 485245, + "sha256": "76a6db8f453e627871a6000f50cdfb8ea6603c30ff2c985f3a2ef72c4e20273d", + "git_blob_sha1": "341a3ecbcae8b2b3170c1721926abd83b1d33d6a" + }, + { + "path": "agilex_piper/assets/link5_5.obj", + "bytes": 237046, + "sha256": "7e5e43c40857ac14b5b2a60456a55cd0bc60162f8151348c7b2c47bfa5d4513a", + "git_blob_sha1": "16605db3217caa8a9aae37cf6eb7b8e10ee7f529" + }, + { + "path": "agilex_piper/assets/link5_6.obj", + "bytes": 689622, + "sha256": "bedac642badd06af0d9a5834eda868f1577a926fad59e6d15a5d5252a3d950f5", + "git_blob_sha1": "d4a80c6ad6650e40cb1d62c95af10f0af3a44381" + }, + { + "path": "agilex_piper/assets/link5_7.obj", + "bytes": 1081203, + "sha256": "52b6bff4dfd2f3fe18b2fb676d05f2da30ab4053300c11ef0e1dbfab46058028", + "git_blob_sha1": "750598d7e93a77819afab21bd7c94c7019a0a2ae" + }, + { + "path": "agilex_piper/assets/link5_8.obj", + "bytes": 335282, + "sha256": "ee698e03a1ed3828abca997290ca93aef140476616ab81d7baacd9c45fc6698a", + "git_blob_sha1": "08975a4036619130951be09f8c0b5163f7a8dd8a" + }, + { + "path": "agilex_piper/assets/link6.stl", + "bytes": 671184, + "sha256": "e0b2050ba81a45c79c045b9f13e3d1dd11f84bca1beb12eebc3102651c8476cf", + "git_blob_sha1": "40e0d81827fb1f9ff69424d0328d355cf2c803a7" + }, + { + "path": "agilex_piper/assets/link7.stl", + "bytes": 91984, + "sha256": "907dcdd10498a9d2e9317e42f550570a4ca522d1c4ff7b7c8721fd5cb951e481", + "git_blob_sha1": "ef2a30ca89fe970588b4fdbfcf58e9ceb6b8565e" + }, + { + "path": "agilex_piper/assets/link8.stl", + "bytes": 91884, + "sha256": "5552c0fda737f3abfa1e324ee8a4284dc473a17a0ca5fcbf35d61ca3e6701a18", + "git_blob_sha1": "f8e75c1d7bc6e77b7cd2cc5d30ef773c88fc5e64" + }, + { + "path": "agilex_piper/assets/linke2_dark_gray.stl", + "bytes": 17284, + "sha256": "6d2ef825b5f4291be6e44e4fb7cdae03eac3a3df08b0d777b776690ec9d07426", + "git_blob_sha1": "2a33b3dac2dd03fb2e92e65e8a0b24500a8c478c" + }, + { + "path": "agilex_piper/piper.png", + "bytes": 1378578, + "sha256": "3826ccfb2aed85eaeef2f48604fd5059caa764ac47fcf928b5c3a3d8ec02c682", + "git_blob_sha1": "1270421db3b4cb27dfc09dd8e27ac02fc4d9f738" + }, + { + "path": "agilex_piper/piper.xml", + "bytes": 14537, + "sha256": "a7b5b5d3b2a68d5c553b2ee9665d54a422bd8bf1fa6f3251bc11834993d37098", + "git_blob_sha1": "8b8962d805b519bc25f764316abf65bb3f6d8f37" + }, + { + "path": "agilex_piper/scene.xml", + "bytes": 819, + "sha256": "a4146e916ab3a85f5cfdc4139e2844b686bdaa2109f6ce2486df7e43b53bf602", + "git_blob_sha1": "3025eb80f088a9075e55561efa89a2929b5dfe2a" + } + ], + "native_joint_position_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "m", + "m" + ], + "native_actuator_force_units": [ + "Nm", + "Nm", + "Nm", + "Nm", + "Nm", + "Nm", + "N" + ], + "native_command_range": [ + [ + -2.618, + 2.618 + ], + [ + 0.0, + 3.14 + ], + [ + -2.697, + 0.0 + ], + [ + -1.832, + 1.832 + ], + [ + -1.22, + 1.22 + ], + [ + -3.14, + 3.14 + ], + [ + 0.0, + 0.035 + ] + ] + }, + { + "id": "so101", + "name": "The Robot Studio SO101", + "folder": "robotstudio_so101", + "model": "so101.xml", + "simulation_asset_license": "Apache-2.0", + "arm_axes": 5, + "gripper_axes": 1, + "arm_joint_names": [ + "shoulder_pan", + "shoulder_lift", + "elbow_flex", + "wrist_flex", + "wrist_roll" + ], + "gripper_joint_names": [ + "gripper" + ], + "actuator_names": [ + "shoulder_pan", + "shoulder_lift", + "elbow_flex", + "wrist_flex", + "wrist_roll", + "gripper" + ], + "native_command_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "expected_dimensions": { + "nq": 6, + "nv": 6, + "nu": 6, + "neq": 0 + }, + "tool_frame_body": "gripper", + "tool_frame_scope": "native gripper link origin; not a calibrated fingertip TCP", + "gripper_command": "moving-jaw hinge angle target in radians; not linear jaw gap", + "sdk_url": "https://github.com/huggingface/lerobot", + "hardware_url": "https://github.com/TheRobotStudio/SO-ARM100", + "upstream_model_url": "https://github.com/google-deepmind/mujoco_menagerie/tree/0059d4335f8156206f63a35662313385f7ad6d74/robotstudio_so101", + "openness_scope": "The stated license covers these pinned simulation assets; SDK and physical design licenses must be assessed separately.", + "files": [ + { + "path": "robotstudio_so101/CHANGELOG.md", + "bytes": 391, + "sha256": "ac7f6205e40f0fb2bc08ff3ff4c5e5092dacf8d78cb03f024ae9aae33738acc4", + "git_blob_sha1": "d8318d4c49688f8ea714e4dce5349c4958783d0e" + }, + { + "path": "robotstudio_so101/LICENSE", + "bytes": 11357, + "sha256": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4", + "git_blob_sha1": "261eeb9e9f8b2b4b0d119366dda99c6fd7d35c64" + }, + { + "path": "robotstudio_so101/README.md", + "bytes": 1142, + "sha256": "e2344e7c14290bed85c7907247aecb8bf6cb4392e3de0d7c45680efe9bb9b5a9", + "git_blob_sha1": "65129dba053c84d2ad384b1922cea46b119e9036" + }, + { + "path": "robotstudio_so101/assets/base_motor_holder_so101_v1.stl", + "bytes": 1877084, + "sha256": "8cd2f241037ea377af1191fffe0dd9d9006beea6dcc48543660ed41647072424", + "git_blob_sha1": "cac2b8dd98d3d8a6dcdf429b36aaa4b576d82041" + }, + { + "path": "robotstudio_so101/assets/base_so101_v2.stl", + "bytes": 471584, + "sha256": "bb12b7026575e1f70ccc7240051f9d943553bf34e5128537de6cd86fae33924d", + "git_blob_sha1": "ed10aa61d1181f8001c908ee5cae5c4f970ba417" + }, + { + "path": "robotstudio_so101/assets/motor_holder_so101_base_v1.stl", + "bytes": 1129384, + "sha256": "31242ae6fb59d8b15c66617b88ad8e9bded62d57c35d11c0c43a70d2f4caa95b", + "git_blob_sha1": "9eaf67243a5ffc2dacb3fbd026b4c0620adcdd66" + }, + { + "path": "robotstudio_so101/assets/motor_holder_so101_wrist_v1.stl", + "bytes": 1052184, + "sha256": "887f92e6013cb64ea3a1ab8675e92da1e0beacfd5e001f972523540545e08011", + "git_blob_sha1": "d0aa18b15a9cd63f41fa4d48e82df7a3b618c75d" + }, + { + "path": "robotstudio_so101/assets/moving_jaw_so101_gripper_part0_v1.stl", + "bytes": 50684, + "sha256": "3a92e115d1934d4c45cff808c4eff2ea10361a137a7f89940033a1f8a821b88c", + "git_blob_sha1": "d8dd83494b31952e2f52432bc9624e74bd241030" + }, + { + "path": "robotstudio_so101/assets/moving_jaw_so101_gripper_part1_v1.stl", + "bytes": 342684, + "sha256": "d10f6c671d26f62988ec95efee9370a0657b5833b3c5f8aad59fd69a87ef2aee", + "git_blob_sha1": "ed758675140114dbab751f93ea7d40b8d27e4594" + }, + { + "path": "robotstudio_so101/assets/moving_jaw_so101_gripper_v1.stl", + "bytes": 690384, + "sha256": "e8a5dc040b98e27453a5b74f9087d1dbca14589cf9a17c4de7868d5ab98413cd", + "git_blob_sha1": "f5bd23f855f0d90f73d00abef90576d0c7120719" + }, + { + "path": "robotstudio_so101/assets/moving_jaw_so101_v1.stl", + "bytes": 1413584, + "sha256": "785a9dded2f474bc1d869e0d3dae398a3dcd9c0c345640040472210d2861fa9d", + "git_blob_sha1": "7e8736686592072cf34c7f6e2e6e88f8a3ba60bb" + }, + { + "path": "robotstudio_so101/assets/rotation_pitch_so101_v1.stl", + "bytes": 883684, + "sha256": "9be900cc2a2bf718102841ef82ef8d2873842427648092c8ed2ca1e2ef4ffa34", + "git_blob_sha1": "5c05dee570623f62c4ab7597d76c7bdea20eacea" + }, + { + "path": "robotstudio_so101/assets/sts3215_03a_no_horn_v1.stl", + "bytes": 865884, + "sha256": "75ef3781b752e4065891aea855e34dc161a38a549549cd0970cedd07eae6f887", + "git_blob_sha1": "2a89597702f5ec6849b6b1b894c867b35b98ca42" + }, + { + "path": "robotstudio_so101/assets/sts3215_03a_v1.stl", + "bytes": 954084, + "sha256": "a37c871fb502483ab96c256baf457d36f2e97afc9205313d9c5ab275ef941cd0", + "git_blob_sha1": "fe05403dbfac7a26822b8c8cd0fc3d5288a69fc8" + }, + { + "path": "robotstudio_so101/assets/under_arm_so101_v1.stl", + "bytes": 1975884, + "sha256": "d01d1f2de365651dcad9d6669e94ff87ff7652b5bb2d10752a66a456a86dbc71", + "git_blob_sha1": "480e0583c8bb27ff9affefbebee72b784fb054c8" + }, + { + "path": "robotstudio_so101/assets/upper_arm_so101_v1.stl", + "bytes": 1303484, + "sha256": "475056e03a17e71919b82fd88ab9a0b898ab50164f2a7943652a6b2941bb2d4f", + "git_blob_sha1": "9c0f9b275a51f720476e529c92193f4f69d4784c" + }, + { + "path": "robotstudio_so101/assets/waveshare_mounting_plate_so101_v2.stl", + "bytes": 62784, + "sha256": "e197e24005a07d01bbc06a8c42311664eaeda415bf859f68fa247884d0f1a6e9", + "git_blob_sha1": "4dba1f22b01ab9afef2466872fcb3e1efca89e38" + }, + { + "path": "robotstudio_so101/assets/wrist_roll_follower_so101_camera_mount.stl", + "bytes": 122884, + "sha256": "58c457b33a26d9c9bb337aa351173e7123f84719a93f486541adef6eba57ae21", + "git_blob_sha1": "dfe1ecc5e11eb79280c032148ad6ba68a21c431e" + }, + { + "path": "robotstudio_so101/assets/wrist_roll_follower_so101_gripper_part0_v1.stl", + "bytes": 73784, + "sha256": "370eb470a6ab48b08febcaeb5274d2bcc91246692532ce12c795fb82977def72", + "git_blob_sha1": "7a6bdae516080bd381758fb87cfa48beab3c96b9" + }, + { + "path": "robotstudio_so101/assets/wrist_roll_follower_so101_gripper_v1.stl", + "bytes": 741684, + "sha256": "65f32debcf265420c0160afe004f8befc5df4b3e578fd59ebaa62eade0371224", + "git_blob_sha1": "279308978e9d64d0bb231968d6169ce78aa0ebde" + }, + { + "path": "robotstudio_so101/assets/wrist_roll_follower_so101_v1.stl", + "bytes": 1439884, + "sha256": "4b17b410a12d64ec39554abc3e8054d8a97384b2dc4a8d95a5ecb2a93670f5f4", + "git_blob_sha1": "123ce374ad3efc240e4d7022f31314e59fe4b0c0" + }, + { + "path": "robotstudio_so101/assets/wrist_roll_pitch_so101_v2.stl", + "bytes": 2699784, + "sha256": "6c7ec5525b4d8b9e397a30ab4bb0037156a5d5f38a4adf2c7d943d6c56eda5ae", + "git_blob_sha1": "ac5172a35e6da3e9fdea21e25803f23cc61e31f1" + }, + { + "path": "robotstudio_so101/scene.xml", + "bytes": 825, + "sha256": "d3037f0fd36b61a9b6805b2c79831e7a392276d0f490145d01f718542eee9150", + "git_blob_sha1": "f6d8d5b119f0966a8c1139fa65277355b8474327" + }, + { + "path": "robotstudio_so101/scene_box.xml", + "bytes": 1469, + "sha256": "14c3826f23889587e63b88ef9a0e7d72318ffe13078fad8287c56dbdb9ba9ad8", + "git_blob_sha1": "f51dd3b7609d75c0a26d2735e924c140a15b72b1" + }, + { + "path": "robotstudio_so101/so101.png", + "bytes": 1010575, + "sha256": "fca552381f318dab5b1f9a69007e79d905d91c9d1bebbfdf267b78d924a9c46d", + "git_blob_sha1": "f9ac493bb3809531abe7f23ef7168d15315c2c23" + }, + { + "path": "robotstudio_so101/so101.xml", + "bytes": 17206, + "sha256": "982c02c027ec0c62d3459d0a6eb00dfb7dc13a451992e72ce99addc71f209805", + "git_blob_sha1": "38bd905c819c8c6d755fecb6394d166944262cce" + } + ], + "native_joint_position_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "native_actuator_force_units": [ + "Nm", + "Nm", + "Nm", + "Nm", + "Nm", + "Nm" + ], + "native_command_range": [ + [ + -1.91986, + 1.91986 + ], + [ + -1.74533, + 1.74533 + ], + [ + -1.69, + 1.69 + ], + [ + -1.65806, + 1.65806 + ], + [ + -2.74385, + 2.84121 + ], + [ + -0.17453, + 1.74533 + ] + ] + } + ] +} diff --git a/benchmarks/piper-contact-development-20261011/sources/r1/robot_profiles.py b/benchmarks/piper-contact-development-20261011/sources/r1/robot_profiles.py new file mode 100644 index 0000000..b7f781e --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/sources/r1/robot_profiles.py @@ -0,0 +1,424 @@ +"""Pinned PiPER/SO101 CPU mechanics smoke tests, without hardware control. + +Fetch is the only network operation. Audit, native stepping and inspection are +offline. Simulation asset licenses do not establish the openness of hardware. +""" +from __future__ import annotations + +import argparse +from hashlib import sha256 +import html +import json +import math +from pathlib import Path, PurePosixPath +import platform +import time +from urllib.request import Request, urlopen + +from . import reference_sim as sim + + +LOCK_PATH = Path(__file__).with_name('robot_profiles.lock.json') +SCHEMA = 'dvidia.robot-profile-benchmark/v1' +INTEGRITY_SCHEMA = 'dvidia.robot-profile-integrity/v1' +CASES = ('hold', 'arm_sweep', 'gripper_cycle') +SCOPE = ('Unloaded native CPU mechanics smoke: authored position servos, upstream gravity settings, ' + 'privileged joint/link state and synthetic commands. No object task, learned skill, measured ' + 'hardware response, contact calibration or physical robot qualification.') + + +def _lock(): + return json.loads(LOCK_PATH.read_text(encoding='utf-8')) + + +def _profile(name): + for item in _lock()['profiles']: + if item['id'] == name: + return item + raise ValueError('Profile must be piper or so101') + + +def list_profiles(): + """Return explicit axes, units and asset-license claims without native imports.""" + return [{key: value for key, value in item.items() if key != 'files'} for item in _lock()['profiles']] + + +def _payload(profile, directory): + item, root = _profile(profile), Path(directory) + if root.is_symlink() or not root.is_dir(): + raise ValueError('Assets require an existing non-symlink directory') + blobs = {} + for record in item['files']: + path = root / record['path'] + if any(parent.is_symlink() for parent in path.parents if parent != root and root in parent.parents): + raise ValueError('Asset subdirectories must not be symlinks') + content = sim._regular_bytes(path, record['bytes']) + if sha256(content).hexdigest() != record['sha256']: + raise ValueError('Asset digest mismatch: '+record['path']) + blobs[record['path']] = content + return item, blobs + + +def verify_assets(profile, directory): + item, blobs = _payload(profile, directory) + return {'profile': item['id'], 'repository': _lock()['repository'], 'commit': _lock()['commit'], + 'files_verified': len(blobs), 'bytes_verified': sum(map(len, blobs.values())), + 'lock_sha256': sha256(LOCK_PATH.read_bytes()).hexdigest(), + 'simulation_asset_license': item['simulation_asset_license']} + + +def fetch_assets(profile, output): + """Explicitly fetch the fixed packaged allowlist into a fresh asset root.""" + item, lock = _profile(profile), _lock() + destination = Path(output) + if destination.is_symlink() or (destination.exists() and not destination.is_dir()): + raise ValueError('Asset root must be a plain directory') + destination.mkdir(parents=True, exist_ok=True) + (destination/item['folder']).mkdir(exist_ok=False) + for record in item['files']: + url = f"https://raw.githubusercontent.com/google-deepmind/mujoco_menagerie/{lock['commit']}/{record['path']}" + with urlopen(Request(url, headers={'User-Agent': 'DVIDIA-Robot-Sim/0.1'}), timeout=30) as response: + if response.geturl() != url: + raise ValueError('Pinned asset download redirected') + content = response.read(record['bytes']+1) + if len(content) != record['bytes'] or sha256(content).hexdigest() != record['sha256']: + raise ValueError('Downloaded asset differs from packaged lock: '+record['path']) + path = destination / record['path'] + path.parent.mkdir(parents=True, exist_ok=True) + with path.open('xb') as stream: + stream.write(content) + return verify_assets(profile, destination) + + +def build_model(profile, directory, *, timestep=.001): + dt = sim._timestep(timestep) + item, blobs = _payload(profile, directory) + model_spec = sim._spec(blobs, item['folder'], item['model']) + model_spec.option.timestep = dt + model = model_spec.compile() + mj, _ = sim._native_imports() + actual = {name: int(getattr(model, name)) for name in ('nq', 'nv', 'nu', 'neq')} + if actual != item['expected_dimensions']: + raise ValueError('Native profile mechanical dimensions differ from the pinned contract') + if [mj.mj_id2name(model, mj.mjtObj.mjOBJ_ACTUATOR, i) for i in range(model.nu)] != item['actuator_names']: + raise ValueError('Native profile actuator order differs from the pinned contract') + expected_joints = item['arm_joint_names']+item['gripper_joint_names'] + if [mj.mj_id2name(model, mj.mjtObj.mjOBJ_JOINT, i) for i in range(model.njnt)] != expected_joints: + raise ValueError('Native profile joint order differs from the pinned contract') + if mj.mj_name2id(model, mj.mjtObj.mjOBJ_BODY, item['tool_frame_body']) <= 0: + raise ValueError('Native profile terminal link body is missing') + for index, unit in enumerate(item['native_command_units']): + joint = int(model.actuator_trnid[index, 0]) + expected = mj.mjtJoint.mjJNT_HINGE if unit == 'rad' else mj.mjtJoint.mjJNT_SLIDE + if model.jnt_type[joint] != expected or not model.actuator_ctrllimited[index]: + raise ValueError('Native command units/limits differ from the pinned contract') + return model + + +def audit(profile, directory, *, timestep=.001): + metadata = verify_assets(profile, directory) + messages = [] + with sim.native_warnings(messages): + model = build_model(profile, directory, timestep=timestep) + if messages: + raise ValueError('Native profile compilation emitted warnings: '+str(messages)) + mj, _ = sim._native_imports() + return {'schema': 'dvidia.robot-profile-audit/v1', 'profile': list_profiles()[0 if profile == 'piper' else 1], + 'assets': metadata, 'native_version': mj.__version__, 'compiled_model_sha256': sim.model_digest(model), + 'dimensions': {name: int(getattr(model, name)) for name in ('nq', 'nv', 'nu', 'neq', 'ngeom', 'nbody')}, + 'actuator_ctrlrange_native': model.actuator_ctrlrange.tolist(), + 'actuator_forcerange_native': model.actuator_forcerange.tolist(), + 'gravity_compensated_bodies': int(sum(model.body_gravcomp != 0)), + 'scope': SCOPE, 'task_qualified': False, 'physical_robot_ready': False} + + +def _bounded(value, name, low, high): + if isinstance(value, bool) or not isinstance(value, (int, float)): + raise ValueError(name+' must be finite numeric data') + try: + number = float(value) + except (OverflowError, ValueError, TypeError) as exc: + raise ValueError(name+' must be finite numeric data') from exc + if not math.isfinite(number) or not low <= number <= high: + raise ValueError(name+' outside bounded range') + return number + + +def _duration(value): + number = _bounded(value, 'duration', .1, 2.) + if not math.isclose(number/sim.CONTROL_DT, round(number/sim.CONTROL_DT), abs_tol=1e-9, rel_tol=0): + raise ValueError('Duration must contain complete 20 ms control boundaries') + return number + + +def _sample(model, data, item, elapsed): + mj, np = sim._native_imports() + if not all(np.isfinite(value).all() for value in (data.qpos, data.qvel, data.qacc, data.xpos)): + raise RuntimeError('Nonfinite native profile state') + body = mj.mj_name2id(model, mj.mjtObj.mjOBJ_BODY, item['tool_frame_body']) + return {'t_seconds': elapsed, 'qpos_native': data.qpos.tolist(), 'qvel_native_per_second': data.qvel.tolist(), + 'arm_joint_position_rad': data.qpos[:item['arm_axes']].tolist(), + 'arm_joint_velocity_rad_s': data.qvel[:item['arm_axes']].tolist(), + 'gripper_joint_position_native': data.qpos[item['arm_axes']:].tolist(), + 'terminal_link_position_m': data.xpos[body].tolist(), 'terminal_link_quaternion_wxyz': data.xquat[body].tolist(), + 'actuator_force_native': data.actuator_force.tolist(), 'contact_count': int(data.ncon), + 'issued_controls_native': None, 'observation_origin': 'privileged_native_simulator_state'} + + +def _attempt(profile, assets, case, repeat, duration, timestep): + started, latencies = time.perf_counter(), [] + item = _profile(profile) + result = {'id': f'{case}-{repeat}', 'case': case, 'repeat': repeat, 'valid': False, + 'error': None, 'warnings': [], 'simulated_seconds': 0., 'trajectory': [], 'timing': {}, 'metrics': {}} + try: + with sim.native_warnings(result['warnings']): + model = build_model(profile, assets, timestep=timestep) + mj, np = sim._native_imports() + data = mj.MjData(model) + if model.nkey: + mj.mj_resetDataKeyframe(model, data, 0) + else: + data.ctrl[:] = data.qpos[model.jnt_qposadr[model.actuator_trnid[:, 0]]] + base = data.ctrl.copy() + mj.mj_forward(model, data) + result['compiled_model_sha256'] = sim.model_digest(model) + result['runtime'] = {'mujoco_version': mj.__version__, 'numpy_version': np.__version__} + result['native_model_settings'] = {'gravity_m_s2': model.opt.gravity.tolist(), + 'gravity_compensated_bodies': [ + {'name': mj.mj_id2name(model, mj.mjtObj.mjOBJ_BODY, i), + 'fraction': float(model.body_gravcomp[i])} + for i in range(model.nbody) if model.body_gravcomp[i] != 0]} + result['trajectory'].append(_sample(model, data, item, 0.)) + for index in range(round(duration/sim.CONTROL_DT)): + tick_started = time.perf_counter() + commands = base.copy() + phase = math.sin(math.pi*(index+1)*sim.CONTROL_DT/duration) + if case == 'arm_sweep': + commands[:item['arm_axes']] += .08*phase + elif case == 'gripper_cycle': + commands[-1] += (.012 if item['id'] == 'piper' else .15)*phase + commands = np.clip(commands, model.actuator_ctrlrange[:, 0], model.actuator_ctrlrange[:, 1]) + result['trajectory'][-1]['issued_controls_native'] = commands.tolist() + data.ctrl[:] = commands + for _ in range(round(sim.CONTROL_DT/timestep)): + mj.mj_step(model, data) + mj.mj_forward(model, data) + _sample(model, data, item, 0.) + if result['warnings'] or any(warning.number for warning in data.warning): + raise RuntimeError('Native profile emitted a solver warning') + result['simulated_seconds'] = (index+1)*sim.CONTROL_DT + result['trajectory'].append(_sample(model, data, item, result['simulated_seconds'])) + latencies.append(time.perf_counter()-tick_started) + result['valid'] = not result['warnings'] + errors = [abs(row['qpos_native'][int(model.jnt_qposadr[model.actuator_trnid[j, 0]])]-row['issued_controls_native'][j]) + for row in result['trajectory'][:-1] for j in range(item['arm_axes'])] + result['metrics'] = {'max_before_step_arm_target_error_rad': max(errors, default=0.), + 'max_recorded_contact_count': max(row['contact_count'] for row in result['trajectory']), + 'scope': 'Numerical state/command diagnostics only; no task success metric'} + except Exception as exc: + result['error'] = {'type': type(exc).__name__, 'message': str(exc)[:500]} + elapsed = time.perf_counter()-started + result['timing'] = {'episode_wall_seconds': elapsed, 'control_step_seconds': sim._summary(latencies) if latencies else None, + 'control_boundaries': len(latencies), 'missed_control_boundaries': sum(x > sim.CONTROL_DT for x in latencies), + 'simulated_seconds_per_wall_second': result['simulated_seconds']/elapsed, + 'scope': 'Wall computation including compilation/state snapshots; not real-time sensor-to-actuator latency'} + return result + + +def _json_bytes(value): + return (json.dumps(value, allow_nan=False, indent=2)+'\n').encode() + + +def _record(path, content): + return {'path': path, 'bytes': len(content), 'sha256': sha256(content).hexdigest()} + + +def benchmark(profile, assets, output, *, duration=.4, timestep=.001, repeats=1): + """Seal every bounded unloaded attempt, including numerical/setup failures.""" + item, duration, timestep = _profile(profile), _duration(duration), sim._timestep(timestep) + if type(repeats) is not int or not 1 <= repeats <= 3: + raise ValueError('repeats must be an integer in [1,3]') + metadata, blobs = verify_assets(profile, assets), _payload(profile, assets)[1] + destination = Path(output) + destination.mkdir(parents=True, exist_ok=False) + report = {'schema': SCHEMA, 'profile': {key: value for key, value in item.items() if key != 'files'}, + 'scope': SCOPE, 'task_qualified': False, 'physical_robot_ready': False, 'assets': metadata, + 'source': {'implementation_sha256': sha256(Path(__file__).read_bytes()).hexdigest(), + 'reference_sim_sha256': sha256(Path(sim.__file__).read_bytes()).hexdigest(), + 'lock_sha256': sha256(LOCK_PATH.read_bytes()).hexdigest(), 'asset_commit': _lock()['commit']}, + 'settings': {'duration_seconds': duration, 'timestep_seconds': timestep, + 'control_dt_seconds': sim.CONTROL_DT, 'repeats': repeats, 'cases': list(CASES)}, + 'platform': {'system': platform.system(), 'machine': platform.machine(), 'python': platform.python_version()}, + 'attempts': []} + for case in CASES: + for repeat in range(repeats): + attempt = _attempt(profile, assets, case, repeat, duration, timestep) + report['attempts'].append(attempt) + path = destination/f'attempt-{attempt["id"]}.json' + path.write_bytes(_json_bytes(attempt)) + report['summary'] = {'attempt_count': len(report['attempts']), + 'valid_attempts': sum(bool(x['valid']) for x in report['attempts'])} + compiled = next((attempt for attempt in report['attempts'] if 'runtime' in attempt), None) + report['platform'].update(mujoco_version=compiled['runtime']['mujoco_version'] if compiled else None, + numpy_version=compiled['runtime']['numpy_version'] if compiled else None) + report['native_model_settings'] = compiled['native_model_settings'] if compiled else None + rows = ''.join(f'{html.escape(x["id"])}{x["valid"]}{x["simulated_seconds"]:.2f}' + f'{html.escape(json.dumps(x["error"]))}' for x in report['attempts']) + page = (f'' + f'DVIDIA {html.escape(item["name"])} CPU mechanics' + f'

DVIDIA · {html.escape(item["name"])} CPU mechanics

{html.escape(SCOPE)}

' + f'

{item["arm_axes"]} arm axes + {item["gripper_axes"]} gripper command. Simulation asset license: {html.escape(item["simulation_asset_license"])}.

' + f'

Native command units: {html.escape(", ".join(item["native_command_units"]))}. {html.escape(item["gripper_command"])}

' + f'

Complete sealed numerical receipt · Original asset license

' + f'{rows}
AttemptValid physicsSimulated secondsError
').encode() + files = {'report.json': _json_bytes(report), 'report.html': page, + f'licenses/{profile}/LICENSE': blobs[item['folder']+'/LICENSE']} + for name, content in files.items(): + path = destination/name + path.parent.mkdir(parents=True, exist_ok=True) + path.write_bytes(content) + for path in sorted(destination.glob('attempt-*.json')): + files[path.name] = path.read_bytes() + integrity = {'schema': INTEGRITY_SCHEMA, 'files': [_record(name, content) for name, content in sorted(files.items())]} + (destination/'integrity.json').write_bytes(_json_bytes(integrity)) + return {'output': str(destination), 'profile': profile, **report['summary'], 'report_sha256': sha256(files['report.json']).hexdigest()} + + +def _bounded_file(path, limit): + size = path.lstat().st_size + if size > limit: + raise ValueError('Benchmark file exceeds the bounded size limit') + return sim._regular_bytes(path, size) + + +def inspect_benchmark(directory): + """Verify the standalone numerical receipt without loading native physics.""" + root = Path(directory) + if root.is_symlink() or not root.is_dir(): + raise ValueError('Benchmark root must be a non-symlink directory') + integrity = json.loads(_bounded_file(root/'integrity.json', 100000)) + if integrity.get('schema') != INTEGRITY_SCHEMA or type(integrity.get('files')) is not list or not 3 <= len(integrity['files']) <= 12: + raise ValueError('Unsupported bounded profile integrity manifest') + payload, total = {}, 0 + for record in integrity['files']: + name = record.get('path') + if type(name) is not str or name in payload or PurePosixPath(name).is_absolute() or '..' in PurePosixPath(name).parts or '\\' in name: + raise ValueError('Unsafe or duplicate benchmark file path') + path = root/name + if any(parent.is_symlink() for parent in path.parents if parent != root and root in parent.parents): + raise ValueError('Benchmark subdirectories must not be symlinks') + content = _bounded_file(path, 5000000) + total += len(content) + if total > 12000000 or len(content) != record.get('bytes') or sha256(content).hexdigest() != record.get('sha256'): + raise ValueError('Benchmark integrity mismatch') + payload[name] = content + report = json.loads(payload['report.json']) + if report.get('schema') != SCHEMA or report.get('task_qualified') is not False or report.get('physical_robot_ready') is not False: + raise ValueError('Unsupported profile receipt or qualification claim') + profile = _profile(report['profile']['id']) + expected_profile = {key: value for key, value in profile.items() if key != 'files'} + if report['profile'] != expected_profile: + raise ValueError('Profile receipt axes/units/provenance contract mismatch') + lock = _lock() + lock_digest = sha256(LOCK_PATH.read_bytes()).hexdigest() + expected_assets = {'profile': profile['id'], 'repository': lock['repository'], 'commit': lock['commit'], + 'files_verified': len(profile['files']), 'bytes_verified': sum(x['bytes'] for x in profile['files']), + 'lock_sha256': lock_digest, 'simulation_asset_license': profile['simulation_asset_license']} + if report.get('assets') != expected_assets or report['source'].get('asset_commit') != lock['commit'] or report['source'].get('lock_sha256') != lock_digest: + raise ValueError('Profile asset/source lock provenance mismatch') + for key in ('implementation_sha256', 'reference_sim_sha256'): + digest = report['source'].get(key) + if type(digest) is not str or len(digest) != 64 or any(x not in '0123456789abcdef' for x in digest): + raise ValueError('Profile implementation source digest is malformed') + settings = report['settings'] + duration, timestep = _duration(settings['duration_seconds']), sim._timestep(settings['timestep_seconds']) + repeats = settings['repeats'] + if type(repeats) is not int or not 1 <= repeats <= 3 or settings['cases'] != list(CASES) or settings['control_dt_seconds'] != sim.CONTROL_DT: + raise ValueError('Profile benchmark settings mismatch') + attempts = report['attempts'] + if type(attempts) is not list or len(attempts) != len(CASES)*repeats: + raise ValueError('Profile benchmark attempt count mismatch') + expected_files = {'report.json', 'report.html', f'licenses/{profile["id"]}/LICENSE'} | { + f'attempt-{case}-{repeat}.json' for case in CASES for repeat in range(repeats)} + actual_files = {path.relative_to(root).as_posix() for path in root.rglob('*') if not path.is_dir()} + if set(payload) != expected_files or actual_files != expected_files | {'integrity.json'}: + raise ValueError('Profile benchmark file inventory mismatch') + for index, attempt in enumerate(attempts): + case, repeat = CASES[index//repeats], index%repeats + if attempt['id'] != f'{case}-{repeat}' or attempt['case'] != case or attempt['repeat'] != repeat or type(attempt['valid']) is not bool: + raise ValueError('Profile attempt ordering/validity mismatch') + if json.loads(payload[f'attempt-{attempt["id"]}.json']) != attempt: + raise ValueError('Profile raw attempt and report differ') + if attempt['valid'] and (attempt['error'] is not None or attempt['warnings'] or len(attempt['trajectory']) != round(duration/sim.CONTROL_DT)+1): + raise ValueError('Valid profile attempt has incomplete or invalid native evidence') + for row_index, row in enumerate(attempt['trajectory']): + _bounded(row['t_seconds'], 'clock', 0, duration) + if not math.isclose(row['t_seconds'], row_index*sim.CONTROL_DT, abs_tol=1e-9, rel_tol=0): + raise ValueError('Profile trace clock mismatch') + for key, count in (('qpos_native', profile['expected_dimensions']['nq']), + ('qvel_native_per_second', profile['expected_dimensions']['nv']), + ('arm_joint_position_rad', profile['arm_axes']), + ('arm_joint_velocity_rad_s', profile['arm_axes']), + ('gripper_joint_position_native', len(profile['gripper_joint_names'])), + ('terminal_link_position_m', 3), ('terminal_link_quaternion_wxyz', 4), + ('actuator_force_native', len(profile['actuator_names']))): + if type(row[key]) is not list or len(row[key]) != count: + raise ValueError('Profile trace state shape mismatch') + for value in row[key]: + _bounded(value, key, -1000000, 1000000) + if row['arm_joint_position_rad'] != row['qpos_native'][:profile['arm_axes']] or row['gripper_joint_position_native'] != row['qpos_native'][profile['arm_axes']:] or row['arm_joint_velocity_rad_s'] != row['qvel_native_per_second'][:profile['arm_axes']]: + raise ValueError('Profile redundant joint state differs from its native coordinates') + if not math.isclose(sum(value*value for value in row['terminal_link_quaternion_wxyz']), 1., abs_tol=1e-8, rel_tol=0): + raise ValueError('Profile terminal link quaternion must be normalized wxyz') + if type(row['contact_count']) is not int or not 0 <= row['contact_count'] <= 100000 or row['observation_origin'] != 'privileged_native_simulator_state': + raise ValueError('Profile contact count/observation provenance mismatch') + issued = row['issued_controls_native'] + if attempt['valid'] and ((row_index == len(attempt['trajectory'])-1) != (issued is None)): + raise ValueError('Valid profile trace must issue each decision and leave its terminal row unissued') + if issued is not None: + if type(issued) is not list or len(issued) != len(profile['native_command_units']): + raise ValueError('Profile native command shape mismatch') + for value, (low, high) in zip(issued, profile['native_command_range']): + _bounded(value, 'native command', low, high) + valid = sum(x['valid'] for x in attempts) + if report['summary'] != {'attempt_count': len(attempts), 'valid_attempts': valid}: + raise ValueError('Profile attempt summary mismatch') + license_name = f'licenses/{profile["id"]}/LICENSE' + record = next(x for x in profile['files'] if x['path'] == profile['folder']+'/LICENSE') + if len(payload[license_name]) != record['bytes'] or sha256(payload[license_name]).hexdigest() != record['sha256']: + raise ValueError('Upstream simulation asset license mismatch') + return {'report': report, 'files': integrity['files'], 'valid_attempts': valid, 'attempts': len(attempts)} + + +def main(argv=None): + parser = argparse.ArgumentParser(description='DVIDIA pinned CPU robot mechanics; no hardware control') + commands = parser.add_subparsers(dest='command', required=True) + commands.add_parser('list') + for name in ('fetch', 'audit', 'benchmark'): + command = commands.add_parser(name) + command.add_argument('profile', choices=('piper', 'so101')) + if name != 'fetch': + command.add_argument('assets') + if name != 'audit': + command.add_argument('--output', required=True) + if name == 'benchmark': + command.add_argument('--duration', type=float, default=.4) + command.add_argument('--timestep', type=float, default=.001) + command.add_argument('--repeats', type=int, default=1) + args = parser.parse_args(argv) + try: + if args.command == 'list': + result = list_profiles() + elif args.command == 'fetch': + result = fetch_assets(args.profile, args.output) + elif args.command == 'audit': + result = audit(args.profile, args.assets) + else: + result = benchmark(args.profile, args.assets, args.output, duration=args.duration, timestep=args.timestep, repeats=args.repeats) + print(json.dumps(result, allow_nan=False, indent=2)) + except (ValueError, OSError, RuntimeError, KeyError) as exc: + parser.exit(2, 'error: '+str(exc)+'\n') + + +if __name__ == '__main__': + main() diff --git a/benchmarks/piper-contact-development-20261011/sources/r2/piper_contact_memory.py b/benchmarks/piper-contact-development-20261011/sources/r2/piper_contact_memory.py new file mode 100644 index 0000000..daab0ac --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/sources/r2/piper_contact_memory.py @@ -0,0 +1,229 @@ +"""Interpretable causal PiPER contact history, with unchanged native dynamics. + +Both modes inherit the exact v0.2 acquisition probe and supported retry. A +hold changes requested joint positions; native motion can continue afterward. +""" +from __future__ import annotations + +from dataclasses import asdict, dataclass +import math + +from . import piper_grip_guard as acquisition + + +SCHEMA = 'dvidia.piper-contact-memory/v0.3' + + +@dataclass(frozen=True) +class ContactMemoryConfig: + history_window_s: float = .12 + minimum_history_s: float = .10 + trend_rate_m_s: float = .025 + trend_displacement_m: float = .0025 + minimum_straightness: float = .7 + trend_samples: int = 2 + loss_samples: int = 2 + slowdown_joint_delta_scale: float = .35 + slowdown_duration_s: float = .12 + hold_minimum_s: float = .12 + hold_timeout_s: float = .8 + settled_rate_m_s: float = .008 + settled_displacement_m: float = .0015 + settled_dwell_s: float = .10 + resumed_joint_delta_scale: float = .45 + maximum_reassessments: int = 2 + + def __post_init__(self): + for name, value in asdict(self).items(): + try: + finite = math.isfinite(value) + except (OverflowError, TypeError, ValueError): + finite = False + if isinstance(value, bool) or not isinstance(value, (int, float)) or not finite or value <= 0: + raise ValueError('Invalid contact memory parameter: '+name) + for name in ('trend_samples', 'loss_samples', 'maximum_reassessments'): + if type(getattr(self, name)) is not int or getattr(self, name) != 2: + raise ValueError('Contact memory uses two observations and at most two reassessments') + if (self.minimum_history_s > self.history_window_s or self.hold_minimum_s >= self.hold_timeout_s + or self.minimum_straightness > 1 or self.slowdown_joint_delta_scale > 1 + or self.resumed_joint_delta_scale > 1 or self.settled_rate_m_s >= self.trend_rate_m_s): + raise ValueError('Invalid contact memory threshold ordering') + + +def contact_memory_contract(): + return {'schema': SCHEMA, 'parameters': asdict(ContactMemoryConfig()), + 'acquisition': acquisition.guard_contract(), + 'observations': 'causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check', + 'history': 'inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path', + 'trend': 'rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold', + 'slowdown': 'scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately', + 'reassessment': 'minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds', + 'resume': 'causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget', + 'probe_only': 'identical acquisition and retry; removes postqualification carry monitoring only', + 'stop': 'measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion', + 'duration': 'unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change', + 'scope': 'authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim'} + + +def inactive_summary(mode): + value = acquisition.inactive_summary(mode) + value.update(schema=SCHEMA, contract=contact_memory_contract(), slowdown_count=0, + reassessment_count=0, resume_count=0) + return value + + +contact_contract = contact_memory_contract + + +class ContactMemoryPiperTaskPolicy(acquisition.GuardedPiperTaskPolicy): + """Same acquisition, with a causal history controller or probe ablation.""" + + def __init__(self, environment, mode='history'): + if mode not in ('probe_only', 'history'): + raise ValueError('Contact memory mode must be probe_only or history') + super().__init__(environment) + self.mode, self.memory_config = mode, ContactMemoryConfig() + self.history = [] + self.memory_stage, self.memory_started, self.settled_since = 'observe', None, None + self.trend_streak, self.memory_loss_streak = 0, 0 + self.slowdown_count = self.reassessment_count = self.resume_count = 0 + self.resumed = False + + def summary(self): + value = super().summary() + value.update(schema=SCHEMA, mode=self.mode, contract=contact_memory_contract(), + slowdown_count=self.slowdown_count, reassessment_count=self.reassessment_count, + resume_count=self.resume_count) + return value + + def _diagnose(self, observation): + value = super()._diagnose(observation) + now = observation['t_seconds'] + if self.state == 'probe' or self.qualified: + sample = {'t': now, 'offset': acquisition._local_offset(observation), + 'bilateral': value['bilateral_contact'], + 'loaded': value['bilateral_contact'] and min(observation['pad_normal_forces_n'].values()) > .01, + 'supported': value['table_supported']} + # The parent diagnoses twice when a probe starts; one snapshot is + # one history sample, never two apparent observations. + if self.history and abs(self.history[-1]['t']-now) < 1e-9: + self.history[-1] = sample + else: + self.history.append(sample) + self.history = [row for row in self.history if row['t'] >= now-self.memory_config.history_window_s-1e-9] + else: + self.history = [] + span = self.history[-1]['t']-self.history[0]['t'] if self.history else 0. + known = span+1e-9 >= self.memory_config.minimum_history_s + displacement = math.dist(self.history[-1]['offset'], self.history[0]['offset']) if self.history else None + path = sum(math.dist(a['offset'], b['offset']) for a, b in zip(self.history, self.history[1:])) + excursion = max((math.dist(a['offset'], b['offset']) for a in self.history for b in self.history), default=0.) + slope = None + if known: + mean_t = sum(row['t'] for row in self.history)/len(self.history) + denominator = sum((row['t']-mean_t)**2 for row in self.history) + slope = [sum((row['t']-mean_t)*row['offset'][axis] for row in self.history)/denominator for axis in range(3)] + value.update(memory_stage=self.memory_stage, history_count=len(self.history), history_known=known, + history_span_seconds=span, history_displacement_m=displacement, + history_rate_m_s=displacement/span if known else None, + history_path_m=path, history_excursion_m=excursion, + history_slope_m_s=slope, + history_straightness=displacement/path if known and path > 1e-12 else (0. if known else None), + history_bilateral_fraction=sum(row['bilateral'] for row in self.history)/len(self.history) if self.history else None, + history_loaded_bilateral_all=known and all(row['loaded'] for row in self.history), + history_unsupported_all=known and all(not row['supported'] for row in self.history), + slip_trend_streak=self.trend_streak, persistent_loss_streak=self.memory_loss_streak, + settled_dwell_seconds=0. if self.settled_since is None else now-self.settled_since, + joint_delta_scale=1., unscaled_joint_targets_rad=None, + motion_phase=self.teacher.phase, resume_local_offset_m=None) + return value + + def _scaled_teacher(self, observation, scale): + action = self.teacher(observation) + self.diagnostic['unscaled_joint_targets_rad'] = list(action['joint_targets_rad']) + self.diagnostic['motion_phase'] = self.teacher.issued_phase + action['joint_targets_rad'] = [current+scale*(target-current) for current, target + in zip(observation['joint_position_rad'], action['joint_targets_rad'])] + self.issued_phase = 'memory_slowdown' if self.memory_stage == 'slowdown' else self.teacher.issued_phase + self.diagnostic['joint_delta_scale'] = scale + self.diagnostic['decision'] = 'slow_requested_joint_delta' if self.memory_stage == 'slowdown' else 'resume_reduced_requested_delta' + return action + + def _start_hold(self, observation, reason): + if self.reassessment_count >= self.memory_config.maximum_reassessments: + return self._abort(observation, 'reassessment_budget_exhausted:'+reason) + self.memory_stage, self.memory_started, self.settled_since = 'hold', observation['t_seconds'], None + self.stop_targets = list(observation['joint_position_rad']) + self.reassessment_count += 1 + self.issued_phase = 'memory_hold' + self.diagnostic.update(memory_stage='hold', decision='hold_measured_arm_closed') + self._event('reassessment_started', observation, reason) + return self._hold() + + def _monitor(self, observation, *, probe): + if probe: + return super()._monitor(observation, probe=True) + if self.mode == 'probe_only': + return None + cfg, diagnostic, now = self.memory_config, self.diagnostic, observation['t_seconds'] + if observation['unexpected_contact_count']: + return self._abort(observation, 'unexpected_contact_during_carry') + trend = (diagnostic['history_known'] and diagnostic['history_rate_m_s'] >= cfg.trend_rate_m_s + and diagnostic['history_displacement_m'] >= cfg.trend_displacement_m + and diagnostic['history_straightness'] >= cfg.minimum_straightness) + self.trend_streak = self.trend_streak+1 if trend else 0 + self.memory_loss_streak = self.memory_loss_streak+1 if not diagnostic['bilateral_contact'] else 0 + diagnostic.update(slip_trend_streak=self.trend_streak, persistent_loss_streak=self.memory_loss_streak) + if self.memory_stage == 'hold': + self.issued_phase = 'memory_hold' + diagnostic['decision'] = 'hold_measured_arm_closed' + stable = (now-self.memory_started+1e-9 >= cfg.hold_minimum_s and diagnostic['history_known'] + and diagnostic['history_displacement_m'] <= cfg.settled_displacement_m + and diagnostic['history_excursion_m'] <= cfg.settled_displacement_m + and diagnostic['history_rate_m_s'] <= cfg.settled_rate_m_s + and diagnostic['history_loaded_bilateral_all'] and diagnostic['history_unsupported_all'] + and diagnostic['object_height_delta_m'] >= self.config.probe_min_object_rise_m) + self.settled_since = (now if self.settled_since is None else self.settled_since) if stable else None + diagnostic['settled_dwell_seconds'] = 0. if self.settled_since is None else now-self.settled_since + if diagnostic['settled_dwell_seconds']+1e-9 >= cfg.settled_dwell_s: + self.teacher.held_offset = acquisition._local_offset(observation) + self.memory_stage, self.resumed = 'observe', True + self.resume_count += 1 + self.trend_streak = self.memory_loss_streak = 0 + diagnostic.update(memory_stage='observe', decision='settled_resume_reduced_delta', + resume_local_offset_m=list(self.teacher.held_offset)) + self._event('carry_resumed', observation, 'sustained_loaded_relative_settling') + self.settled_since = None + # Last held command at the resume boundary; original motion + # starts on the next observed decision, never retrospectively. + return self._hold() + if now-self.memory_started > cfg.hold_timeout_s: + return self._abort(observation, 'reassessment_timeout_unsettled_or_unknown') + return self._hold() + if self.memory_loss_streak >= cfg.loss_samples: + return self._start_hold(observation, 'persistent_bilateral_contact_loss') + if self.memory_stage == 'slowdown': + if now-self.memory_started+1e-9 >= cfg.slowdown_duration_s: + return self._start_hold(observation, 'bounded_slowdown_complete') + return self._scaled_teacher(observation, cfg.slowdown_joint_delta_scale) + if self.trend_streak >= cfg.trend_samples: + self.memory_stage, self.memory_started = 'slowdown', now + self.slowdown_count += 1 + self.issued_phase = 'memory_slowdown' + diagnostic.update(memory_stage='slowdown', decision='slow_requested_joint_delta', + joint_delta_scale=cfg.slowdown_joint_delta_scale) + action = self._scaled_teacher(observation, cfg.slowdown_joint_delta_scale) + self._event('slowdown_started', observation, 'persistent_local_offset_trend') + return action + if self.resumed: + return self._scaled_teacher(observation, cfg.resumed_joint_delta_scale) + diagnostic['decision'] = 'history_unknown_continue' if not diagnostic['history_known'] else 'history_observe' + return None + + def __call__(self, observation): + action = super().__call__(observation) + # The inherited arrival gate stops carry monitoring. Clear memory so + # the original supported release/retreat can run without slow scaling. + if self.carry_supported: + self.memory_stage = 'destination_supported' + return action diff --git a/benchmarks/piper-contact-development-20261011/sources/r2/piper_grip_guard.py b/benchmarks/piper-contact-development-20261011/sources/r2/piper_grip_guard.py new file mode 100644 index 0000000..82d4184 --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/sources/r2/piper_grip_guard.py @@ -0,0 +1,230 @@ +"""Causal, privileged-state PiPER grasp checks; unchanged native dynamics. + +The guard observes only the current recorded robot/object/contact state. It +does not read object mass, friction, the outcome scorer or future observations. +Stopping means holding measured joint targets, not instant physical arrest. +""" +from __future__ import annotations + +from dataclasses import asdict, dataclass +import math + + +SCHEMA = 'dvidia.piper-grip-guard/v1' + + +@dataclass(frozen=True) +class GuardConfig: + probe_height_m: float = .010 + probe_speed_m_s: float = .020 + probe_min_object_rise_m: float = .006 + qualification_dwell_s: float = .10 + relative_drift_limit_m: float = .003 + monitor_min_probe_motion_m: float = .003 + consecutive_alarm_samples: int = 2 + probe_timeout_s: float = 1.4 + close_timeout_s: float = 1.4 + retry_open_timeout_s: float = 1.2 + retry_recenter_timeout_s: float = 1.5 + retry_clearance_m: float = .012 + max_retries: int = 1 + + def __post_init__(self): + # This first experiment has one fixed, reviewable parameter set. + for name, value in asdict(self).items(): + try: + finite = math.isfinite(value) + except (TypeError, ValueError, OverflowError): + finite = False + if isinstance(value, bool) or not isinstance(value, (int, float)) or not finite or value <= 0: + raise ValueError('Invalid guard parameter: '+name) + if type(self.consecutive_alarm_samples) is not int or self.consecutive_alarm_samples != 2 or self.max_retries != 1: + raise ValueError('Guard requires two consecutive observations and at most one retry') + if self.probe_min_object_rise_m >= self.probe_height_m or self.relative_drift_limit_m >= self.probe_height_m: + raise ValueError('Guard probe must exceed its qualification/drift thresholds') + + +def guard_contract(): + return {'schema': SCHEMA, 'parameters': asdict(GuardConfig()), + 'observations': 'grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag', + 'qualification': 'slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms', + 'alarm': 'two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts', + 'recovery': 'hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed', + 'stop': 'requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded', + 'duration': 'original fixed episode timeout including every probe/retry/abort holding command', + 'scope': 'authored simulator controller, not a sensor implementation, hardware safety controller or learned policy'} + + +def inactive_summary(mode): + return {'schema': SCHEMA, 'mode': mode, 'active': False, 'contract': guard_contract(), 'events': [], + 'retry_count': 0, 'acquisition_qualified': False, 'acquisition_qualification_count': 0, + 'abort_reason': None, 'aborted': False, 'diagnostic_count': 0} + + +def _local_offset(observation): + w, x, y, z = observation['tcp_quaternion_wxyz'] + # R transpose times object minus TCP, using the recorded wxyz orientation. + rotation = ((1-2*(y*y+z*z), 2*(x*y-z*w), 2*(x*z+y*w)), + (2*(x*y+z*w), 1-2*(x*x+z*z), 2*(y*z-x*w)), + (2*(x*z-y*w), 2*(y*z+x*w), 1-2*(x*x+y*y))) + difference = [a-b for a, b in zip(observation['object_position_m'], observation['tcp_position_m'])] + return [sum(rotation[row][column]*difference[row] for row in range(3)) for column in range(3)] + + +class GuardedPiperTaskPolicy: + """Wrap the original authored motion policy with a bounded acquisition gate.""" + + def __init__(self, environment): + from .piper_task import PiperTaskPolicy + self.env, self.teacher, self.config = environment, PiperTaskPolicy(environment), GuardConfig() + self.state, self.issued_phase = 'normal', 'approach' + self.events, self.retry_count, self.qualification_count, self.diagnostic_count = [], 0, 0, 0 + self.qualified, self.aborted, self.abort_reason = False, False, None + self.anchor, self.probe_origin, self.probe_quaternion, self.probe_started = None, None, None, None + self.qualification_since, self.stage_started, self.stop_targets = None, None, None + self.drift_streak, self.loss_streak, self.progress_streak = 0, 0, 0 + self.carry_supported, self.diagnostic = False, None + + def summary(self): + return {'schema': SCHEMA, 'mode': 'guarded', 'active': True, 'contract': guard_contract(), + 'events': self.events, 'retry_count': self.retry_count, 'acquisition_qualified': self.qualified, + 'acquisition_qualification_count': self.qualification_count, 'abort_reason': self.abort_reason, + 'aborted': self.aborted, 'diagnostic_count': self.diagnostic_count} + + def _diagnose(self, observation): + offset = _local_offset(observation) + drift = math.dist(offset, self.anchor) if self.anchor is not None else None + return {'t_seconds': observation['t_seconds'], 'phase': self.state if self.state != 'normal' else self.teacher.phase, + 'retry_index': self.retry_count, 'bilateral_contact': all(observation['grasp_contact_counts'].values()), + 'table_supported': observation['table_object_contact_count'] > 0, + 'relative_offset_error_m': drift, + 'object_height_delta_m': observation['object_position_m'][2]-self.probe_origin['object'][2] if self.probe_origin else None, + 'tcp_probe_height_delta_m': observation['tcp_position_m'][2]-self.probe_origin['tcp'][2] if self.probe_origin else None, + 'qualified': self.qualified, 'qualification_dwell_seconds': 0. if self.qualification_since is None else observation['t_seconds']-self.qualification_since, + 'drift_streak': self.drift_streak, 'contact_loss_streak': self.loss_streak, + 'progress_streak': self.progress_streak, 'decision': 'continue'} + + def _event(self, kind, observation, reason): + self.events.append({'type': kind, 't_seconds': observation['t_seconds'], 'phase': self.issued_phase, + 'reason': reason, 'retry_index': self.retry_count, 'diagnostic': dict(self.diagnostic)}) + + def _hold(self, jaw=0.): + return {'joint_targets_rad': list(self.stop_targets), 'gripper_position_m': jaw} + + def _abort(self, observation, reason): + self.stop_targets = list(observation['joint_position_rad']) + self.state, self.issued_phase, self.aborted, self.abort_reason = 'abort', 'guard_abort', True, reason + self.diagnostic['decision'] = 'abort_hold_closed' + self._event('abort', observation, reason) + return self._hold() + + def _alarm(self, observation, reason): + self.stop_targets = list(observation['joint_position_rad']) + self.issued_phase, self.diagnostic['decision'] = 'guard_stop', 'hold_measured_arm' + self._event('alarm', observation, reason) + if self.diagnostic['table_supported'] and observation['unexpected_contact_count'] == 0 and self.retry_count < self.config.max_retries: + self.retry_count += 1 + self.state, self.stage_started = 'retry_open', observation['t_seconds'] + self.qualified, self.qualification_since = False, None + self._event('retry_started', observation, 'supported_object_only') + return self._hold() + return self._abort(observation, reason if not self.diagnostic['table_supported'] else 'retry_budget_exhausted:'+reason) + + def _monitor(self, observation, *, probe): + diagnostic = self.diagnostic + moving = not probe or diagnostic['tcp_probe_height_delta_m'] > self.config.monitor_min_probe_motion_m + drift = moving and diagnostic['relative_offset_error_m'] > self.config.relative_drift_limit_m + loss = moving and not diagnostic['bilateral_contact'] + progress = (probe and moving and diagnostic['table_supported'] + and diagnostic['object_height_delta_m'] < .25*diagnostic['tcp_probe_height_delta_m']) + self.drift_streak = self.drift_streak+1 if drift else 0 + self.loss_streak = self.loss_streak+1 if loss else 0 + self.progress_streak = self.progress_streak+1 if progress else 0 + diagnostic.update(drift_streak=self.drift_streak, contact_loss_streak=self.loss_streak, progress_streak=self.progress_streak) + reason = ('object_not_following' if self.progress_streak >= self.config.consecutive_alarm_samples else + 'relative_slip' if self.drift_streak >= self.config.consecutive_alarm_samples else + 'bilateral_contact_loss' if self.loss_streak >= self.config.consecutive_alarm_samples else None) + return self._alarm(observation, reason) if reason else None + + def __call__(self, observation): + self.diagnostic_count += 1 + self.diagnostic = self._diagnose(observation) + if self.state == 'abort': + self.issued_phase, self.diagnostic['decision'] = 'guard_abort', 'abort_hold_closed' + return self._hold() + if self.state in ('retry_open', 'retry_recenter'): + if not self.diagnostic['table_supported'] or observation['unexpected_contact_count']: + return self._abort(observation, 'support_lost_during_retry') + if self.state == 'retry_open': + self.issued_phase, self.diagnostic['decision'] = 'guard_retry_open', 'open_supported_object' + if observation['t_seconds']-self.stage_started > self.config.retry_open_timeout_s: + return self._abort(observation, 'retry_open_timeout') + if (observation['gripper_joint_position_m'][0] > .028 and observation['gripper_joint_position_m'][1] < -.028 + and not any(observation['grasp_contact_counts'].values())): + self.state, self.stage_started = 'retry_recenter', observation['t_seconds'] + return self._hold(.035) + self.issued_phase, self.diagnostic['decision'] = 'guard_retry_recenter', 'recenter_with_open_jaw' + if observation['t_seconds']-self.stage_started > self.config.retry_recenter_timeout_s: + return self._abort(observation, 'retry_recenter_timeout') + goal = list(observation['object_position_m']) + goal[2] += self.config.retry_clearance_m + action = self.env.pose_action(goal, self.env.config.tool_orientation_wxyz, .035) + # Keep the correction above the supported object until alignment. + current = observation['tcp_quaternion_wxyz'] + desired = self.env.config.tool_orientation_wxyz + aligned = abs(sum(a*b for a, b in zip(current, desired))) > math.cos(.12/2) + if math.dist(goal, observation['tcp_position_m']) < .003 and aligned: + self.teacher.phase, self.teacher.ticks = 'descend', 0 + self.teacher.grasp_position[:] = [*observation['object_position_m'][:2], observation['object_position_m'][2]+.002] + self.teacher.held_offset = None + self.state, self.anchor, self.probe_origin, self.probe_started = 'normal', None, None, None + self.drift_streak = self.loss_streak = self.progress_streak = 0 + self.carry_supported = False + self._event('retry_completed', observation, 'open_recenter_complete') + return action + if self.state == 'probe': + self.issued_phase = 'guard_probe' + if self.probe_started is None: + self.probe_started = observation['t_seconds'] + self.probe_origin = {'object': list(observation['object_position_m']), 'tcp': list(observation['tcp_position_m'])} + self.probe_quaternion = list(observation['tcp_quaternion_wxyz']) + self.anchor = _local_offset(observation) + self.diagnostic = self._diagnose(observation) + self._event('probe_started', observation, 'slow_load_bearing_check') + guarded = self._monitor(observation, probe=True) + if guarded is not None: + return guarded + eligible = (self.diagnostic['bilateral_contact'] and min(observation['pad_normal_forces_n'].values()) > .01 + and not self.diagnostic['table_supported'] + and self.diagnostic['object_height_delta_m'] >= self.config.probe_min_object_rise_m + and self.diagnostic['relative_offset_error_m'] <= self.config.relative_drift_limit_m) + self.qualification_since = (observation['t_seconds'] if self.qualification_since is None else self.qualification_since) if eligible else None + self.diagnostic['qualification_dwell_seconds'] = 0. if self.qualification_since is None else observation['t_seconds']-self.qualification_since + if self.diagnostic['qualification_dwell_seconds']+1e-9 >= self.config.qualification_dwell_s: + self.qualified, self.qualification_count, self.state = True, self.qualification_count+1, 'normal' + self.teacher.held_offset = _local_offset(observation) + self.diagnostic['qualified'], self.diagnostic['decision'] = True, 'qualified_resume_full_lift' + self._event('acquisition_qualified', observation, 'sustained_table_free_probe') + elif observation['t_seconds']-self.probe_started > self.config.probe_timeout_s: + return self._alarm(observation, 'probe_timeout') + goal = list(self.probe_origin['tcp']) + goal[2] += min(self.config.probe_height_m, self.config.probe_speed_m_s*(observation['t_seconds']-self.probe_started+self.env.config.control_dt)) + return self.env.pose_action(goal, self.probe_quaternion, 0.) + # Once qualified, the original motion controller remains responsible for + # lift/transfer/place. Contact scoring remains independent and unchanged. + if self.qualified and self.teacher.phase in ('lift', 'transfer', 'place') and not self.carry_supported: + if (self.diagnostic['table_supported'] and self.diagnostic['bilateral_contact'] + and math.dist(observation['object_position_m'], observation['target_position_m']) <= self.env.config.goal_position_tolerance_m): + self.carry_supported = True + else: + guarded = self._monitor(observation, probe=False) + if guarded is not None: + return guarded + if self.teacher.phase == 'close' and self.teacher.ticks*self.env.config.control_dt >= self.config.close_timeout_s: + return self._alarm(observation, 'closure_timeout') + self.issued_phase = self.teacher.phase + action = self.teacher(observation) + self.issued_phase = self.teacher.issued_phase + if self.issued_phase == 'close' and self.teacher.phase == 'lift': + self.state = 'probe' + return action diff --git a/benchmarks/piper-contact-development-20261011/sources/r2/piper_task.py b/benchmarks/piper-contact-development-20261011/sources/r2/piper_task.py new file mode 100644 index 0000000..ff142a0 --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/sources/r2/piper_task.py @@ -0,0 +1,492 @@ +"""PiPER free-block contact pilot; authored policy and privileged simulator state. + +The pinned robot's native servos, force limits and gravity compensation remain +unchanged. The block moves under gravity and contact, with no grasp attachment. +""" +from __future__ import annotations + +from dataclasses import asdict, dataclass +from hashlib import sha256 +import math +from pathlib import Path +import platform +import time + +from . import reference_sim as sim +from . import robot_profiles +from .reference_task import ReferenceTaskEnv, _number, _vector + + +PROFILE = 'piper-rigid-block-task-v0.1' +SCHEMA = 'dvidia.piper-task-episode/v1' +SCOPE = ('Authored PiPER rigid-block contact pilot with privileged native state. ' + 'Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. ' + 'No learned skill, camera sensing, shoe manipulation or physical robot qualification.') +ARM_JOINTS = tuple('joint'+str(i) for i in range(1, 7)) + + +@dataclass(frozen=True) +class PiperTaskConfig: + timestep: float = .001 + control_dt: float = .02 + timeout_s: float = 20. + settle_s: float = .5 + object_position_m: tuple = (.30, -.03, .082) + target_position_m: tuple = (.35, .08, .08) + object_half_size_m: tuple = (.02, .02, .02) + mass_kg: float = .04 + friction: float = .8 + table_top_m: float = .06 + table_center_xy_m: tuple = (.38, 0.) + table_half_size_xy_m: tuple = (.17, .22) + table_thickness_m: float = .04 + goal_position_tolerance_m: float = .025 + goal_dwell_s: float = .25 + min_lift_m: float = .06 + min_lift_dwell_s: float = .10 + retreat_clearance_m: float = .10 + joint_target_rate_rad_s: float = 1.5 + jaw_target_rate_m_s: float = .05 + tool_orientation_wxyz: tuple = (0., 0., 1., 0.) + carry_orientation_wxyz: tuple = (math.cos(5*math.pi/12), 0., math.sin(5*math.pi/12), 0.) + + def __post_init__(self): + bounds = {'timestep': (.0005, .002), 'control_dt': (.02, .02), 'timeout_s': (.1, 30.), + 'settle_s': (.1, 2.), 'mass_kg': (.01, .10), 'friction': (.05, 2.), + 'table_top_m': (.04, .20), 'table_thickness_m': (.02, .08), + 'goal_position_tolerance_m': (.01, .025), 'goal_dwell_s': (.1, .6), + 'min_lift_m': (.04, .1), 'min_lift_dwell_s': (.05, .3), + 'retreat_clearance_m': (.08, .15), 'joint_target_rate_rad_s': (.1, 3.), + 'jaw_target_rate_m_s': (.005, .10)} + for name, (low, high) in bounds.items(): + object.__setattr__(self, name, _number(getattr(self, name), name, low, high)) + sim._timestep(self.timestep) + for numerator, denominator in ((self.control_dt, self.timestep), (self.timeout_s, self.control_dt), (self.settle_s, self.timestep)): + ratio = numerator/denominator + if not math.isclose(ratio, round(ratio), abs_tol=1e-9, rel_tol=0): + raise ValueError('Durations must contain complete native/control ticks') + for name, length, low, high in (('object_position_m', 3, -1, 1), ('target_position_m', 3, -1, 1), + ('object_half_size_m', 3, .018, .023), ('table_center_xy_m', 2, -1, 1), + ('table_half_size_xy_m', 2, .1, .3), ('tool_orientation_wxyz', 4, -1, 1), + ('carry_orientation_wxyz', 4, -1, 1)): + object.__setattr__(self, name, _vector(getattr(self, name), length, name, low, high)) + if any(not math.isclose(sum(x*x for x in quaternion), 1., abs_tol=1e-8, rel_tol=0) + for quaternion in (self.tool_orientation_wxyz, self.carry_orientation_wxyz)): + raise ValueError('Tool quaternion must be normalized wxyz') + for name in ('object_position_m', 'target_position_m'): + point = getattr(self, name) + if not .25 <= point[0] <= .48 or not -.15 <= point[1] <= .15: + raise ValueError('Placement outside the bounded pilot workspace') + for axis in range(2): + if abs(point[axis]-self.table_center_xy_m[axis])+self.object_half_size_m[axis] > self.table_half_size_xy_m[axis]-.01: + raise ValueError('Block placement must be inside the support table') + expected = self.table_top_m+self.object_half_size_m[2]+(.002 if name == 'object_position_m' else 0.) + if not math.isclose(point[2], expected, abs_tol=1e-8, rel_tol=0): + raise ValueError('Block start/target height differs from support plane') + if math.dist(self.object_position_m[:2], self.target_position_m[:2]) < .075: + raise ValueError('Pilot must require at least 75 mm transfer') + + +def _config(value): + value = PiperTaskConfig() if value is None else value + if not isinstance(value, PiperTaskConfig): + raise TypeError('config must be PiperTaskConfig') + return value + + +def _asset_root(assets): + path = Path(assets) + return path.parent if path.name == 'agilex_piper' else path + + +def task_contract(): + return {'profile': PROFILE, 'scope': SCOPE, 'physical_robot_ready': False, 'arm_joint_order': list(ARM_JOINTS), + 'actions': {'joint_targets_rad': 'six native position-servo targets in radians', + 'gripper_position_m': 'one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap'}, + 'gripper_joints': ['joint7', 'joint8'], 'independent_gripper_commands': 1, + 'tcp': 'authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated', + 'object': 'free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes', + 'contact': 'stock native finger collision boxes; object priority1 authors pair friction explicitly', + 'servo_gains': 'unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained', + 'collision_support_exemption': 'fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical', + 'observations': 'privileged joint/object/TCP/contact state; no deployable sensor pipeline', + 'success': 'valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat', + 'carry_contact_loss_tolerance_seconds': .04, 'contact_force_threshold_n': .01, + 'simulation_asset_license': 'MIT'} + + +def build_task_model(assets, config=None): + config = _config(config) + item, blobs = robot_profiles._payload('piper', _asset_root(assets)) + mj, _ = sim._native_imports() + spec = sim._spec(blobs, item['folder'], item['model']) + spec.option.timestep = config.timestep + spec.body('link6').add_site(name='piper_task_tcp', pos=[0, 0, .12003], size=[.004, 0, 0], rgba=[.1, .5, .3, 1]) + spec.worldbody.add_geom(name='task_floor', type=mj.mjtGeom.mjGEOM_PLANE, size=[2, 2, .1], rgba=[.9, .9, .88, 1]) + spec.worldbody.add_geom(name='task_table', type=mj.mjtGeom.mjGEOM_BOX, + pos=[*config.table_center_xy_m, config.table_top_m-config.table_thickness_m/2], + size=[*config.table_half_size_xy_m, config.table_thickness_m/2], rgba=[.73, .70, .64, 1]) + block = spec.worldbody.add_body(name='task_block', pos=config.object_position_m, gravcomp=0) + block.add_freejoint(name='task_block_free') + block.add_geom(name='task_block_geom', type=mj.mjtGeom.mjGEOM_BOX, size=config.object_half_size_m, + mass=config.mass_kg, friction=[config.friction, .005, .0001], priority=1, condim=4, rgba=[.75, .30, .16, 1]) + target = spec.worldbody.add_body(name='task_target_frame', pos=[*config.target_position_m[:2], config.table_top_m+.0005]) + target.add_geom(name='task_target', type=mj.mjtGeom.mjGEOM_BOX, size=[.035, .035, .0005], + contype=0, conaffinity=0, rgba=[.17, .47, .35, .3]) + model = spec.compile() + if (model.nq, model.nv, model.nu, model.neq, model.nmocap) != (15, 14, 7, 1, 0): + raise ValueError('PiPER task mechanical contract changed') + return model + + +class PiperTaskEnv: + _outcome_tick = ReferenceTaskEnv._outcome_tick + + def __init__(self, assets, config=None): + self.assets, self.config, self.ready = _asset_root(assets), _config(config), False + + def _finite(self): + _, np = sim._native_imports() + return (ReferenceTaskEnv._finite(self) and not np.any(self.data.qfrc_applied) + and not np.any(self.data.xfrc_applied)) + + def info(self): + result = ReferenceTaskEnv.info(self) + if not self._finite() or any(warning.number for warning in self.data.warning): + result.update(valid=False, success=False, + reason='invalid_state' if not self._finite() else 'solver_warning') + return result + + def reset(self, seed=0): + if type(seed) is not int or not 0 <= seed <= 999999: + raise ValueError('seed must be an integer in [0,999999]') + mj, np = sim._native_imports() + self.ready, self.seed, self.warnings = False, seed, [] + with sim.native_warnings(self.warnings): + self.model = build_task_model(self.assets, self.config) + self.data = mj.MjData(self.model) + self.arm_qpos, self.arm_dof = np.arange(6), np.arange(6) + self.linkage_qpos = np.arange(6, 8) + self.tcp = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_SITE, 'piper_task_tcp') + self.block = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_BODY, 'task_block') + self.block_geom = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_GEOM, 'task_block_geom') + self.table_geom = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_GEOM, 'task_table') + self.floor_geom = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_GEOM, 'task_floor') + self.pad_geoms = {} + for side, name in (('left', 'link7'), ('right', 'link8')): + body = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_BODY, name) + self.pad_geoms[side] = [i for i in range(self.model.ngeom) if self.model.geom_bodyid[i] == body + and self.model.geom_type[i] == mj.mjtGeom.mjGEOM_BOX and self.model.geom_contype[i]] + if len(self.pad_geoms[side]) != 2: + raise ValueError('PiPER stock finger collision boxes changed') + self.robot_geoms = {i for i in range(self.model.ngeom) if 1 <= self.model.geom_bodyid[i] <= 9} + self.moving_geoms = {i for i in self.robot_geoms if self.model.geom_bodyid[i] > 1} + self.arm_geoms = {i for i in self.robot_geoms if 2 <= self.model.geom_bodyid[i] <= 7} + self.data.qpos[:8] = [0., 1.57, -1.3485, 0., 0., 0., .035, -.035] + self.command_targets = self.data.qpos[:6].copy() + self.command_gripper = .035 + mj.mj_forward(self.model, self.data) + for _ in range(round(self.config.settle_s/self.config.timestep)): + self._controls() + mj.mj_step(self.model, self.data) + mj.mj_forward(self.model, self.data) + if not self._finite() or self.warnings or any(x.number for x in self.data.warning): + raise RuntimeError('PiPER settling produced invalid native physics') + counts, _, supported, critical, _ = self._contacts() + velocity = np.empty(6) + mj.mj_objectVelocity(self.model, self.data, mj.mjtObj.mjOBJ_BODY, self.block, velocity, 0) + point = self.data.xpos[self.block] + expected_z = self.config.table_top_m+self.config.object_half_size_m[2] + if (not supported or critical or any(counts.values()) + or np.linalg.norm(point[:2]-self.config.object_position_m[:2]) > .005 + or abs(float(point[2])-expected_z) > .002 + or np.linalg.norm(velocity[3:]) > .02 or np.linalg.norm(velocity[:3]) > .2): + raise RuntimeError('Reset must settle a supported, clear, stationary block near the declared start') + self.initial_object_position = self.data.xpos[self.block].copy() + self.elapsed, self.steps, self.dwell, self.lift_dwell = 0., 0, 0., 0. + self.max_lift, self.max_pad_force, self.critical_contact_ticks = 0., 0., 0 + self.lift_seen, self.grasp_seen, self.done = False, False, False + self.carry_complete, self.retention_lost = False, False + self.carry_contact_loss, self.max_carry_contact_loss, self.carry_contact_loss_events = 0., 0., 0 + self.first_success_time, self.reason = None, 'running' + self.contact_pair_native_ticks, self.ready = {}, True + return self.observation(), self.info() + + def _controls(self): + self.data.ctrl[:6] = self.command_targets + self.data.ctrl[6] = self.command_gripper + + def _contacts(self): + mj, np = sim._native_imports() + counts, forces, table, critical, pairs = {'left': 0, 'right': 0}, {'left': 0., 'right': 0.}, 0, 0, [] + pads = set(sum(self.pad_geoms.values(), [])) + for index, contact in enumerate(self.data.contact[:self.data.ncon]): + force = np.zeros(6) + mj.mj_contactForce(self.model, self.data, index, force) + if force[0] <= .01: + continue + pair = {int(contact.geom1), int(contact.geom2)} + pairs.append({'geom_ids': sorted(pair), 'normal_force_n': float(force[0])}) + if self.block_geom in pair: + table += int(self.table_geom in pair) + for side in counts: + if pair.intersection(self.pad_geoms[side]): + counts[side] += 1 + forces[side] += float(force[0]) + critical += int(bool(pair.intersection(self.robot_geoms-pads)) or self.floor_geom in pair) + elif pair.intersection({self.table_geom, self.floor_geom}) and pair.intersection(self.moving_geoms): + critical += 1 + elif pair.intersection(self.arm_geoms) and pair.issubset(self.robot_geoms): + critical += 1 + return counts, forces, table, critical, pairs + + def observation(self): + mj, np = sim._native_imports() + if not self._finite(): + raise RuntimeError('Cannot record nonfinite PiPER physics') + counts, forces, table, critical, pairs = self._contacts() + quat, velocity = np.empty(4), np.empty(6) + mj.mju_mat2Quat(quat, self.data.site_xmat[self.tcp]) + mj.mj_objectVelocity(self.model, self.data, mj.mjtObj.mjOBJ_BODY, self.block, velocity, 0) + return {'t_seconds': self.elapsed, 'qpos': self.data.qpos.tolist(), 'qvel': self.data.qvel.tolist(), + 'joint_position_rad': self.data.qpos[:6].tolist(), 'joint_velocity_rad_s': self.data.qvel[:6].tolist(), + 'gripper_joint_position_m': self.data.qpos[6:8].tolist(), + 'tcp_position_m': self.data.site_xpos[self.tcp].tolist(), 'tcp_quaternion_wxyz': quat.tolist(), + 'object_position_m': self.data.xpos[self.block].tolist(), 'object_quaternion_wxyz': self.data.xquat[self.block].tolist(), + 'object_linear_velocity_m_s': velocity[3:].tolist(), 'object_angular_velocity_rad_s': velocity[:3].tolist(), + 'target_position_m': list(self.config.target_position_m), 'grasp_contact_counts': counts, + 'pad_normal_forces_n': forces, 'table_object_contact_count': table, 'unexpected_contact_count': critical, + 'contact_count': int(self.data.ncon), 'active_contact_pairs': pairs, + 'native_actuator_controls': self.data.ctrl.tolist(), 'actuator_force_native': self.data.actuator_force.tolist(), + 'issued_joint_targets_rad': None, 'issued_gripper_position_m': None, 'command': None, + 'observation_origin': 'privileged_native_simulator_state'} + + def pose_action(self, position_m, quaternion_wxyz, gripper_position_m): + if not self.ready or self.done: + raise RuntimeError('Reset required before another PiPER action') + mj, np = sim._native_imports() + position = np.asarray(_vector(position_m, 3, 'tool position')) + quaternion = np.asarray(_vector(quaternion_wxyz, 4, 'tool quaternion', -1, 1)) + if not math.isclose(float(quaternion@quaternion), 1., abs_tol=1e-8, rel_tol=0): + raise ValueError('Tool quaternion must be normalized wxyz') + jaw = _number(gripper_position_m, 'gripper position', 0, .035) + jacp, jacr = np.zeros((3, self.model.nv)), np.zeros((3, self.model.nv)) + mj.mj_jacSite(self.model, self.data, jacp, jacr, self.tcp) + current, rotation = np.empty(4), np.empty(3) + mj.mju_mat2Quat(current, self.data.site_xmat[self.tcp]) + mj.mju_subQuat(rotation, quaternion, current) + rotation = self.data.site_xmat[self.tcp].reshape(3, 3)@rotation + translation = position-self.data.site_xpos[self.tcp] + for error, maximum in ((translation, .015), (rotation, .05)): + norm = float(np.linalg.norm(error)) + if norm > maximum: + error *= maximum/norm + jacobian = np.vstack((jacp[:, :6], .25*jacr[:, :6])) + error = np.concatenate((translation, .25*rotation)) + delta = jacobian.T@np.linalg.solve(jacobian@jacobian.T+.012**2*np.eye(6), error) + targets = np.clip(self.data.qpos[:6]+np.clip(delta, -.06, .06), + self.model.actuator_ctrlrange[:6, 0]+.02, self.model.actuator_ctrlrange[:6, 1]-.02) + return {'joint_targets_rad': targets.tolist(), 'gripper_position_m': jaw} + + def step(self, action): + if not self.ready or self.done: + raise RuntimeError('Reset required before another PiPER step') + if type(action) is not dict or set(action) != {'joint_targets_rad', 'gripper_position_m'}: + raise ValueError('PiPER requires six radian arm targets and one metre jaw target') + mj, np = sim._native_imports() + targets = np.asarray(_vector(action['joint_targets_rad'], 6, 'arm targets')) + jaw = _number(action['gripper_position_m'], 'jaw target', 0, .035) + if np.any(targets < self.model.actuator_ctrlrange[:6, 0]) or np.any(targets > self.model.actuator_ctrlrange[:6, 1]): + raise ValueError('Arm target exceeds native limits') + if not self._finite(): + self.reason, self.done = 'invalid_state', True + return None, self.info() + messages = [] + with sim.native_warnings(messages): + for _ in range(round(self.config.control_dt/self.config.timestep)): + self.command_targets += np.clip(targets-self.command_targets, + -self.config.joint_target_rate_rad_s*self.config.timestep, + self.config.joint_target_rate_rad_s*self.config.timestep) + self.command_gripper += float(np.clip(jaw-self.command_gripper, + -self.config.jaw_target_rate_m_s*self.config.timestep, + self.config.jaw_target_rate_m_s*self.config.timestep)) + self._controls() + mj.mj_step(self.model, self.data) + mj.mj_forward(self.model, self.data) + self.elapsed += self.config.timestep + if not self._finite() or messages or any(x.number for x in self.data.warning): + self.reason = 'invalid_state' if not self._finite() else 'solver_warning' + self.done = True + break + counts, forces, supported, critical, pairs = self._contacts() + for pair in {tuple(contact['geom_ids']) for contact in pairs}: + name = ':'.join(map(str, pair)) + self.contact_pair_native_ticks[name] = self.contact_pair_native_ticks.get(name, 0)+1 + velocity = np.empty(6) + mj.mj_objectVelocity(self.model, self.data, mj.mjtObj.mjOBJ_BODY, self.block, velocity, 0) + both = all(counts[side] > 0 for side in counts) + lift = float(self.data.xpos[self.block, 2]-self.initial_object_position[2]) + distance = float(np.linalg.norm(self.data.xpos[self.block]-self.config.target_position_m)) + actual_open = self.data.qpos[6] > .028 and self.data.qpos[7] < -.028 + self._outcome_tick(both=both, supported=supported, lift=lift, distance=distance, + released=not any(counts.values()) and actual_open, + settled=np.linalg.norm(velocity[3:]) < .035 and np.linalg.norm(velocity[:3]) < .3, + clear=self.data.site_xpos[self.tcp, 2] >= self.data.xpos[self.block, 2]+self.config.retreat_clearance_m, + critical=critical, pad_force=max(forces.values())) + self.warnings.extend(messages) + self.steps += 1 + if not self.done and self.steps >= round(self.config.timeout_s/self.config.control_dt): + self.reason, self.done = 'timeout', True + return self.observation() if self._finite() else None, self.info() + + +class PiperTaskPolicy: + def __init__(self, environment): + self.env, self.phase, self.ticks = environment, 'approach', 0 + self.grasp_position, self.held_offset = None, None + self.issued_phase = self.phase + + def __call__(self, observation): + mj, np = sim._native_imports() + self.issued_phase = self.phase + obj, tcp, target = (np.asarray(observation[name]) for name in ('object_position_m', 'tcp_position_m', 'target_position_m')) + both, jaw = all(observation['grasp_contact_counts'][side] for side in ('left', 'right')), .035 + orientation = self.env.config.tool_orientation_wxyz + if self.phase in ('approach', 'lift', 'transfer', 'retreat', 'verify'): + orientation = self.env.config.carry_orientation_wxyz + rotation, angular_error = np.empty(9), np.empty(3) + mj.mju_quat2Mat(rotation, np.asarray(orientation)) + mj.mju_subQuat(angular_error, np.asarray(orientation), np.asarray(observation['tcp_quaternion_wxyz'])) + aligned = np.linalg.norm(angular_error) < .12 + offset = rotation.reshape(3, 3)@self.held_offset if self.held_offset is not None else None + if self.phase == 'approach': + goal = obj+np.asarray([0., 0., .10]) + if np.linalg.norm(tcp-goal) < .008 and aligned: + self.grasp_position = obj+np.asarray([0., 0., .002]) + self.phase, self.ticks = 'descend', 0 + elif self.phase == 'descend': + goal = self.grasp_position + if np.linalg.norm(tcp-goal) < .004 and aligned: + self.phase, self.ticks = 'close', 0 + elif self.phase == 'close': + goal, jaw = self.grasp_position, 0. + if both and min(observation['pad_normal_forces_n'].values()) > .01 and self.ticks >= 35: + current_rotation = np.empty(9) + mj.mju_quat2Mat(current_rotation, np.asarray(observation['tcp_quaternion_wxyz'])) + self.held_offset = current_rotation.reshape(3, 3).T@(obj-tcp) + self.phase, self.ticks = 'lift', 0 + elif self.phase == 'lift': + goal, jaw = self.grasp_position+np.asarray([0., 0., .10]), 0. + if self.env.lift_seen and np.linalg.norm(tcp-goal) < .008: + self.phase, self.ticks = 'transfer', 0 + elif self.phase == 'transfer': + goal, jaw = target-offset+np.asarray([0., 0., .10]), 0. + if np.linalg.norm(tcp-goal) < .008: + self.phase, self.ticks = 'place', 0 + elif self.phase == 'place': + goal, jaw = target-offset, 0. + if observation['table_object_contact_count'] and np.linalg.norm(obj-target) < .02 and np.linalg.norm(tcp-goal) < .006: + self.phase, self.ticks = 'release', 0 + elif self.phase == 'release': + goal = target-offset + if not any(observation['grasp_contact_counts'].values()) and self.ticks >= 35: + self.phase, self.ticks = 'retreat', 0 + else: + goal = target+np.asarray([0., 0., .13]) + if np.linalg.norm(tcp-goal) < .008: + self.phase = 'verify' + self.ticks += 1 + return self.env.pose_action(goal.tolist(), orientation, jaw) + + +def run_episode(assets, config=None, *, seed=0, control='placement', arm_tape=None, policy_mode='baseline'): + config = _config(config) + if control not in ('placement', 'replay_open_jaw', 'hold'): + raise ValueError('Unknown PiPER task control') + if policy_mode not in ('baseline', 'guarded', 'probe_only', 'history'): + raise ValueError('PiPER policy mode must be baseline, guarded, probe_only or history') + from . import piper_grip_guard as grip_guard + from . import piper_contact_memory as contact_memory + started, latencies, environment, phase = time.perf_counter(), [], None, 'validation' + result = {'schema': SCHEMA, 'profile': PROFILE, 'scope': SCOPE, 'physical_robot_ready': False, + 'seed': seed, 'control': control, 'policy_mode': policy_mode, 'config': asdict(config), 'timestep_seconds': config.timestep, + 'valid': False, 'success': False, 'reason': 'not_started', 'error': None, 'warnings': [], + 'simulated_seconds': 0., 'trajectory': [], 'actions': [], 'arm_tape': [], 'metrics': {}, 'timing': {}, + 'contract': task_contract(), 'platform': {'system': platform.system(), 'machine': platform.machine(), 'python': platform.python_version()}} + source = Path(__file__).parent + result['implementation_sha256'] = {name: sha256((source/name).read_bytes()).hexdigest() + for name in ('piper_task.py', 'robot_profiles.py', 'robot_profiles.lock.json', 'reference_task.py', 'reference_sim.py')} + result['policy_implementation_sha256'] = {'piper_grip_guard.py': sha256((source/'piper_grip_guard.py').read_bytes()).hexdigest()} + memory_mode = policy_mode in ('probe_only', 'history') + if memory_mode: + result['policy_implementation_sha256']['piper_contact_memory.py'] = sha256((source/'piper_contact_memory.py').read_bytes()).hexdigest() + result['grip_guard'] = (contact_memory.inactive_summary(policy_mode) if memory_mode else grip_guard.inactive_summary(policy_mode)) + policy = None + try: + if control == 'replay_open_jaw': + if type(arm_tape) is not list or len(arm_tape) != round(config.timeout_s/config.control_dt): + raise ValueError('Open-jaw control requires a complete exact-duration arm tape') + arm_tape = [list(_vector(row, 6, 'arm replay')) for row in arm_tape] + phase = 'setup' + result['asset_provenance'] = robot_profiles.verify_assets('piper', _asset_root(assets)) + environment = PiperTaskEnv(assets, config) + observation, info = environment.reset(seed) + mj, np = sim._native_imports() + result['platform'].update(mujoco_version=mj.__version__, numpy_version=np.__version__) + result['compiled_model_sha256'] = sim.model_digest(environment.model) + result['initial_object_position_m'] = environment.initial_object_position.tolist() + result['native_servo_gains'] = environment.model.actuator_gainprm[:, 0].tolist() + result['native_servo_bias'] = environment.model.actuator_biasprm[:, :3].tolist() + result['native_force_limits'] = environment.model.actuator_forcerange.tolist() + result['native_control_limits'] = environment.model.actuator_ctrlrange.tolist() + result['native_model_settings'] = {'dimensions': {name: int(getattr(environment.model, name)) for name in ('nq', 'nv', 'nu', 'neq', 'nmocap')}, + 'gravity_m_s2': environment.model.opt.gravity.tolist(), + 'body_gravcomp': environment.model.body_gravcomp.tolist()} + result['contact_geometry'] = {'pad_geom_ids': environment.pad_geoms, + 'geom_body_names': [mj.mj_id2name(environment.model, mj.mjtObj.mjOBJ_BODY, int(body)) for body in environment.model.geom_bodyid]} + result['trajectory'].append(observation) + result['timing']['setup_seconds'] = time.perf_counter()-started + policy = (contact_memory.ContactMemoryPiperTaskPolicy(environment, policy_mode) if memory_mode and control == 'placement' + else grip_guard.GuardedPiperTaskPolicy(environment) if policy_mode == 'guarded' and control == 'placement' + else PiperTaskPolicy(environment)) + hold, phase = observation['joint_position_rad'], 'rollout' + for index in range(round(config.timeout_s/config.control_dt)): + began = time.perf_counter() + action = policy(observation) if control == 'placement' else {'joint_targets_rad': hold if control == 'hold' else arm_tape[index], 'gripper_position_m': .035} + if isinstance(policy, grip_guard.GuardedPiperTaskPolicy): + observation['guard_diagnostic'] = dict(policy.diagnostic) + record = {'t_seconds': observation['t_seconds'], **action, 'phase': policy.issued_phase if control == 'placement' else control} + result['actions'].append(record) + result['arm_tape'].append(list(action['joint_targets_rad'])) + observation.update(issued_joint_targets_rad=list(action['joint_targets_rad']), issued_gripper_position_m=action['gripper_position_m'], command=record) + observation, info = environment.step(action) + latencies.append(time.perf_counter()-began) + if observation is not None: + if isinstance(policy, grip_guard.GuardedPiperTaskPolicy): + observation['guard_diagnostic'] = None + result['trajectory'].append(observation) + if environment.done: + break + result.update(valid=info['valid'], success=info['success'], reason=info['reason'], warnings=info['warnings'], + simulated_seconds=info['simulation_time'], metrics={**info, 'contact_pair_native_ticks': environment.contact_pair_native_ticks}) + except Exception as exc: + result['reason'], result['error'] = 'exception', {'phase': phase, 'type': type(exc).__name__, 'message': str(exc)[:500]} + if environment is not None: + result['warnings'] = list(getattr(environment, 'warnings', [])) + result['simulated_seconds'] = getattr(environment, 'elapsed', 0.) + if isinstance(policy, grip_guard.GuardedPiperTaskPolicy): + result['grip_guard'] = policy.summary() + elapsed = time.perf_counter()-started + result['timing'].update(episode_wall_seconds=elapsed, control_step_seconds=sim._summary(latencies) if latencies else None, + control_boundaries=len(latencies), missed_control_boundaries=sum(x > config.control_dt for x in latencies), + simulated_seconds_per_wall_second=result['simulated_seconds']/elapsed, + scope='Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency') + return result + + +def run_matched(assets, config=None, *, seed=0, policy_mode='baseline'): + config = _config(config) + placement = run_episode(assets, config, seed=seed, policy_mode=policy_mode) + tape = placement['arm_tape'] if placement['valid'] and len(placement['arm_tape']) == round(config.timeout_s/config.control_dt) else None + return [placement, run_episode(assets, config, seed=seed, control='replay_open_jaw', arm_tape=tape, policy_mode=policy_mode), + run_episode(assets, config, seed=seed, control='hold', policy_mode=policy_mode)] diff --git a/benchmarks/piper-contact-development-20261011/sources/r2/reference_sim.py b/benchmarks/piper-contact-development-20261011/sources/r2/reference_sim.py new file mode 100644 index 0000000..5a982d8 --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/sources/r2/reference_sim.py @@ -0,0 +1,457 @@ +"""Pinned hardware reference mechanics; no physical controller or skill policy. + +Asset installation is an explicit network operation. All later work is local. +Imports of the optional native simulator are deferred until a model is requested. +""" +from __future__ import annotations + +from contextlib import contextmanager +from hashlib import sha256 +import json +import math +import os +from pathlib import Path +import platform +import statistics +import stat +import time +from urllib.request import Request, urlopen + + +PROFILE = "ur5e-2f85-menagerie-reference-v0.1" +COMMIT = "0059d4335f8156206f63a35662313385f7ad6d74" +ARM_JOINTS = ("shoulder_pan_joint", "shoulder_lift_joint", "elbow_joint", + "wrist_1_joint", "wrist_2_joint", "wrist_3_joint") +ARM_BODIES = ("shoulder_link", "upper_arm_link", "forearm_link", + "wrist_1_link", "wrist_2_link", "wrist_3_link") +CONTROL_DT = .02 +CASES = ("hold_open", "arm_sweep", "jaw_cycle") +SCOPE = ("Pinned reference geometry, inertias, collision proxies and coupled gripper. " + "Authored native servos, privileged state and synthetic commands. " + "No serial-specific calibration, measured hardware response, task policy or physical qualification.") + + +def asset_lock(): + return json.loads(Path(__file__).with_name("reference_assets.lock.json").read_text(encoding="utf-8")) + + +def _files(hands=False): + return [x for x in asset_lock()["files"] if hands or not x["path"].startswith("shadow_hand/")] + + +def _regular_bytes(path, size): + before = path.lstat() + if not stat.S_ISREG(before.st_mode): + raise ValueError(f"Expected a regular non-symlink asset: {path.name}") + if before.st_size != size: + raise ValueError(f"Asset size mismatch: {path.name}") + flags = os.O_RDONLY | getattr(os, "O_NONBLOCK", 0) | getattr(os, "O_NOFOLLOW", 0) | getattr(os, "O_BINARY", 0) + descriptor = os.open(path, flags) + with os.fdopen(descriptor, "rb") as stream: + opened = os.fstat(stream.fileno()) + if not stat.S_ISREG(opened.st_mode) or opened.st_size != size: + raise ValueError("Asset must remain a bounded regular file during opening") + if before.st_ino and opened.st_ino and (before.st_dev, before.st_ino) != (opened.st_dev, opened.st_ino): + raise ValueError("Asset file identity changed during opening") + content = stream.read(size + 1) + if len(content) != size: + raise ValueError(f"Asset size mismatch: {path.name}") + return content + + +def _asset_payload(directory, *, hands=False): + root = Path(directory) + if root.is_symlink() or not root.is_dir(): + raise ValueError("Asset root must be an existing non-symlink directory") + records = _files(hands) + blobs = {} + for record in records: + path = root / record["path"] + # Reject redirected subdirectories before allowing the native parser access. + if any(x.is_symlink() for x in (path.parent, path.parent.parent)): + raise ValueError("Asset subdirectories must not be symlinks") + content = _regular_bytes(path, record["bytes"]) + if sha256(content).hexdigest() != record["sha256"]: + raise ValueError(f"Asset digest mismatch: {record['path']}") + blobs[record["path"]] = content + metadata = {"commit": COMMIT, "files_verified": len(records), + "bytes_verified": sum(x["bytes"] for x in records), + "lock_sha256": sha256(Path(__file__).with_name("reference_assets.lock.json").read_bytes()).hexdigest(), + "licenses": {k: v for k, v in asset_lock()["licenses"].items() + if hands or k != "shadow_hand"}} + return metadata, blobs + + +def verify_assets(directory, *, hands=False): + return _asset_payload(directory, hands=hands)[0] + + +def _spec(blobs, folder, filename): + mj, _ = _native_imports() + prefix = folder + "/" + local = {key[len(prefix):]: content for key, content in blobs.items() if key.startswith(prefix)} + # The native parser receives the exact verified bytes in memory. It does not + # reread model/mesh/include paths between verification and compilation. + return mj.MjSpec.from_string(local[filename].decode("utf-8"), + include={key: content for key, content in local.items() if key.endswith(".xml")}, + assets={key: content for key, content in local.items() if key.startswith("assets/")}) + + +def fetch_assets(directory, *, hands=False): + """Download only the packaged, pinned allowlist, retaining upstream licenses. + + A failed download leaves an incomplete fresh directory for inspection; verify + rejects it. No credentials, account, dynamic manifest or arbitrary URL is used. + """ + destination = Path(directory) + destination.mkdir(parents=True, exist_ok=False) + for record in _files(hands): + url = f"https://raw.githubusercontent.com/google-deepmind/mujoco_menagerie/{COMMIT}/{record['path']}" + request = Request(url, headers={"User-Agent": "DVIDIA-Reference-Simulator/0.1"}) + with urlopen(request, timeout=30) as response: + if not response.geturl().startswith("https://raw.githubusercontent.com/"): + raise ValueError("Asset download redirected outside the pinned source host") + content = response.read(record["bytes"] + 1) + if len(content) != record["bytes"] or sha256(content).hexdigest() != record["sha256"]: + raise ValueError(f"Downloaded asset does not match the lock: {record['path']}") + path = destination / record["path"] + path.parent.mkdir(parents=True, exist_ok=True) + with path.open("xb") as stream: + stream.write(content) + return verify_assets(destination, hands=hands) + + +def _native_imports(): + try: + import mujoco + import numpy as np + except ImportError as exc: + raise RuntimeError("Install dvidia-training with the optional arm extra") from exc + if mujoco.__version__ != "3.15.0": + raise RuntimeError("Reference simulation requires MuJoCo 3.15.0") + return mujoco, np + + +@contextmanager +def native_warnings(messages): + from .env import _NATIVE_LOCK + mj, _ = _native_imports() + with _NATIVE_LOCK: + previous = mj.get_mju_user_warning() + mj.set_mju_user_warning(lambda value: messages.append(str(value))) + try: + yield + finally: + mj.set_mju_user_warning(previous) + + +def _timestep(value): + if isinstance(value, bool) or not isinstance(value, (int, float)) or value not in (.002, .001, .0005): + raise ValueError("Reference timestep must be 0.002, 0.001 or 0.0005 seconds") + return float(value) + + +def validate_duration(seconds): + if isinstance(seconds, bool) or not isinstance(seconds, (int, float)) or not math.isfinite(seconds) or not .1 <= seconds <= 10: + raise ValueError("Reference duration must be finite, between 0.1 and 10 seconds") + if not math.isclose(seconds / CONTROL_DT, round(seconds / CONTROL_DT), rel_tol=0, abs_tol=1e-9): + raise ValueError("Duration must be an integer number of 20 ms boundaries") + return float(seconds) + + +def build_model(directory, *, timestep=.001, probe_position=None): + _, blobs = _asset_payload(directory) + mj, _ = _native_imports() + arm = _spec(blobs, "universal_robots_ur5e", "ur5e.xml") + jaw = _spec(blobs, "robotiq_2f85", "2f85.xml") + # Resolve child/parent option differences explicitly, preserving the jaw's + # elliptic contact cone and impratio; do not silently accept attach warnings. + arm.option.cone = jaw.option.cone + arm.option.impratio = jaw.option.impratio + arm.option.timestep = jaw.option.timestep = _timestep(timestep) + arm.option.integrator = jaw.option.integrator = mj.mjtIntegrator.mjINT_IMPLICITFAST + arm.attach(jaw, prefix="gripper/", site="attachment_site") + arm.worldbody.add_geom(name="reference_floor", type=mj.mjtGeom.mjGEOM_PLANE, + size=[2, 2, .1], rgba=[.9, .9, .88, 1]) + if probe_position is not None: + if len(probe_position) != 3 or not all(math.isfinite(x) for x in probe_position): + raise ValueError("Probe requires three finite coordinates") + arm.worldbody.add_geom(name="collision_probe", type=mj.mjtGeom.mjGEOM_SPHERE, + pos=probe_position, size=[.025, 0, 0], rgba=[1, .4, .2, 1]) + return arm.compile() + + +def model_digest(model): + mj, np = _native_imports() + buffer = np.empty(mj.mj_sizeModel(model), dtype=np.uint8) + mj.mj_saveModel(model, buffer=buffer) + return sha256(buffer.tobytes()).hexdigest() + + +def _name(model, kind, index): + mj, _ = _native_imports() + return mj.mj_id2name(model, kind, int(index)) or f"unnamed_{index}" + + +def model_inventory(model): + mj, np = _native_imports() + active = (model.geom_contype != 0) | (model.geom_conaffinity != 0) + bodies = [] + for i in range(1, model.nbody): + geoms = np.flatnonzero(model.geom_bodyid == i) + bodies.append({"name": _name(model, mj.mjtObj.mjOBJ_BODY, i), + "mass_kg": float(model.body_mass[i]), + "inertia_kg_m2": model.body_inertia[i].tolist(), + "collision_geoms": int(np.count_nonzero(active[geoms])), + "visual_geoms": int(np.count_nonzero(~active[geoms]))}) + joints = [{"name": _name(model, mj.mjtObj.mjOBJ_JOINT, i), + "type": int(model.jnt_type[i]), "limited": bool(model.jnt_limited[i]), + "range": model.jnt_range[i].tolist(), + "qpos_address": int(model.jnt_qposadr[i]), "velocity_address": int(model.jnt_dofadr[i])} + for i in range(model.njnt)] + actuators = [] + for i in range(model.nu): + trn = int(model.actuator_trntype[i]) + kind = mj.mjtObj.mjOBJ_TENDON if trn == int(mj.mjtTrn.mjTRN_TENDON) else mj.mjtObj.mjOBJ_JOINT + actuators.append({"name": _name(model, mj.mjtObj.mjOBJ_ACTUATOR, i), + "transmission_type": trn, + "target": _name(model, kind, model.actuator_trnid[i, 0]), + "control_range": model.actuator_ctrlrange[i].tolist(), + "control_limited": bool(model.actuator_ctrllimited[i]), + "native_force_range": model.actuator_forcerange[i].tolist(), + "force_limited": bool(model.actuator_forcelimited[i])}) + return {"joint_coordinates_nq": model.nq, "velocity_dofs_nv": model.nv, + "joints": joints, "actuator_count": model.nu, "actuators": actuators, + "bodies": bodies, "equality_constraints": model.neq, "tendons": model.ntendon, + "contact_exclusions": model.nexclude, "native_sensor_definitions": model.nsensor, + "native_sensor_channels": model.nsensordata, + "collision_geom_count": int(np.count_nonzero(active)), + "visual_geom_count": int(np.count_nonzero(~active)), + "compiled_model_sha256": model_digest(model)} + + +def audit_reference(directory, *, hands=False): + provenance, blobs = _asset_payload(directory, hands=hands) + mj, _ = _native_imports() + warnings = [] + with native_warnings(warnings): + model = build_model(directory) + inventory = model_inventory(model) + if model.nq != 14 or model.nu != 7 or model.neq != 3 or model.ntendon != 1: + raise ValueError("Pinned reference composition changed its mechanical contract") + by_name = {x["name"]: x for x in inventory["bodies"]} + coverage = {name: by_name[name]["collision_geoms"] for name in ARM_BODIES} + hand_models = {} + if hands: + for side in ("left", "right"): + hand = _spec(blobs, "shadow_hand", f"{side}_hand.xml").compile() + hand_models[side] = model_inventory(hand) + return {"schema": "dvidia.reference-audit/v1", "profile": PROFILE, "scope": SCOPE, + "physical_robot_ready": False, "asset_provenance": provenance, + "settings": {"timestep_seconds": .001, "integrator": "implicitfast", + "contact_cone": "elliptic", "impratio": 10, + "mount": "upstream attachment_site, gripper namespace, no added adapter mass", + "tcp": "upstream gripper/pinch; not a measured physical TCP"}, + "inventory": inventory, "arm_link_collision_coverage": coverage, + "fixed_base_collision_geoms": by_name["base"]["collision_geoms"], + "arm_command_unit": "joint target radians", + "gripper_command_unit": "native 0–255 servo input; not meters or calibrated physical force", + "hand_models": hand_models, "bimanual_assembly_implemented": False, + "calibration_gates": {name: "unmeasured" for name in + ("serial_kinematics", "base_and_tcp_frames", "actuator_response_and_latency", + "gripper_encoder_gap_hysteresis", "contact_and_slip", "deployed_sensor_age", + "physical_task_success")}, "warnings": warnings} + + +def _initial(model): + mj, _ = _native_imports() + data = mj.MjData(model) + mj.mj_resetDataKeyframe(model, data, 0) + mj.mj_forward(model, data) + return data + + +def _sample(model, data, elapsed, command): + mj, np = _native_imports() + ids = [mj.mj_name2id(model, mj.mjtObj.mjOBJ_JOINT, name) for name in ARM_JOINTS] + site = mj.mj_name2id(model, mj.mjtObj.mjOBJ_SITE, "gripper/pinch") + pads = [mj.mj_name2id(model, mj.mjtObj.mjOBJ_GEOM, f"gripper/{side}_pad1") for side in ("left", "right")] + quat = np.empty(4) + mj.mju_mat2Quat(quat, data.site_xmat[site]) + return {"t_seconds": elapsed, "joint_position_rad": data.qpos[model.jnt_qposadr[ids]].tolist(), + "joint_velocity_rad_s": data.qvel[model.jnt_dofadr[ids]].tolist(), + "linkage_position_rad": data.qpos[6:].tolist(), + "tcp_position_m": data.site_xpos[site].tolist(), "tcp_quaternion_wxyz": quat.tolist(), + "pad_center_separation_m": float(np.linalg.norm(data.geom_xpos[pads[0]] - data.geom_xpos[pads[1]])), + "arm_points_m": [data.xpos[mj.mj_name2id(model, mj.mjtObj.mjOBJ_BODY, name)].tolist() + for name in ("base",) + ARM_BODIES] + [data.site_xpos[site].tolist()], + "pad_centers_m": [data.geom_xpos[index].tolist() for index in pads], + "contact_count": data.ncon, + "issued_joint_targets_rad": command[:6].tolist(), "issued_gripper_0_255": float(command[6])} + + +def _summary(values): + ordered = sorted(values) + return {"count": len(values), "median": statistics.median(ordered), + "p95": ordered[math.ceil(.95 * len(ordered)) - 1], "max": ordered[-1]} + + +def _command(case, elapsed, home): + _, np = _native_imports() + result = np.array(home, dtype=float, copy=True) + if case == "arm_sweep": + result[0] += .20 * math.sin(math.pi * elapsed) + elif case == "jaw_cycle": + result[6] = 127.5 * (1 - math.cos(math.pi * elapsed)) + elif case != "hold_open": + raise ValueError("Unknown reference motion case") + return result + + +def run_case(directory, case, *, timestep=.001, seconds=4.): + mj, np = _native_imports() + timestep = _timestep(timestep) + seconds = validate_duration(seconds) + if case not in CASES: + raise ValueError("Unknown reference motion case") + warnings = [] + ticks, chunks, trajectory = [], [], [] + with native_warnings(warnings): + started = time.perf_counter() + model = build_model(directory, timestep=timestep) + compile_seconds = time.perf_counter() - started + data = _initial(model) + home = model.key_ctrl[0].copy() + # Settling is outside the reported physics throughput/tick timing. + for _ in range(round(1 / timestep)): + data.ctrl[:] = home + mj.mj_step(model, data) + mj.mj_forward(model, data) + trajectory.append(_sample(model, data, 0., home)) + physics_wall = 0. + for boundary in range(round(seconds / CONTROL_DT)): + elapsed = boundary * CONTROL_DT + command = _command(case, elapsed, home) + data.ctrl[:] = command + start = time.perf_counter_ns() + for _ in range(round(CONTROL_DT / timestep)): + before = time.perf_counter_ns() + mj.mj_step(model, data) + ticks.append((time.perf_counter_ns() - before) / 1e6) + mj.mj_forward(model, data) + chunk_ms = (time.perf_counter_ns() - start) / 1e6 + physics_wall += chunk_ms / 1000 + chunks.append(chunk_ms) + trajectory.append(_sample(model, data, (boundary + 1) * CONTROL_DT, command)) + valid = bool(not warnings and not any(x.number for x in data.warning) + and np.isfinite(data.qpos).all() and np.isfinite(data.qvel).all() + and np.isfinite(data.qacc).all() and np.isfinite(data.site_xpos).all() + and np.isfinite(data.actuator_force).all() + and all(math.isfinite(v) for row in trajectory for k in + ("joint_position_rad", "joint_velocity_rad_s", "tcp_position_m", "linkage_position_rad") for v in row[k])) + nonfinite_trajectory_omitted = False + try: + json.dumps(trajectory, allow_nan=False) + except ValueError: + trajectory = [] + valid = False + nonfinite_trajectory_omitted = True + return {"case": case, "valid": valid, "warnings": warnings, + "nonfinite_trajectory_omitted": nonfinite_trajectory_omitted, + "compiled_model_sha256": model_digest(model), "timestep_seconds": timestep, + "control_dt_seconds": CONTROL_DT, "simulated_seconds": seconds, + "compile_and_asset_verification_seconds": compile_seconds, + "physics_chunks_wall_seconds": physics_wall, + "simulation_seconds_per_wall_second": seconds / physics_wall, + "native_tick_ms": _summary(ticks), "control_chunk_ms": _summary(chunks), + "timing_scope": "mj_step calls with per-tick instrumentation; chunks also include boundary mj_forward. " + "Excludes verification/compile, settling, sampling, rendering, perception, policy, transport and real actuation.", + "trajectory": trajectory} + + +def collision_probe(directory): + """Matched overlap diagnostic, not a path planner or collision safety test.""" + mj, np = _native_imports() + warnings = [] + attempts = [] + with native_warnings(warnings): + model = build_model(directory) + data = _initial(model) + body = mj.mj_name2id(model, mj.mjtObj.mjOBJ_BODY, "upper_arm_link") + active = (model.geom_contype != 0) | (model.geom_conaffinity != 0) + geom = int(np.flatnonzero((model.geom_bodyid == body) & active)[-1]) + position = data.geom_xpos[geom].copy() + for mask in (False, True): + model = build_model(directory, probe_position=position.tolist()) + if mask: + bodies = [mj.mj_name2id(model, mj.mjtObj.mjOBJ_BODY, name) for name in ARM_BODIES] + for index in np.flatnonzero(np.isin(model.geom_bodyid, bodies)): + model.geom_contype[index] = model.geom_conaffinity[index] = 0 + data = _initial(model) + probe = mj.mj_name2id(model, mj.mjtObj.mjOBJ_GEOM, "collision_probe") + pairs = [] + for contact in data.contact[:data.ncon]: + if probe in (contact.geom1, contact.geom2): + other = contact.geom2 if contact.geom1 == probe else contact.geom1 + pairs.append({"other_body": _name(model, mj.mjtObj.mjOBJ_BODY, model.geom_bodyid[other]), + "signed_distance_m": float(contact.dist)}) + attempts.append({"arm_collision_masks_disabled": mask, "probe_contact_count": len(pairs), "pairs": pairs}) + return {"scope": "Authored initial sphere overlap at an upper-arm collision proxy; no motion or real collision trial", + "probe_position_m": position.tolist(), "attempts": attempts, "warnings": warnings} + + +def benchmark_reference(directory, *, repeats=2, seconds=4., hands=False): + if isinstance(repeats, bool) or not isinstance(repeats, int) or not 1 <= repeats <= 5: + raise ValueError("Repeats must be an integer between 1 and 5") + seconds = validate_duration(seconds) + audit = audit_reference(directory, hands=hands) + attempts = [] + for case in CASES: + for timestep in (.002, .001, .0005): + for repeat in range(repeats): + try: + attempt = run_case(directory, case, timestep=timestep, seconds=seconds) + except Exception as exc: + attempt = {"case": case, "timestep_seconds": timestep, "valid": False, + "error_type": type(exc).__name__, + "error": str(exc).replace(str(Path(directory).resolve()), "[assets]")[:500]} + attempt["repeat"] = repeat + attempts.append(attempt) + convergence = [] + _, np = _native_imports() + for case in CASES: + for coarse in (.002, .001): + for repeat in range(repeats): + pair = [next(x for x in attempts if x["case"] == case and x["timestep_seconds"] == dt and x["repeat"] == repeat) + for dt in (coarse, coarse / 2)] + result = {"case": case, "repeat": repeat, "timestep_pair_seconds": [coarse, coarse / 2], + "valid": all(x["valid"] for x in pair)} + if result["valid"]: + rows = [x["trajectory"] for x in pair] + def differences(key): + return np.asarray([x[key] for x in rows[0]]) - np.asarray([x[key] for x in rows[1]]) + dq = differences("joint_position_rad") + dx = differences("tcp_position_m") + dg = differences("pad_center_separation_m") + result.update({"matched_boundaries": len(rows[0]), "joint_position_rmse_rad": float(np.sqrt(np.mean(dq ** 2))), + "max_joint_position_difference_rad": float(np.max(np.abs(dq))), + "tcp_distance_rmse_m": float(np.sqrt(np.mean(np.sum(dx ** 2, axis=1)))), + "max_tcp_distance_m": float(np.max(np.linalg.norm(dx, axis=1))), + "pad_center_separation_rmse_m": float(np.sqrt(np.mean(dg ** 2))), + "max_pad_center_separation_difference_m": float(np.max(np.abs(dg)))}) + convergence.append(result) + source_files = ("reference_sim.py", "reference_assets.lock.json", "embodiment_cli.py", "reference_report.html") + return {"schema": "dvidia.reference-benchmark/v1", "profile": PROFILE, "scope": SCOPE, + "physical_robot_ready": False, "task_success_evaluated": False, + "hardware": {"platform": platform.platform(), "machine": platform.machine(), + "python": platform.python_version(), "mujoco": "3.15.0", "gpu_used": False}, + "protocol": {"cases": list(CASES), "timesteps_seconds": [.002, .001, .0005], + "repeats": repeats, "seconds_per_case": seconds, "control_dt_seconds": CONTROL_DT, + "same_synthetic_scene_and_commands": True, + "repeat_scope": "Repeated deterministic numerical/performance diagnostics, not independent physical or skill trials", + "pad_measurement": "Euclidean distance between upstream left_pad1/right_pad1 geom centers; not calibrated inner jaw gap", + "convergence_scope": "Matched 20 ms boundaries including post-settling start; adjacent timestep comparison, not comparison with reality"}, + "implementation_sha256": {name: sha256(Path(__file__).with_name(name).read_bytes()).hexdigest() for name in source_files}, + "audit": audit, "collision_probe": collision_probe(directory), + "attempted": len(attempts), "valid_attempts": sum(x["valid"] for x in attempts), + "attempts": attempts, "convergence": convergence} diff --git a/benchmarks/piper-contact-development-20261011/sources/r2/reference_task.py b/benchmarks/piper-contact-development-20261011/sources/r2/reference_task.py new file mode 100644 index 0000000..588f10c --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/sources/r2/reference_task.py @@ -0,0 +1,544 @@ +"""Authored contact-based rigid-block task on the pinned native six-axis reference. + +The policy is a development baseline, not a learned skill. Observations are +privileged simulator state. Only reset initializes the freely moving block; +grasping, transport and release thereafter require native contact dynamics. +""" +from __future__ import annotations + +from dataclasses import asdict, dataclass +from hashlib import sha256 +import json +import math +from pathlib import Path +import time + +from . import reference_sim as sim + + +PROFILE = 'ur5e-2f85-rigid-block-task-v0.1' +SCHEMA = 'dvidia.reference-task-episode/v1' +SCOPE = ('Authored native UR5e/Robotiq rigid-block manipulation, privileged state and synthetic commands. ' + 'No shoe model, learned task policy, camera sensing, calibrated contact or physical qualification.') +CARRY_CONTACT_LOSS_TOLERANCE_S = .04 +GRIPPER_JOINTS = tuple('gripper/' + side + '_' + link + '_joint' + for side in ('right', 'left') + for link in ('driver', 'coupler', 'spring_link', 'follower')) + + +def _number(value, name, minimum, maximum): + if isinstance(value, bool) or not isinstance(value, (int, float)): + raise ValueError(f'{name} must be finite numeric data') + try: + value = float(value) + except (OverflowError, ValueError, TypeError) as exc: + raise ValueError(f'{name} must be finite numeric data') from exc + if not math.isfinite(value) or not minimum <= value <= maximum: + raise ValueError(f'{name} must lie in [{minimum}, {maximum}]') + return value + + +def _vector(value, length, name, minimum=-10., maximum=10.): + if not isinstance(value, (list, tuple)) or len(value) != length: + raise ValueError(f'{name} requires {length} values') + return tuple(_number(item, name, minimum, maximum) for item in value) + + +@dataclass(frozen=True) +class ReferenceTaskConfig: + timestep: float = .001 + control_dt: float = .02 + timeout_s: float = 20. + settle_s: float = .5 + object_position_m: tuple = (-.134, .49, .302) + target_position_m: tuple = (.08, .49, .30) + object_half_size_m: tuple = (.02, .02, .02) + mass_kg: float = .04 + friction: float = .8 + table_top_m: float = .28 + table_center_xy_m: tuple = (0., .55) + table_half_size_xy_m: tuple = (.32, .26) + table_thickness_m: float = .04 + goal_position_tolerance_m: float = .025 + goal_dwell_s: float = .25 + min_lift_m: float = .06 + min_lift_dwell_s: float = .10 + retreat_clearance_m: float = .10 + joint_target_rate_rad_s: float = 1.5 + jaw_target_rate_0_255_s: float = 500. + tool_orientation_wxyz: tuple = (0., math.sqrt(.5), math.sqrt(.5), 0.) + + def __post_init__(self): + bounds = {'timestep': (.0005, .002), 'control_dt': (.02, .02), 'timeout_s': (.1, 30.), + 'settle_s': (.1, 2.), 'mass_kg': (.01, .15), 'friction': (.02, 2.), + 'table_top_m': (.24, .32), 'table_thickness_m': (.02, .08), + 'goal_position_tolerance_m': (.01, .03), 'goal_dwell_s': (.10, .6), + 'min_lift_m': (.04, .10), 'min_lift_dwell_s': (.05, .3), + 'retreat_clearance_m': (.08, .15), 'joint_target_rate_rad_s': (.1, 3.), + 'jaw_target_rate_0_255_s': (50., 1000.)} + for name, (low, high) in bounds.items(): + object.__setattr__(self, name, _number(getattr(self, name), name, low, high)) + sim._timestep(self.timestep) + for numerator, denominator in ((self.control_dt, self.timestep), (self.timeout_s, self.control_dt), + (self.settle_s, self.timestep)): + ratio = numerator / denominator + if not math.isclose(ratio, round(ratio), abs_tol=1e-9, rel_tol=0): + raise ValueError('Task durations must contain an integer number of native/control ticks') + for name, length, low, high in (('object_position_m', 3, -2, 2), ('target_position_m', 3, -2, 2), + ('object_half_size_m', 3, .015, .025), ('table_center_xy_m', 2, -1, 1), + ('table_half_size_xy_m', 2, .1, .5), ('tool_orientation_wxyz', 4, -1, 1)): + object.__setattr__(self, name, _vector(getattr(self, name), length, name, low, high)) + if not math.isclose(sum(x*x for x in self.tool_orientation_wxyz), 1., abs_tol=1e-8, rel_tol=0): + raise ValueError('Tool goal quaternion must be normalized wxyz') + for name in ('object_position_m', 'target_position_m'): + point = getattr(self, name) + if not -.25 <= point[0] <= .25 or not .35 <= point[1] <= .70: + raise ValueError('Task placement lies outside the declared reference reach envelope') + for axis in range(2): + if abs(point[axis]-self.table_center_xy_m[axis]) + self.object_half_size_m[axis] > self.table_half_size_xy_m[axis]-.01: + raise ValueError('Task placement must be supported within the table edge') + expected = self.table_top_m + self.object_half_size_m[2] + (.002 if name == 'object_position_m' else 0.) + if not math.isclose(point[2], expected, abs_tol=1e-8, rel_tol=0): + raise ValueError('Start/target height must match the declared support plane and block size') + if math.dist(self.object_position_m[:2], self.target_position_m[:2]) < .075: + raise ValueError('Task must require at least 75 mm of block transfer') + + +def task_contract(): + return {'profile': PROFILE, 'scope': SCOPE, 'physical_robot_ready': False, + 'arm_joint_order': list(sim.ARM_JOINTS), 'gripper_linkage_order': list(GRIPPER_JOINTS), + 'actions': {'joint_targets_rad': 'six absolute joint targets, rad; ramped then gravity feedforward', + 'gripper_0_255': 'one native tendon servo target; 0 open / 255 close, not measured gap or force'}, + 'observation_origin': 'privileged_native_simulator_state', 'native_sensor_definitions': 0, + 'observations': {'joint_position_rad': [6], 'joint_velocity_rad_s': [6], 'linkage_position_rad': [8], + 'tcp_position_m': [3], 'tcp_quaternion_wxyz': [4], 'object_position_m': [3], + 'object_quaternion_wxyz': [4], 'grasp_contact_counts': 'left/right native block contacts', + 'pad_normal_forces_n': 'native mj_contactForce, not deployable tactile sensing'}, + 'contacts': 'native collision proxies; object priority 1 overrides pad/table friction floors', + 'object': 'one free rigid box; no weld, grasp attachment or runtime object pose writes', + 'success': 'valid physics, retained bilateral table-free lift and supported destination carry completion, then released/settled destination dwell and tool retreat', + 'carry_retention': {'bilateral_contact_required': 'after sustained lift until supported at destination while held', + 'contact_force_threshold_n': .01, + 'consecutive_loss_tolerance_seconds': CARRY_CONTACT_LOSS_TOLERANCE_S, + 'loss_at_or_above_tolerance': 'permanent failure, independent of teacher phase'}, + 'fixed_base_collision_proxy': False} + + +def build_task_model(assets, config=None): + config = ReferenceTaskConfig() if config is None else config + if not isinstance(config, ReferenceTaskConfig): + raise TypeError('config must be ReferenceTaskConfig') + _, blobs = sim._asset_payload(assets) + mj, _ = sim._native_imports() + arm = sim._spec(blobs, 'universal_robots_ur5e', 'ur5e.xml') + jaw = sim._spec(blobs, 'robotiq_2f85', '2f85.xml') + arm.option.cone, arm.option.impratio = jaw.option.cone, jaw.option.impratio + arm.option.timestep = jaw.option.timestep = config.timestep + arm.option.integrator = jaw.option.integrator = mj.mjtIntegrator.mjINT_IMPLICITFAST + arm.attach(jaw, prefix='gripper/', site='attachment_site') + arm.worldbody.add_geom(name='task_floor', type=mj.mjtGeom.mjGEOM_PLANE, size=[2, 2, .1], rgba=[.9, .9, .88, 1]) + arm.worldbody.add_geom(name='task_table', type=mj.mjtGeom.mjGEOM_BOX, + pos=[*config.table_center_xy_m, config.table_top_m-config.table_thickness_m/2], + size=[*config.table_half_size_xy_m, config.table_thickness_m/2], rgba=[.73, .70, .64, 1]) + block = arm.worldbody.add_body(name='task_block', pos=config.object_position_m) + block.add_freejoint(name='task_block_free') + block.add_geom(name='task_block_geom', type=mj.mjtGeom.mjGEOM_BOX, size=config.object_half_size_m, + mass=config.mass_kg, friction=[config.friction, .005, .0001], priority=1, + condim=4, rgba=[.75, .30, .16, 1]) + marker = arm.worldbody.add_body(name='task_target_frame', + pos=[*config.target_position_m[:2], config.table_top_m+.0005]) + marker.add_geom(name='task_target', type=mj.mjtGeom.mjGEOM_BOX, + size=[config.object_half_size_m[0]+.015, config.object_half_size_m[1]+.015, .0005], + rgba=[.17, .47, .35, .3], contype=0, conaffinity=0) + model = arm.compile() + if (model.nq, model.nv, model.nu, model.neq) != (21, 20, 7, 3): + raise ValueError('Task native mechanical contract changed') + return model + + +class ReferenceTaskEnv: + def __init__(self, assets, config=None): + self.assets = Path(assets) + self.config = ReferenceTaskConfig() if config is None else config + if not isinstance(self.config, ReferenceTaskConfig): + raise TypeError('config must be ReferenceTaskConfig') + self.ready = False + + def reset(self, seed=0): + if type(seed) is not int or not 0 <= seed <= 999999: + raise ValueError('seed must be an integer in [0, 999999]') + mj, np = sim._native_imports() + self.ready = False + self.seed, self.warnings = seed, [] + with sim.native_warnings(self.warnings): + self.model = build_task_model(self.assets, self.config) + self.data = mj.MjData(self.model) + self.arm_ids = np.asarray([mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_JOINT, x) for x in sim.ARM_JOINTS]) + self.arm_qpos = self.model.jnt_qposadr[self.arm_ids] + self.arm_dof = self.model.jnt_dofadr[self.arm_ids] + self.linkage_ids = np.asarray([mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_JOINT, x) for x in GRIPPER_JOINTS]) + self.linkage_qpos = self.model.jnt_qposadr[self.linkage_ids] + self.tcp = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_SITE, 'gripper/pinch') + self.block = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_BODY, 'task_block') + self.block_geom = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_GEOM, 'task_block_geom') + self.table_geom = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_GEOM, 'task_table') + self.floor_geom = mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_GEOM, 'task_floor') + self.pad_geoms = {side: [mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_GEOM, f'gripper/{side}_pad{i}') + for i in (1, 2)] for side in ('left', 'right')} + self.robot_geoms = set(range(self.model.ngeom)) - { + self.block_geom, self.table_geom, + self.floor_geom, + mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_GEOM, 'task_target')} + arm_bodies = {mj.mj_name2id(self.model, mj.mjtObj.mjOBJ_BODY, name) for name in sim.ARM_BODIES} + self.arm_geoms = {i for i in self.robot_geoms if int(self.model.geom_bodyid[i]) in arm_bodies} + # The upstream keyframe contains only robot qpos; initialize them + # explicitly and leave the free block's compiled reset coordinates. + self.data.qpos[self.arm_qpos] = [-1.5708, -1.5708, 1.5708, -1.5708, -1.5708, 0.] + self.data.qpos[self.linkage_qpos] = 0. + self.command_targets = self.data.qpos[self.arm_qpos].copy() + self.command_gripper = 0. + mj.mj_forward(self.model, self.data) + for _ in range(round(self.config.settle_s/self.config.timestep)): + self._controls() + mj.mj_step(self.model, self.data) + mj.mj_forward(self.model, self.data) + if not self._finite() or self.warnings or any(x.number for x in self.data.warning): + raise RuntimeError('Task settling produced invalid native physics') + self.initial_object_position = self.data.xpos[self.block].copy() + self.elapsed, self.steps, self.dwell, self.lift_dwell = 0., 0, 0., 0. + self.max_lift, self.max_pad_force, self.critical_contact_ticks = 0., 0., 0 + self.lift_seen, self.grasp_seen, self.done = False, False, False + self.carry_complete, self.retention_lost = False, False + self.carry_contact_loss, self.max_carry_contact_loss = 0., 0. + self.carry_contact_loss_events = 0 + self.first_success_time = None + self.reason = 'running' + self.ready = True + return self.observation(), self.info() + + def _finite(self): + _, np = sim._native_imports() + return all(np.isfinite(value).all() for value in (self.data.qpos, self.data.qvel, self.data.qacc, self.data.xpos)) + + def _controls(self): + _, np = sim._native_imports() + # Authored gravity feedforward, applied inside the original bounded + # affine position servos. Actual force/velocity are never overwritten. + gains = self.model.actuator_gainprm[:6, 0] + requested = self.command_targets + self.data.qfrc_bias[self.arm_dof]/gains + self.data.ctrl[:6] = np.clip(requested, self.model.actuator_ctrlrange[:6, 0], self.model.actuator_ctrlrange[:6, 1]) + self.data.ctrl[6] = self.command_gripper + + def _contacts(self): + mj, np = sim._native_imports() + counts, forces, table, critical = {'left': 0, 'right': 0}, {'left': 0., 'right': 0.}, 0, 0 + pads = set(sum(self.pad_geoms.values(), [])) + for index, contact in enumerate(self.data.contact[:self.data.ncon]): + pair = {int(contact.geom1), int(contact.geom2)} + force = np.zeros(6) + mj.mj_contactForce(self.model, self.data, index, force) + if force[0] <= .01: + continue + if self.block_geom in pair: + if self.table_geom in pair: + table += 1 + for side in ('left', 'right'): + if pair.intersection(self.pad_geoms[side]): + counts[side] += 1 + forces[side] += float(force[0]) + if pair.intersection(self.robot_geoms-pads): + critical += 1 + elif pair.intersection({self.table_geom, self.floor_geom}) and pair.intersection(self.robot_geoms): + critical += 1 + elif pair.intersection(self.arm_geoms) and pair.issubset(self.robot_geoms): + critical += 1 + return counts, forces, table, critical + + def observation(self): + mj, np = sim._native_imports() + if not self._finite(): + raise RuntimeError('Cannot record a nonfinite native state') + counts, forces, table, critical = self._contacts() + tcp_quat, velocity = np.empty(4), np.empty(6) + mj.mju_mat2Quat(tcp_quat, self.data.site_xmat[self.tcp]) + mj.mj_objectVelocity(self.model, self.data, mj.mjtObj.mjOBJ_BODY, self.block, velocity, 0) + separation = float(np.linalg.norm(self.data.geom_xpos[self.pad_geoms['left'][0]]- + self.data.geom_xpos[self.pad_geoms['right'][0]])) + return {'t_seconds': self.elapsed, 'qpos': self.data.qpos.tolist(), 'qvel': self.data.qvel.tolist(), + 'joint_position_rad': self.data.qpos[self.arm_qpos].tolist(), + 'joint_velocity_rad_s': self.data.qvel[self.arm_dof].tolist(), + 'linkage_position_rad': self.data.qpos[self.linkage_qpos].tolist(), + 'tcp_position_m': self.data.site_xpos[self.tcp].tolist(), 'tcp_quaternion_wxyz': tcp_quat.tolist(), + 'object_position_m': self.data.xpos[self.block].tolist(), 'object_quaternion_wxyz': self.data.xquat[self.block].tolist(), + 'object_linear_velocity_m_s': velocity[3:].tolist(), 'object_angular_velocity_rad_s': velocity[:3].tolist(), + 'target_position_m': list(self.config.target_position_m), 'pad_center_separation_m': separation, + 'grasp_contact_counts': counts, 'pad_normal_forces_n': forces, 'table_object_contact_count': table, + 'unexpected_contact_count': critical, 'contact_count': int(self.data.ncon), + 'native_actuator_controls': self.data.ctrl.tolist(), 'actuator_force': self.data.actuator_force.tolist(), + 'issued_joint_targets_rad': None, 'issued_gripper_0_255': None, 'command': None, + 'observation_origin': 'privileged_native_simulator_state'} + + def info(self): + _, np = sim._native_imports() + valid = self.reason not in ('invalid_state', 'solver_warning') and not self.warnings + success = valid and self.carry_complete and not self.retention_lost and self.dwell+1e-12 >= self.config.goal_dwell_s + return {'valid': valid, 'success': success, + 'reason': ('success' if success else self.reason), 'simulation_time': self.elapsed, + 'steps': self.steps, 'lift_seen': self.lift_seen, 'grasp_seen': self.grasp_seen, + 'max_object_lift_m': self.max_lift, 'dwell_seconds': self.dwell, 'lift_dwell_seconds': self.lift_dwell, + 'max_pad_normal_force_n': self.max_pad_force, 'unexpected_contact_native_ticks': self.critical_contact_ticks, + 'carry_complete': self.carry_complete, 'retention_lost': self.retention_lost, + 'max_carry_contact_loss_seconds': self.max_carry_contact_loss, + 'carry_contact_loss_events': self.carry_contact_loss_events, + 'carry_contact_loss_tolerance_seconds': CARRY_CONTACT_LOSS_TOLERANCE_S, + 'first_success_time_seconds': self.first_success_time, + 'target_distance_m': float(np.linalg.norm(self.data.xpos[self.block]-self.config.target_position_m)) if self._finite() else None, + 'warnings': list(self.warnings), 'physical_robot_ready': False} + + def _outcome_tick(self, *, both, supported, lift, distance, released, settled, clear, critical, pad_force): + """Score native evidence without consulting the authored policy phase.""" + dt = self.config.timestep + self.max_pad_force = max(self.max_pad_force, pad_force) + self.critical_contact_ticks += bool(critical) + self.grasp_seen |= both + self.max_lift = max(self.max_lift, lift) + loaded = both and not supported and lift >= self.config.min_lift_m + self.lift_dwell = self.lift_dwell+dt if loaded else 0. + self.lift_seen |= self.lift_dwell+1e-12 >= self.config.min_lift_dwell_s + if self.lift_seen and not self.carry_complete: + # Release is allowed only once the still-held block actually rests + # at its destination; a dropped/tossed block cannot acquire this latch. + self.carry_complete |= bool(both and supported and distance <= self.config.goal_position_tolerance_m) + if not self.carry_complete: + if both: + self.carry_contact_loss = 0. + else: + before = self.carry_contact_loss + self.carry_contact_loss += dt + self.max_carry_contact_loss = max(self.max_carry_contact_loss, self.carry_contact_loss) + if before+1e-12 < CARRY_CONTACT_LOSS_TOLERANCE_S <= self.carry_contact_loss+1e-12: + self.carry_contact_loss_events += 1 + self.retention_lost = True + qualifies = (self.lift_seen and self.grasp_seen and self.carry_complete and not self.retention_lost + and released and supported and settled and clear + and distance <= self.config.goal_position_tolerance_m and self.critical_contact_ticks == 0) + self.dwell = self.dwell+dt if qualifies else 0. + if self.dwell+1e-12 >= self.config.goal_dwell_s and self.first_success_time is None: + self.first_success_time = self.elapsed + + def pose_action(self, position_m, quaternion_wxyz, gripper_0_255): + if not self.ready or self.done: + raise RuntimeError('Reset is required before another task action') + mj, np = sim._native_imports() + position = np.asarray(_vector(position_m, 3, 'pose position'), dtype=float) + quaternion = np.asarray(_vector(quaternion_wxyz, 4, 'pose quaternion', -1, 1), dtype=float) + if not math.isclose(float(quaternion@quaternion), 1., abs_tol=1e-8, rel_tol=0): + raise ValueError('Pose quaternion must be normalized wxyz') + jaw = _number(gripper_0_255, 'gripper command', 0, 255) + jacp, jacr = np.zeros((3, self.model.nv)), np.zeros((3, self.model.nv)) + mj.mj_jacSite(self.model, self.data, jacp, jacr, self.tcp) + current, rotation = np.empty(4), np.empty(3) + mj.mju_mat2Quat(current, self.data.site_xmat[self.tcp]) + mj.mju_subQuat(rotation, quaternion, current) + # mju_subQuat returns angular velocity in the current local frame; + # site rotational Jacobians are in world coordinates. + rotation = self.data.site_xmat[self.tcp].reshape(3, 3) @ rotation + translation = position-self.data.site_xpos[self.tcp] + for error, maximum in ((translation, .018), (rotation, .04)): + norm = float(np.linalg.norm(error)) + if norm > maximum: + error *= maximum/norm + jacobian = np.vstack((jacp[:, self.arm_dof], .25*jacr[:, self.arm_dof])) + error = np.concatenate((translation, .25*rotation)) + delta = jacobian.T @ np.linalg.solve(jacobian@jacobian.T+.012**2*np.eye(6), error) + delta = np.clip(delta, -.06, .06) + targets = np.clip(self.data.qpos[self.arm_qpos]+delta, + self.model.actuator_ctrlrange[:6, 0]+.02, self.model.actuator_ctrlrange[:6, 1]-.02) + return {'joint_targets_rad': targets.tolist(), 'gripper_0_255': jaw} + + def step(self, action): + if not self.ready or self.done: + raise RuntimeError('Reset is required before another task step') + if type(action) is not dict or set(action) != {'joint_targets_rad', 'gripper_0_255'}: + raise ValueError('Task action requires six joint targets and one native gripper command') + mj, np = sim._native_imports() + targets = np.asarray(_vector(action['joint_targets_rad'], 6, 'joint targets'), dtype=float) + jaw = _number(action['gripper_0_255'], 'gripper command', 0, 255) + if np.any(targets < self.model.actuator_ctrlrange[:6, 0]) or np.any(targets > self.model.actuator_ctrlrange[:6, 1]): + raise ValueError('Task joint target exceeds native actuator limits') + if not self._finite(): + self.reason, self.done = 'invalid_state', True + return None, -1., True, False, self.info() + before_distance = float(np.linalg.norm(self.data.xpos[self.block]-self.config.target_position_m)) + messages = [] + with sim.native_warnings(messages): + for _ in range(round(self.config.control_dt/self.config.timestep)): + self.command_targets += np.clip(targets-self.command_targets, + -self.config.joint_target_rate_rad_s*self.config.timestep, + self.config.joint_target_rate_rad_s*self.config.timestep) + self.command_gripper += float(np.clip(jaw-self.command_gripper, + -self.config.jaw_target_rate_0_255_s*self.config.timestep, + self.config.jaw_target_rate_0_255_s*self.config.timestep)) + self._controls() + mj.mj_step(self.model, self.data) + mj.mj_forward(self.model, self.data) + self.elapsed += self.config.timestep + if not self._finite(): + self.reason, self.done = 'invalid_state', True + break + if messages or any(x.number for x in self.data.warning): + self.reason, self.done = 'solver_warning', True + break + counts, forces, supported, critical = self._contacts() + both = all(counts[side] > 0 for side in ('left', 'right')) + lift = float(self.data.xpos[self.block, 2]-self.initial_object_position[2]) + velocity = np.empty(6) + mj.mj_objectVelocity(self.model, self.data, mj.mjtObj.mjOBJ_BODY, self.block, velocity, 0) + distance = float(np.linalg.norm(self.data.xpos[self.block]-self.config.target_position_m)) + drivers = self.data.qpos[self.linkage_qpos[[0, 4]]] + released = not any(counts.values()) and bool(np.max(drivers) < .1) + settled = np.linalg.norm(velocity[3:]) < .035 and np.linalg.norm(velocity[:3]) < .3 + clear = self.data.site_xpos[self.tcp, 2] >= self.data.xpos[self.block, 2]+self.config.retreat_clearance_m + self._outcome_tick(both=both, supported=supported, lift=lift, distance=distance, + released=released, settled=settled, clear=clear, + critical=critical, pad_force=max(forces.values())) + self.warnings.extend(messages) + self.steps += 1 + if not self.done and self.steps >= round(self.config.timeout_s/self.config.control_dt): + self.reason, self.done = 'timeout', True + observation = self.observation() if self._finite() else None + info = self.info() + reward = before_distance-info['target_distance_m'] if info['target_distance_m'] is not None else -1. + return observation, reward, self.done and self.reason != 'timeout', self.done and self.reason == 'timeout', info + + +class ReferenceTaskPolicy: + """Authored approach/grasp/place baseline, with no learned model or fallback.""" + def __init__(self, environment): + self.env, self.phase, self.ticks = environment, 'approach', 0 + self.grasp_position = None + self.held_offset = None + + def __call__(self, observation): + _, np = sim._native_imports() + c = self.env.config + obj, tcp, target = (np.asarray(observation[name]) for name in + ('object_position_m', 'tcp_position_m', 'target_position_m')) + jaw = 0. + both = all(observation['grasp_contact_counts'][side] > 0 for side in ('left', 'right')) + if self.phase == 'approach': + goal = obj+np.asarray([0., 0., .13]) + if np.linalg.norm(tcp-goal) < .008: + self.grasp_position = obj+np.asarray([0., 0., .005]) + self.phase, self.ticks = 'descend', 0 + elif self.phase == 'descend': + goal = self.grasp_position + if np.linalg.norm(tcp-goal) < .004: + self.phase, self.ticks = 'close', 0 + elif self.phase == 'close': + goal, jaw = self.grasp_position, 180. + if both and min(observation['pad_normal_forces_n'].values()) > .1 and self.ticks >= 25: + self.held_offset = obj-tcp + self.phase, self.ticks = 'lift', 0 + elif self.phase == 'lift': + goal, jaw = self.grasp_position+np.asarray([0., 0., .13]), 180. + if self.env.lift_seen and np.linalg.norm(tcp-goal) < .008: + self.phase, self.ticks = 'transfer', 0 + elif self.phase == 'transfer': + goal, jaw = target-self.held_offset+np.asarray([0., 0., .13]), 180. + if np.linalg.norm(tcp-goal) < .008: + self.phase, self.ticks = 'place', 0 + elif self.phase == 'place': + goal, jaw = target-self.held_offset, 180. + if observation['table_object_contact_count'] > 0 and np.linalg.norm(obj-target) < .02 and np.linalg.norm(tcp-goal) < .006: + self.phase, self.ticks = 'release', 0 + elif self.phase == 'release': + goal = target-self.held_offset + if not any(observation['grasp_contact_counts'].values()) and self.ticks >= 35: + self.phase, self.ticks = 'retreat', 0 + else: + goal = target+np.asarray([0., 0., .135]) + if np.linalg.norm(tcp-goal) < .008: + self.phase = 'verify' + self.ticks += 1 + return self.env.pose_action(goal.tolist(), c.tool_orientation_wxyz, jaw) + + +def run_episode(assets, config=None, *, seed=0, control='placement', arm_tape=None): + """Retain every issued decision and native state for one attempted episode.""" + config = ReferenceTaskConfig() if config is None else config + if not isinstance(config, ReferenceTaskConfig): + raise TypeError('config must be ReferenceTaskConfig') + if control not in ('placement', 'hold', 'replay_open_jaw'): + raise ValueError('Unknown reference task control') + started = time.perf_counter() + attempt = {'schema': SCHEMA, 'profile': PROFILE, 'scope': SCOPE, 'physical_robot_ready': False, + 'seed': seed, 'control': control, 'config': asdict(config), 'timestep_seconds': config.timestep, + 'simulated_seconds': 0., 'valid': False, 'success': False, 'reason': 'not_started', + 'error': None, 'warnings': [], 'trajectory': [], 'actions': [], 'arm_tape': [], + 'metrics': {}, 'timing': {}, 'contract': task_contract()} + source_root = Path(__file__).parent + attempt['implementation_sha256'] = {name: sha256((source_root / name).read_bytes()).hexdigest() + for name in ('reference_task.py', 'reference_sim.py', 'reference_assets.lock.json')} + environment, phase, latencies = None, 'validation', [] + try: + if control == 'replay_open_jaw': + if type(arm_tape) is not list or len(arm_tape) != round(config.timeout_s/config.control_dt): + raise ValueError('Open-jaw control requires exactly one arm target for every configured control tick') + arm_tape = [list(_vector(row, 6, 'replay arm target')) for row in arm_tape] + phase = 'setup' + attempt['asset_provenance'] = sim.verify_assets(assets) + environment = ReferenceTaskEnv(assets, config) + observation, info = environment.reset(seed=seed) + attempt['compiled_model_sha256'] = sim.model_digest(environment.model) + attempt['initial_object_position_m'] = environment.initial_object_position.tolist() + attempt['target_position_m'] = list(config.target_position_m) + attempt['trajectory'].append(observation) + attempt['timing']['setup_seconds'] = time.perf_counter()-started + policy = ReferenceTaskPolicy(environment) + hold = list(observation['joint_position_rad']) + phase = 'rollout' + for index in range(round(config.timeout_s/config.control_dt)): + began = time.perf_counter() + if control == 'placement': + action = policy(observation) + action_phase = policy.phase + else: + action = {'joint_targets_rad': hold if control == 'hold' else arm_tape[index], + 'gripper_0_255': 0.} + action_phase = control + record = {'t_seconds': observation['t_seconds'], **action, 'phase': action_phase} + attempt['actions'].append(record) + attempt['arm_tape'].append(list(action['joint_targets_rad'])) + observation['issued_joint_targets_rad'] = list(action['joint_targets_rad']) + observation['issued_gripper_0_255'] = action['gripper_0_255'] + observation['command'] = record + observation, _, terminated, truncated, info = environment.step(action) + latencies.append(time.perf_counter()-began) + if observation is not None: + attempt['trajectory'].append(observation) + if terminated or truncated: + break + attempt.update(valid=info['valid'], success=info['success'], reason=info['reason'], + simulated_seconds=info['simulation_time'], warnings=info['warnings'], metrics=info) + except Exception as exc: + attempt['error'] = {'phase': phase, 'type': type(exc).__name__, 'message': str(exc)[:500]} + attempt['reason'] = 'exception' + if environment is not None: + attempt['warnings'] = list(getattr(environment, 'warnings', [])) + attempt['simulated_seconds'] = getattr(environment, 'elapsed', 0.) + elapsed = time.perf_counter()-started + attempt['timing'].update(episode_wall_seconds=elapsed, + control_step_seconds=sim._summary(latencies) if latencies else None, + missed_control_boundaries=sum(latency > config.control_dt for latency in latencies), + control_boundaries=len(latencies), + simulated_seconds_per_wall_second=attempt['simulated_seconds']/elapsed, + scope='Wall computation, not real-time sensor-to-actuator latency. Includes setup, policy/IK, native physics, contacts, observations and trace construction; excludes process startup, output I/O and rendering') + return attempt + + +def run_matched(assets, config=None, *, seed=0): + placement = run_episode(assets, config, seed=seed) + controls = [run_episode(assets, config, seed=seed, control='replay_open_jaw', arm_tape=placement['arm_tape'])] + controls.append(run_episode(assets, config, seed=seed, control='hold')) + return [placement, *controls] diff --git a/benchmarks/piper-contact-development-20261011/sources/r2/robot_profiles.lock.json b/benchmarks/piper-contact-development-20261011/sources/r2/robot_profiles.lock.json new file mode 100644 index 0000000..a8ef55f --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/sources/r2/robot_profiles.lock.json @@ -0,0 +1,898 @@ +{ + "schema": "dvidia.robot-profiles-lock/v1", + "repository": "https://github.com/google-deepmind/mujoco_menagerie", + "commit": "0059d4335f8156206f63a35662313385f7ad6d74", + "profiles": [ + { + "id": "piper", + "name": "AgileX PiPER", + "folder": "agilex_piper", + "model": "piper.xml", + "simulation_asset_license": "MIT", + "arm_axes": 6, + "gripper_axes": 1, + "arm_joint_names": [ + "joint1", + "joint2", + "joint3", + "joint4", + "joint5", + "joint6" + ], + "gripper_joint_names": [ + "joint7", + "joint8" + ], + "actuator_names": [ + "joint1", + "joint2", + "joint3", + "joint4", + "joint5", + "joint6", + "gripper" + ], + "native_command_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "m" + ], + "expected_dimensions": { + "nq": 8, + "nv": 8, + "nu": 7, + "neq": 1 + }, + "tool_frame_body": "link6", + "tool_frame_scope": "terminal arm link origin; not a calibrated fingertip TCP", + "gripper_command": "single-finger slide target in metres, native range [0,0.035]; not total jaw gap", + "sdk_url": "https://github.com/agilexrobotics/piper_sdk", + "hardware_url": "https://global.agilex.ai/products/piper", + "upstream_model_url": "https://github.com/google-deepmind/mujoco_menagerie/tree/0059d4335f8156206f63a35662313385f7ad6d74/agilex_piper", + "openness_scope": "The stated license covers these pinned simulation assets; SDK and physical design licenses must be assessed separately.", + "files": [ + { + "path": "agilex_piper/CHANGELOG.md", + "bytes": 145, + "sha256": "d54aa5c57eb44153e86ecea15f247bbf6a708100e2d4744b8540eadc274e04f0", + "git_blob_sha1": "858f2eee85026e4999f2335230b6612be7c0b376" + }, + { + "path": "agilex_piper/LICENSE", + "bytes": 1065, + "sha256": "e32d78fd3761052ab0b2bb42fef8a7a9ad3f298d315d305333c349d2aff1f134", + "git_blob_sha1": "1ace5a240f199be4ae0567bed99051213893345c" + }, + { + "path": "agilex_piper/README.md", + "bytes": 1681, + "sha256": "ab0d218758ec6c298417407962f49179e369236e8f316dbaa7671756d6f8eb77", + "git_blob_sha1": "7a300b81e0556b580ed4e4942bf0aaa9c90944a8" + }, + { + "path": "agilex_piper/assets/base_link.stl", + "bytes": 535084, + "sha256": "fd9c5c5816513cae313b6bee70f95474faadd136eb3ea19c68ffa451dfcd962a", + "git_blob_sha1": "f9ad9da087272dd1916f7f3f872d5236f6a0c0fd" + }, + { + "path": "agilex_piper/assets/link1.stl", + "bytes": 938084, + "sha256": "2288b210ac2a4a0a6150cbe024870e6d1eee21dea320d5d6d19d17eb3099b8ea", + "git_blob_sha1": "f29ff2628b6a8bf620b4f9fb7039df790749154d" + }, + { + "path": "agilex_piper/assets/link2.stl", + "bytes": 3595884, + "sha256": "02e1d9f50eafe7ed69f2352317871e24f758c6181c2c2b192d43999122bc48aa", + "git_blob_sha1": "2c3ab29ec2ebba230d78d6a708c880dfa44761fb" + }, + { + "path": "agilex_piper/assets/link2_0.obj", + "bytes": 3388066, + "sha256": "2f44a3bfb67e36f2fb148ef4021ec18a644365b0bb7f43b2f5fdcaef8c42970d", + "git_blob_sha1": "d3289a5d714821b5ccb728934161133b96e250b1" + }, + { + "path": "agilex_piper/assets/link2_1.obj", + "bytes": 100403, + "sha256": "5b65b00f6046695a4911f14cc95e5022fc68aa5a456932f2d91d1d80dabd05f4", + "git_blob_sha1": "923fec63aed4991faddda4961f91e35142e20d0d" + }, + { + "path": "agilex_piper/assets/link2_10.obj", + "bytes": 29779, + "sha256": "c4b0ac50cdf34d6774c9dd248ac79450d2077497c1696443a02e36d25f1b724c", + "git_blob_sha1": "5d1f265a4273d707666caeb846db81689380d35e" + }, + { + "path": "agilex_piper/assets/link2_11.obj", + "bytes": 58387, + "sha256": "525a33293c587749f6cfa6f4e0341a0e791be887e7e72b5493feb53dca74e4d5", + "git_blob_sha1": "b34ad25291e33e2c66dd545c8fed0d9306109f62" + }, + { + "path": "agilex_piper/assets/link2_12.obj", + "bytes": 55034, + "sha256": "f2736682eb7d11e96cbded267e617f0512c17d3b85fd047575c265d3780c4728", + "git_blob_sha1": "58389b5bfc3e5f4f1d4a185ee4d93acf1271cb2e" + }, + { + "path": "agilex_piper/assets/link2_13.obj", + "bytes": 29671, + "sha256": "d3ec5463a6a9c5ccef97475514d4a536739eba3701c5a8a1a196813e27ec2a46", + "git_blob_sha1": "f494b675aeac5e126beaa8e8f1a204eb8cefdc5e" + }, + { + "path": "agilex_piper/assets/link2_14.obj", + "bytes": 59190, + "sha256": "9faa61dbe96d976271574458ad9aa5883d6b663770a191fb62f8b8dd78d389d4", + "git_blob_sha1": "30dbf5b48b5452adb6f1c5a3193c8f930ea3ef4b" + }, + { + "path": "agilex_piper/assets/link2_15.obj", + "bytes": 29439, + "sha256": "a39acb181508ebb84b9269438f275fe57c26dcdeb4b64856fb4251975ce78cbd", + "git_blob_sha1": "ed8de528fe22872d31129c4b2215b8da3b4868c9" + }, + { + "path": "agilex_piper/assets/link2_16.obj", + "bytes": 53557, + "sha256": "273b405e484c5ae97c442732590ea0e9dfa7af99cf5c2680515f091b6591f526", + "git_blob_sha1": "5a51f30391e4af7da1d4d81fc7ee874f2015526e" + }, + { + "path": "agilex_piper/assets/link2_17.obj", + "bytes": 29281, + "sha256": "c62f2c6de9f94def5f46c79c57e605464888804660599790ae0c3cf1b996ed92", + "git_blob_sha1": "103a6fcdef56fd3cf0d90c29aed7349cace632b3" + }, + { + "path": "agilex_piper/assets/link2_18.obj", + "bytes": 23997, + "sha256": "3ce81fde3f5605af76340686dd82e67372dfcd2fe15c08bb5a0dbe275b400b70", + "git_blob_sha1": "1dba62daa44ce61a14ef616370fe7f00fa0f19b6" + }, + { + "path": "agilex_piper/assets/link2_19.obj", + "bytes": 32457, + "sha256": "39691e367fff1b6dd176c7e27cf8496e6166e41e3f26d98ba4f562834aa3aa57", + "git_blob_sha1": "33f99f9d1ffb48de04dbea173dc4a8bddb7988a7" + }, + { + "path": "agilex_piper/assets/link2_2.obj", + "bytes": 99885, + "sha256": "9b0c2ca0300bc1366a29bd0e71d8275c6f81f311349f783845cf6d1bec59de46", + "git_blob_sha1": "cd470a8505322c136ef7a9f5c195119b99a7c789" + }, + { + "path": "agilex_piper/assets/link2_20.obj", + "bytes": 43817, + "sha256": "f7123aa41c3b043788097b8660728eed3cbce327d0f54f23959d31e302b28557", + "git_blob_sha1": "c462d02088d2aa5a993395720697c94edc53653a" + }, + { + "path": "agilex_piper/assets/link2_21.obj", + "bytes": 39258, + "sha256": "6ffff4a218cd218de6041cc3425189fa737c74ed3cbf17de79401f9673d1a524", + "git_blob_sha1": "4217db71c544c9726bffa5887a7442103d25d098" + }, + { + "path": "agilex_piper/assets/link2_22.obj", + "bytes": 31373, + "sha256": "9b0be27413ffdba150f63c456aa7ccb5ed9cd2cc907adf8e09824263c6edf63b", + "git_blob_sha1": "a5ed5a665bc93502e130c8b4a0d334f1bfde49c0" + }, + { + "path": "agilex_piper/assets/link2_23.obj", + "bytes": 43902, + "sha256": "e0a34cd191bfedfc0a71c1bf478222c9d694dc305bf59efb37b357260cc90335", + "git_blob_sha1": "27a226ce929f179c4c503016125d04cc4206ab4d" + }, + { + "path": "agilex_piper/assets/link2_24.obj", + "bytes": 39526, + "sha256": "2012cbea054ddefb6f7308e86be07e4a382a5f516673f4f95fb77250bc2dc1cc", + "git_blob_sha1": "13ce81f89b79b92a7c5c5127348ef8433748e625" + }, + { + "path": "agilex_piper/assets/link2_25.obj", + "bytes": 24111, + "sha256": "a44629754983f45de28d7a9ad827ea30d2e6ee9565a7741f86f505636808ddfb", + "git_blob_sha1": "5f5d981b21daf475ea0e2145c9dd632922c59e78" + }, + { + "path": "agilex_piper/assets/link2_26.obj", + "bytes": 51974, + "sha256": "f2c2140893951632fc4f0f4c5428cdac234c131d0e3dbcddf4e90c3446663f11", + "git_blob_sha1": "1e7c9f811c5f74c988fccf06500965b04164d81e" + }, + { + "path": "agilex_piper/assets/link2_27.obj", + "bytes": 24075, + "sha256": "a8078b9214cf7c8980dc567bd6ab6367b98ff0f568e907867554458fa1b1ab93", + "git_blob_sha1": "4fff84e8cb5391b3f1eac188faa5c453165bf5d2" + }, + { + "path": "agilex_piper/assets/link2_28.obj", + "bytes": 12884, + "sha256": "b72a71a458fc99d2429991fb3d0e86b717d93af2c489dafdcdff6629ac7ee0ac", + "git_blob_sha1": "eea332c3048c9f2b801ef8bde9fcd13129d89ad3" + }, + { + "path": "agilex_piper/assets/link2_29.obj", + "bytes": 25090, + "sha256": "56c22bba80c0b62036148b9b0e7844a342d6dd485fc0570d98b84a7cdb63cbec", + "git_blob_sha1": "3bf7eb67f1555ee2fd70927ce1aec38fd79f4d4d" + }, + { + "path": "agilex_piper/assets/link2_3.obj", + "bytes": 282937, + "sha256": "b77b1bb82f0884edfce81287d63af47f9182975dfebd4f6698f52610e085481b", + "git_blob_sha1": "3fe63f019200cac9860ab6f34a1d6e7a12f74983" + }, + { + "path": "agilex_piper/assets/link2_30.obj", + "bytes": 12280, + "sha256": "525d7dfae5bcbb7d60c86ca52103a6def0b47fa0ae18dadda7f5e2282d1fd894", + "git_blob_sha1": "0ff2accf7f221afaa35618c3557b8b6d366414d5" + }, + { + "path": "agilex_piper/assets/link2_31.obj", + "bytes": 4621268, + "sha256": "db4ebec6fdcdd5f7a9cfe0986b3d7680bad4d71708f3dacb5c0ff7c9842d8632", + "git_blob_sha1": "103a8ecfaa09c4dd0385dd53c223d26f5df5b584" + }, + { + "path": "agilex_piper/assets/link2_4.obj", + "bytes": 274531, + "sha256": "30e76263f4b8c94b7df6b62f846ac8cb46d32d11fbc1b84e4a417993e09b0e06", + "git_blob_sha1": "fc0f84fdb99707ede0fb74db51d47dea0fa3f59c" + }, + { + "path": "agilex_piper/assets/link2_5.obj", + "bytes": 29647, + "sha256": "43b61bb3fdc6ad91b973b860b11f59094bb400497e19de76725698dde2c87cff", + "git_blob_sha1": "5f54e060b30ea841f9946e99a0a53931f8bebf55" + }, + { + "path": "agilex_piper/assets/link2_6.obj", + "bytes": 30085, + "sha256": "1d8c48045ea3da9d40bc5dad27d589f44ea705867f53e8546c13af88c32238d6", + "git_blob_sha1": "6029251f4eb245c92d025307927b109eda920f26" + }, + { + "path": "agilex_piper/assets/link2_7.obj", + "bytes": 52047, + "sha256": "7036e70d8e869de5d52f2a0cb6661430e9a0a3dfbcf9c08f3cf6344a8893fcbc", + "git_blob_sha1": "149961f1003ea390d05ccab73875367d28e0fe39" + }, + { + "path": "agilex_piper/assets/link2_8.obj", + "bytes": 53837, + "sha256": "5201670ce6c0f34de7770f4079b83d5fb2f815c60e6af69b545e055b74e99092", + "git_blob_sha1": "0dc54a211e59374fc5372b18ecf0da8ed602f78f" + }, + { + "path": "agilex_piper/assets/link2_9.obj", + "bytes": 55512, + "sha256": "af4a6540278f1694def7f09a355bd967e7840dc67ea02b5e75cf9a5cec348315", + "git_blob_sha1": "8b314083f9159cd2479a3d289853cc0e4121fed7" + }, + { + "path": "agilex_piper/assets/link2_gray.stl", + "bytes": 41284, + "sha256": "891335b5109fb65d3dddb4888dc0c318bca33b7fb6809ab31a6998dbf848a4a6", + "git_blob_sha1": "923708414163c51c1c9489c7fa709335d61af4c9" + }, + { + "path": "agilex_piper/assets/link2_red.stl", + "bytes": 191084, + "sha256": "1279d1bbf9ffee557ec9ee95eefd80e86cf88ed7d7960a6bd56e6871e56d335b", + "git_blob_sha1": "550716b85041a917e8b2cde6f2fadee9b7341804" + }, + { + "path": "agilex_piper/assets/link3.stl", + "bytes": 2703584, + "sha256": "3ed8aa63ae21403d85d0f818d4d6a098eff435b2eb7d2372306857c9c5538f50", + "git_blob_sha1": "56c2bf45abd6d8ce6d5bfe6d732a98a04d3d4126" + }, + { + "path": "agilex_piper/assets/link3_0.obj", + "bytes": 314533, + "sha256": "eb211f9bce1811834760b1387aab0e8c1ff11ebd3bb5aa89fa3fe2cc537e51c1", + "git_blob_sha1": "26a21dbb104b99f4fc1c7b569d624ae256f96c0c" + }, + { + "path": "agilex_piper/assets/link3_1.obj", + "bytes": 4236, + "sha256": "2e880f0454de98559bae42e8b7d323e5226692e4af9f8a50ed4b7f8e6dc906e9", + "git_blob_sha1": "12dc2bf84617e9dd06e6dcb1061c6160906c7bd1" + }, + { + "path": "agilex_piper/assets/link3_10.obj", + "bytes": 11974, + "sha256": "d314f8101be5ba36289c4c7475a5c45504e09c9a9fd453d3167ec410833e3823", + "git_blob_sha1": "ce51455b164f4854c09887eafdabe368b9221817" + }, + { + "path": "agilex_piper/assets/link3_11.obj", + "bytes": 20406, + "sha256": "4c8ab2f5fb630127d954cf6be38da416b8627204643f1d4abd4b055d270bd346", + "git_blob_sha1": "25aaa35997a5c066b055b8d855e89cbe9073e456" + }, + { + "path": "agilex_piper/assets/link3_12.obj", + "bytes": 24374, + "sha256": "bb3b1f3200ac8c6fb3807db2f032819e9cba9a942b48d0ee8dc5777c7507e4f5", + "git_blob_sha1": "d30cf3dcf9192818ab056ff4f96d504056becad8" + }, + { + "path": "agilex_piper/assets/link3_13.obj", + "bytes": 28094, + "sha256": "69b34c59953286bc059a88a38d7fb818881a419ee2b03d801a3f6407c23cc525", + "git_blob_sha1": "5b68eef9f81b1f0aff2745ccc22f5f49f33f7476" + }, + { + "path": "agilex_piper/assets/link3_14.obj", + "bytes": 2236465, + "sha256": "9fc1bacbb5c7c4fc1006aca33bc6ca94717edc9e2415f94773d7d645c14b47e7", + "git_blob_sha1": "8c74e8300129f0ad948dbc38a5d0bfe832eef268" + }, + { + "path": "agilex_piper/assets/link3_15.obj", + "bytes": 361248, + "sha256": "c21278046e13ef3875e6703ed55b5b50837c78072d1b30218e61873f88896553", + "git_blob_sha1": "49255a6b82be626ff79ee6350b193819c74398e4" + }, + { + "path": "agilex_piper/assets/link3_16.obj", + "bytes": 410181, + "sha256": "a9d63ea9f2a334e2f68c657ad3493c294caedaab3bf1fe3efd89063c62a6d04b", + "git_blob_sha1": "442d11df89c7be63a34c4cc2e96e847c26478d3e" + }, + { + "path": "agilex_piper/assets/link3_17.obj", + "bytes": 328947, + "sha256": "a540b4325a096b17575f853165ba9c57b3743255f88c2d1076c916de397e24bd", + "git_blob_sha1": "2df4f49e59563cab88f2230c110de9d2ddbb0ecf" + }, + { + "path": "agilex_piper/assets/link3_18.obj", + "bytes": 485677, + "sha256": "3315ddfb4fb0cc496411284f01575205bb665810e47e2a03e3d96a570490ef57", + "git_blob_sha1": "5689ea1e2193bd8794ea24d0c121ae3ee4c6af00" + }, + { + "path": "agilex_piper/assets/link3_19.obj", + "bytes": 441403, + "sha256": "b945dc6e756c049bf6734dab4a485374ce6cefca00478f2e06520664003911e0", + "git_blob_sha1": "67ec3c91f88360c7391ea0c5535c0706d44adfc5" + }, + { + "path": "agilex_piper/assets/link3_2.obj", + "bytes": 12776, + "sha256": "61f9aa738ed625e189d401ed380ae4198e7317854ea352ab1494aa760de6d522", + "git_blob_sha1": "87eca49d38efbcd48e8ea21fe5b649056fbd86c7" + }, + { + "path": "agilex_piper/assets/link3_20.obj", + "bytes": 371433, + "sha256": "c622a302f1beb5d536178c6d2d4ed040d3813418c70e624bdbaa3e518392ab8e", + "git_blob_sha1": "1bf067c1f87416008228d6f7bf5f9cad80bfa00b" + }, + { + "path": "agilex_piper/assets/link3_21.obj", + "bytes": 366150, + "sha256": "d4cddc3ab6e624953f617dd0bde38a4ba16c896cde08fe145a3c5de4374e41d8", + "git_blob_sha1": "ce8914e49cc392267283972b4982980866edde22" + }, + { + "path": "agilex_piper/assets/link3_22.obj", + "bytes": 406666, + "sha256": "cebfa57377d59979668eaf5138ae67cfb4e4174f35dd399cb8bcb3ba579b5f30", + "git_blob_sha1": "0b553507026cdd21e401bded74b9e5340dbb486d" + }, + { + "path": "agilex_piper/assets/link3_23.obj", + "bytes": 372094, + "sha256": "0c4baba793261715bf3d0b08402306f4fcc7c0b677d61ae92ae14abbf6eac92d", + "git_blob_sha1": "dca1d8ec4609f96890448e5af82530fe6e711264" + }, + { + "path": "agilex_piper/assets/link3_24.obj", + "bytes": 27673, + "sha256": "ef5b5780161af47cda0651416b43c377a95adffb1d095e270cf4722e81811da9", + "git_blob_sha1": "a7b1c526939b07a27e32bde3d747e07763e01ce3" + }, + { + "path": "agilex_piper/assets/link3_25.obj", + "bytes": 27968, + "sha256": "99e9de5b421cec36ba4755737832e80615a478a2bfde7dff21ce46f0843c3dd5", + "git_blob_sha1": "2bb433399cbb7aecbfa5746f92324eb9ce3cf423" + }, + { + "path": "agilex_piper/assets/link3_26.obj", + "bytes": 28048, + "sha256": "d95e4318b185e58def277c7365efb3bbeff929f8400e266f686361bf7876ccc6", + "git_blob_sha1": "973660334f4e1c00b1786d174bed2cb728693fcf" + }, + { + "path": "agilex_piper/assets/link3_27.obj", + "bytes": 593047, + "sha256": "5d38cceb70f130efe6a2d77dc4dc58d2bed7f1679fbbae6c48e58d5a0c58a5ab", + "git_blob_sha1": "f1617cdc13207ea4fc0cd77eb48f978b83726f11" + }, + { + "path": "agilex_piper/assets/link3_28.obj", + "bytes": 385831, + "sha256": "62c52edf1d67808f7f6739b0ba2fc387b0465f362f50eba415d459f2b6241148", + "git_blob_sha1": "8a9eec4ee3fd2bba28882bd09f11aaa1587402ef" + }, + { + "path": "agilex_piper/assets/link3_3.obj", + "bytes": 21158, + "sha256": "82430d358437e045d74d0f829acc27fbd30900dd59bc113ed5bbc146524e5afa", + "git_blob_sha1": "ece273c010cac22ac7d5e3273d2a9ceedb28ca10" + }, + { + "path": "agilex_piper/assets/link3_4.obj", + "bytes": 24968, + "sha256": "bd40cb87fff5c678b571b1abbb3435618b07c7fab5875f71c894a434a7203254", + "git_blob_sha1": "099a0f5a01acc9d266ecbf05dfcc0564a453449e" + }, + { + "path": "agilex_piper/assets/link3_5.obj", + "bytes": 29032, + "sha256": "ed69d967cb2c1b4533042727ba3a1d56148afdc13bdea019b05c51ddd6bd42a3", + "git_blob_sha1": "6c7a54a2ffef1d70d40d4be9e363544f6f39638f" + }, + { + "path": "agilex_piper/assets/link3_7.obj", + "bytes": 306050, + "sha256": "334b08b12313bffcc34af5cc9af8a08073d25ce9fd1db9d518087f1ee080476b", + "git_blob_sha1": "e3c5c7023959b0b7b2bd2f70525f5c868ed7273e" + }, + { + "path": "agilex_piper/assets/link3_8.obj", + "bytes": 18174, + "sha256": "58893e8ea1f2a1a732689747513b4d4855863c7f65f3c21594d0c8dceeebe002", + "git_blob_sha1": "d866ac46cb06f0ebad304a28743c46ba50a8c768" + }, + { + "path": "agilex_piper/assets/link3_9.obj", + "bytes": 4134, + "sha256": "b5805f1cca9993e06f34d20e703d3ccee6dddedb25cb6c4f14d53dab856b95d3", + "git_blob_sha1": "1d73f7a9ff6e0c4d47e4ea8b316f17300d083dcb" + }, + { + "path": "agilex_piper/assets/link4.stl", + "bytes": 730484, + "sha256": "e58f7bfa284c7a6a23faf3945ffba5735d5d7c168953d8947c8ff09428f8881a", + "git_blob_sha1": "6077b622cd7a06473ce703221106f5c5e731c6cb" + }, + { + "path": "agilex_piper/assets/link4_2.obj", + "bytes": 496498, + "sha256": "8ff1075944a0ac7f54295b44cf6d1474daf81e968f19c03ac892b921aaa6cb85", + "git_blob_sha1": "154ec12b183273e25c0b67ad93dbbeac31883a8e" + }, + { + "path": "agilex_piper/assets/link4_3.obj", + "bytes": 389641, + "sha256": "1f76a433db58d61e71364d08223341de0d900cc048aa02f481568d919f06ec05", + "git_blob_sha1": "168ee256f67bb93935715444a92748b38f7fb009" + }, + { + "path": "agilex_piper/assets/link4_4.obj", + "bytes": 188047, + "sha256": "49d3390041498df885e647ff9e00af72c18feb16d421a074771c87662e34d3f6", + "git_blob_sha1": "dfa070074072cd2a1b8cbe639dc187cc274c0524" + }, + { + "path": "agilex_piper/assets/link4_5.obj", + "bytes": 390967, + "sha256": "a180f6d5aa83e7153d8b32257f35ca08c8520ddffad0344959a7ff40117a63d2", + "git_blob_sha1": "9f1236ec76ace4c351aa894f56582bd9c7933263" + }, + { + "path": "agilex_piper/assets/link4_6.obj", + "bytes": 315503, + "sha256": "755bed6a3ea29a45ce000fa42db84e6eb5d4f719c04f6f7e52705df933027c1c", + "git_blob_sha1": "fa9a54d142a9738e001a967e8b4a1f1a0d03c0b5" + }, + { + "path": "agilex_piper/assets/link5.stl", + "bytes": 1147884, + "sha256": "76d638a20581ce52befc3adc360bf7cf769937befc03803a485e6c689ce316fd", + "git_blob_sha1": "6b6f5ee6ea996a33b198ce3e0580b50d5a30696f" + }, + { + "path": "agilex_piper/assets/link5_2.obj", + "bytes": 313882, + "sha256": "b12395b1f63009f3b716a0a18519693e1114205f2c90c61fca75c00faa00252e", + "git_blob_sha1": "3f48e736b5ca589adff4f6497602c53a535668d9" + }, + { + "path": "agilex_piper/assets/link5_3.obj", + "bytes": 86793, + "sha256": "05feb3afbc6d4a0114561237bdafc10d28a6743c9c1912503be3b9567551d99a", + "git_blob_sha1": "74be807a5761be91dffea478f6e2154f1a5ffc52" + }, + { + "path": "agilex_piper/assets/link5_4.obj", + "bytes": 485245, + "sha256": "76a6db8f453e627871a6000f50cdfb8ea6603c30ff2c985f3a2ef72c4e20273d", + "git_blob_sha1": "341a3ecbcae8b2b3170c1721926abd83b1d33d6a" + }, + { + "path": "agilex_piper/assets/link5_5.obj", + "bytes": 237046, + "sha256": "7e5e43c40857ac14b5b2a60456a55cd0bc60162f8151348c7b2c47bfa5d4513a", + "git_blob_sha1": "16605db3217caa8a9aae37cf6eb7b8e10ee7f529" + }, + { + "path": "agilex_piper/assets/link5_6.obj", + "bytes": 689622, + "sha256": "bedac642badd06af0d9a5834eda868f1577a926fad59e6d15a5d5252a3d950f5", + "git_blob_sha1": "d4a80c6ad6650e40cb1d62c95af10f0af3a44381" + }, + { + "path": "agilex_piper/assets/link5_7.obj", + "bytes": 1081203, + "sha256": "52b6bff4dfd2f3fe18b2fb676d05f2da30ab4053300c11ef0e1dbfab46058028", + "git_blob_sha1": "750598d7e93a77819afab21bd7c94c7019a0a2ae" + }, + { + "path": "agilex_piper/assets/link5_8.obj", + "bytes": 335282, + "sha256": "ee698e03a1ed3828abca997290ca93aef140476616ab81d7baacd9c45fc6698a", + "git_blob_sha1": "08975a4036619130951be09f8c0b5163f7a8dd8a" + }, + { + "path": "agilex_piper/assets/link6.stl", + "bytes": 671184, + "sha256": "e0b2050ba81a45c79c045b9f13e3d1dd11f84bca1beb12eebc3102651c8476cf", + "git_blob_sha1": "40e0d81827fb1f9ff69424d0328d355cf2c803a7" + }, + { + "path": "agilex_piper/assets/link7.stl", + "bytes": 91984, + "sha256": "907dcdd10498a9d2e9317e42f550570a4ca522d1c4ff7b7c8721fd5cb951e481", + "git_blob_sha1": "ef2a30ca89fe970588b4fdbfcf58e9ceb6b8565e" + }, + { + "path": "agilex_piper/assets/link8.stl", + "bytes": 91884, + "sha256": "5552c0fda737f3abfa1e324ee8a4284dc473a17a0ca5fcbf35d61ca3e6701a18", + "git_blob_sha1": "f8e75c1d7bc6e77b7cd2cc5d30ef773c88fc5e64" + }, + { + "path": "agilex_piper/assets/linke2_dark_gray.stl", + "bytes": 17284, + "sha256": "6d2ef825b5f4291be6e44e4fb7cdae03eac3a3df08b0d777b776690ec9d07426", + "git_blob_sha1": "2a33b3dac2dd03fb2e92e65e8a0b24500a8c478c" + }, + { + "path": "agilex_piper/piper.png", + "bytes": 1378578, + "sha256": "3826ccfb2aed85eaeef2f48604fd5059caa764ac47fcf928b5c3a3d8ec02c682", + "git_blob_sha1": "1270421db3b4cb27dfc09dd8e27ac02fc4d9f738" + }, + { + "path": "agilex_piper/piper.xml", + "bytes": 14537, + "sha256": "a7b5b5d3b2a68d5c553b2ee9665d54a422bd8bf1fa6f3251bc11834993d37098", + "git_blob_sha1": "8b8962d805b519bc25f764316abf65bb3f6d8f37" + }, + { + "path": "agilex_piper/scene.xml", + "bytes": 819, + "sha256": "a4146e916ab3a85f5cfdc4139e2844b686bdaa2109f6ce2486df7e43b53bf602", + "git_blob_sha1": "3025eb80f088a9075e55561efa89a2929b5dfe2a" + } + ], + "native_joint_position_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad", + "m", + "m" + ], + "native_actuator_force_units": [ + "Nm", + "Nm", + "Nm", + "Nm", + "Nm", + "Nm", + "N" + ], + "native_command_range": [ + [ + -2.618, + 2.618 + ], + [ + 0.0, + 3.14 + ], + [ + -2.697, + 0.0 + ], + [ + -1.832, + 1.832 + ], + [ + -1.22, + 1.22 + ], + [ + -3.14, + 3.14 + ], + [ + 0.0, + 0.035 + ] + ] + }, + { + "id": "so101", + "name": "The Robot Studio SO101", + "folder": "robotstudio_so101", + "model": "so101.xml", + "simulation_asset_license": "Apache-2.0", + "arm_axes": 5, + "gripper_axes": 1, + "arm_joint_names": [ + "shoulder_pan", + "shoulder_lift", + "elbow_flex", + "wrist_flex", + "wrist_roll" + ], + "gripper_joint_names": [ + "gripper" + ], + "actuator_names": [ + "shoulder_pan", + "shoulder_lift", + "elbow_flex", + "wrist_flex", + "wrist_roll", + "gripper" + ], + "native_command_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "expected_dimensions": { + "nq": 6, + "nv": 6, + "nu": 6, + "neq": 0 + }, + "tool_frame_body": "gripper", + "tool_frame_scope": "native gripper link origin; not a calibrated fingertip TCP", + "gripper_command": "moving-jaw hinge angle target in radians; not linear jaw gap", + "sdk_url": "https://github.com/huggingface/lerobot", + "hardware_url": "https://github.com/TheRobotStudio/SO-ARM100", + "upstream_model_url": "https://github.com/google-deepmind/mujoco_menagerie/tree/0059d4335f8156206f63a35662313385f7ad6d74/robotstudio_so101", + "openness_scope": "The stated license covers these pinned simulation assets; SDK and physical design licenses must be assessed separately.", + "files": [ + { + "path": "robotstudio_so101/CHANGELOG.md", + "bytes": 391, + "sha256": "ac7f6205e40f0fb2bc08ff3ff4c5e5092dacf8d78cb03f024ae9aae33738acc4", + "git_blob_sha1": "d8318d4c49688f8ea714e4dce5349c4958783d0e" + }, + { + "path": "robotstudio_so101/LICENSE", + "bytes": 11357, + "sha256": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4", + "git_blob_sha1": "261eeb9e9f8b2b4b0d119366dda99c6fd7d35c64" + }, + { + "path": "robotstudio_so101/README.md", + "bytes": 1142, + "sha256": "e2344e7c14290bed85c7907247aecb8bf6cb4392e3de0d7c45680efe9bb9b5a9", + "git_blob_sha1": "65129dba053c84d2ad384b1922cea46b119e9036" + }, + { + "path": "robotstudio_so101/assets/base_motor_holder_so101_v1.stl", + "bytes": 1877084, + "sha256": "8cd2f241037ea377af1191fffe0dd9d9006beea6dcc48543660ed41647072424", + "git_blob_sha1": "cac2b8dd98d3d8a6dcdf429b36aaa4b576d82041" + }, + { + "path": "robotstudio_so101/assets/base_so101_v2.stl", + "bytes": 471584, + "sha256": "bb12b7026575e1f70ccc7240051f9d943553bf34e5128537de6cd86fae33924d", + "git_blob_sha1": "ed10aa61d1181f8001c908ee5cae5c4f970ba417" + }, + { + "path": "robotstudio_so101/assets/motor_holder_so101_base_v1.stl", + "bytes": 1129384, + "sha256": "31242ae6fb59d8b15c66617b88ad8e9bded62d57c35d11c0c43a70d2f4caa95b", + "git_blob_sha1": "9eaf67243a5ffc2dacb3fbd026b4c0620adcdd66" + }, + { + "path": "robotstudio_so101/assets/motor_holder_so101_wrist_v1.stl", + "bytes": 1052184, + "sha256": "887f92e6013cb64ea3a1ab8675e92da1e0beacfd5e001f972523540545e08011", + "git_blob_sha1": "d0aa18b15a9cd63f41fa4d48e82df7a3b618c75d" + }, + { + "path": "robotstudio_so101/assets/moving_jaw_so101_gripper_part0_v1.stl", + "bytes": 50684, + "sha256": "3a92e115d1934d4c45cff808c4eff2ea10361a137a7f89940033a1f8a821b88c", + "git_blob_sha1": "d8dd83494b31952e2f52432bc9624e74bd241030" + }, + { + "path": "robotstudio_so101/assets/moving_jaw_so101_gripper_part1_v1.stl", + "bytes": 342684, + "sha256": "d10f6c671d26f62988ec95efee9370a0657b5833b3c5f8aad59fd69a87ef2aee", + "git_blob_sha1": "ed758675140114dbab751f93ea7d40b8d27e4594" + }, + { + "path": "robotstudio_so101/assets/moving_jaw_so101_gripper_v1.stl", + "bytes": 690384, + "sha256": "e8a5dc040b98e27453a5b74f9087d1dbca14589cf9a17c4de7868d5ab98413cd", + "git_blob_sha1": "f5bd23f855f0d90f73d00abef90576d0c7120719" + }, + { + "path": "robotstudio_so101/assets/moving_jaw_so101_v1.stl", + "bytes": 1413584, + "sha256": "785a9dded2f474bc1d869e0d3dae398a3dcd9c0c345640040472210d2861fa9d", + "git_blob_sha1": "7e8736686592072cf34c7f6e2e6e88f8a3ba60bb" + }, + { + "path": "robotstudio_so101/assets/rotation_pitch_so101_v1.stl", + "bytes": 883684, + "sha256": "9be900cc2a2bf718102841ef82ef8d2873842427648092c8ed2ca1e2ef4ffa34", + "git_blob_sha1": "5c05dee570623f62c4ab7597d76c7bdea20eacea" + }, + { + "path": "robotstudio_so101/assets/sts3215_03a_no_horn_v1.stl", + "bytes": 865884, + "sha256": "75ef3781b752e4065891aea855e34dc161a38a549549cd0970cedd07eae6f887", + "git_blob_sha1": "2a89597702f5ec6849b6b1b894c867b35b98ca42" + }, + { + "path": "robotstudio_so101/assets/sts3215_03a_v1.stl", + "bytes": 954084, + "sha256": "a37c871fb502483ab96c256baf457d36f2e97afc9205313d9c5ab275ef941cd0", + "git_blob_sha1": "fe05403dbfac7a26822b8c8cd0fc3d5288a69fc8" + }, + { + "path": "robotstudio_so101/assets/under_arm_so101_v1.stl", + "bytes": 1975884, + "sha256": "d01d1f2de365651dcad9d6669e94ff87ff7652b5bb2d10752a66a456a86dbc71", + "git_blob_sha1": "480e0583c8bb27ff9affefbebee72b784fb054c8" + }, + { + "path": "robotstudio_so101/assets/upper_arm_so101_v1.stl", + "bytes": 1303484, + "sha256": "475056e03a17e71919b82fd88ab9a0b898ab50164f2a7943652a6b2941bb2d4f", + "git_blob_sha1": "9c0f9b275a51f720476e529c92193f4f69d4784c" + }, + { + "path": "robotstudio_so101/assets/waveshare_mounting_plate_so101_v2.stl", + "bytes": 62784, + "sha256": "e197e24005a07d01bbc06a8c42311664eaeda415bf859f68fa247884d0f1a6e9", + "git_blob_sha1": "4dba1f22b01ab9afef2466872fcb3e1efca89e38" + }, + { + "path": "robotstudio_so101/assets/wrist_roll_follower_so101_camera_mount.stl", + "bytes": 122884, + "sha256": "58c457b33a26d9c9bb337aa351173e7123f84719a93f486541adef6eba57ae21", + "git_blob_sha1": "dfe1ecc5e11eb79280c032148ad6ba68a21c431e" + }, + { + "path": "robotstudio_so101/assets/wrist_roll_follower_so101_gripper_part0_v1.stl", + "bytes": 73784, + "sha256": "370eb470a6ab48b08febcaeb5274d2bcc91246692532ce12c795fb82977def72", + "git_blob_sha1": "7a6bdae516080bd381758fb87cfa48beab3c96b9" + }, + { + "path": "robotstudio_so101/assets/wrist_roll_follower_so101_gripper_v1.stl", + "bytes": 741684, + "sha256": "65f32debcf265420c0160afe004f8befc5df4b3e578fd59ebaa62eade0371224", + "git_blob_sha1": "279308978e9d64d0bb231968d6169ce78aa0ebde" + }, + { + "path": "robotstudio_so101/assets/wrist_roll_follower_so101_v1.stl", + "bytes": 1439884, + "sha256": "4b17b410a12d64ec39554abc3e8054d8a97384b2dc4a8d95a5ecb2a93670f5f4", + "git_blob_sha1": "123ce374ad3efc240e4d7022f31314e59fe4b0c0" + }, + { + "path": "robotstudio_so101/assets/wrist_roll_pitch_so101_v2.stl", + "bytes": 2699784, + "sha256": "6c7ec5525b4d8b9e397a30ab4bb0037156a5d5f38a4adf2c7d943d6c56eda5ae", + "git_blob_sha1": "ac5172a35e6da3e9fdea21e25803f23cc61e31f1" + }, + { + "path": "robotstudio_so101/scene.xml", + "bytes": 825, + "sha256": "d3037f0fd36b61a9b6805b2c79831e7a392276d0f490145d01f718542eee9150", + "git_blob_sha1": "f6d8d5b119f0966a8c1139fa65277355b8474327" + }, + { + "path": "robotstudio_so101/scene_box.xml", + "bytes": 1469, + "sha256": "14c3826f23889587e63b88ef9a0e7d72318ffe13078fad8287c56dbdb9ba9ad8", + "git_blob_sha1": "f51dd3b7609d75c0a26d2735e924c140a15b72b1" + }, + { + "path": "robotstudio_so101/so101.png", + "bytes": 1010575, + "sha256": "fca552381f318dab5b1f9a69007e79d905d91c9d1bebbfdf267b78d924a9c46d", + "git_blob_sha1": "f9ac493bb3809531abe7f23ef7168d15315c2c23" + }, + { + "path": "robotstudio_so101/so101.xml", + "bytes": 17206, + "sha256": "982c02c027ec0c62d3459d0a6eb00dfb7dc13a451992e72ce99addc71f209805", + "git_blob_sha1": "38bd905c819c8c6d755fecb6394d166944262cce" + } + ], + "native_joint_position_units": [ + "rad", + "rad", + "rad", + "rad", + "rad", + "rad" + ], + "native_actuator_force_units": [ + "Nm", + "Nm", + "Nm", + "Nm", + "Nm", + "Nm" + ], + "native_command_range": [ + [ + -1.91986, + 1.91986 + ], + [ + -1.74533, + 1.74533 + ], + [ + -1.69, + 1.69 + ], + [ + -1.65806, + 1.65806 + ], + [ + -2.74385, + 2.84121 + ], + [ + -0.17453, + 1.74533 + ] + ] + } + ] +} diff --git a/benchmarks/piper-contact-development-20261011/sources/r2/robot_profiles.py b/benchmarks/piper-contact-development-20261011/sources/r2/robot_profiles.py new file mode 100644 index 0000000..b7f781e --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/sources/r2/robot_profiles.py @@ -0,0 +1,424 @@ +"""Pinned PiPER/SO101 CPU mechanics smoke tests, without hardware control. + +Fetch is the only network operation. Audit, native stepping and inspection are +offline. Simulation asset licenses do not establish the openness of hardware. +""" +from __future__ import annotations + +import argparse +from hashlib import sha256 +import html +import json +import math +from pathlib import Path, PurePosixPath +import platform +import time +from urllib.request import Request, urlopen + +from . import reference_sim as sim + + +LOCK_PATH = Path(__file__).with_name('robot_profiles.lock.json') +SCHEMA = 'dvidia.robot-profile-benchmark/v1' +INTEGRITY_SCHEMA = 'dvidia.robot-profile-integrity/v1' +CASES = ('hold', 'arm_sweep', 'gripper_cycle') +SCOPE = ('Unloaded native CPU mechanics smoke: authored position servos, upstream gravity settings, ' + 'privileged joint/link state and synthetic commands. No object task, learned skill, measured ' + 'hardware response, contact calibration or physical robot qualification.') + + +def _lock(): + return json.loads(LOCK_PATH.read_text(encoding='utf-8')) + + +def _profile(name): + for item in _lock()['profiles']: + if item['id'] == name: + return item + raise ValueError('Profile must be piper or so101') + + +def list_profiles(): + """Return explicit axes, units and asset-license claims without native imports.""" + return [{key: value for key, value in item.items() if key != 'files'} for item in _lock()['profiles']] + + +def _payload(profile, directory): + item, root = _profile(profile), Path(directory) + if root.is_symlink() or not root.is_dir(): + raise ValueError('Assets require an existing non-symlink directory') + blobs = {} + for record in item['files']: + path = root / record['path'] + if any(parent.is_symlink() for parent in path.parents if parent != root and root in parent.parents): + raise ValueError('Asset subdirectories must not be symlinks') + content = sim._regular_bytes(path, record['bytes']) + if sha256(content).hexdigest() != record['sha256']: + raise ValueError('Asset digest mismatch: '+record['path']) + blobs[record['path']] = content + return item, blobs + + +def verify_assets(profile, directory): + item, blobs = _payload(profile, directory) + return {'profile': item['id'], 'repository': _lock()['repository'], 'commit': _lock()['commit'], + 'files_verified': len(blobs), 'bytes_verified': sum(map(len, blobs.values())), + 'lock_sha256': sha256(LOCK_PATH.read_bytes()).hexdigest(), + 'simulation_asset_license': item['simulation_asset_license']} + + +def fetch_assets(profile, output): + """Explicitly fetch the fixed packaged allowlist into a fresh asset root.""" + item, lock = _profile(profile), _lock() + destination = Path(output) + if destination.is_symlink() or (destination.exists() and not destination.is_dir()): + raise ValueError('Asset root must be a plain directory') + destination.mkdir(parents=True, exist_ok=True) + (destination/item['folder']).mkdir(exist_ok=False) + for record in item['files']: + url = f"https://raw.githubusercontent.com/google-deepmind/mujoco_menagerie/{lock['commit']}/{record['path']}" + with urlopen(Request(url, headers={'User-Agent': 'DVIDIA-Robot-Sim/0.1'}), timeout=30) as response: + if response.geturl() != url: + raise ValueError('Pinned asset download redirected') + content = response.read(record['bytes']+1) + if len(content) != record['bytes'] or sha256(content).hexdigest() != record['sha256']: + raise ValueError('Downloaded asset differs from packaged lock: '+record['path']) + path = destination / record['path'] + path.parent.mkdir(parents=True, exist_ok=True) + with path.open('xb') as stream: + stream.write(content) + return verify_assets(profile, destination) + + +def build_model(profile, directory, *, timestep=.001): + dt = sim._timestep(timestep) + item, blobs = _payload(profile, directory) + model_spec = sim._spec(blobs, item['folder'], item['model']) + model_spec.option.timestep = dt + model = model_spec.compile() + mj, _ = sim._native_imports() + actual = {name: int(getattr(model, name)) for name in ('nq', 'nv', 'nu', 'neq')} + if actual != item['expected_dimensions']: + raise ValueError('Native profile mechanical dimensions differ from the pinned contract') + if [mj.mj_id2name(model, mj.mjtObj.mjOBJ_ACTUATOR, i) for i in range(model.nu)] != item['actuator_names']: + raise ValueError('Native profile actuator order differs from the pinned contract') + expected_joints = item['arm_joint_names']+item['gripper_joint_names'] + if [mj.mj_id2name(model, mj.mjtObj.mjOBJ_JOINT, i) for i in range(model.njnt)] != expected_joints: + raise ValueError('Native profile joint order differs from the pinned contract') + if mj.mj_name2id(model, mj.mjtObj.mjOBJ_BODY, item['tool_frame_body']) <= 0: + raise ValueError('Native profile terminal link body is missing') + for index, unit in enumerate(item['native_command_units']): + joint = int(model.actuator_trnid[index, 0]) + expected = mj.mjtJoint.mjJNT_HINGE if unit == 'rad' else mj.mjtJoint.mjJNT_SLIDE + if model.jnt_type[joint] != expected or not model.actuator_ctrllimited[index]: + raise ValueError('Native command units/limits differ from the pinned contract') + return model + + +def audit(profile, directory, *, timestep=.001): + metadata = verify_assets(profile, directory) + messages = [] + with sim.native_warnings(messages): + model = build_model(profile, directory, timestep=timestep) + if messages: + raise ValueError('Native profile compilation emitted warnings: '+str(messages)) + mj, _ = sim._native_imports() + return {'schema': 'dvidia.robot-profile-audit/v1', 'profile': list_profiles()[0 if profile == 'piper' else 1], + 'assets': metadata, 'native_version': mj.__version__, 'compiled_model_sha256': sim.model_digest(model), + 'dimensions': {name: int(getattr(model, name)) for name in ('nq', 'nv', 'nu', 'neq', 'ngeom', 'nbody')}, + 'actuator_ctrlrange_native': model.actuator_ctrlrange.tolist(), + 'actuator_forcerange_native': model.actuator_forcerange.tolist(), + 'gravity_compensated_bodies': int(sum(model.body_gravcomp != 0)), + 'scope': SCOPE, 'task_qualified': False, 'physical_robot_ready': False} + + +def _bounded(value, name, low, high): + if isinstance(value, bool) or not isinstance(value, (int, float)): + raise ValueError(name+' must be finite numeric data') + try: + number = float(value) + except (OverflowError, ValueError, TypeError) as exc: + raise ValueError(name+' must be finite numeric data') from exc + if not math.isfinite(number) or not low <= number <= high: + raise ValueError(name+' outside bounded range') + return number + + +def _duration(value): + number = _bounded(value, 'duration', .1, 2.) + if not math.isclose(number/sim.CONTROL_DT, round(number/sim.CONTROL_DT), abs_tol=1e-9, rel_tol=0): + raise ValueError('Duration must contain complete 20 ms control boundaries') + return number + + +def _sample(model, data, item, elapsed): + mj, np = sim._native_imports() + if not all(np.isfinite(value).all() for value in (data.qpos, data.qvel, data.qacc, data.xpos)): + raise RuntimeError('Nonfinite native profile state') + body = mj.mj_name2id(model, mj.mjtObj.mjOBJ_BODY, item['tool_frame_body']) + return {'t_seconds': elapsed, 'qpos_native': data.qpos.tolist(), 'qvel_native_per_second': data.qvel.tolist(), + 'arm_joint_position_rad': data.qpos[:item['arm_axes']].tolist(), + 'arm_joint_velocity_rad_s': data.qvel[:item['arm_axes']].tolist(), + 'gripper_joint_position_native': data.qpos[item['arm_axes']:].tolist(), + 'terminal_link_position_m': data.xpos[body].tolist(), 'terminal_link_quaternion_wxyz': data.xquat[body].tolist(), + 'actuator_force_native': data.actuator_force.tolist(), 'contact_count': int(data.ncon), + 'issued_controls_native': None, 'observation_origin': 'privileged_native_simulator_state'} + + +def _attempt(profile, assets, case, repeat, duration, timestep): + started, latencies = time.perf_counter(), [] + item = _profile(profile) + result = {'id': f'{case}-{repeat}', 'case': case, 'repeat': repeat, 'valid': False, + 'error': None, 'warnings': [], 'simulated_seconds': 0., 'trajectory': [], 'timing': {}, 'metrics': {}} + try: + with sim.native_warnings(result['warnings']): + model = build_model(profile, assets, timestep=timestep) + mj, np = sim._native_imports() + data = mj.MjData(model) + if model.nkey: + mj.mj_resetDataKeyframe(model, data, 0) + else: + data.ctrl[:] = data.qpos[model.jnt_qposadr[model.actuator_trnid[:, 0]]] + base = data.ctrl.copy() + mj.mj_forward(model, data) + result['compiled_model_sha256'] = sim.model_digest(model) + result['runtime'] = {'mujoco_version': mj.__version__, 'numpy_version': np.__version__} + result['native_model_settings'] = {'gravity_m_s2': model.opt.gravity.tolist(), + 'gravity_compensated_bodies': [ + {'name': mj.mj_id2name(model, mj.mjtObj.mjOBJ_BODY, i), + 'fraction': float(model.body_gravcomp[i])} + for i in range(model.nbody) if model.body_gravcomp[i] != 0]} + result['trajectory'].append(_sample(model, data, item, 0.)) + for index in range(round(duration/sim.CONTROL_DT)): + tick_started = time.perf_counter() + commands = base.copy() + phase = math.sin(math.pi*(index+1)*sim.CONTROL_DT/duration) + if case == 'arm_sweep': + commands[:item['arm_axes']] += .08*phase + elif case == 'gripper_cycle': + commands[-1] += (.012 if item['id'] == 'piper' else .15)*phase + commands = np.clip(commands, model.actuator_ctrlrange[:, 0], model.actuator_ctrlrange[:, 1]) + result['trajectory'][-1]['issued_controls_native'] = commands.tolist() + data.ctrl[:] = commands + for _ in range(round(sim.CONTROL_DT/timestep)): + mj.mj_step(model, data) + mj.mj_forward(model, data) + _sample(model, data, item, 0.) + if result['warnings'] or any(warning.number for warning in data.warning): + raise RuntimeError('Native profile emitted a solver warning') + result['simulated_seconds'] = (index+1)*sim.CONTROL_DT + result['trajectory'].append(_sample(model, data, item, result['simulated_seconds'])) + latencies.append(time.perf_counter()-tick_started) + result['valid'] = not result['warnings'] + errors = [abs(row['qpos_native'][int(model.jnt_qposadr[model.actuator_trnid[j, 0]])]-row['issued_controls_native'][j]) + for row in result['trajectory'][:-1] for j in range(item['arm_axes'])] + result['metrics'] = {'max_before_step_arm_target_error_rad': max(errors, default=0.), + 'max_recorded_contact_count': max(row['contact_count'] for row in result['trajectory']), + 'scope': 'Numerical state/command diagnostics only; no task success metric'} + except Exception as exc: + result['error'] = {'type': type(exc).__name__, 'message': str(exc)[:500]} + elapsed = time.perf_counter()-started + result['timing'] = {'episode_wall_seconds': elapsed, 'control_step_seconds': sim._summary(latencies) if latencies else None, + 'control_boundaries': len(latencies), 'missed_control_boundaries': sum(x > sim.CONTROL_DT for x in latencies), + 'simulated_seconds_per_wall_second': result['simulated_seconds']/elapsed, + 'scope': 'Wall computation including compilation/state snapshots; not real-time sensor-to-actuator latency'} + return result + + +def _json_bytes(value): + return (json.dumps(value, allow_nan=False, indent=2)+'\n').encode() + + +def _record(path, content): + return {'path': path, 'bytes': len(content), 'sha256': sha256(content).hexdigest()} + + +def benchmark(profile, assets, output, *, duration=.4, timestep=.001, repeats=1): + """Seal every bounded unloaded attempt, including numerical/setup failures.""" + item, duration, timestep = _profile(profile), _duration(duration), sim._timestep(timestep) + if type(repeats) is not int or not 1 <= repeats <= 3: + raise ValueError('repeats must be an integer in [1,3]') + metadata, blobs = verify_assets(profile, assets), _payload(profile, assets)[1] + destination = Path(output) + destination.mkdir(parents=True, exist_ok=False) + report = {'schema': SCHEMA, 'profile': {key: value for key, value in item.items() if key != 'files'}, + 'scope': SCOPE, 'task_qualified': False, 'physical_robot_ready': False, 'assets': metadata, + 'source': {'implementation_sha256': sha256(Path(__file__).read_bytes()).hexdigest(), + 'reference_sim_sha256': sha256(Path(sim.__file__).read_bytes()).hexdigest(), + 'lock_sha256': sha256(LOCK_PATH.read_bytes()).hexdigest(), 'asset_commit': _lock()['commit']}, + 'settings': {'duration_seconds': duration, 'timestep_seconds': timestep, + 'control_dt_seconds': sim.CONTROL_DT, 'repeats': repeats, 'cases': list(CASES)}, + 'platform': {'system': platform.system(), 'machine': platform.machine(), 'python': platform.python_version()}, + 'attempts': []} + for case in CASES: + for repeat in range(repeats): + attempt = _attempt(profile, assets, case, repeat, duration, timestep) + report['attempts'].append(attempt) + path = destination/f'attempt-{attempt["id"]}.json' + path.write_bytes(_json_bytes(attempt)) + report['summary'] = {'attempt_count': len(report['attempts']), + 'valid_attempts': sum(bool(x['valid']) for x in report['attempts'])} + compiled = next((attempt for attempt in report['attempts'] if 'runtime' in attempt), None) + report['platform'].update(mujoco_version=compiled['runtime']['mujoco_version'] if compiled else None, + numpy_version=compiled['runtime']['numpy_version'] if compiled else None) + report['native_model_settings'] = compiled['native_model_settings'] if compiled else None + rows = ''.join(f'{html.escape(x["id"])}{x["valid"]}{x["simulated_seconds"]:.2f}' + f'{html.escape(json.dumps(x["error"]))}' for x in report['attempts']) + page = (f'' + f'DVIDIA {html.escape(item["name"])} CPU mechanics' + f'

DVIDIA · {html.escape(item["name"])} CPU mechanics

{html.escape(SCOPE)}

' + f'

{item["arm_axes"]} arm axes + {item["gripper_axes"]} gripper command. Simulation asset license: {html.escape(item["simulation_asset_license"])}.

' + f'

Native command units: {html.escape(", ".join(item["native_command_units"]))}. {html.escape(item["gripper_command"])}

' + f'

Complete sealed numerical receipt · Original asset license

' + f'{rows}
AttemptValid physicsSimulated secondsError
').encode() + files = {'report.json': _json_bytes(report), 'report.html': page, + f'licenses/{profile}/LICENSE': blobs[item['folder']+'/LICENSE']} + for name, content in files.items(): + path = destination/name + path.parent.mkdir(parents=True, exist_ok=True) + path.write_bytes(content) + for path in sorted(destination.glob('attempt-*.json')): + files[path.name] = path.read_bytes() + integrity = {'schema': INTEGRITY_SCHEMA, 'files': [_record(name, content) for name, content in sorted(files.items())]} + (destination/'integrity.json').write_bytes(_json_bytes(integrity)) + return {'output': str(destination), 'profile': profile, **report['summary'], 'report_sha256': sha256(files['report.json']).hexdigest()} + + +def _bounded_file(path, limit): + size = path.lstat().st_size + if size > limit: + raise ValueError('Benchmark file exceeds the bounded size limit') + return sim._regular_bytes(path, size) + + +def inspect_benchmark(directory): + """Verify the standalone numerical receipt without loading native physics.""" + root = Path(directory) + if root.is_symlink() or not root.is_dir(): + raise ValueError('Benchmark root must be a non-symlink directory') + integrity = json.loads(_bounded_file(root/'integrity.json', 100000)) + if integrity.get('schema') != INTEGRITY_SCHEMA or type(integrity.get('files')) is not list or not 3 <= len(integrity['files']) <= 12: + raise ValueError('Unsupported bounded profile integrity manifest') + payload, total = {}, 0 + for record in integrity['files']: + name = record.get('path') + if type(name) is not str or name in payload or PurePosixPath(name).is_absolute() or '..' in PurePosixPath(name).parts or '\\' in name: + raise ValueError('Unsafe or duplicate benchmark file path') + path = root/name + if any(parent.is_symlink() for parent in path.parents if parent != root and root in parent.parents): + raise ValueError('Benchmark subdirectories must not be symlinks') + content = _bounded_file(path, 5000000) + total += len(content) + if total > 12000000 or len(content) != record.get('bytes') or sha256(content).hexdigest() != record.get('sha256'): + raise ValueError('Benchmark integrity mismatch') + payload[name] = content + report = json.loads(payload['report.json']) + if report.get('schema') != SCHEMA or report.get('task_qualified') is not False or report.get('physical_robot_ready') is not False: + raise ValueError('Unsupported profile receipt or qualification claim') + profile = _profile(report['profile']['id']) + expected_profile = {key: value for key, value in profile.items() if key != 'files'} + if report['profile'] != expected_profile: + raise ValueError('Profile receipt axes/units/provenance contract mismatch') + lock = _lock() + lock_digest = sha256(LOCK_PATH.read_bytes()).hexdigest() + expected_assets = {'profile': profile['id'], 'repository': lock['repository'], 'commit': lock['commit'], + 'files_verified': len(profile['files']), 'bytes_verified': sum(x['bytes'] for x in profile['files']), + 'lock_sha256': lock_digest, 'simulation_asset_license': profile['simulation_asset_license']} + if report.get('assets') != expected_assets or report['source'].get('asset_commit') != lock['commit'] or report['source'].get('lock_sha256') != lock_digest: + raise ValueError('Profile asset/source lock provenance mismatch') + for key in ('implementation_sha256', 'reference_sim_sha256'): + digest = report['source'].get(key) + if type(digest) is not str or len(digest) != 64 or any(x not in '0123456789abcdef' for x in digest): + raise ValueError('Profile implementation source digest is malformed') + settings = report['settings'] + duration, timestep = _duration(settings['duration_seconds']), sim._timestep(settings['timestep_seconds']) + repeats = settings['repeats'] + if type(repeats) is not int or not 1 <= repeats <= 3 or settings['cases'] != list(CASES) or settings['control_dt_seconds'] != sim.CONTROL_DT: + raise ValueError('Profile benchmark settings mismatch') + attempts = report['attempts'] + if type(attempts) is not list or len(attempts) != len(CASES)*repeats: + raise ValueError('Profile benchmark attempt count mismatch') + expected_files = {'report.json', 'report.html', f'licenses/{profile["id"]}/LICENSE'} | { + f'attempt-{case}-{repeat}.json' for case in CASES for repeat in range(repeats)} + actual_files = {path.relative_to(root).as_posix() for path in root.rglob('*') if not path.is_dir()} + if set(payload) != expected_files or actual_files != expected_files | {'integrity.json'}: + raise ValueError('Profile benchmark file inventory mismatch') + for index, attempt in enumerate(attempts): + case, repeat = CASES[index//repeats], index%repeats + if attempt['id'] != f'{case}-{repeat}' or attempt['case'] != case or attempt['repeat'] != repeat or type(attempt['valid']) is not bool: + raise ValueError('Profile attempt ordering/validity mismatch') + if json.loads(payload[f'attempt-{attempt["id"]}.json']) != attempt: + raise ValueError('Profile raw attempt and report differ') + if attempt['valid'] and (attempt['error'] is not None or attempt['warnings'] or len(attempt['trajectory']) != round(duration/sim.CONTROL_DT)+1): + raise ValueError('Valid profile attempt has incomplete or invalid native evidence') + for row_index, row in enumerate(attempt['trajectory']): + _bounded(row['t_seconds'], 'clock', 0, duration) + if not math.isclose(row['t_seconds'], row_index*sim.CONTROL_DT, abs_tol=1e-9, rel_tol=0): + raise ValueError('Profile trace clock mismatch') + for key, count in (('qpos_native', profile['expected_dimensions']['nq']), + ('qvel_native_per_second', profile['expected_dimensions']['nv']), + ('arm_joint_position_rad', profile['arm_axes']), + ('arm_joint_velocity_rad_s', profile['arm_axes']), + ('gripper_joint_position_native', len(profile['gripper_joint_names'])), + ('terminal_link_position_m', 3), ('terminal_link_quaternion_wxyz', 4), + ('actuator_force_native', len(profile['actuator_names']))): + if type(row[key]) is not list or len(row[key]) != count: + raise ValueError('Profile trace state shape mismatch') + for value in row[key]: + _bounded(value, key, -1000000, 1000000) + if row['arm_joint_position_rad'] != row['qpos_native'][:profile['arm_axes']] or row['gripper_joint_position_native'] != row['qpos_native'][profile['arm_axes']:] or row['arm_joint_velocity_rad_s'] != row['qvel_native_per_second'][:profile['arm_axes']]: + raise ValueError('Profile redundant joint state differs from its native coordinates') + if not math.isclose(sum(value*value for value in row['terminal_link_quaternion_wxyz']), 1., abs_tol=1e-8, rel_tol=0): + raise ValueError('Profile terminal link quaternion must be normalized wxyz') + if type(row['contact_count']) is not int or not 0 <= row['contact_count'] <= 100000 or row['observation_origin'] != 'privileged_native_simulator_state': + raise ValueError('Profile contact count/observation provenance mismatch') + issued = row['issued_controls_native'] + if attempt['valid'] and ((row_index == len(attempt['trajectory'])-1) != (issued is None)): + raise ValueError('Valid profile trace must issue each decision and leave its terminal row unissued') + if issued is not None: + if type(issued) is not list or len(issued) != len(profile['native_command_units']): + raise ValueError('Profile native command shape mismatch') + for value, (low, high) in zip(issued, profile['native_command_range']): + _bounded(value, 'native command', low, high) + valid = sum(x['valid'] for x in attempts) + if report['summary'] != {'attempt_count': len(attempts), 'valid_attempts': valid}: + raise ValueError('Profile attempt summary mismatch') + license_name = f'licenses/{profile["id"]}/LICENSE' + record = next(x for x in profile['files'] if x['path'] == profile['folder']+'/LICENSE') + if len(payload[license_name]) != record['bytes'] or sha256(payload[license_name]).hexdigest() != record['sha256']: + raise ValueError('Upstream simulation asset license mismatch') + return {'report': report, 'files': integrity['files'], 'valid_attempts': valid, 'attempts': len(attempts)} + + +def main(argv=None): + parser = argparse.ArgumentParser(description='DVIDIA pinned CPU robot mechanics; no hardware control') + commands = parser.add_subparsers(dest='command', required=True) + commands.add_parser('list') + for name in ('fetch', 'audit', 'benchmark'): + command = commands.add_parser(name) + command.add_argument('profile', choices=('piper', 'so101')) + if name != 'fetch': + command.add_argument('assets') + if name != 'audit': + command.add_argument('--output', required=True) + if name == 'benchmark': + command.add_argument('--duration', type=float, default=.4) + command.add_argument('--timestep', type=float, default=.001) + command.add_argument('--repeats', type=int, default=1) + args = parser.parse_args(argv) + try: + if args.command == 'list': + result = list_profiles() + elif args.command == 'fetch': + result = fetch_assets(args.profile, args.output) + elif args.command == 'audit': + result = audit(args.profile, args.assets) + else: + result = benchmark(args.profile, args.assets, args.output, duration=args.duration, timestep=args.timestep, repeats=args.repeats) + print(json.dumps(result, allow_nan=False, indent=2)) + except (ValueError, OSError, RuntimeError, KeyError) as exc: + parser.exit(2, 'error: '+str(exc)+'\n') + + +if __name__ == '__main__': + main() diff --git a/benchmarks/piper-contact-development-20261011/summary.json b/benchmarks/piper-contact-development-20261011/summary.json new file mode 100644 index 0000000..5668203 --- /dev/null +++ b/benchmarks/piper-contact-development-20261011/summary.json @@ -0,0 +1,813 @@ +{ + "schema": "dvidia.piper-contact-memory-development/v1", + "scope": "Exploratory development; separate from reserved fresh confirmation; all13 scripted attempts retained including failures; no parameter tuning, two diagnostic correctness refinements", + "candidate_changes": { + "r0": "initial finite design", + "r1": "settling pairwise excursion guard; emitted unscaled targets for audit", + "r2": "clear completed settling dwell on resume; native behavior unchanged" + }, + "attempts": [ + { + "file": "attempts/r0/history-low.json.gz", + "bytes": 723501, + "sha256": "acee8a0f41679657a0ad00085e93b04606a712bf4612722b91bb30607ed6c196", + "source_directory": "sources/r0", + "mode": "history", + "friction": 0.15, + "mass_kg": 0.04, + "seed": 921707, + "valid": true, + "success": false, + "simulated_seconds": 20.00000000000146, + "action_count": 1000, + "error": null, + "warnings": [], + "first_success_time_seconds": null, + "max_object_lift_m": 7.505521159355266e-05, + "retention_lost": false, + "unexpected_contact_native_ticks": 0, + "retry_count": 1, + "slowdown_count": 0, + "reassessment_count": 0, + "resume_count": 0, + "events": [ + { + "type": "probe_started", + "t_seconds": 11.259999999999199, + "reason": "slow_load_bearing_check" + }, + { + "type": "alarm", + "t_seconds": 11.619999999999, + "reason": "object_not_following" + }, + { + "type": "retry_started", + "t_seconds": 11.619999999999, + "reason": "supported_object_only" + }, + { + "type": "retry_completed", + "t_seconds": 13.27999999999808, + "reason": "open_recenter_complete" + }, + { + "type": "probe_started", + "t_seconds": 14.159999999997591, + "reason": "slow_load_bearing_check" + }, + { + "type": "alarm", + "t_seconds": 14.519999999997392, + "reason": "object_not_following" + }, + { + "type": "abort", + "t_seconds": 14.519999999997392, + "reason": "retry_budget_exhausted:object_not_following" + } + ], + "target_distance_m": 0.12013775551934067, + "encoding": "gzip", + "decoded_bytes": 4271896, + "decoded_sha256": "e0937762208f30f3efab78eaab7c0d6546f1c56921f18ab338b3cafa4480c7e6" + }, + { + "file": "attempts/r0/history-moderate.json.gz", + "bytes": 797150, + "sha256": "0098f49f743cb0d5b388f77228a82862c271b028125641269083fb5176a912b6", + "source_directory": "sources/r0", + "mode": "history", + "friction": 0.55, + "mass_kg": 0.04, + "seed": 921707, + "valid": true, + "success": true, + "simulated_seconds": 20.00000000000146, + "action_count": 1000, + "error": null, + "warnings": [], + "first_success_time_seconds": 18.42099999999953, + "max_object_lift_m": 0.09532845368419295, + "retention_lost": false, + "unexpected_contact_native_ticks": 0, + "retry_count": 0, + "slowdown_count": 1, + "reassessment_count": 1, + "resume_count": 1, + "events": [ + { + "type": "probe_started", + "t_seconds": 11.259999999999199, + "reason": "slow_load_bearing_check" + }, + { + "type": "acquisition_qualified", + "t_seconds": 11.859999999998866, + "reason": "sustained_table_free_probe" + }, + { + "type": "slowdown_started", + "t_seconds": 11.9799999999988, + "reason": "persistent_local_offset_trend" + }, + { + "type": "reassessment_started", + "t_seconds": 12.099999999998733, + "reason": "bounded_slowdown_complete" + }, + { + "type": "carry_resumed", + "t_seconds": 12.319999999998611, + "reason": "sustained_loaded_relative_settling" + } + ], + "target_distance_m": 0.002057331426889979, + "encoding": "gzip", + "decoded_bytes": 4203582, + "decoded_sha256": "72340c8fc8af977f2634fcd5cde237292a771444dd411ad7a4956b93ac4d746e" + }, + { + "file": "attempts/r0/history-nominal.json.gz", + "bytes": 786460, + "sha256": "89fb6ec0f87f0b9023510294b63328ec0c2a622911169515cf8ee8fe8b4c5b15", + "source_directory": "sources/r0", + "mode": "history", + "friction": 0.8, + "mass_kg": 0.04, + "seed": 921707, + "valid": true, + "success": true, + "simulated_seconds": 20.00000000000146, + "action_count": 1000, + "error": null, + "warnings": [], + "first_success_time_seconds": 15.591999999996798, + "max_object_lift_m": 0.09809307681104411, + "retention_lost": false, + "unexpected_contact_native_ticks": 0, + "retry_count": 0, + "slowdown_count": 0, + "reassessment_count": 0, + "resume_count": 0, + "events": [ + { + "type": "probe_started", + "t_seconds": 11.259999999999199, + "reason": "slow_load_bearing_check" + }, + { + "type": "acquisition_qualified", + "t_seconds": 11.859999999998866, + "reason": "sustained_table_free_probe" + } + ], + "target_distance_m": 0.004433586013405143, + "encoding": "gzip", + "decoded_bytes": 4206172, + "decoded_sha256": "5bfc275a5bb65f48197b965e04310a9c906124c39cc6a5d5b039d67cfd825eb9" + }, + { + "file": "attempts/r0/probe_only-low.json.gz", + "bytes": 723510, + "sha256": "58d4ff92c686c93df7fc8e68f3fc02b44c8e132284164ee653f27cb2c174e167", + "source_directory": "sources/r0", + "mode": "probe_only", + "friction": 0.15, + "mass_kg": 0.04, + "seed": 921707, + "valid": true, + "success": false, + "simulated_seconds": 20.00000000000146, + "action_count": 1000, + "error": null, + "warnings": [], + "first_success_time_seconds": null, + "max_object_lift_m": 7.505521159355266e-05, + "retention_lost": false, + "unexpected_contact_native_ticks": 0, + "retry_count": 1, + "slowdown_count": 0, + "reassessment_count": 0, + "resume_count": 0, + "events": [ + { + "type": "probe_started", + "t_seconds": 11.259999999999199, + "reason": "slow_load_bearing_check" + }, + { + "type": "alarm", + "t_seconds": 11.619999999999, + "reason": "object_not_following" + }, + { + "type": "retry_started", + "t_seconds": 11.619999999999, + "reason": "supported_object_only" + }, + { + "type": "retry_completed", + "t_seconds": 13.27999999999808, + "reason": "open_recenter_complete" + }, + { + "type": "probe_started", + "t_seconds": 14.159999999997591, + "reason": "slow_load_bearing_check" + }, + { + "type": "alarm", + "t_seconds": 14.519999999997392, + "reason": "object_not_following" + }, + { + "type": "abort", + "t_seconds": 14.519999999997392, + "reason": "retry_budget_exhausted:object_not_following" + } + ], + "target_distance_m": 0.12013775551934067, + "encoding": "gzip", + "decoded_bytes": 4271902, + "decoded_sha256": "ce5c8f3fd0fc82745793e7feea6f23fb2d7fc226f27d1ebc2cd24fcd61de4f59" + }, + { + "file": "attempts/r0/probe_only-moderate.json.gz", + "bytes": 775306, + "sha256": "bf6e0441590dcde1fa326e902a5be82e9a2d4e3de51fe33351a5ea4ed1830c52", + "source_directory": "sources/r0", + "mode": "probe_only", + "friction": 0.55, + "mass_kg": 0.04, + "seed": 921707, + "valid": true, + "success": true, + "simulated_seconds": 20.00000000000146, + "action_count": 1000, + "error": null, + "warnings": [], + "first_success_time_seconds": 15.631999999996776, + "max_object_lift_m": 0.07943010427252246, + "retention_lost": false, + "unexpected_contact_native_ticks": 0, + "retry_count": 0, + "slowdown_count": 0, + "reassessment_count": 0, + "resume_count": 0, + "events": [ + { + "type": "probe_started", + "t_seconds": 11.259999999999199, + "reason": "slow_load_bearing_check" + }, + { + "type": "acquisition_qualified", + "t_seconds": 11.859999999998866, + "reason": "sustained_table_free_probe" + } + ], + "target_distance_m": 0.006108177152081407, + "encoding": "gzip", + "decoded_bytes": 4153500, + "decoded_sha256": "a939c1f5f38f2ae40cd202d8b10addc8540a554718e6bdd6cf49852c05e771c7" + }, + { + "file": "attempts/r0/probe_only-nominal.json.gz", + "bytes": 786446, + "sha256": "bf95ffbeb79a67ad2b8d59cdd9af136adeabd94f46df69aaba1b7679768f0f18", + "source_directory": "sources/r0", + "mode": "probe_only", + "friction": 0.8, + "mass_kg": 0.04, + "seed": 921707, + "valid": true, + "success": true, + "simulated_seconds": 20.00000000000146, + "action_count": 1000, + "error": null, + "warnings": [], + "first_success_time_seconds": 15.591999999996798, + "max_object_lift_m": 0.09809307681104411, + "retention_lost": false, + "unexpected_contact_native_ticks": 0, + "retry_count": 0, + "slowdown_count": 0, + "reassessment_count": 0, + "resume_count": 0, + "events": [ + { + "type": "probe_started", + "t_seconds": 11.259999999999199, + "reason": "slow_load_bearing_check" + }, + { + "type": "acquisition_qualified", + "t_seconds": 11.859999999998866, + "reason": "sustained_table_free_probe" + } + ], + "target_distance_m": 0.004433586013405143, + "encoding": "gzip", + "decoded_bytes": 4205430, + "decoded_sha256": "a168981d41e7151c63bdf4ab87bf342e7783452e81acb31aead0dbe39f314f86" + }, + { + "file": "attempts/r1/baseline-current.json.gz", + "bytes": 715805, + "sha256": "98d4f2679745fcbceba9faba7b87b3a3b446dfe70feb8c56b88b5c0ad8720187", + "source_directory": "sources/r1", + "mode": "baseline", + "friction": 0.8, + "mass_kg": 0.04, + "seed": 921708, + "valid": true, + "success": true, + "simulated_seconds": 20.00000000000146, + "action_count": 1000, + "error": null, + "warnings": [], + "first_success_time_seconds": 14.99199999999713, + "max_object_lift_m": 0.09770252463579783, + "retention_lost": false, + "unexpected_contact_native_ticks": 0, + "retry_count": 0, + "slowdown_count": 0, + "reassessment_count": 0, + "resume_count": 0, + "events": [], + "target_distance_m": 0.004687654888349376, + "encoding": "gzip", + "decoded_bytes": 3300091, + "decoded_sha256": "d0f7408b675da05dc77e853f9c75b056367b90c03f3f36d7664e73d3df2dacde" + }, + { + "file": "attempts/r1/baseline-frozen-v02.json.gz", + "bytes": 715807, + "sha256": "94ee6cb8c3580b14661be88ef9a4354124ef264e59ad459305af9bb9349a84af", + "source_directory": "sources/frozen-v02", + "mode": "baseline", + "friction": 0.8, + "mass_kg": 0.04, + "seed": 921708, + "valid": true, + "success": true, + "simulated_seconds": 20.00000000000146, + "action_count": 1000, + "error": null, + "warnings": [], + "first_success_time_seconds": 14.99199999999713, + "max_object_lift_m": 0.09770252463579783, + "retention_lost": false, + "unexpected_contact_native_ticks": 0, + "retry_count": 0, + "slowdown_count": 0, + "reassessment_count": 0, + "resume_count": 0, + "events": [], + "target_distance_m": 0.004687654888349376, + "encoding": "gzip", + "decoded_bytes": 3300087, + "decoded_sha256": "ec5d5623a3f2a6eeaa57fb4968d2de0f424d7290499e3f963f17f838f9cb9216" + }, + { + "file": "attempts/r1/low06.json.gz", + "bytes": 724054, + "sha256": "bfb521bc49b896d8021db76fec50fb1c7c4681204a0d4528281af470f2301435", + "source_directory": "sources/r1", + "mode": "history", + "friction": 0.15, + "mass_kg": 0.06, + "seed": 921708, + "valid": true, + "success": false, + "simulated_seconds": 20.00000000000146, + "action_count": 1000, + "error": null, + "warnings": [], + "first_success_time_seconds": null, + "max_object_lift_m": 5.892534758972223e-05, + "retention_lost": false, + "unexpected_contact_native_ticks": 0, + "retry_count": 1, + "slowdown_count": 0, + "reassessment_count": 0, + "resume_count": 0, + "events": [ + { + "type": "probe_started", + "t_seconds": 11.259999999999199, + "reason": "slow_load_bearing_check" + }, + { + "type": "alarm", + "t_seconds": 11.619999999999, + "reason": "object_not_following" + }, + { + "type": "retry_started", + "t_seconds": 11.619999999999, + "reason": "supported_object_only" + }, + { + "type": "retry_completed", + "t_seconds": 13.25999999999809, + "reason": "open_recenter_complete" + }, + { + "type": "probe_started", + "t_seconds": 14.139999999997602, + "reason": "slow_load_bearing_check" + }, + { + "type": "alarm", + "t_seconds": 14.499999999997403, + "reason": "object_not_following" + }, + { + "type": "abort", + "t_seconds": 14.499999999997403, + "reason": "retry_budget_exhausted:object_not_following" + } + ], + "target_distance_m": 0.12070054764799788, + "encoding": "gzip", + "decoded_bytes": 4373737, + "decoded_sha256": "e8f840e32617ebc757a82269f28a71df7d6fd3ab754aefe40cd98e5ebb98c564" + }, + { + "file": "attempts/r1/moderate04.json.gz", + "bytes": 820840, + "sha256": "987f0032217d23eb588d033bd38fc6c389fbed79d466d9bc477240d220a7068c", + "source_directory": "sources/r1", + "mode": "history", + "friction": 0.55, + "mass_kg": 0.04, + "seed": 921708, + "valid": true, + "success": true, + "simulated_seconds": 20.00000000000146, + "action_count": 1000, + "error": null, + "warnings": [], + "first_success_time_seconds": 18.42099999999953, + "max_object_lift_m": 0.09532845368419295, + "retention_lost": false, + "unexpected_contact_native_ticks": 0, + "retry_count": 0, + "slowdown_count": 1, + "reassessment_count": 1, + "resume_count": 1, + "events": [ + { + "type": "probe_started", + "t_seconds": 11.259999999999199, + "reason": "slow_load_bearing_check" + }, + { + "type": "acquisition_qualified", + "t_seconds": 11.859999999998866, + "reason": "sustained_table_free_probe" + }, + { + "type": "slowdown_started", + "t_seconds": 11.9799999999988, + "reason": "persistent_local_offset_trend" + }, + { + "type": "reassessment_started", + "t_seconds": 12.099999999998733, + "reason": "bounded_slowdown_complete" + }, + { + "type": "carry_resumed", + "t_seconds": 12.319999999998611, + "reason": "sustained_loaded_relative_settling" + } + ], + "target_distance_m": 0.002057331426889979, + "encoding": "gzip", + "decoded_bytes": 4352227, + "decoded_sha256": "53655685ba5423f3c090a3b5bb1a8bd15077ed00e42f508fb5434a79d310b777" + }, + { + "file": "attempts/r1/moderate06.json.gz", + "bytes": 717385, + "sha256": "4b02c5c2daad623353fa23a828133c5708683cda64d83d89f5eac9db0fc5c745", + "source_directory": "sources/r1", + "mode": "history", + "friction": 0.55, + "mass_kg": 0.06, + "seed": 921708, + "valid": true, + "success": false, + "simulated_seconds": 20.00000000000146, + "action_count": 1000, + "error": null, + "warnings": [], + "first_success_time_seconds": null, + "max_object_lift_m": 0.0001527763255191189, + "retention_lost": false, + "unexpected_contact_native_ticks": 0, + "retry_count": 0, + "slowdown_count": 0, + "reassessment_count": 0, + "resume_count": 0, + "events": [ + { + "type": "probe_started", + "t_seconds": 11.259999999999199, + "reason": "slow_load_bearing_check" + }, + { + "type": "alarm", + "t_seconds": 11.639999999998988, + "reason": "relative_slip" + }, + { + "type": "abort", + "t_seconds": 11.639999999998988, + "reason": "relative_slip" + } + ], + "target_distance_m": 0.12036443756905521, + "encoding": "gzip", + "decoded_bytes": 4398756, + "decoded_sha256": "82628ee8d86011a87362b12387fe5a13a5251857bce649562cab016edf6f55d6" + }, + { + "file": "attempts/r1/nominal06.json.gz", + "bytes": 822044, + "sha256": "701523786cb50f5f14429dd97c93a3f04e392be3ba0dd27f5cb02a583e8b8a40", + "source_directory": "sources/r1", + "mode": "history", + "friction": 0.8, + "mass_kg": 0.06, + "seed": 921708, + "valid": true, + "success": true, + "simulated_seconds": 20.00000000000146, + "action_count": 1000, + "error": null, + "warnings": [], + "first_success_time_seconds": 18.52599999999966, + "max_object_lift_m": 0.09274118802611993, + "retention_lost": false, + "unexpected_contact_native_ticks": 0, + "retry_count": 0, + "slowdown_count": 1, + "reassessment_count": 1, + "resume_count": 1, + "events": [ + { + "type": "probe_started", + "t_seconds": 11.259999999999199, + "reason": "slow_load_bearing_check" + }, + { + "type": "acquisition_qualified", + "t_seconds": 11.879999999998855, + "reason": "sustained_table_free_probe" + }, + { + "type": "slowdown_started", + "t_seconds": 11.999999999998789, + "reason": "persistent_local_offset_trend" + }, + { + "type": "reassessment_started", + "t_seconds": 12.119999999998722, + "reason": "bounded_slowdown_complete" + }, + { + "type": "carry_resumed", + "t_seconds": 12.3399999999986, + "reason": "sustained_loaded_relative_settling" + } + ], + "target_distance_m": 0.00199937905553124, + "encoding": "gzip", + "decoded_bytes": 4346793, + "decoded_sha256": "5d8f984535caf453d919babd4af143eb32f56eb613d798d26d0ef31bd02ccb9a" + }, + { + "file": "attempts/r2/moderate04.json.gz", + "bytes": 817971, + "sha256": "22638fc214e6df30c78bf33413e9704ab205a4968fc4e3c40916d23e1c3f5797", + "source_directory": "sources/r2", + "mode": "history", + "friction": 0.55, + "mass_kg": 0.04, + "seed": 921709, + "valid": true, + "success": true, + "simulated_seconds": 20.00000000000146, + "action_count": 1000, + "error": null, + "warnings": [], + "first_success_time_seconds": 18.42099999999953, + "max_object_lift_m": 0.09532845368419295, + "retention_lost": false, + "unexpected_contact_native_ticks": 0, + "retry_count": 0, + "slowdown_count": 1, + "reassessment_count": 1, + "resume_count": 1, + "events": [ + { + "type": "probe_started", + "t_seconds": 11.259999999999199, + "reason": "slow_load_bearing_check" + }, + { + "type": "acquisition_qualified", + "t_seconds": 11.859999999998866, + "reason": "sustained_table_free_probe" + }, + { + "type": "slowdown_started", + "t_seconds": 11.9799999999988, + "reason": "persistent_local_offset_trend" + }, + { + "type": "reassessment_started", + "t_seconds": 12.099999999998733, + "reason": "bounded_slowdown_complete" + }, + { + "type": "carry_resumed", + "t_seconds": 12.319999999998611, + "reason": "sustained_loaded_relative_settling" + } + ], + "target_distance_m": 0.002057331426889979, + "encoding": "gzip", + "decoded_bytes": 4346724, + "decoded_sha256": "e69dc8c1556160be595df323a84894cf258fe77de41974714a90c4890863e9ec" + } + ], + "baseline_comparison": { + "actions_exact": true, + "every_qpos_qvel_exact": true, + "current": "attempts/r1/baseline-current.json.gz", + "frozen_v02": "attempts/r1/baseline-frozen-v02.json.gz" + }, + "source_sha256": { + "piper_task.py": "4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167", + "piper_grip_guard.py": "90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb", + "piper_contact_memory.py": "f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c" + }, + "tests": { + "old_and_new_full_native_tests_passed": 33, + "additional_unit_regressions_passed": 2 + }, + "motion_caveat": "First120ms after requested .35 delta scaling still accelerated TCP in two held cases; subsequent measured-position hold reduced motion; not instantaneous slowing or stopping.", + "asset_provenance": { + "profile": "piper", + "repository": "https://github.com/google-deepmind/mujoco_menagerie", + "commit": "0059d4335f8156206f63a35662313385f7ad6d74", + "files_verified": 90, + "bytes_verified": 34562302, + "lock_sha256": "4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe", + "simulation_asset_license": "MIT" + }, + "source_snapshots": { + "r0": { + "piper_contact_memory.py": "4079a8cc6576425dca51819eff802417f32d6d5544cc9708424cd6dade353bbf", + "piper_grip_guard.py": "90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb", + "piper_task.py": "4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167", + "reference_sim.py": "c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8", + "reference_task.py": "bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e", + "robot_profiles.lock.json": "4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe", + "robot_profiles.py": "fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d" + }, + "r1": { + "piper_contact_memory.py": "e1101eae73e8742e92c96bf58d5245844492ef88959551e53c40af77b74010f4", + "piper_grip_guard.py": "90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb", + "piper_task.py": "4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167", + "reference_sim.py": "c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8", + "reference_task.py": "bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e", + "robot_profiles.lock.json": "4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe", + "robot_profiles.py": "fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d" + }, + "r2": { + "piper_contact_memory.py": "f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c", + "piper_grip_guard.py": "90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb", + "piper_task.py": "4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167", + "reference_sim.py": "c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8", + "reference_task.py": "bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e", + "robot_profiles.lock.json": "4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe", + "robot_profiles.py": "fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d" + }, + "frozen-v02": { + "piper_grip_guard.py": "90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb", + "piper_task.py": "7ff3cbe17ce77e8fed7a097c930d8cf85f9babdccdd9a5ad18fc2cd49e33716b", + "reference_sim.py": "c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8", + "reference_task.py": "bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e", + "robot_profiles.lock.json": "4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe", + "robot_profiles.py": "fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d" + } + }, + "motion_windows": { + "attempts/r1/moderate04.json.gz": [ + { + "event": "slowdown_started", + "t_seconds": 11.9799999999988, + "before": { + "sample_count": 7, + "span_s": 0.1199999999999335, + "tcp_path_m": 0.009575393239281886, + "tcp_mean_speed_m_s": 0.0797949436607266 + }, + "after": { + "sample_count": 7, + "span_s": 0.1199999999999335, + "tcp_path_m": 0.010662965082908446, + "tcp_mean_speed_m_s": 0.08885804235761963 + } + }, + { + "event": "reassessment_started", + "t_seconds": 12.099999999998733, + "before": { + "sample_count": 7, + "span_s": 0.1199999999999335, + "tcp_path_m": 0.010662965082908446, + "tcp_mean_speed_m_s": 0.08885804235761963 + }, + "after": { + "sample_count": 7, + "span_s": 0.1199999999999335, + "tcp_path_m": 0.001448895050617854, + "tcp_mean_speed_m_s": 0.012074125421822143 + } + }, + { + "event": "carry_resumed", + "t_seconds": 12.319999999998611, + "before": { + "sample_count": 7, + "span_s": 0.1199999999999335, + "tcp_path_m": 0.0004338067069261231, + "tcp_mean_speed_m_s": 0.0036150558910530294 + }, + "after": { + "sample_count": 7, + "span_s": 0.1199999999999335, + "tcp_path_m": 0.004115489232645753, + "tcp_mean_speed_m_s": 0.03429574360540028 + } + } + ], + "attempts/r1/nominal06.json.gz": [ + { + "event": "slowdown_started", + "t_seconds": 11.999999999998789, + "before": { + "sample_count": 7, + "span_s": 0.1199999999999335, + "tcp_path_m": 0.009419084470713256, + "tcp_mean_speed_m_s": 0.07849237058932064 + }, + "after": { + "sample_count": 7, + "span_s": 0.1199999999999335, + "tcp_path_m": 0.010211741888515898, + "tcp_mean_speed_m_s": 0.08509784907101298 + } + }, + { + "event": "reassessment_started", + "t_seconds": 12.119999999998722, + "before": { + "sample_count": 7, + "span_s": 0.1199999999999335, + "tcp_path_m": 0.010211741888515898, + "tcp_mean_speed_m_s": 0.08509784907101298 + }, + "after": { + "sample_count": 7, + "span_s": 0.1199999999999335, + "tcp_path_m": 0.0013792017131988334, + "tcp_mean_speed_m_s": 0.011493347609996648 + } + }, + { + "event": "carry_resumed", + "t_seconds": 12.3399999999986, + "before": { + "sample_count": 7, + "span_s": 0.1199999999999335, + "tcp_path_m": 0.0005257645683007268, + "tcp_mean_speed_m_s": 0.004381371402508484 + }, + "after": { + "sample_count": 7, + "span_s": 0.1199999999999335, + "tcp_path_m": 0.003892867753863666, + "tcp_mean_speed_m_s": 0.03244056461554853 + } + } + ] + } +} diff --git a/benchmarks/piper-contact-v03-20261011/README.md b/benchmarks/piper-contact-v03-20261011/README.md new file mode 100644 index 0000000..4dbcb2a --- /dev/null +++ b/benchmarks/piper-contact-v03-20261011/README.md @@ -0,0 +1,87 @@ +# PiPER contact history v0.3 · 11 October 2026 + +In this frozen synthetic cohort, contact history completed **6/12 placements**, +versus **4/12 original** and **4/12 probe-only** placements. Both additional +successes were 60 g blocks at friction 0.8. All **84 native attempts** are valid; +all **48 negative controls** fail. These related scenes do not estimate physical +reliability or settling/slip detector accuracy. + +| Friction | Mass | Original | Probe only | Contact history | +| --- | ---: | ---: | ---: | ---: | +| 0.8 | 40 g | 2/2 | 2/2 | 2/2 | +| 0.8 | 60 g | 0/2 | 0/2 | 2/2 | +| 0.55 | 40 g | 2/2 | 2/2 | 2/2 | +| 0.55 | 60 g | 0/2 | 0/2 | 0/2 | +| 0.15 | 40 g | 0/2 | 0/2 | 0/2 | +| 0.15 | 60 g | 0/2 | 0/2 | 0/2 | + +Each scene has three separate matched requested-arm/open-jaw replays and one +initial-arm hold. Their complete command tapes and all failures are retained. +The new controller keeps the original native mechanics, gains, force caps and +scorer. Probe-only uses the identical acquisition test/retry as contact history, +then removes postqualification carry monitoring only. + +Four history attempts resumed after closed reassessment and completed the task. +They contain five holds and five resume events; one heavier-block task needed +two holds. This is observed recovery within those attempts. Only two placements +improve over both paired alternatives; the two moderate-friction 40 g tasks +already succeed without intervention. They take 2.837 and 2.903 additional +simulated seconds versus probe-only. Six history acquisition retries all fail. + +All five resume windows show loaded, unsupported contact. Four pass a separate +recorded absolute TCP peak-speed threshold of 10 mm/s. The first resume in the +heavier-block layout01 case fails that low-motion check and is followed by the +second hold. Relative settling and low absolute movement are different measures. + +Requested target scaling is not a physical speed limit. Two slowdown phases end +early after 80 ms and 20 ms on bilateral contact loss; their 100 ms after-windows +include part of the hold. Across five holds, actual mean TCP speed during the +first 100 ms is 11.248–33.074 mm/s, and mean speed across the whole 220–240 ms +hold is 7.211–20.503 mm/s. Native inertia remains. Full before/after and intervening +TCP/object motion windows are recorded rather than assuming an instantaneous stop. + +## Reproduce and inspect + +[Installation and local run guide](../../docs/piper-contact-memory-v03.md). +Inspect the complete original bundle, not this parent directory: + +```sh +dvidia-piper-contact inspect benchmarks/piper-contact-v03-20261011/receipt +``` + +Frozen runtime: `c8868c873f075116b71d908d464890e09778726b`. +Fresh confirmation seed: **813407**. Two shared XY layouts, three frictions, +two masses and seven variants produce 84 attempts. Each retains 20 simulated +seconds, 1,000 issued commands and 1,001 native states. All eleven installed-wheel +runtime sources matched the frozen source before execution with OS process-level +network access denied. The complete byte-identical 90-file receipt includes all +84 deterministic gzip JSON trajectories, protocol, report, original seal and MIT +model notices. Execution and publication records remain outside that seal. + +The entire installed command simulated 1,680 seconds in **213.620 wall seconds**, +including startup, evaluation, compression, report output and final inspection. +Individual attempts took 1.269–5.017 seconds. Per-attempt control p95 ranged +1.369–8.316 ms, but **75 of 84,000** computation windows exceeded 20 ms; the +maximum was **225.096 ms**. No warnings or prohibited-contact ticks occurred. +These are CPU computation measurements, not sensor-to-actuator reaction times. + +Measured host: macOS 26.5.2 arm64, ten reported logical CPUs, Python 3.12.9, +MuJoCo 3.15.0, NumPy 2.5.3, one OpenBLAS/OpenMP thread, no GPU workload. +Process peak RSS was 808,239,104 bytes; the whole-command child-process measure +reported the same high-water value. This is not a minimum RAM specification. +Host load was uncontrolled. Every attempt retains timing summaries, maxima and +miss counts; raw per-decision wall-time samples are not retained. + +The [13-attempt development appendix](../piper-contact-development-20261011/README.md) +retains every exploratory trace and source snapshot separately. No controller +threshold was tuned on this confirmation cohort. This controller uses privileged +simulator poses/contact forces; it does not learn a skill from footage, infer +material properties, simulate deformation, implement calibrated sensing or +qualify a physical robot. + +[Full readable report](receipt/report.html) · [Exact report](receipt/report.json) · +[Execution measurement](execution.json) · [Source provenance](provenance.json) · +[Research article](https://research.dvidia.org/papers/piper-contact-history-v03/) · +[Hugging Face lab](https://huggingface.co/spaces/Dvidia/robot-simulation-lab) + +[Immutable hosted original bundle](https://huggingface.co/spaces/Dvidia/robot-simulation-lab/tree/a6bf57fd64e61486dafaa93fd96168f953ccff80/tasks/piper-contact-v03) · [Verified publication receipt](huggingface-publication.json) diff --git a/benchmarks/piper-contact-v03-20261011/execution.json b/benchmarks/piper-contact-v03-20261011/execution.json new file mode 100644 index 0000000..9346402 --- /dev/null +++ b/benchmarks/piper-contact-v03-20261011/execution.json @@ -0,0 +1,16 @@ +{ + "schema": "dvidia.local-benchmark-execution/v1", + "source_commit": "c8868c873f075116b71d908d464890e09778726b", + "cohort": "confirmation", + "seed": 813407, + "returncode": 0, + "execution": "Installed wheel CLI, OS process-level network denial; local pinned assets; PYTHONPATH unset", + "threads": { + "OPENBLAS_NUM_THREADS": "1", + "OMP_NUM_THREADS": "1" + }, + "command_wall_seconds": 213.61952029098757, + "child_lifetime_peak_rss_bytes": 808239104, + "memory_scope": "macOS RUSAGE_CHILDREN high-water RSS; includes native benchmark and final bundle inspection; preceding git process also belongs to child lifetime", + "wall_scope": "Whole installed command including startup, all eighty-four native attempts, evaluation, compression, report serialization and final inspection. Excludes wheel installation, asset provisioning, browser rendering and publication. Host load uncontrolled." +} diff --git a/benchmarks/piper-contact-v03-20261011/huggingface-publication.json b/benchmarks/piper-contact-v03-20261011/huggingface-publication.json new file mode 100644 index 0000000..35707d5 --- /dev/null +++ b/benchmarks/piper-contact-v03-20261011/huggingface-publication.json @@ -0,0 +1,10 @@ +{ + "repo_id": "Dvidia/robot-simulation-lab", + "repo_type": "space", + "commit": "a6bf57fd64e61486dafaa93fd96168f953ccff80", + "url": "https://huggingface.co/spaces/Dvidia/robot-simulation-lab", + "verified_files": 203, + "scope": "Recorded native simulation evidence; no live physics, learned policy or physical robot qualification", + "plan_sha256": "d6750559862dbc2dbd0a21b7687a8624e461a73b2b4675b845c7eb2f61e7be36", + "removed_files": [] +} diff --git a/benchmarks/piper-contact-v03-20261011/provenance.json b/benchmarks/piper-contact-v03-20261011/provenance.json new file mode 100644 index 0000000..042bef6 --- /dev/null +++ b/benchmarks/piper-contact-v03-20261011/provenance.json @@ -0,0 +1,12 @@ +{ + "kind": "dvidia.piper-contact-publication/v0.3", + "complete_bundle": true, + "source_commit": "c8868c873f075116b71d908d464890e09778726b", + "receipt_integrity_sha256": "a539d7d9ab37a18007135915e2702fe3ebb33cc2d9f6ede98f759892b7179740", + "execution_sha256": "4116344aebb4baf0e1aed027ef26fe161a8621d4f24216d1f8f58f2ecd2de34c", + "development_appendix": "../piper-contact-development-20261011", + "confirmation_attempts": 84, + "huggingface_commit": "a6bf57fd64e61486dafaa93fd96168f953ccff80", + "huggingface_verified_files": 203, + "publication_source_commit": "2a5fceaea8c2c7eeae808ea6656233d2a7f433fe" +} diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout00--baseline_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout00--baseline_open_jaw.json.gz new file mode 100644 index 0000000..2880d3e Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout00--baseline_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout00--baseline_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout00--baseline_placement.json.gz new file mode 100644 index 0000000..3c32387 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout00--baseline_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout00--history_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout00--history_open_jaw.json.gz new file mode 100644 index 0000000..29e40da Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout00--history_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout00--history_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout00--history_placement.json.gz new file mode 100644 index 0000000..fd3d8f9 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout00--history_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout00--hold.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout00--hold.json.gz new file mode 100644 index 0000000..ed5a97a Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout00--hold.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout00--probe_only_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout00--probe_only_open_jaw.json.gz new file mode 100644 index 0000000..22cad38 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout00--probe_only_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout00--probe_only_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout00--probe_only_placement.json.gz new file mode 100644 index 0000000..f31c0a0 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout00--probe_only_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout01--baseline_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout01--baseline_open_jaw.json.gz new file mode 100644 index 0000000..d8b5628 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout01--baseline_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout01--baseline_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout01--baseline_placement.json.gz new file mode 100644 index 0000000..e1efcfa Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout01--baseline_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout01--history_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout01--history_open_jaw.json.gz new file mode 100644 index 0000000..293e5ff Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout01--history_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout01--history_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout01--history_placement.json.gz new file mode 100644 index 0000000..59d182a Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout01--history_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout01--hold.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout01--hold.json.gz new file mode 100644 index 0000000..95e8407 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout01--hold.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout01--probe_only_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout01--probe_only_open_jaw.json.gz new file mode 100644 index 0000000..c6dda7c Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout01--probe_only_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout01--probe_only_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout01--probe_only_placement.json.gz new file mode 100644 index 0000000..1612653 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass040-layout01--probe_only_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout00--baseline_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout00--baseline_open_jaw.json.gz new file mode 100644 index 0000000..6b50223 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout00--baseline_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout00--baseline_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout00--baseline_placement.json.gz new file mode 100644 index 0000000..9c87881 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout00--baseline_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout00--history_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout00--history_open_jaw.json.gz new file mode 100644 index 0000000..a0367ed Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout00--history_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout00--history_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout00--history_placement.json.gz new file mode 100644 index 0000000..b1d9712 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout00--history_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout00--hold.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout00--hold.json.gz new file mode 100644 index 0000000..27f8ce3 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout00--hold.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout00--probe_only_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout00--probe_only_open_jaw.json.gz new file mode 100644 index 0000000..5f4c35b Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout00--probe_only_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout00--probe_only_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout00--probe_only_placement.json.gz new file mode 100644 index 0000000..64f87e2 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout00--probe_only_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout01--baseline_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout01--baseline_open_jaw.json.gz new file mode 100644 index 0000000..7979985 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout01--baseline_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout01--baseline_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout01--baseline_placement.json.gz new file mode 100644 index 0000000..302d29a Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout01--baseline_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout01--history_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout01--history_open_jaw.json.gz new file mode 100644 index 0000000..7bfb918 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout01--history_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout01--history_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout01--history_placement.json.gz new file mode 100644 index 0000000..3534bf3 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout01--history_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout01--hold.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout01--hold.json.gz new file mode 100644 index 0000000..7de4d77 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout01--hold.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout01--probe_only_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout01--probe_only_open_jaw.json.gz new file mode 100644 index 0000000..4284064 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout01--probe_only_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout01--probe_only_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout01--probe_only_placement.json.gz new file mode 100644 index 0000000..a84c53e Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction015-mass060-layout01--probe_only_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout00--baseline_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout00--baseline_open_jaw.json.gz new file mode 100644 index 0000000..fb9d236 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout00--baseline_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout00--baseline_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout00--baseline_placement.json.gz new file mode 100644 index 0000000..c240652 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout00--baseline_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout00--history_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout00--history_open_jaw.json.gz new file mode 100644 index 0000000..46d6e6b Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout00--history_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout00--history_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout00--history_placement.json.gz new file mode 100644 index 0000000..9c0afab Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout00--history_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout00--hold.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout00--hold.json.gz new file mode 100644 index 0000000..7277c0a Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout00--hold.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout00--probe_only_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout00--probe_only_open_jaw.json.gz new file mode 100644 index 0000000..0b82c34 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout00--probe_only_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout00--probe_only_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout00--probe_only_placement.json.gz new file mode 100644 index 0000000..06f5f1a Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout00--probe_only_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout01--baseline_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout01--baseline_open_jaw.json.gz new file mode 100644 index 0000000..cf3d9dc Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout01--baseline_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout01--baseline_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout01--baseline_placement.json.gz new file mode 100644 index 0000000..00109d9 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout01--baseline_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout01--history_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout01--history_open_jaw.json.gz new file mode 100644 index 0000000..19f3d85 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout01--history_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout01--history_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout01--history_placement.json.gz new file mode 100644 index 0000000..0c4df9f Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout01--history_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout01--hold.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout01--hold.json.gz new file mode 100644 index 0000000..fb12428 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout01--hold.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout01--probe_only_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout01--probe_only_open_jaw.json.gz new file mode 100644 index 0000000..8e67244 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout01--probe_only_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout01--probe_only_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout01--probe_only_placement.json.gz new file mode 100644 index 0000000..d413774 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass040-layout01--probe_only_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout00--baseline_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout00--baseline_open_jaw.json.gz new file mode 100644 index 0000000..abf0bdf Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout00--baseline_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout00--baseline_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout00--baseline_placement.json.gz new file mode 100644 index 0000000..a0d63ed Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout00--baseline_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout00--history_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout00--history_open_jaw.json.gz new file mode 100644 index 0000000..b9d952f Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout00--history_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout00--history_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout00--history_placement.json.gz new file mode 100644 index 0000000..60e8b00 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout00--history_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout00--hold.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout00--hold.json.gz new file mode 100644 index 0000000..9577efc Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout00--hold.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout00--probe_only_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout00--probe_only_open_jaw.json.gz new file mode 100644 index 0000000..baaaa5b Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout00--probe_only_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout00--probe_only_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout00--probe_only_placement.json.gz new file mode 100644 index 0000000..c09f048 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout00--probe_only_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout01--baseline_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout01--baseline_open_jaw.json.gz new file mode 100644 index 0000000..548ad0b Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout01--baseline_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout01--baseline_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout01--baseline_placement.json.gz new file mode 100644 index 0000000..6ea871f Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout01--baseline_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout01--history_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout01--history_open_jaw.json.gz new file mode 100644 index 0000000..e732957 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout01--history_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout01--history_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout01--history_placement.json.gz new file mode 100644 index 0000000..0471f86 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout01--history_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout01--hold.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout01--hold.json.gz new file mode 100644 index 0000000..3471061 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout01--hold.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout01--probe_only_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout01--probe_only_open_jaw.json.gz new file mode 100644 index 0000000..3a6cd94 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout01--probe_only_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout01--probe_only_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout01--probe_only_placement.json.gz new file mode 100644 index 0000000..fd84748 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction055-mass060-layout01--probe_only_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout00--baseline_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout00--baseline_open_jaw.json.gz new file mode 100644 index 0000000..3c13684 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout00--baseline_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout00--baseline_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout00--baseline_placement.json.gz new file mode 100644 index 0000000..da24450 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout00--baseline_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout00--history_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout00--history_open_jaw.json.gz new file mode 100644 index 0000000..5db04cd Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout00--history_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout00--history_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout00--history_placement.json.gz new file mode 100644 index 0000000..95b02e9 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout00--history_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout00--hold.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout00--hold.json.gz new file mode 100644 index 0000000..e260651 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout00--hold.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout00--probe_only_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout00--probe_only_open_jaw.json.gz new file mode 100644 index 0000000..364cafb Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout00--probe_only_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout00--probe_only_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout00--probe_only_placement.json.gz new file mode 100644 index 0000000..5fbe0ef Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout00--probe_only_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout01--baseline_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout01--baseline_open_jaw.json.gz new file mode 100644 index 0000000..85f84d9 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout01--baseline_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout01--baseline_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout01--baseline_placement.json.gz new file mode 100644 index 0000000..da1d0ca Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout01--baseline_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout01--history_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout01--history_open_jaw.json.gz new file mode 100644 index 0000000..77cb634 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout01--history_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout01--history_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout01--history_placement.json.gz new file mode 100644 index 0000000..7f1e7da Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout01--history_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout01--hold.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout01--hold.json.gz new file mode 100644 index 0000000..eaa1048 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout01--hold.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout01--probe_only_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout01--probe_only_open_jaw.json.gz new file mode 100644 index 0000000..d47e613 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout01--probe_only_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout01--probe_only_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout01--probe_only_placement.json.gz new file mode 100644 index 0000000..64ee5b4 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass040-layout01--probe_only_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout00--baseline_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout00--baseline_open_jaw.json.gz new file mode 100644 index 0000000..ed52800 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout00--baseline_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout00--baseline_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout00--baseline_placement.json.gz new file mode 100644 index 0000000..05599ac Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout00--baseline_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout00--history_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout00--history_open_jaw.json.gz new file mode 100644 index 0000000..8983340 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout00--history_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout00--history_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout00--history_placement.json.gz new file mode 100644 index 0000000..2b9cab1 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout00--history_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout00--hold.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout00--hold.json.gz new file mode 100644 index 0000000..d41e666 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout00--hold.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout00--probe_only_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout00--probe_only_open_jaw.json.gz new file mode 100644 index 0000000..588504d Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout00--probe_only_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout00--probe_only_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout00--probe_only_placement.json.gz new file mode 100644 index 0000000..2598f16 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout00--probe_only_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout01--baseline_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout01--baseline_open_jaw.json.gz new file mode 100644 index 0000000..f45feea Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout01--baseline_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout01--baseline_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout01--baseline_placement.json.gz new file mode 100644 index 0000000..6b14732 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout01--baseline_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout01--history_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout01--history_open_jaw.json.gz new file mode 100644 index 0000000..b08a312 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout01--history_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout01--history_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout01--history_placement.json.gz new file mode 100644 index 0000000..befd82e Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout01--history_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout01--hold.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout01--hold.json.gz new file mode 100644 index 0000000..db9cba3 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout01--hold.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout01--probe_only_open_jaw.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout01--probe_only_open_jaw.json.gz new file mode 100644 index 0000000..369d341 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout01--probe_only_open_jaw.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout01--probe_only_placement.json.gz b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout01--probe_only_placement.json.gz new file mode 100644 index 0000000..a5719d9 Binary files /dev/null and b/benchmarks/piper-contact-v03-20261011/receipt/attempts/friction080-mass060-layout01--probe_only_placement.json.gz differ diff --git a/benchmarks/piper-contact-v03-20261011/receipt/integrity.json b/benchmarks/piper-contact-v03-20261011/receipt/integrity.json new file mode 100644 index 0000000..e277b8a --- /dev/null +++ b/benchmarks/piper-contact-v03-20261011/receipt/integrity.json @@ -0,0 +1 @@ +{"schema":"dvidia.piper-contact-integrity/v0.3","files":{"attempts/friction080-mass040-layout00--baseline_placement.json.gz":{"bytes":717053,"sha256":"2fc53bf3ed8fba42c16630a6c27f3e469efdbd887c7e34d2677ded35224a774e","encoding":"gzip","decoded_bytes":3330610,"decoded_sha256":"325bbf5481b574776531d4e0e720c82966f0a5ce589d2cb29e230d89dcc33fbe"},"attempts/friction080-mass040-layout00--baseline_open_jaw.json.gz":{"bytes":678483,"sha256":"abee8e64a63cf4ae034ac9a15040591e16d0a1435705a994d8175fa24fa8b16c","encoding":"gzip","decoded_bytes":3262405,"decoded_sha256":"5da6ae3164899f0f5fe39bc60788e0aa1f8ceee743a4c37dd6f648da8e6a7325"},"attempts/friction080-mass040-layout00--probe_only_placement.json.gz":{"bytes":797487,"sha256":"ab109673c5c072b8bc94e84a1b729c6d653742ac7ed85bfe92d4ac96eb08de7b","encoding":"gzip","decoded_bytes":4357922,"decoded_sha256":"bd0e49245682a5cc615dfd6554bda21069e9680c4c88010f1f35d928050c5b56"},"attempts/friction080-mass040-layout00--probe_only_open_jaw.json.gz":{"bytes":680454,"sha256":"9842fc92984e8c13b23d9a320c58a9800409c3d143cb1c9f39a8d9616520d5d6","encoding":"gzip","decoded_bytes":3265686,"decoded_sha256":"61f8f3cee810b90a75ebc401e2d7df6f7bd67112ce5a0072ba5025f27e9d0b0c"},"attempts/friction080-mass040-layout00--history_placement.json.gz":{"bytes":797521,"sha256":"01ac02f3c67a4c310562777ff3650fa2f7709539efe302248c228a9bab94c2be","encoding":"gzip","decoded_bytes":4358643,"decoded_sha256":"1b8c5d46184ba7541e9b44e91f37ca42b24b3c1025e5f94479a84c7f9b86ffaa"},"attempts/friction080-mass040-layout00--history_open_jaw.json.gz":{"bytes":680446,"sha256":"761b10be71aa8bc89bc4d60eafad7006d162b4cd77a7af5e3be4def286408c8a","encoding":"gzip","decoded_bytes":3265677,"decoded_sha256":"b0b8a9231da99c961aed14e2be21dab7256cf59f0a73ddfad9c4dc4573fad447"},"attempts/friction080-mass040-layout00--hold.json.gz":{"bytes":341977,"sha256":"f4486fe7585dd56d8106ac73a83d9e34ac598d8fa8d978c10de12d8a6e1cc403","encoding":"gzip","decoded_bytes":3068108,"decoded_sha256":"da3008e626da047361d190b76c5c45d8728658fbd0b1b87d0843e1093cf3f196"},"attempts/friction080-mass040-layout01--baseline_placement.json.gz":{"bytes":716362,"sha256":"46817658311e4345f1fa3dcae07e6f8cc626ce0fe8482291cc64b602d177eaf7","encoding":"gzip","decoded_bytes":3326781,"decoded_sha256":"a8bf85e28aaa2f7bb2aa548d0c2bfecc550f237e1c633ea9dce25c6f616c16d3"},"attempts/friction080-mass040-layout01--baseline_open_jaw.json.gz":{"bytes":678222,"sha256":"ab1c53b1f9513de54b2a78a3bc97aef131ffcf2aa0fc13b1c753e3e797e23a13","encoding":"gzip","decoded_bytes":3257880,"decoded_sha256":"1f5e6bd322119ce877d1a43ae19b420c56bdddf01a0efdeee688d5faebadacd0"},"attempts/friction080-mass040-layout01--probe_only_placement.json.gz":{"bytes":797388,"sha256":"912701b2827cbe272049e50fab036f78b829f0a3bb08f4b9b59ec9ce7a180608","encoding":"gzip","decoded_bytes":4355096,"decoded_sha256":"5034b6e5d64b81faa7c2e2c4caba82a3b4ffd4ce3745161231633a7df99051d3"},"attempts/friction080-mass040-layout01--probe_only_open_jaw.json.gz":{"bytes":679965,"sha256":"815c7fec9c57a4dc80f7806348e00e3910b3eec34a8aa07d986cb468268a55cb","encoding":"gzip","decoded_bytes":3260759,"decoded_sha256":"1bd2a47b40f725d581606a942ba4bba606e4ea80fdcf7c6bfa6b17c28e015c8a"},"attempts/friction080-mass040-layout01--history_placement.json.gz":{"bytes":797428,"sha256":"6f9322cdf87d2f5e6490e4f42fa89dd39b823882017d6d092323551fdc335804","encoding":"gzip","decoded_bytes":4355819,"decoded_sha256":"693b413de71dae04ba18c05aac0697a20a071e5d110652e4c85f920c20a55875"},"attempts/friction080-mass040-layout01--history_open_jaw.json.gz":{"bytes":679960,"sha256":"21b4266c697248ea8389c24a59c9caa6205f75ad81a63b95e2484339ccc01688","encoding":"gzip","decoded_bytes":3260747,"decoded_sha256":"5c8e25031f483e694c32ec4c0785d0348406b1dbddc80899e0aa2292e7af3f4e"},"attempts/friction080-mass040-layout01--hold.json.gz":{"bytes":341753,"sha256":"b77a3df0324bff00b1aafadbda54b51cbcc2a863332784a8d26c194017748f14","encoding":"gzip","decoded_bytes":3063663,"decoded_sha256":"afda013acb72190b5c7abab28632e2f8e9ecc11c653734709b6fdf25071ee8ad"},"attempts/friction080-mass060-layout00--baseline_placement.json.gz":{"bytes":689291,"sha256":"500a41bc2fd3a78b69655bad0f7f9b8e2a4cba0ed758f529ab8dd353a2d56062","encoding":"gzip","decoded_bytes":3260953,"decoded_sha256":"d2878b7799de42ee62537308de26fa14682d75b773652d8cb294d85aaf0f12c7"},"attempts/friction080-mass060-layout00--baseline_open_jaw.json.gz":{"bytes":671882,"sha256":"c7063b8b8cc2c65cb67698cd7866417eb32e0559535457fce9aef18d3bfa4572","encoding":"gzip","decoded_bytes":3272403,"decoded_sha256":"bf92f7a3873624078d9ae24c1cd6a12b89ce65b77b98fc6bfb5bbe99b29f79be"},"attempts/friction080-mass060-layout00--probe_only_placement.json.gz":{"bytes":767958,"sha256":"a7b5b04cbfc3bbd593eff4a1b9d2fe7bc7ae194e7e44c9fd7c85ca88d2f80e7a","encoding":"gzip","decoded_bytes":4280581,"decoded_sha256":"7c583d9b9d02d0827e304bab5b5bd8b29733650c044b1aed6da5fe5c0b65d02f"},"attempts/friction080-mass060-layout00--probe_only_open_jaw.json.gz":{"bytes":674269,"sha256":"1f1c2b189e9b7d6349ba437c6cb05a2ff2bc369139bd2080dda691bd9b39f8d4","encoding":"gzip","decoded_bytes":3274811,"decoded_sha256":"03d4acf5edf93be30e83cb1749e2bbb30dcd1be794ba1236e1dcd6bdfe3b37b2"},"attempts/friction080-mass060-layout00--history_placement.json.gz":{"bytes":821444,"sha256":"c9d37a72feef961cdfac73fd45e67f5c4a45ce37fdb7264189369accfc11d6f7","encoding":"gzip","decoded_bytes":4380211,"decoded_sha256":"d64d9274f49176781f7538c429e1522af6e1448bcad2cf6a162701ab2fd23691"},"attempts/friction080-mass060-layout00--history_open_jaw.json.gz":{"bytes":681290,"sha256":"cff3fc507c00d74968585b4783849b927779e01c6d8bc8ac31529961678b0a1a","encoding":"gzip","decoded_bytes":3266604,"decoded_sha256":"12648de7c2dc124e440a799970698ac5153ea806ea9e9b6f76fc92756be720eb"},"attempts/friction080-mass060-layout00--hold.json.gz":{"bytes":341389,"sha256":"f92db13f2222db3a72cb3d481d49692a259daf3c16bfbbe4931b6499e6a9c692","encoding":"gzip","decoded_bytes":3067217,"decoded_sha256":"4a7adbc621a131ea2e46bb37a4e1c3e70eae8deeda97978f35913868dddb992c"},"attempts/friction080-mass060-layout01--baseline_placement.json.gz":{"bytes":698920,"sha256":"977b5176ea31d9a7939583d2d2468662f1b923228c70808a0716cdca3d206c71","encoding":"gzip","decoded_bytes":3260881,"decoded_sha256":"ac04a774bef85e70d70f036f5cd0ccbba213205f912388924cd40ab73514a015"},"attempts/friction080-mass060-layout01--baseline_open_jaw.json.gz":{"bytes":678534,"sha256":"e6d3d1ec7149a83cbceb618902afea6c81c16a1559b71246f700808730dbd1ca","encoding":"gzip","decoded_bytes":3264574,"decoded_sha256":"4d083618a24b8a24a600f1de37fd7001bdea01d541f8beb16c877afe6e2ed157"},"attempts/friction080-mass060-layout01--probe_only_placement.json.gz":{"bytes":768512,"sha256":"f09e48e639460f9020968a9368b2426e82ef8275288232e9150df28bc5342708","encoding":"gzip","decoded_bytes":4281480,"decoded_sha256":"b4f51a18e725bb43862cadad6ff99f2fedc7977db078c0f5f0199b491cfc962c"},"attempts/friction080-mass060-layout01--probe_only_open_jaw.json.gz":{"bytes":673809,"sha256":"a0a43294393ef9d428c4738b73c09bcaab73c87bc185c5b04bc76bca93a21c6e","encoding":"gzip","decoded_bytes":3273327,"decoded_sha256":"3bbe6bdf46c0a06a28e079297b44458634ac0a8a8cc8509654e9019694eca2b1"},"attempts/friction080-mass060-layout01--history_placement.json.gz":{"bytes":823295,"sha256":"4fcb9465031e718dce618326889f53cf14d92d4840e23f757f7cd214e33d60ab","encoding":"gzip","decoded_bytes":4391735,"decoded_sha256":"979b50b465321ff48f0b1008bc853d44a4910c2699bf6189cb4f3113f4c090ee"},"attempts/friction080-mass060-layout01--history_open_jaw.json.gz":{"bytes":679655,"sha256":"bf1f65eb1fee08ca50d4069681de497a43b5516c83160259785787bb90bb4edf","encoding":"gzip","decoded_bytes":3266357,"decoded_sha256":"4b001064d5f163a3907a8334b648721d00da19f42aea22f71dbb7ec367ea8256"},"attempts/friction080-mass060-layout01--hold.json.gz":{"bytes":341226,"sha256":"ad7c377636c3ba915917ac6e61fd931b44ff106f0d72240f5dd5a3c8fbf0fd21","encoding":"gzip","decoded_bytes":3065554,"decoded_sha256":"e5323e47ae043fc1295298f6b5b72a9a0e6748b5c495c102d4afa3874a6863a4"},"attempts/friction055-mass040-layout00--baseline_placement.json.gz":{"bytes":704320,"sha256":"790ba5cf313e2aa1dc4e09a412eb1ebbcf556266361fcecb1cecd5fab053f2b6","encoding":"gzip","decoded_bytes":3277327,"decoded_sha256":"864784e5b67e1dac2f7eec177c4fe0bf7e579ee84b141108442cfc7c57540d4b"},"attempts/friction055-mass040-layout00--baseline_open_jaw.json.gz":{"bytes":677011,"sha256":"632f3b0b87f4e819a1ce0dd81b74cf94e74ee3b6f78b950e83aabbbd0596a16e","encoding":"gzip","decoded_bytes":3262769,"decoded_sha256":"ef046d1d7f02d59cc07ca10e7f914930ee9911b1dde37bbccf706da2e7a2e9d0"},"attempts/friction055-mass040-layout00--probe_only_placement.json.gz":{"bytes":786706,"sha256":"5379efc8e03f63cb0a89491641a742d1cb7f7d63ce432e304ea7d18b8f271eb0","encoding":"gzip","decoded_bytes":4309102,"decoded_sha256":"4cd39597ccae7270e87363a9f04fb1c3c91140cb679b97fe7d0004a5e8a98c5f"},"attempts/friction055-mass040-layout00--probe_only_open_jaw.json.gz":{"bytes":679118,"sha256":"d9bd9853b72c7fc56f6af01125c164b7de54d42ef3031d821eede85bb5f2928c","encoding":"gzip","decoded_bytes":3265769,"decoded_sha256":"d6d828bb970182d3208e02fa14c38179d8724868b20da65cefd3e564d23c078d"},"attempts/friction055-mass040-layout00--history_placement.json.gz":{"bytes":819981,"sha256":"280dc63dcd66b5852b2568b63118755db56c7c9533623d91c4b3d202dc19280d","encoding":"gzip","decoded_bytes":4383951,"decoded_sha256":"b3a50772f7fb6507f69c6d6cda1618b2503b7435213b43521192a53007330917"},"attempts/friction055-mass040-layout00--history_open_jaw.json.gz":{"bytes":680639,"sha256":"2cc81ddc658c0b393e070111f565c2f36144969c1a499b5dd67dd101290047ce","encoding":"gzip","decoded_bytes":3267761,"decoded_sha256":"a0e55914d9efed126568cd779ea864aba708917cbff16b9a474b4cc52a47120f"},"attempts/friction055-mass040-layout00--hold.json.gz":{"bytes":340541,"sha256":"a72dc3bc9490b637b8e8df024ef347cfb54f247f364e23ea1c5b12155bf1ce14","encoding":"gzip","decoded_bytes":3068055,"decoded_sha256":"bd6263f74550ca387be7587a426e468eab9291222419b453cfdbb6eb389dd4b8"},"attempts/friction055-mass040-layout01--baseline_placement.json.gz":{"bytes":705256,"sha256":"08277648a129603b23cb73e239bcf4f0e033cbf79e5a2dd19db0495fe1c79dbc","encoding":"gzip","decoded_bytes":3277678,"decoded_sha256":"b9a46174557fc9e8a219693f5638d52d98c1c645e93acede184911d37fa9f996"},"attempts/friction055-mass040-layout01--baseline_open_jaw.json.gz":{"bytes":677339,"sha256":"555a02167dce6f9a8b0c9129e9de8e8736e2bd36e7387973bcdbb6c6b0b398f0","encoding":"gzip","decoded_bytes":3259423,"decoded_sha256":"34eeaa69f518bf8f750694f28875ea706daf5de50691f881bb54b326bea017d4"},"attempts/friction055-mass040-layout01--probe_only_placement.json.gz":{"bytes":786475,"sha256":"14a4092bd4d024e739f2485a09e33f3d56a5c3b9c1b58eb7ba3f0e079acaabda","encoding":"gzip","decoded_bytes":4306284,"decoded_sha256":"474dfbfae978423fe54bc550f6f85407a6b95212e34822940e0d177c7f606a19"},"attempts/friction055-mass040-layout01--probe_only_open_jaw.json.gz":{"bytes":678933,"sha256":"f40ee5604a14b0dc49a83a8881c84f5e52cb2dccce4c4024f5c0bfd334001184","encoding":"gzip","decoded_bytes":3262552,"decoded_sha256":"400c0d53c660692f1c96c5e09c868dbd8176749522bc6a1d86d050142d128663"},"attempts/friction055-mass040-layout01--history_placement.json.gz":{"bytes":820755,"sha256":"d22ce372826b1ee93dd72200e46bea366c111088f83c52fdd41190b6b4550828","encoding":"gzip","decoded_bytes":4383828,"decoded_sha256":"68018831e657825975bdbd8a53b38a853140261fc9ff13a4eed5a6fd36be534f"},"attempts/friction055-mass040-layout01--history_open_jaw.json.gz":{"bytes":680967,"sha256":"8e67a8be31bf8203d8ca24fd9992730497ef6ce289c427a0aeb7986e49a25774","encoding":"gzip","decoded_bytes":3265076,"decoded_sha256":"c6e4e27eafe79d684bf3ae8bf6cdfa56260d254a21f213335fd68f637d52add9"},"attempts/friction055-mass040-layout01--hold.json.gz":{"bytes":340841,"sha256":"9116f1f4ae8dff9fa1f4f988ad87f98df5b6d49e41feb96cb4442b4206504407","encoding":"gzip","decoded_bytes":3064885,"decoded_sha256":"35271b9e8593ea029d9b1ba9ab8bc2eba8f8badc4fd133e0ad2168a64506d36f"},"attempts/friction055-mass060-layout00--baseline_placement.json.gz":{"bytes":685393,"sha256":"c431b8872b77971062961d0a65254eb6dbf1a363507b27d5f6ccd56bc26596cf","encoding":"gzip","decoded_bytes":3261137,"decoded_sha256":"f975fd44d5d9f3d353d8c748de2fa39c7ae45bcf58f15b3893c7ea6ec21f44c2"},"attempts/friction055-mass060-layout00--baseline_open_jaw.json.gz":{"bytes":669765,"sha256":"3356a93289dce435933114948a233ae2eee15554e482f86880d2006fc955f81a","encoding":"gzip","decoded_bytes":3267278,"decoded_sha256":"f47651ded7c57bd8274123eb69ede72f534556dd2ff390aacb6bb2b6415a4352"},"attempts/friction055-mass060-layout00--probe_only_placement.json.gz":{"bytes":728753,"sha256":"e50b2f899a9cf655940e3e3696059e1f00e527bbba6097a33ce03e49577c79b8","encoding":"gzip","decoded_bytes":4390521,"decoded_sha256":"61f0d83490ffd848dfc7fa6f18fceb6c40307029a139b431bff483dbd33e06bd"},"attempts/friction055-mass060-layout00--probe_only_open_jaw.json.gz":{"bytes":624764,"sha256":"ef464f20724b39cb8905c6920884e4430824721a7fd1a215e9499dc36fae9778","encoding":"gzip","decoded_bytes":3284605,"decoded_sha256":"f55b14788f4a999bced5ca00dacc36957cee0fe3507ad2c64c63afadcf06efe2"},"attempts/friction055-mass060-layout00--history_placement.json.gz":{"bytes":728746,"sha256":"aeda7dd6324e0895d5d15754ecec6b6448f728c18120ef23c66e3a9f2c2ceb36","encoding":"gzip","decoded_bytes":4390511,"decoded_sha256":"54dbebc94b18bf764a8413ad8221fda3b33cceb2a426537c579898d771ff78bf"},"attempts/friction055-mass060-layout00--history_open_jaw.json.gz":{"bytes":624759,"sha256":"ef9a76e338ff32c502cd1181225363bd237ae74b2d4d4cb9974b70d08e94f2ad","encoding":"gzip","decoded_bytes":3284589,"decoded_sha256":"ca0971b6128a7015fe323f9899c6a99587b63450351c59751354678ec2ae8772"},"attempts/friction055-mass060-layout00--hold.json.gz":{"bytes":339889,"sha256":"64763eafbe72166596b47874387fd15f14d5708c92e09cc12172977b7da67ccc","encoding":"gzip","decoded_bytes":3062395,"decoded_sha256":"be260b2d8587bbf14075408e2225ba1bb32baac6888d9e48b5997ac8043d5a90"},"attempts/friction055-mass060-layout01--baseline_placement.json.gz":{"bytes":684996,"sha256":"ef811e90c65bc85682b0b50bd0fdf035a1092d8e2b2e37d449f3834234c7b649","encoding":"gzip","decoded_bytes":3262690,"decoded_sha256":"4fd089b69f44da6ccf6ba96c95d4f962684f639908c25c6775bc95317bbdbc17"},"attempts/friction055-mass060-layout01--baseline_open_jaw.json.gz":{"bytes":670494,"sha256":"c8188e7217d66444084ebc52c2b6bfee0b6aa197eaa83be9435a5d4f74c3abc8","encoding":"gzip","decoded_bytes":3273192,"decoded_sha256":"2cde601b788c1755a6d9df848d6c15e0ff8c89313ce95c38642e0d5ff510f962"},"attempts/friction055-mass060-layout01--probe_only_placement.json.gz":{"bytes":729003,"sha256":"4fd688c4a614c8e3e00c981f9af607750fdbaaa5da4272555addff55d9a58ffb","encoding":"gzip","decoded_bytes":4394186,"decoded_sha256":"4946311a3d4810075014fd87b00a82ae949158f19c81f800d05c9803ef113d43"},"attempts/friction055-mass060-layout01--probe_only_open_jaw.json.gz":{"bytes":625561,"sha256":"c2816685d0ba96a268a2128841fc7e6c0290ceab5671fb1a0b59bb8be30bf850","encoding":"gzip","decoded_bytes":3291620,"decoded_sha256":"8729c037eafc1de9c12b0c078e71f84eb38698adaab69ab4766caa8c6712e0ea"},"attempts/friction055-mass060-layout01--history_placement.json.gz":{"bytes":728995,"sha256":"ee42ff7b567f9ad23f7d0507cdeed7eb6039b386b30ee351bee3168460e11caf","encoding":"gzip","decoded_bytes":4394176,"decoded_sha256":"ce43b8e95aa9e34a2cf9561f42e590a59db1a48df6d2466f0b2fd2daa3f5b093"},"attempts/friction055-mass060-layout01--history_open_jaw.json.gz":{"bytes":625555,"sha256":"a2cf3cb7633027826410630e479f079d9b426117ce2458f2a172433368c2ff93","encoding":"gzip","decoded_bytes":3291609,"decoded_sha256":"df7bb55541651981552638ca5247d98eee183e316f071ba22195e1220696ec49"},"attempts/friction055-mass060-layout01--hold.json.gz":{"bytes":340380,"sha256":"0fea6e59f0182b1d21bbf5646986138631efb3af40be571eb657d5b064bf2be3","encoding":"gzip","decoded_bytes":3067293,"decoded_sha256":"38484b5c3f830a79c9a6b9592021b6440597a0f842532caa3854a736c27052f1"},"attempts/friction015-mass040-layout00--baseline_placement.json.gz":{"bytes":680485,"sha256":"fd9057add8102ec1acf4d7c6dadd7b647d4f0b7717f5a20e818456be97bcd48a","encoding":"gzip","decoded_bytes":3269658,"decoded_sha256":"06f9e3ef232485052ffee8a4789e2f836d27081ac7f65ca1eb15e01e67043cf0"},"attempts/friction015-mass040-layout00--baseline_open_jaw.json.gz":{"bytes":667247,"sha256":"d264d3e37ed6a458acae3fd30656fa2f10b261c8cf88b5fe53effe51f99ea49a","encoding":"gzip","decoded_bytes":3270443,"decoded_sha256":"00148d307665166178e7d02cb629302771421a561267d1c26aaccb8b78e547de"},"attempts/friction015-mass040-layout00--probe_only_placement.json.gz":{"bytes":727958,"sha256":"379e23e005fdbad39f2b450a877d505d467d467eee75959e9122cf1ea41f1786","encoding":"gzip","decoded_bytes":4414502,"decoded_sha256":"e7c7858ac37cf707da58144efd421e8eb872004d18b154b9f8f05bbd67b3b456"},"attempts/friction015-mass040-layout00--probe_only_open_jaw.json.gz":{"bytes":620944,"sha256":"c736c2ce215342d755c50a0b8591b0690662d0ac2a8177e65d5dd23a5239a2f4","encoding":"gzip","decoded_bytes":3290734,"decoded_sha256":"cc21a5589217511cdfcaaf8644d665080ed72b567da1c02c5ec8c2a07dfae5e7"},"attempts/friction015-mass040-layout00--history_placement.json.gz":{"bytes":727955,"sha256":"c4044b186437f756a0734a5af8afdcb823d52bbdf6c6bde29b8bb53db83b97a7","encoding":"gzip","decoded_bytes":4414490,"decoded_sha256":"3a81653db48d579b4961b43e1ac469e4cbefdf86a46de971e077b32f1d58bf4a"},"attempts/friction015-mass040-layout00--history_open_jaw.json.gz":{"bytes":620944,"sha256":"96198f435a8799d844507f0d2cde6deec37e30c87de01c683974a96f698f751f","encoding":"gzip","decoded_bytes":3290720,"decoded_sha256":"c88661c695a5e8a3d8e2ce8304bbaaef4542efa6c3caf15640b96d8ba471d36e"},"attempts/friction015-mass040-layout00--hold.json.gz":{"bytes":337049,"sha256":"f8b9a27967c28be8665f8bd763ea3f2398b1fdc3ff9259efa6682afa0dc8329b","encoding":"gzip","decoded_bytes":3064825,"decoded_sha256":"b8a211cd158b4cc97554a86a2b3d1d4f6acba54bd7556b8aeaa07c995185b545"},"attempts/friction015-mass040-layout01--baseline_placement.json.gz":{"bytes":680538,"sha256":"f06b3a1567026ea8bfe905dc6f6bb4ae01e4a8d87437b2728d482d173498c3b6","encoding":"gzip","decoded_bytes":3265999,"decoded_sha256":"acbf4a4eb28dfd705ee271653ca590a36456d9c21ff63a6adc4005a776a30df9"},"attempts/friction015-mass040-layout01--baseline_open_jaw.json.gz":{"bytes":667281,"sha256":"e6c9414bfaaf8e493dc3500a5e4579c8cc82d20199b16f4cbfc57c3dab6876e2","encoding":"gzip","decoded_bytes":3267530,"decoded_sha256":"3ba51c5b4b785baba8c9f4964614ed36873ec9bce7582cdbbf8f7de3aca18658"},"attempts/friction015-mass040-layout01--probe_only_placement.json.gz":{"bytes":727152,"sha256":"556929145bdc96127a4410a9e8ded4af2f632ce1639a87c8470aa761a4d48580","encoding":"gzip","decoded_bytes":4412893,"decoded_sha256":"940e1c5ea9567d36c9c518bc55bdbb30b11dc7300812aa3b8b39ec3afc888eb7"},"attempts/friction015-mass040-layout01--probe_only_open_jaw.json.gz":{"bytes":620946,"sha256":"e8857c0bc277cf0870e0358a9189cdc416a0728be018824e0e4479808c79e8b4","encoding":"gzip","decoded_bytes":3286542,"decoded_sha256":"4b0d433f6cf9a13d0dbb9785f6da93cd7b4b57585285c7d3769f4150ce9b3f18"},"attempts/friction015-mass040-layout01--history_placement.json.gz":{"bytes":727145,"sha256":"cd95fc01d0fca4af15d3c42bc692d519eed3aa7881056fe0d550a1fc64d30a97","encoding":"gzip","decoded_bytes":4412879,"decoded_sha256":"315801f941ed5416ebc737076531a53a455e11460f4a1fbcb92148c24305cda3"},"attempts/friction015-mass040-layout01--history_open_jaw.json.gz":{"bytes":620943,"sha256":"0ba54d3a1013a383a2aa2ac2d82c38a42bcc00d3ddebfc846ab6a479879d1d77","encoding":"gzip","decoded_bytes":3286530,"decoded_sha256":"ffaf0c8df7d7227277519930a72b3865e6b772815c7087675c57ece477a6e0b9"},"attempts/friction015-mass040-layout01--hold.json.gz":{"bytes":337228,"sha256":"b0bf06711282ea372574f3c1e96e818f61d39d24e0b851604f807029e6b873be","encoding":"gzip","decoded_bytes":3061679,"decoded_sha256":"8808ab941bc4b627f8faf4962e7c76e05a04ed08c1fb162ed6ee0be068089773"},"attempts/friction015-mass060-layout00--baseline_placement.json.gz":{"bytes":679584,"sha256":"e00c548516aa009a1a3fbc39efe2aca07e06d9b18d87a0efe6fb47079f1f03b8","encoding":"gzip","decoded_bytes":3264511,"decoded_sha256":"daf32f26c1900e6143e823c4bae23ae5d95dfa95339c25e11708ffc331011458"},"attempts/friction015-mass060-layout00--baseline_open_jaw.json.gz":{"bytes":666431,"sha256":"19e1031fe267732e3e7898f540b6427e5b01444119f680cc4c3c5bba8e1756e5","encoding":"gzip","decoded_bytes":3266731,"decoded_sha256":"5e934c8e3c09524d304709ede930468847361890316daa944a516c4a46990410"},"attempts/friction015-mass060-layout00--probe_only_placement.json.gz":{"bytes":725803,"sha256":"6cc0bf25a144228e9e406682c0e7293f5b8a16d5ef95fb0527842dfc7ef47afd","encoding":"gzip","decoded_bytes":4409861,"decoded_sha256":"95a149f61b00ab4ac83eeace842697cbfff0c4abd3859a200ef01714108e8ff5"},"attempts/friction015-mass060-layout00--probe_only_open_jaw.json.gz":{"bytes":620244,"sha256":"3987e0ccee23ddf5e813c8c3070bb0306cc918206698d88227d99d31d93d8180","encoding":"gzip","decoded_bytes":3286326,"decoded_sha256":"3cc5c86a945b08dde8cd2bf8647a9d51777dbe201f4b77b4ec81af469ae9ff30"},"attempts/friction015-mass060-layout00--history_placement.json.gz":{"bytes":725802,"sha256":"7bfe421caacc039bc878e17de1afc680570e23dde387d192ccc821d77f9dfe5f","encoding":"gzip","decoded_bytes":4409852,"decoded_sha256":"798b9fa23df066611e3f01d0469b53769ab72358cb2a4bc91545fd722b9c06f0"},"attempts/friction015-mass060-layout00--history_open_jaw.json.gz":{"bytes":620236,"sha256":"9c86860be775d4375b4dfd080a9b8649c344fac41d02a01cc47fcafcc9173996","encoding":"gzip","decoded_bytes":3286314,"decoded_sha256":"65ccd92d07563318269ec99536ab8482742466fbbc7ab7bb857ac1ff4c236deb"},"attempts/friction015-mass060-layout00--hold.json.gz":{"bytes":336145,"sha256":"dc896e6480a7b48ab60b4fad2ff02af2d36474fd1eea506eaf338b23dc639b62","encoding":"gzip","decoded_bytes":3061279,"decoded_sha256":"e6fc1081009405fb967df12e7ab057dc2e1c15cdc37311ede6e437515304c60a"},"attempts/friction015-mass060-layout01--baseline_placement.json.gz":{"bytes":679432,"sha256":"9a0fe4e07857a0aee6fb63e8c2cfbb13dfe8734e9be953967309c1e27315d9ce","encoding":"gzip","decoded_bytes":3265437,"decoded_sha256":"34032f13b0a431fe6407bb917fd48ed4ac84fd1afa31006d8870bed23d7b5493"},"attempts/friction015-mass060-layout01--baseline_open_jaw.json.gz":{"bytes":666251,"sha256":"002f696c5a895e4200f476112cbbb6d5c4f4fe38d234e5e633bb41d2ffe86a85","encoding":"gzip","decoded_bytes":3268201,"decoded_sha256":"cc8c3db4909da257e0f37a3d5b1544006e6b0948471f99cfc2e2628eaafeddde"},"attempts/friction015-mass060-layout01--probe_only_placement.json.gz":{"bytes":725280,"sha256":"2279891e47e037a564720fecfca946a95fb4714505c5b13be64912be3c1ccebf","encoding":"gzip","decoded_bytes":4409777,"decoded_sha256":"ffe3765458707f94a67cc782ecf3505459ea67ba9ff637b60e33352a12283862"},"attempts/friction015-mass060-layout01--probe_only_open_jaw.json.gz":{"bytes":619970,"sha256":"fcc59852ebcea603f5a04c48b4ee2d0cc30fefbe9745ff6693ae2768c17de768","encoding":"gzip","decoded_bytes":3289115,"decoded_sha256":"029c8eb97bbaf99280bef01d3a15774fb71652df60984a04fad87bd8485f1b9f"},"attempts/friction015-mass060-layout01--history_placement.json.gz":{"bytes":725272,"sha256":"a3cbf8868e7c91b9044dbdbd2ae842892ac86965414885877bdd8c346e2a1ce3","encoding":"gzip","decoded_bytes":4409764,"decoded_sha256":"8082248b4c24feda0aaab4d0adebf58b56ffb3f6dd4f3886081f2020a86c6fb4"},"attempts/friction015-mass060-layout01--history_open_jaw.json.gz":{"bytes":619963,"sha256":"fe956f43039d966ea569e488088e913fbbc26cfd6a3656dde6f79b5424e8cf24","encoding":"gzip","decoded_bytes":3289103,"decoded_sha256":"da9e403fe4784811b0348792e8e3196b72486157c52ae3eec0abca8292fc143a"},"attempts/friction015-mass060-layout01--hold.json.gz":{"bytes":336388,"sha256":"564399b0f20021b352cf3fdce2e2cca9ec1e67f867f7f43cca9d70ef38f6c917","encoding":"gzip","decoded_bytes":3062836,"decoded_sha256":"5deae1cd74977049e7a29ade52a505c539bd75fe246784646dfa935b39b84607"},"protocol.json":{"bytes":20317,"sha256":"16bc411d816fa1a0cff0125482e8ca3da2b7c0dbbe82c975ab02966e41274716"},"report.json":{"bytes":1127185,"sha256":"2ca43a89d2c8afe2d62af6179f5be2893ad61cc05193e029a5b8887d2b0eff80"},"report.html":{"bytes":35634,"sha256":"503878b663ff8df51ffc51b81ff551ecb68a579759d898583c66b04c42ec42a9"},"licenses/agilex_piper/LICENSE":{"bytes":1065,"sha256":"e32d78fd3761052ab0b2bb42fef8a7a9ad3f298d315d305333c349d2aff1f134"},"licenses/agilex_piper/README.md":{"bytes":1681,"sha256":"ab0d218758ec6c298417407962f49179e369236e8f316dbaa7671756d6f8eb77"}}} diff --git a/benchmarks/piper-contact-v03-20261011/receipt/licenses/agilex_piper/LICENSE b/benchmarks/piper-contact-v03-20261011/receipt/licenses/agilex_piper/LICENSE new file mode 100644 index 0000000..1ace5a2 --- /dev/null +++ b/benchmarks/piper-contact-v03-20261011/receipt/licenses/agilex_piper/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 RosenYin + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/benchmarks/piper-contact-v03-20261011/receipt/licenses/agilex_piper/README.md b/benchmarks/piper-contact-v03-20261011/receipt/licenses/agilex_piper/README.md new file mode 100644 index 0000000..7a300b8 --- /dev/null +++ b/benchmarks/piper-contact-v03-20261011/receipt/licenses/agilex_piper/README.md @@ -0,0 +1,39 @@ +## AgileX PiPER Description (MJCF) + +> [!IMPORTANT] +> Requires MuJoCo 2.3.4 or later. + +## Changelog + +See [CHANGELOG.md](./CHANGELOG.md) for a full history of changes. + +### Overview + +This package contains a simplified robot description (MJCF) of the [AgileX PiPER](https://global.agilex.ai/products/piper). It is derived from the publicly available [model](https://github.com/agilexrobotics/Piper_ros/tree/ros-noetic-no-aloha/src/piper_description/urdf). + +

+ +

+ +### Derivation steps + +1. Added ` ` to the URDF's + `` clause in order to preserve visual geometries. +2. Loaded the URDF into MuJoCo and saved a corresponding MJCF. +3. Converted the the .objs to .xmls using [obj2mjcf](https://github.com/kevinzakka/obj2mjcf) and replaced the original stls with them (since each obj in mujoco can have 1 color). +4. Merged similar materials between the .objs +5. Created a `` section to define common properties for joints, actuators, and geoms. +6. Added an equality constraint so that the right finger mimics the position of the left finger. +7. Manually designed box collision geoms for the gripper. +8. Added `exclude` clause to prevent collisions between `base_link` and `link1`. +9. Added position controlled actuators. +10. Added `impratio=10` and `cone=elliptic` for better noslip. +11. Added `scene.xml` which includes the robot, with a textured groundplane, skybox, and haze. + +## License + +This model is released under an [MIT License](LICENSE). + +## Acknowledgement + +This model was graciously contributed by [Omar Rayyan](https://orayyan.com/). diff --git a/benchmarks/piper-contact-v03-20261011/receipt/protocol.json b/benchmarks/piper-contact-v03-20261011/receipt/protocol.json new file mode 100644 index 0000000..e8cd5f1 --- /dev/null +++ b/benchmarks/piper-contact-v03-20261011/receipt/protocol.json @@ -0,0 +1 @@ +{"schema":"dvidia.piper-contact-protocol/v0.3","profile":"piper-rigid-block-task-v0.1","scope":"Paired authored PiPER contact-history pilot, privileged native state and synthetic rigid blocks. No learned policy, sensor pipeline, calibrated contact, shoe competence or physical robot qualification.","physical_robot_ready":false,"learned_policy":false,"cohort":"confirmation","seed":813407,"scenes":[{"id":"friction080-mass040-layout00","layout_index":0,"stratum":"nominal","friction":0.8,"mass_kg":0.04,"seed":813407,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction080-mass040-layout01","layout_index":1,"stratum":"nominal","friction":0.8,"mass_kg":0.04,"seed":813408,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction080-mass060-layout00","layout_index":0,"stratum":"nominal","friction":0.8,"mass_kg":0.06,"seed":813409,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction080-mass060-layout01","layout_index":1,"stratum":"nominal","friction":0.8,"mass_kg":0.06,"seed":813410,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction055-mass040-layout00","layout_index":0,"stratum":"moderate_friction","friction":0.55,"mass_kg":0.04,"seed":813411,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction055-mass040-layout01","layout_index":1,"stratum":"moderate_friction","friction":0.55,"mass_kg":0.04,"seed":813412,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction055-mass060-layout00","layout_index":0,"stratum":"moderate_friction","friction":0.55,"mass_kg":0.06,"seed":813413,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction055-mass060-layout01","layout_index":1,"stratum":"moderate_friction","friction":0.55,"mass_kg":0.06,"seed":813414,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction015-mass040-layout00","layout_index":0,"stratum":"low_friction","friction":0.15,"mass_kg":0.04,"seed":813415,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction015-mass040-layout01","layout_index":1,"stratum":"low_friction","friction":0.15,"mass_kg":0.04,"seed":813416,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction015-mass060-layout00","layout_index":0,"stratum":"low_friction","friction":0.15,"mass_kg":0.06,"seed":813417,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction015-mass060-layout01","layout_index":1,"stratum":"low_friction","friction":0.15,"mass_kg":0.06,"seed":813418,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}}],"variants":["baseline_placement","baseline_open_jaw","probe_only_placement","probe_only_open_jaw","history_placement","history_open_jaw","hold"],"planned_attempts":84,"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"contact_contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"acquisition_contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"evaluation_contract":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","following_rise_m":0.01,"following_dwell_s":0.1,"qualification_lookahead_s":0.6,"local_offset_drift_limit_m":0.008,"post_alarm_window_s":0.1,"scope":"Independent recorded 20ms boundary proxies, not recomputed native physics or classifier accuracy. Following requires table-free object rise and stable TCP-local object offset, without controller predicates. Unresolved decisions and absent opportunities remain explicit. Alarm delays use simulator timestamps; wall computation is reported separately. Post-alarm path includes native servo motion while holding."},"motion_window_s":0.1,"settled_window_s":0.1,"settled_tcp_speed_limit_m_s":0.01,"minimum_settled_object_rise_m":0.006,"scope":"Independent recorded 20ms boundaries, not detector accuracy or physics recomputation. Motion windows retain actual native movement after commands, not instantaneous arrest. Settled, resumed and completed are separate; no observed true-slip opportunity is not a perfect score."},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","piper_task_benchmark.py":"d1294fac93bb42a26a654c6fd0950718e528cbf3cd96ffcd53118da0a1646776","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8","reference_replay.py":"f73731434d55bac150db16c7205d341a70b95ce13e582e7a23d11dee31b27a19","piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_grip_benchmark.py":"7ab72a8cbe77d4db96d3fa45087571e3e1d64f40fe92b6f37032936701f318e1","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c","piper_contact_benchmark.py":"6ebd44c3704cda8679335f988df0dcc7817b3f8da314b7a4fe8b3939215728bb"},"native_command_units":["rad","rad","rad","rad","rad","rad","m"],"simulation_asset_license":"MIT","layout_offset_limit_m":0.005,"timing_boundary":"Attempt wall includes asset verification, compilation, settling, authored planning/IK, physics, contact scoring and recorded state construction. Protocol/report/trace disk serialization, rendering, training, physical sensing, transport and actuation are excluded. Control computation windows are not sensor-to-actuator reaction times.","comparison":"Two shared XY layouts at each friction and mass; identical native mechanics and starting state within each scene. Baseline, acquisition probe-only and contact-history variants each have separately matched complete arm-tape/open-jaw controls, plus common hold. Probe-only and history share acquisition; only history adapts after qualification. All failures and full-duration aborts remain; invalid/incomplete tapes are never extended.","split_note":"Synthetic declared confirmation does not prove unseen scenes or physical reliability. Controller/evaluation parameters and sources are frozen before any native attempt."} diff --git a/benchmarks/piper-contact-v03-20261011/receipt/report.html b/benchmarks/piper-contact-v03-20261011/receipt/report.html new file mode 100644 index 0000000..778bf39 --- /dev/null +++ b/benchmarks/piper-contact-v03-20261011/receipt/report.html @@ -0,0 +1 @@ +DVIDIA · PiPER contact history comparison

DVIDIA RESEARCH

Probe, adapt, complete

Paired authored PiPER contact-history pilot, privileged native state and synthetic rigid blocks. No learned policy, sensor pipeline, calibrated contact, shoe competence or physical robot qualification.

confirmation · all 84 planned attempts retained.

Full report · Frozen protocol · Stored and decoded integrity

FrictionMass kgVariantCompletedAttemptedValidResumed and completedResumed, incomplete
0.80.04baseline_placement22200
0.80.04baseline_open_jaw02200
0.80.04probe_only_placement22200
0.80.04probe_only_open_jaw02200
0.80.04history_placement22200
0.80.04history_open_jaw02200
0.80.04hold02200
0.80.06baseline_placement02200
0.80.06baseline_open_jaw02200
0.80.06probe_only_placement02200
0.80.06probe_only_open_jaw02200
0.80.06history_placement22220
0.80.06history_open_jaw02200
0.80.06hold02200
0.550.04baseline_placement22200
0.550.04baseline_open_jaw02200
0.550.04probe_only_placement22200
0.550.04probe_only_open_jaw02200
0.550.04history_placement22220
0.550.04history_open_jaw02200
0.550.04hold02200
0.550.06baseline_placement02200
0.550.06baseline_open_jaw02200
0.550.06probe_only_placement02200
0.550.06probe_only_open_jaw02200
0.550.06history_placement02200
0.550.06history_open_jaw02200
0.550.06hold02200
0.150.04baseline_placement02200
0.150.04baseline_open_jaw02200
0.150.04probe_only_placement02200
0.150.04probe_only_open_jaw02200
0.150.04history_placement02200
0.150.04history_open_jaw02200
0.150.04hold02200
0.150.06baseline_placement02200
0.150.06baseline_open_jaw02200
0.150.06probe_only_placement02200
0.150.06probe_only_open_jaw02200
0.150.06history_placement02200
0.150.06history_open_jaw02200
0.150.06hold02200

Independent recorded 20ms boundaries, not detector accuracy or physics recomputation. Motion windows retain actual native movement after commands, not instantaneous arrest. Settled, resumed and completed are separate; no observed true-slip opportunity is not a perfect score.

Attempt wall includes asset verification, compilation, settling, authored planning/IK, physics, contact scoring and recorded state construction. Protocol/report/trace disk serialization, rendering, training, physical sensing, transport and actuation are excluded. Control computation windows are not sensor-to-actuator reaction times.

Every attempt

  • friction080-mass040-layout00--baseline_placement: completed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction080-mass040-layout00--baseline_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction080-mass040-layout00--probe_only_placement: completed · 11.78s following observed. Retries 0.
    11.18s probe started (slow_load_bearing_check), 11.78s acquisition qualified (sustained_table_free_probe) · complete JSON gzip
  • friction080-mass040-layout00--probe_only_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction080-mass040-layout00--history_placement: completed · 11.78s following observed. Retries 0.
    11.18s probe started (slow_load_bearing_check), 11.78s acquisition qualified (sustained_table_free_probe) · complete JSON gzip
  • friction080-mass040-layout00--history_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction080-mass040-layout00--hold: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction080-mass040-layout01--baseline_placement: completed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction080-mass040-layout01--baseline_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction080-mass040-layout01--probe_only_placement: completed · 11.76s following observed. Retries 0.
    11.16s probe started (slow_load_bearing_check), 11.76s acquisition qualified (sustained_table_free_probe) · complete JSON gzip
  • friction080-mass040-layout01--probe_only_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction080-mass040-layout01--history_placement: completed · 11.76s following observed. Retries 0.
    11.16s probe started (slow_load_bearing_check), 11.76s acquisition qualified (sustained_table_free_probe) · complete JSON gzip
  • friction080-mass040-layout01--history_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction080-mass040-layout01--hold: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction080-mass060-layout00--baseline_placement: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction080-mass060-layout00--baseline_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction080-mass060-layout00--probe_only_placement: failed · 11.80s following observed. Retries 0.
    11.18s probe started (slow_load_bearing_check), 11.80s acquisition qualified (sustained_table_free_probe) · complete JSON gzip
  • friction080-mass060-layout00--probe_only_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction080-mass060-layout00--history_placement: completed · 11.80s following observed. Retries 0.
    11.18s probe started (slow_load_bearing_check), 11.80s acquisition qualified (sustained_table_free_probe), 11.92s slowdown started (persistent_local_offset_trend), 12.00s reassessment started (persistent_bilateral_contact_loss), 12.24s carry resumed (sustained_loaded_relative_settling)
    11.92s slowdown started: actual TCP mean speed 93.13mm/s before → 88.10mm/s after; TCP path 8.81mm / object path 4.07mm over complete 100ms window; 12.00s reassessment started: actual TCP mean speed 108.51mm/s before → 14.64mm/s after; TCP path 1.46mm / object path 1.28mm over complete 100ms window; 12.24s carry resumed: actual TCP mean speed 3.99mm/s before → 26.94mm/s after; TCP path 2.69mm / object path 2.04mm over complete 100ms window · complete JSON gzip
  • friction080-mass060-layout00--history_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction080-mass060-layout00--hold: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction080-mass060-layout01--baseline_placement: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction080-mass060-layout01--baseline_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction080-mass060-layout01--probe_only_placement: failed · 11.78s following observed. Retries 0.
    11.16s probe started (slow_load_bearing_check), 11.78s acquisition qualified (sustained_table_free_probe) · complete JSON gzip
  • friction080-mass060-layout01--probe_only_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction080-mass060-layout01--history_placement: completed · 11.78s following observed. Retries 0.
    11.16s probe started (slow_load_bearing_check), 11.78s acquisition qualified (sustained_table_free_probe), 11.90s slowdown started (persistent_local_offset_trend), 11.92s reassessment started (persistent_bilateral_contact_loss), 12.16s carry resumed (sustained_loaded_relative_settling), 12.34s slowdown started (persistent_local_offset_trend), 12.46s reassessment started (bounded_slowdown_complete), 12.68s carry resumed (sustained_loaded_relative_settling)
    11.90s slowdown started: actual TCP mean speed 93.41mm/s before → 58.55mm/s after; TCP path 5.86mm / object path 2.54mm over complete 100ms window; 11.92s reassessment started: actual TCP mean speed 118.79mm/s before → 33.07mm/s after; TCP path 3.31mm / object path 2.13mm over complete 100ms window; 12.16s carry resumed: actual TCP mean speed 8.97mm/s before → 27.62mm/s after; TCP path 2.76mm / object path 1.35mm over complete 100ms window; 12.34s slowdown started: actual TCP mean speed 64.45mm/s before → 57.06mm/s after; TCP path 5.71mm / object path 5.44mm over complete 100ms window; 12.46s reassessment started: actual TCP mean speed 54.07mm/s before → 11.25mm/s after; TCP path 1.12mm / object path 1.13mm over complete 100ms window; 12.68s carry resumed: actual TCP mean speed 3.61mm/s before → 26.79mm/s after; TCP path 2.68mm / object path 2.01mm over complete 100ms window · complete JSON gzip
  • friction080-mass060-layout01--history_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction080-mass060-layout01--hold: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction055-mass040-layout00--baseline_placement: completed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction055-mass040-layout00--baseline_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction055-mass040-layout00--probe_only_placement: completed · 11.78s following observed. Retries 0.
    11.18s probe started (slow_load_bearing_check), 11.78s acquisition qualified (sustained_table_free_probe) · complete JSON gzip
  • friction055-mass040-layout00--probe_only_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction055-mass040-layout00--history_placement: completed · 11.78s following observed. Retries 0.
    11.18s probe started (slow_load_bearing_check), 11.78s acquisition qualified (sustained_table_free_probe), 11.92s slowdown started (persistent_local_offset_trend), 12.04s reassessment started (bounded_slowdown_complete), 12.26s carry resumed (sustained_loaded_relative_settling)
    11.92s slowdown started: actual TCP mean speed 123.95mm/s before → 97.23mm/s after; TCP path 9.72mm / object path 7.98mm over complete 100ms window; 12.04s reassessment started: actual TCP mean speed 78.40mm/s before → 13.33mm/s after; TCP path 1.33mm / object path 1.32mm over complete 100ms window; 12.26s carry resumed: actual TCP mean speed 3.35mm/s before → 28.13mm/s after; TCP path 2.81mm / object path 2.56mm over complete 100ms window · complete JSON gzip
  • friction055-mass040-layout00--history_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction055-mass040-layout00--hold: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction055-mass040-layout01--baseline_placement: completed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction055-mass040-layout01--baseline_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction055-mass040-layout01--probe_only_placement: completed · 11.76s following observed. Retries 0.
    11.16s probe started (slow_load_bearing_check), 11.76s acquisition qualified (sustained_table_free_probe) · complete JSON gzip
  • friction055-mass040-layout01--probe_only_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction055-mass040-layout01--history_placement: completed · 11.76s following observed. Retries 0.
    11.16s probe started (slow_load_bearing_check), 11.76s acquisition qualified (sustained_table_free_probe), 11.88s slowdown started (persistent_local_offset_trend), 12.00s reassessment started (bounded_slowdown_complete), 12.22s carry resumed (sustained_loaded_relative_settling)
    11.88s slowdown started: actual TCP mean speed 94.85mm/s before → 94.44mm/s after; TCP path 9.44mm / object path 7.40mm over complete 100ms window; 12.00s reassessment started: actual TCP mean speed 77.04mm/s before → 13.46mm/s after; TCP path 1.35mm / object path 1.33mm over complete 100ms window; 12.22s carry resumed: actual TCP mean speed 3.37mm/s before → 28.43mm/s after; TCP path 2.84mm / object path 2.60mm over complete 100ms window · complete JSON gzip
  • friction055-mass040-layout01--history_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction055-mass040-layout01--hold: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction055-mass060-layout00--baseline_placement: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction055-mass060-layout00--baseline_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction055-mass060-layout00--probe_only_placement: failed · no qualification decision. Retries 1. Abort: retry_budget_exhausted:object_not_following.
    11.18s probe started (slow_load_bearing_check), 11.56s alarm (object_not_following), 11.56s retry started (supported_object_only), 13.22s retry completed (open_recenter_complete), 14.10s probe started (slow_load_bearing_check), 14.48s alarm (object_not_following), 14.48s abort (retry_budget_exhausted:object_not_following) · complete JSON gzip
  • friction055-mass060-layout00--probe_only_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction055-mass060-layout00--history_placement: failed · no qualification decision. Retries 1. Abort: retry_budget_exhausted:object_not_following.
    11.18s probe started (slow_load_bearing_check), 11.56s alarm (object_not_following), 11.56s retry started (supported_object_only), 13.22s retry completed (open_recenter_complete), 14.10s probe started (slow_load_bearing_check), 14.48s alarm (object_not_following), 14.48s abort (retry_budget_exhausted:object_not_following) · complete JSON gzip
  • friction055-mass060-layout00--history_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction055-mass060-layout00--hold: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction055-mass060-layout01--baseline_placement: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction055-mass060-layout01--baseline_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction055-mass060-layout01--probe_only_placement: failed · no qualification decision. Retries 1. Abort: retry_budget_exhausted:relative_slip.
    11.16s probe started (slow_load_bearing_check), 11.54s alarm (object_not_following), 11.54s retry started (supported_object_only), 13.20s retry completed (open_recenter_complete), 14.08s probe started (slow_load_bearing_check), 14.46s alarm (relative_slip), 14.46s abort (retry_budget_exhausted:relative_slip) · complete JSON gzip
  • friction055-mass060-layout01--probe_only_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction055-mass060-layout01--history_placement: failed · no qualification decision. Retries 1. Abort: retry_budget_exhausted:relative_slip.
    11.16s probe started (slow_load_bearing_check), 11.54s alarm (object_not_following), 11.54s retry started (supported_object_only), 13.20s retry completed (open_recenter_complete), 14.08s probe started (slow_load_bearing_check), 14.46s alarm (relative_slip), 14.46s abort (retry_budget_exhausted:relative_slip) · complete JSON gzip
  • friction055-mass060-layout01--history_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction055-mass060-layout01--hold: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction015-mass040-layout00--baseline_placement: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction015-mass040-layout00--baseline_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction015-mass040-layout00--probe_only_placement: failed · no qualification decision. Retries 1. Abort: retry_budget_exhausted:object_not_following.
    11.18s probe started (slow_load_bearing_check), 11.52s alarm (object_not_following), 11.52s retry started (supported_object_only), 13.18s retry completed (open_recenter_complete), 14.06s probe started (slow_load_bearing_check), 14.42s alarm (object_not_following), 14.42s abort (retry_budget_exhausted:object_not_following) · complete JSON gzip
  • friction015-mass040-layout00--probe_only_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction015-mass040-layout00--history_placement: failed · no qualification decision. Retries 1. Abort: retry_budget_exhausted:object_not_following.
    11.18s probe started (slow_load_bearing_check), 11.52s alarm (object_not_following), 11.52s retry started (supported_object_only), 13.18s retry completed (open_recenter_complete), 14.06s probe started (slow_load_bearing_check), 14.42s alarm (object_not_following), 14.42s abort (retry_budget_exhausted:object_not_following) · complete JSON gzip
  • friction015-mass040-layout00--history_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction015-mass040-layout00--hold: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction015-mass040-layout01--baseline_placement: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction015-mass040-layout01--baseline_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction015-mass040-layout01--probe_only_placement: failed · no qualification decision. Retries 1. Abort: retry_budget_exhausted:object_not_following.
    11.16s probe started (slow_load_bearing_check), 11.50s alarm (object_not_following), 11.50s retry started (supported_object_only), 13.16s retry completed (open_recenter_complete), 14.04s probe started (slow_load_bearing_check), 14.40s alarm (object_not_following), 14.40s abort (retry_budget_exhausted:object_not_following) · complete JSON gzip
  • friction015-mass040-layout01--probe_only_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction015-mass040-layout01--history_placement: failed · no qualification decision. Retries 1. Abort: retry_budget_exhausted:object_not_following.
    11.16s probe started (slow_load_bearing_check), 11.50s alarm (object_not_following), 11.50s retry started (supported_object_only), 13.16s retry completed (open_recenter_complete), 14.04s probe started (slow_load_bearing_check), 14.40s alarm (object_not_following), 14.40s abort (retry_budget_exhausted:object_not_following) · complete JSON gzip
  • friction015-mass040-layout01--history_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction015-mass040-layout01--hold: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction015-mass060-layout00--baseline_placement: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction015-mass060-layout00--baseline_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction015-mass060-layout00--probe_only_placement: failed · no qualification decision. Retries 1. Abort: retry_budget_exhausted:object_not_following.
    11.18s probe started (slow_load_bearing_check), 11.54s alarm (object_not_following), 11.54s retry started (supported_object_only), 13.20s retry completed (open_recenter_complete), 14.08s probe started (slow_load_bearing_check), 14.44s alarm (object_not_following), 14.44s abort (retry_budget_exhausted:object_not_following) · complete JSON gzip
  • friction015-mass060-layout00--probe_only_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction015-mass060-layout00--history_placement: failed · no qualification decision. Retries 1. Abort: retry_budget_exhausted:object_not_following.
    11.18s probe started (slow_load_bearing_check), 11.54s alarm (object_not_following), 11.54s retry started (supported_object_only), 13.20s retry completed (open_recenter_complete), 14.08s probe started (slow_load_bearing_check), 14.44s alarm (object_not_following), 14.44s abort (retry_budget_exhausted:object_not_following) · complete JSON gzip
  • friction015-mass060-layout00--history_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction015-mass060-layout00--hold: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction015-mass060-layout01--baseline_placement: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction015-mass060-layout01--baseline_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction015-mass060-layout01--probe_only_placement: failed · no qualification decision. Retries 1. Abort: retry_budget_exhausted:object_not_following.
    11.16s probe started (slow_load_bearing_check), 11.50s alarm (object_not_following), 11.50s retry started (supported_object_only), 13.16s retry completed (open_recenter_complete), 14.04s probe started (slow_load_bearing_check), 14.40s alarm (object_not_following), 14.40s abort (retry_budget_exhausted:object_not_following) · complete JSON gzip
  • friction015-mass060-layout01--probe_only_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction015-mass060-layout01--history_placement: failed · no qualification decision. Retries 1. Abort: retry_budget_exhausted:object_not_following.
    11.16s probe started (slow_load_bearing_check), 11.50s alarm (object_not_following), 11.50s retry started (supported_object_only), 13.16s retry completed (open_recenter_complete), 14.04s probe started (slow_load_bearing_check), 14.40s alarm (object_not_following), 14.40s abort (retry_budget_exhausted:object_not_following) · complete JSON gzip
  • friction015-mass060-layout01--history_open_jaw: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
  • friction015-mass060-layout01--hold: failed · no qualification decision. Retries 0.
    no controller events · complete JSON gzip
\ No newline at end of file diff --git a/benchmarks/piper-contact-v03-20261011/receipt/report.json b/benchmarks/piper-contact-v03-20261011/receipt/report.json new file mode 100644 index 0000000..3f00bb7 --- /dev/null +++ b/benchmarks/piper-contact-v03-20261011/receipt/report.json @@ -0,0 +1 @@ +{"schema":"dvidia.piper-contact-benchmark/v0.3","profile":"piper-rigid-block-task-v0.1","scope":"Paired authored PiPER contact-history pilot, privileged native state and synthetic rigid blocks. No learned policy, sensor pipeline, calibrated contact, shoe competence or physical robot qualification.","physical_robot_ready":false,"learned_policy":false,"cohort":"confirmation","protocol":{"schema":"dvidia.piper-contact-protocol/v0.3","profile":"piper-rigid-block-task-v0.1","scope":"Paired authored PiPER contact-history pilot, privileged native state and synthetic rigid blocks. No learned policy, sensor pipeline, calibrated contact, shoe competence or physical robot qualification.","physical_robot_ready":false,"learned_policy":false,"cohort":"confirmation","seed":813407,"scenes":[{"id":"friction080-mass040-layout00","layout_index":0,"stratum":"nominal","friction":0.8,"mass_kg":0.04,"seed":813407,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction080-mass040-layout01","layout_index":1,"stratum":"nominal","friction":0.8,"mass_kg":0.04,"seed":813408,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction080-mass060-layout00","layout_index":0,"stratum":"nominal","friction":0.8,"mass_kg":0.06,"seed":813409,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction080-mass060-layout01","layout_index":1,"stratum":"nominal","friction":0.8,"mass_kg":0.06,"seed":813410,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction055-mass040-layout00","layout_index":0,"stratum":"moderate_friction","friction":0.55,"mass_kg":0.04,"seed":813411,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction055-mass040-layout01","layout_index":1,"stratum":"moderate_friction","friction":0.55,"mass_kg":0.04,"seed":813412,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction055-mass060-layout00","layout_index":0,"stratum":"moderate_friction","friction":0.55,"mass_kg":0.06,"seed":813413,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction055-mass060-layout01","layout_index":1,"stratum":"moderate_friction","friction":0.55,"mass_kg":0.06,"seed":813414,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction015-mass040-layout00","layout_index":0,"stratum":"low_friction","friction":0.15,"mass_kg":0.04,"seed":813415,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction015-mass040-layout01","layout_index":1,"stratum":"low_friction","friction":0.15,"mass_kg":0.04,"seed":813416,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction015-mass060-layout00","layout_index":0,"stratum":"low_friction","friction":0.15,"mass_kg":0.06,"seed":813417,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction015-mass060-layout01","layout_index":1,"stratum":"low_friction","friction":0.15,"mass_kg":0.06,"seed":813418,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}}],"variants":["baseline_placement","baseline_open_jaw","probe_only_placement","probe_only_open_jaw","history_placement","history_open_jaw","hold"],"planned_attempts":84,"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"contact_contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"acquisition_contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"evaluation_contract":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","following_rise_m":0.01,"following_dwell_s":0.1,"qualification_lookahead_s":0.6,"local_offset_drift_limit_m":0.008,"post_alarm_window_s":0.1,"scope":"Independent recorded 20ms boundary proxies, not recomputed native physics or classifier accuracy. Following requires table-free object rise and stable TCP-local object offset, without controller predicates. Unresolved decisions and absent opportunities remain explicit. Alarm delays use simulator timestamps; wall computation is reported separately. Post-alarm path includes native servo motion while holding."},"motion_window_s":0.1,"settled_window_s":0.1,"settled_tcp_speed_limit_m_s":0.01,"minimum_settled_object_rise_m":0.006,"scope":"Independent recorded 20ms boundaries, not detector accuracy or physics recomputation. Motion windows retain actual native movement after commands, not instantaneous arrest. Settled, resumed and completed are separate; no observed true-slip opportunity is not a perfect score."},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","piper_task_benchmark.py":"d1294fac93bb42a26a654c6fd0950718e528cbf3cd96ffcd53118da0a1646776","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8","reference_replay.py":"f73731434d55bac150db16c7205d341a70b95ce13e582e7a23d11dee31b27a19","piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_grip_benchmark.py":"7ab72a8cbe77d4db96d3fa45087571e3e1d64f40fe92b6f37032936701f318e1","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c","piper_contact_benchmark.py":"6ebd44c3704cda8679335f988df0dcc7817b3f8da314b7a4fe8b3939215728bb"},"native_command_units":["rad","rad","rad","rad","rad","rad","m"],"simulation_asset_license":"MIT","layout_offset_limit_m":0.005,"timing_boundary":"Attempt wall includes asset verification, compilation, settling, authored planning/IK, physics, contact scoring and recorded state construction. Protocol/report/trace disk serialization, rendering, training, physical sensing, transport and actuation are excluded. Control computation windows are not sensor-to-actuator reaction times.","comparison":"Two shared XY layouts at each friction and mass; identical native mechanics and starting state within each scene. Baseline, acquisition probe-only and contact-history variants each have separately matched complete arm-tape/open-jaw controls, plus common hold. Probe-only and history share acquisition; only history adapts after qualification. All failures and full-duration aborts remain; invalid/incomplete tapes are never extended.","split_note":"Synthetic declared confirmation does not prove unseen scenes or physical reliability. Controller/evaluation parameters and sources are frozen before any native attempt."},"protocol_sha256":"16bc411d816fa1a0cff0125482e8ca3da2b7c0dbbe82c975ab02966e41274716","implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","piper_task_benchmark.py":"d1294fac93bb42a26a654c6fd0950718e528cbf3cd96ffcd53118da0a1646776","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8","reference_replay.py":"f73731434d55bac150db16c7205d341a70b95ce13e582e7a23d11dee31b27a19","piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_grip_benchmark.py":"7ab72a8cbe77d4db96d3fa45087571e3e1d64f40fe92b6f37032936701f318e1","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c","piper_contact_benchmark.py":"6ebd44c3704cda8679335f988df0dcc7817b3f8da314b7a4fe8b3939215728bb"},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"simulation_asset_license":"MIT","asset_license":{"path":"licenses/agilex_piper/LICENSE","sha256":"e32d78fd3761052ab0b2bb42fef8a7a9ad3f298d315d305333c349d2aff1f134"},"hardware":{"platform":"macOS-26.5.2-arm64-arm-64bit","machine":"arm64","python":"3.12.9","logical_cpu_count":10,"gpu_used":false,"process_lifetime_peak_rss_bytes":808239104,"episode_runtimes":[{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"}],"memory_scope":"Process lifetime high-water RSS before inspection; not per-episode or minimum RAM."},"scenes":[{"id":"friction080-mass040-layout00","layout_index":0,"stratum":"nominal","friction":0.8,"mass_kg":0.04,"seed":813407,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction080-mass040-layout01","layout_index":1,"stratum":"nominal","friction":0.8,"mass_kg":0.04,"seed":813408,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction080-mass060-layout00","layout_index":0,"stratum":"nominal","friction":0.8,"mass_kg":0.06,"seed":813409,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction080-mass060-layout01","layout_index":1,"stratum":"nominal","friction":0.8,"mass_kg":0.06,"seed":813410,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction055-mass040-layout00","layout_index":0,"stratum":"moderate_friction","friction":0.55,"mass_kg":0.04,"seed":813411,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction055-mass040-layout01","layout_index":1,"stratum":"moderate_friction","friction":0.55,"mass_kg":0.04,"seed":813412,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction055-mass060-layout00","layout_index":0,"stratum":"moderate_friction","friction":0.55,"mass_kg":0.06,"seed":813413,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction055-mass060-layout01","layout_index":1,"stratum":"moderate_friction","friction":0.55,"mass_kg":0.06,"seed":813414,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction015-mass040-layout00","layout_index":0,"stratum":"low_friction","friction":0.15,"mass_kg":0.04,"seed":813415,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction015-mass040-layout01","layout_index":1,"stratum":"low_friction","friction":0.15,"mass_kg":0.04,"seed":813416,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction015-mass060-layout00","layout_index":0,"stratum":"low_friction","friction":0.15,"mass_kg":0.06,"seed":813417,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}},{"id":"friction015-mass060-layout01","layout_index":1,"stratum":"low_friction","friction":0.15,"mass_kg":0.06,"seed":813418,"config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]}}],"attempted":84,"valid_attempts":84,"summary":[{"friction":0.8,"mass_kg":0.04,"stratum":"nominal","variant":"baseline_placement","attempted":2,"valid":2,"success":2,"failed_or_invalid":0,"success_fraction":1.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":0,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.8,"mass_kg":0.04,"stratum":"nominal","variant":"baseline_open_jaw","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.8,"mass_kg":0.04,"stratum":"nominal","variant":"probe_only_placement","attempted":2,"valid":2,"success":2,"failed_or_invalid":0,"success_fraction":1.0,"qualification_decisions":2,"following_observed_after_decision":2,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":0,"no_following_opportunity_attempts":0,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.8,"mass_kg":0.04,"stratum":"nominal","variant":"probe_only_open_jaw","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.8,"mass_kg":0.04,"stratum":"nominal","variant":"history_placement","attempted":2,"valid":2,"success":2,"failed_or_invalid":0,"success_fraction":1.0,"qualification_decisions":2,"following_observed_after_decision":2,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":0,"no_following_opportunity_attempts":0,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.8,"mass_kg":0.04,"stratum":"nominal","variant":"history_open_jaw","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.8,"mass_kg":0.04,"stratum":"nominal","variant":"hold","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.8,"mass_kg":0.06,"stratum":"nominal","variant":"baseline_placement","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":0,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":2,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.8,"mass_kg":0.06,"stratum":"nominal","variant":"baseline_open_jaw","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.8,"mass_kg":0.06,"stratum":"nominal","variant":"probe_only_placement","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":2,"following_observed_after_decision":2,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":0,"no_following_opportunity_attempts":0,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":2,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.8,"mass_kg":0.06,"stratum":"nominal","variant":"probe_only_open_jaw","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.8,"mass_kg":0.06,"stratum":"nominal","variant":"history_placement","attempted":2,"valid":2,"success":2,"failed_or_invalid":0,"success_fraction":1.0,"qualification_decisions":2,"following_observed_after_decision":2,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":0,"no_following_opportunity_attempts":0,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":1,"slowdown_decisions":3,"reassessment_decisions":3,"resume_decisions":3,"loaded_settling_observed_at_resume":3,"low_tcp_motion_observed_at_resume":2,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":2,"incomplete_post_intervention_motion_windows":0,"resumed_completed":2,"resumed_not_completed":0},{"friction":0.8,"mass_kg":0.06,"stratum":"nominal","variant":"history_open_jaw","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.8,"mass_kg":0.06,"stratum":"nominal","variant":"hold","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.55,"mass_kg":0.04,"stratum":"moderate_friction","variant":"baseline_placement","attempted":2,"valid":2,"success":2,"failed_or_invalid":0,"success_fraction":1.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":0,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.55,"mass_kg":0.04,"stratum":"moderate_friction","variant":"baseline_open_jaw","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.55,"mass_kg":0.04,"stratum":"moderate_friction","variant":"probe_only_placement","attempted":2,"valid":2,"success":2,"failed_or_invalid":0,"success_fraction":1.0,"qualification_decisions":2,"following_observed_after_decision":2,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":0,"no_following_opportunity_attempts":0,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.55,"mass_kg":0.04,"stratum":"moderate_friction","variant":"probe_only_open_jaw","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.55,"mass_kg":0.04,"stratum":"moderate_friction","variant":"history_placement","attempted":2,"valid":2,"success":2,"failed_or_invalid":0,"success_fraction":1.0,"qualification_decisions":2,"following_observed_after_decision":2,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":0,"no_following_opportunity_attempts":0,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":2,"reassessment_decisions":2,"resume_decisions":2,"loaded_settling_observed_at_resume":2,"low_tcp_motion_observed_at_resume":2,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":2,"incomplete_post_intervention_motion_windows":0,"resumed_completed":2,"resumed_not_completed":0},{"friction":0.55,"mass_kg":0.04,"stratum":"moderate_friction","variant":"history_open_jaw","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.55,"mass_kg":0.04,"stratum":"moderate_friction","variant":"hold","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.55,"mass_kg":0.06,"stratum":"moderate_friction","variant":"baseline_placement","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.55,"mass_kg":0.06,"stratum":"moderate_friction","variant":"baseline_open_jaw","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.55,"mass_kg":0.06,"stratum":"moderate_friction","variant":"probe_only_placement","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":2,"retries":2,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.55,"mass_kg":0.06,"stratum":"moderate_friction","variant":"probe_only_open_jaw","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.55,"mass_kg":0.06,"stratum":"moderate_friction","variant":"history_placement","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":2,"retries":2,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.55,"mass_kg":0.06,"stratum":"moderate_friction","variant":"history_open_jaw","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.55,"mass_kg":0.06,"stratum":"moderate_friction","variant":"hold","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.15,"mass_kg":0.04,"stratum":"low_friction","variant":"baseline_placement","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.15,"mass_kg":0.04,"stratum":"low_friction","variant":"baseline_open_jaw","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.15,"mass_kg":0.04,"stratum":"low_friction","variant":"probe_only_placement","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":2,"retries":2,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.15,"mass_kg":0.04,"stratum":"low_friction","variant":"probe_only_open_jaw","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.15,"mass_kg":0.04,"stratum":"low_friction","variant":"history_placement","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":2,"retries":2,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.15,"mass_kg":0.04,"stratum":"low_friction","variant":"history_open_jaw","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.15,"mass_kg":0.04,"stratum":"low_friction","variant":"hold","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.15,"mass_kg":0.06,"stratum":"low_friction","variant":"baseline_placement","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.15,"mass_kg":0.06,"stratum":"low_friction","variant":"baseline_open_jaw","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.15,"mass_kg":0.06,"stratum":"low_friction","variant":"probe_only_placement","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":2,"retries":2,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.15,"mass_kg":0.06,"stratum":"low_friction","variant":"probe_only_open_jaw","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.15,"mass_kg":0.06,"stratum":"low_friction","variant":"history_placement","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":2,"retries":2,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.15,"mass_kg":0.06,"stratum":"low_friction","variant":"history_open_jaw","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0},{"friction":0.15,"mass_kg":0.06,"stratum":"low_friction","variant":"hold","attempted":2,"valid":2,"success":0,"failed_or_invalid":2,"success_fraction":0.0,"qualification_decisions":0,"following_observed_after_decision":0,"following_not_observed_after_decision":0,"unresolved_qualification_decisions":0,"no_qualification_decision_attempts":2,"no_following_opportunity_attempts":2,"unresolved_following_opportunity_attempts":0,"aborted_attempts":0,"retries":0,"sampled_following_loss_events":0,"slowdown_decisions":0,"reassessment_decisions":0,"resume_decisions":0,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0,"holds_without_preceding_sampled_loss":0,"incomplete_post_intervention_motion_windows":0,"resumed_completed":0,"resumed_not_completed":0}],"attempts":[{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813407,"control":"placement","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":true,"reason":"success","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":true,"reason":"success","simulation_time":20.00000000000146,"steps":1000,"lift_seen":true,"grasp_seen":true,"max_object_lift_m":0.09783836411919183,"dwell_seconds":5.359000000000124,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":1.0280264540764212,"unexpected_contact_native_ticks":0,"carry_complete":true,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":14.890999999997186,"target_distance_m":0.004888546303558349,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":17840,"88:90":2727,"89:90":2531,"86:90":2794,"85:90":2696}},"timing":{"setup_seconds":0.5556841669604182,"episode_wall_seconds":1.807397250086069,"control_step_seconds":{"count":1000,"median":0.0010993541218340397,"p95":0.0021205421071499586,"max":0.003947332967072725},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":11.065635957479214,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"e492b38c6bd77504985d9dea14cfdf79f2fb5acb8e02de14c83c72def7734925","initial_object_position_m":[0.299838434422686,-0.02756812350168224,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction080-mass040-layout00--baseline_placement","scene_id":"friction080-mass040-layout00","variant":"baseline_placement","learned_policy":false,"attempt_wall_seconds":1.8077595410868526,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":true,"first_following_time_s":11.399999999999121,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction080-mass040-layout00--baseline_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813407,"control":"replay_open_jaw","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.229997073781135e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11347790212567758,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.13271512486971915,"episode_wall_seconds":1.2691605419386178,"control_step_seconds":{"count":1000,"median":0.0010750414803624153,"p95":0.0014885419514030218,"max":0.0056345839984714985},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":15.758447681844768,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"e492b38c6bd77504985d9dea14cfdf79f2fb5acb8e02de14c83c72def7734925","initial_object_position_m":[0.299838434422686,-0.02756812350168224,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction080-mass040-layout00--baseline_open_jaw","scene_id":"friction080-mass040-layout00","variant":"baseline_open_jaw","learned_policy":false,"attempt_wall_seconds":1.270383750088513,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction080-mass040-layout00--baseline_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813407,"control":"placement","policy_mode":"probe_only","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":true,"reason":"success","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":true,"reason":"success","simulation_time":20.00000000000146,"steps":1000,"lift_seen":true,"grasp_seen":true,"max_object_lift_m":0.09809342860435896,"dwell_seconds":4.778999999999931,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":1.0215198601204893,"unexpected_contact_native_ticks":0,"carry_complete":true,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":15.470999999996865,"target_distance_m":0.004545266158387635,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":17267,"88:90":3305,"89:90":3085,"86:90":3394,"85:90":3291}},"timing":{"setup_seconds":0.12661116593517363,"episode_wall_seconds":1.7903569999616593,"control_step_seconds":{"count":1000,"median":0.0011490415781736374,"p95":0.0027775829657912254,"max":0.012863832991570234},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":11.170956407258307,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"probe_only","active":true,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[{"type":"probe_started","t_seconds":11.179999999999243,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":0,"diagnostic":{"t_seconds":11.179999999999243,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"acquisition_qualified","t_seconds":11.77999999999891,"phase":"guard_probe","reason":"sustained_table_free_probe","retry_index":0,"diagnostic":{"t_seconds":11.77999999999891,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":false,"relative_offset_error_m":6.649054269622969e-05,"object_height_delta_m":0.007535388194281595,"tcp_probe_height_delta_m":0.007635982249588988,"qualified":true,"qualification_dwell_seconds":0.09999999999994458,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"qualified_resume_full_lift","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":1.551087143524659e-05,"history_rate_m_s":0.0001292572619604599,"history_path_m":1.552730476212181e-05,"history_excursion_m":1.551087143524659e-05,"history_slope_m_s":[-1.6171225357642322e-05,-1.1175303198932609e-05,0.00012905374150175048],"history_straightness":0.9989416497501028,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":true,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}}],"retry_count":0,"acquisition_qualified":true,"acquisition_qualification_count":1,"abort_reason":null,"aborted":false,"diagnostic_count":1000,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"e492b38c6bd77504985d9dea14cfdf79f2fb5acb8e02de14c83c72def7734925","initial_object_position_m":[0.299838434422686,-0.02756812350168224,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction080-mass040-layout00--probe_only_placement","scene_id":"friction080-mass040-layout00","variant":"probe_only_placement","learned_policy":false,"attempt_wall_seconds":1.7931390840094537,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[{"t_seconds":11.77999999999891,"following_observed":true,"lookahead_complete":true}],"alarms":[],"following_opportunity":true,"first_following_time_s":11.95999999999881,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction080-mass040-layout00--probe_only_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813407,"control":"replay_open_jaw","policy_mode":"probe_only","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.229997073781135e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11347790212567758,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.3361365001183003,"episode_wall_seconds":2.4000087091699243,"control_step_seconds":{"count":1000,"median":0.0018244580132886767,"p95":0.003419416956603527,"max":0.005257209064438939},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":8.33330309327033,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"probe_only","active":false,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"e492b38c6bd77504985d9dea14cfdf79f2fb5acb8e02de14c83c72def7734925","initial_object_position_m":[0.299838434422686,-0.02756812350168224,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction080-mass040-layout00--probe_only_open_jaw","scene_id":"friction080-mass040-layout00","variant":"probe_only_open_jaw","learned_policy":false,"attempt_wall_seconds":2.402536125155166,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction080-mass040-layout00--probe_only_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813407,"control":"placement","policy_mode":"history","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":true,"reason":"success","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":true,"reason":"success","simulation_time":20.00000000000146,"steps":1000,"lift_seen":true,"grasp_seen":true,"max_object_lift_m":0.09809342860435896,"dwell_seconds":4.778999999999931,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":1.0215198601204893,"unexpected_contact_native_ticks":0,"carry_complete":true,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":15.470999999996865,"target_distance_m":0.004545266158387635,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":17267,"88:90":3305,"89:90":3085,"86:90":3394,"85:90":3291}},"timing":{"setup_seconds":0.1529994998127222,"episode_wall_seconds":1.6411947919987142,"control_step_seconds":{"count":1000,"median":0.0013088126434013247,"p95":0.002521374961361289,"max":0.005777291022241116},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":12.186243886165785,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"history","active":true,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[{"type":"probe_started","t_seconds":11.179999999999243,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":0,"diagnostic":{"t_seconds":11.179999999999243,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"acquisition_qualified","t_seconds":11.77999999999891,"phase":"guard_probe","reason":"sustained_table_free_probe","retry_index":0,"diagnostic":{"t_seconds":11.77999999999891,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":false,"relative_offset_error_m":6.649054269622969e-05,"object_height_delta_m":0.007535388194281595,"tcp_probe_height_delta_m":0.007635982249588988,"qualified":true,"qualification_dwell_seconds":0.09999999999994458,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"qualified_resume_full_lift","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":1.551087143524659e-05,"history_rate_m_s":0.0001292572619604599,"history_path_m":1.552730476212181e-05,"history_excursion_m":1.551087143524659e-05,"history_slope_m_s":[-1.6171225357642322e-05,-1.1175303198932609e-05,0.00012905374150175048],"history_straightness":0.9989416497501028,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":true,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}}],"retry_count":0,"acquisition_qualified":true,"acquisition_qualification_count":1,"abort_reason":null,"aborted":false,"diagnostic_count":1000,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"e492b38c6bd77504985d9dea14cfdf79f2fb5acb8e02de14c83c72def7734925","initial_object_position_m":[0.299838434422686,-0.02756812350168224,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction080-mass040-layout00--history_placement","scene_id":"friction080-mass040-layout00","variant":"history_placement","learned_policy":false,"attempt_wall_seconds":1.6425896661821753,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[{"t_seconds":11.77999999999891,"following_observed":true,"lookahead_complete":true}],"alarms":[],"following_opportunity":true,"first_following_time_s":11.95999999999881,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction080-mass040-layout00--history_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813407,"control":"replay_open_jaw","policy_mode":"history","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.229997073781135e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11347790212567758,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.14540149993263185,"episode_wall_seconds":1.6763750000391155,"control_step_seconds":{"count":1000,"median":0.001474958611652255,"p95":0.001869667088612914,"max":0.005079583963379264},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":11.930504809207243,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"history","active":false,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"e492b38c6bd77504985d9dea14cfdf79f2fb5acb8e02de14c83c72def7734925","initial_object_position_m":[0.299838434422686,-0.02756812350168224,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction080-mass040-layout00--history_open_jaw","scene_id":"friction080-mass040-layout00","variant":"history_open_jaw","learned_policy":false,"attempt_wall_seconds":1.6782970840577036,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction080-mass040-layout00--history_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813407,"control":"hold","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.229997073781135e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11347790212567758,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.2398645409848541,"episode_wall_seconds":2.6575494159478694,"control_step_seconds":{"count":1000,"median":0.0023250835947692394,"p95":0.00356737500987947,"max":0.009997917106375098},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":7.5257302385355835,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"e492b38c6bd77504985d9dea14cfdf79f2fb5acb8e02de14c83c72def7734925","initial_object_position_m":[0.299838434422686,-0.02756812350168224,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction080-mass040-layout00--hold","scene_id":"friction080-mass040-layout00","variant":"hold","learned_policy":false,"attempt_wall_seconds":2.659391166875139,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction080-mass040-layout00--hold.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813408,"control":"placement","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":true,"reason":"success","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":true,"reason":"success","simulation_time":20.00000000000146,"steps":1000,"lift_seen":true,"grasp_seen":true,"max_object_lift_m":0.09769223389293033,"dwell_seconds":5.379000000000131,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":1.0425535082483335,"unexpected_contact_native_ticks":0,"carry_complete":true,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":14.870999999997197,"target_distance_m":0.005066419704497834,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":17791,"88:90":2735,"89:90":2486,"86:90":2811,"85:90":2692}},"timing":{"setup_seconds":0.200592459179461,"episode_wall_seconds":2.083520916989073,"control_step_seconds":{"count":1000,"median":0.001679374952800572,"p95":0.003148582996800542,"max":0.007251500152051449},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":9.599135692337448,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"4457daaf5aed84f4a90d7d3b7a14d1b33f8b5aabc61a3282e7b28b838858bda7","initial_object_position_m":[0.2968708234947256,-0.02670456521977575,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction080-mass040-layout01--baseline_placement","scene_id":"friction080-mass040-layout01","variant":"baseline_placement","learned_policy":false,"attempt_wall_seconds":2.0850923338439316,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":true,"first_following_time_s":11.379999999999132,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction080-mass040-layout01--baseline_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813408,"control":"replay_open_jaw","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.229994298223573e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11381535826674953,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.14994591590948403,"episode_wall_seconds":1.6218775410670787,"control_step_seconds":{"count":1000,"median":0.001423062407411635,"p95":0.0016814160626381636,"max":0.0029099169187247753},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":12.331387230902093,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"4457daaf5aed84f4a90d7d3b7a14d1b33f8b5aabc61a3282e7b28b838858bda7","initial_object_position_m":[0.2968708234947256,-0.02670456521977575,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction080-mass040-layout01--baseline_open_jaw","scene_id":"friction080-mass040-layout01","variant":"baseline_open_jaw","learned_policy":false,"attempt_wall_seconds":1.6234562499448657,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction080-mass040-layout01--baseline_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813408,"control":"placement","policy_mode":"probe_only","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":true,"reason":"success","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":true,"reason":"success","simulation_time":20.00000000000146,"steps":1000,"lift_seen":true,"grasp_seen":true,"max_object_lift_m":0.09777765383207096,"dwell_seconds":4.798999999999937,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":1.023265795687013,"unexpected_contact_native_ticks":0,"carry_complete":true,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":15.450999999996876,"target_distance_m":0.004384112121575687,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":17333,"88:90":3304,"89:90":3119,"86:90":3392,"85:90":3292}},"timing":{"setup_seconds":0.14942366699688137,"episode_wall_seconds":1.817700124811381,"control_step_seconds":{"count":1000,"median":0.0014003334799781442,"p95":0.0029322500340640545,"max":0.010386291891336441},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":11.002915017171393,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"probe_only","active":true,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[{"type":"probe_started","t_seconds":11.159999999999254,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":0,"diagnostic":{"t_seconds":11.159999999999254,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"acquisition_qualified","t_seconds":11.759999999998922,"phase":"guard_probe","reason":"sustained_table_free_probe","retry_index":0,"diagnostic":{"t_seconds":11.759999999998922,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":false,"relative_offset_error_m":6.69991870994443e-05,"object_height_delta_m":0.007553390503509616,"tcp_probe_height_delta_m":0.007654513787563141,"qualified":true,"qualification_dwell_seconds":0.09999999999994458,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"qualified_resume_full_lift","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":1.5353188285326e-05,"history_rate_m_s":0.00012794323571112091,"history_path_m":1.536778431279321e-05,"history_excursion_m":1.5353188285326e-05,"history_slope_m_s":[-1.6133518624898326e-05,-1.0711645864294493e-05,0.00012823823650284975],"history_straightness":0.9990502191356851,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":true,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}}],"retry_count":0,"acquisition_qualified":true,"acquisition_qualification_count":1,"abort_reason":null,"aborted":false,"diagnostic_count":1000,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"4457daaf5aed84f4a90d7d3b7a14d1b33f8b5aabc61a3282e7b28b838858bda7","initial_object_position_m":[0.2968708234947256,-0.02670456521977575,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction080-mass040-layout01--probe_only_placement","scene_id":"friction080-mass040-layout01","variant":"probe_only_placement","learned_policy":false,"attempt_wall_seconds":1.819318125024438,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[{"t_seconds":11.759999999998922,"following_observed":true,"lookahead_complete":true}],"alarms":[],"following_opportunity":true,"first_following_time_s":11.939999999998822,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction080-mass040-layout01--probe_only_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813408,"control":"replay_open_jaw","policy_mode":"probe_only","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.229994298223573e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11381535826674953,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.15388916688971221,"episode_wall_seconds":1.5951766669750214,"control_step_seconds":{"count":1000,"median":0.00135237502399832,"p95":0.0018439581617712975,"max":0.0036731669679284096},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":12.537796229133683,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"probe_only","active":false,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"4457daaf5aed84f4a90d7d3b7a14d1b33f8b5aabc61a3282e7b28b838858bda7","initial_object_position_m":[0.2968708234947256,-0.02670456521977575,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction080-mass040-layout01--probe_only_open_jaw","scene_id":"friction080-mass040-layout01","variant":"probe_only_open_jaw","learned_policy":false,"attempt_wall_seconds":1.5976015829946846,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction080-mass040-layout01--probe_only_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813408,"control":"placement","policy_mode":"history","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":true,"reason":"success","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":true,"reason":"success","simulation_time":20.00000000000146,"steps":1000,"lift_seen":true,"grasp_seen":true,"max_object_lift_m":0.09777765383207096,"dwell_seconds":4.798999999999937,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":1.023265795687013,"unexpected_contact_native_ticks":0,"carry_complete":true,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":15.450999999996876,"target_distance_m":0.004384112121575687,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":17333,"88:90":3304,"89:90":3119,"86:90":3392,"85:90":3292}},"timing":{"setup_seconds":0.23097620788030326,"episode_wall_seconds":2.111642957897857,"control_step_seconds":{"count":1000,"median":0.0017200210131704807,"p95":0.0029632498044520617,"max":0.005371874896809459},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":9.471298130774667,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"history","active":true,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[{"type":"probe_started","t_seconds":11.159999999999254,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":0,"diagnostic":{"t_seconds":11.159999999999254,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"acquisition_qualified","t_seconds":11.759999999998922,"phase":"guard_probe","reason":"sustained_table_free_probe","retry_index":0,"diagnostic":{"t_seconds":11.759999999998922,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":false,"relative_offset_error_m":6.69991870994443e-05,"object_height_delta_m":0.007553390503509616,"tcp_probe_height_delta_m":0.007654513787563141,"qualified":true,"qualification_dwell_seconds":0.09999999999994458,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"qualified_resume_full_lift","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":1.5353188285326e-05,"history_rate_m_s":0.00012794323571112091,"history_path_m":1.536778431279321e-05,"history_excursion_m":1.5353188285326e-05,"history_slope_m_s":[-1.6133518624898326e-05,-1.0711645864294493e-05,0.00012823823650284975],"history_straightness":0.9990502191356851,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":true,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}}],"retry_count":0,"acquisition_qualified":true,"acquisition_qualification_count":1,"abort_reason":null,"aborted":false,"diagnostic_count":1000,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"4457daaf5aed84f4a90d7d3b7a14d1b33f8b5aabc61a3282e7b28b838858bda7","initial_object_position_m":[0.2968708234947256,-0.02670456521977575,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction080-mass040-layout01--history_placement","scene_id":"friction080-mass040-layout01","variant":"history_placement","learned_policy":false,"attempt_wall_seconds":2.1132082908879966,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[{"t_seconds":11.759999999998922,"following_observed":true,"lookahead_complete":true}],"alarms":[],"following_opportunity":true,"first_following_time_s":11.939999999998822,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction080-mass040-layout01--history_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813408,"control":"replay_open_jaw","policy_mode":"history","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.229994298223573e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11381535826674953,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.1442892081104219,"episode_wall_seconds":1.4678782920818776,"control_step_seconds":{"count":1000,"median":0.0013025630032643676,"p95":0.0014365420211106539,"max":0.008028540993109345},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":13.625107822553636,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"history","active":false,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"4457daaf5aed84f4a90d7d3b7a14d1b33f8b5aabc61a3282e7b28b838858bda7","initial_object_position_m":[0.2968708234947256,-0.02670456521977575,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction080-mass040-layout01--history_open_jaw","scene_id":"friction080-mass040-layout01","variant":"history_open_jaw","learned_policy":false,"attempt_wall_seconds":1.4697400419972837,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction080-mass040-layout01--history_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813408,"control":"hold","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.229994298223573e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11381535826674953,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.174321583006531,"episode_wall_seconds":2.666705082869157,"control_step_seconds":{"count":1000,"median":0.0017692504916340113,"p95":0.004213791806250811,"max":0.19021079200319946},"control_boundaries":1000,"missed_control_boundaries":6,"simulated_seconds_per_wall_second":7.499891955987533,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"4457daaf5aed84f4a90d7d3b7a14d1b33f8b5aabc61a3282e7b28b838858bda7","initial_object_position_m":[0.2968708234947256,-0.02670456521977575,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction080-mass040-layout01--hold","scene_id":"friction080-mass040-layout01","variant":"hold","learned_policy":false,"attempt_wall_seconds":2.6697656670585275,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction080-mass040-layout01--hold.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813409,"control":"placement","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":true,"max_object_lift_m":0.030746117555253694,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.7203632434487441,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.1138901001501824,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":19513,"88:90":648,"89:90":335,"86:90":312,"85:90":629}},"timing":{"setup_seconds":0.2926861250307411,"episode_wall_seconds":1.962868917034939,"control_step_seconds":{"count":1000,"median":0.0016533543821424246,"p95":0.002191249979659915,"max":0.004706582985818386},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":10.189167410227762,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"d42eaaf1ab0e617bdd1df904fa37ebbe985b42ce522ecc5c986973c8fd4141e1","initial_object_position_m":[0.299838401470379,-0.02756799863744229,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction080-mass060-layout00--baseline_placement","scene_id":"friction080-mass060-layout00","variant":"baseline_placement","learned_policy":false,"attempt_wall_seconds":1.9645996252074838,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":true,"first_following_time_s":11.59999999999901,"sampled_drop_events":1,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction080-mass060-layout00--baseline_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813409,"control":"replay_open_jaw","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.22998874710845e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11347780318285629,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.14463604101911187,"episode_wall_seconds":1.5690919160842896,"control_step_seconds":{"count":1000,"median":0.0013037921162322164,"p95":0.001896166941151023,"max":0.008244166150689125},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":12.746225887079955,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"d42eaaf1ab0e617bdd1df904fa37ebbe985b42ce522ecc5c986973c8fd4141e1","initial_object_position_m":[0.299838401470379,-0.02756799863744229,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction080-mass060-layout00--baseline_open_jaw","scene_id":"friction080-mass060-layout00","variant":"baseline_open_jaw","learned_policy":false,"attempt_wall_seconds":1.5713415830396116,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction080-mass060-layout00--baseline_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813409,"control":"placement","policy_mode":"probe_only","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":true,"max_object_lift_m":0.03403955411502037,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.7677956130119187,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11066141911937015,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":18995,"88:90":1260,"89:90":972,"86:90":950,"85:90":1235}},"timing":{"setup_seconds":0.20909070898778737,"episode_wall_seconds":2.3807525420561433,"control_step_seconds":{"count":1000,"median":0.0019407914951443672,"p95":0.00376587500795722,"max":0.009145834017544985},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":8.400705090806458,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"probe_only","active":true,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[{"type":"probe_started","t_seconds":11.179999999999243,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":0,"diagnostic":{"t_seconds":11.179999999999243,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"acquisition_qualified","t_seconds":11.7999999999989,"phase":"guard_probe","reason":"sustained_table_free_probe","retry_index":0,"diagnostic":{"t_seconds":11.7999999999989,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":false,"relative_offset_error_m":0.00013968216935844268,"object_height_delta_m":0.007181744737989146,"tcp_probe_height_delta_m":0.007353158750156408,"qualified":true,"qualification_dwell_seconds":0.09999999999994458,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"qualified_resume_full_lift","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":1.9320686613950454e-05,"history_rate_m_s":0.00016100572178300967,"history_path_m":1.9337736165762323e-05,"history_excursion_m":1.9320686613950454e-05,"history_slope_m_s":[-2.0542056927202607e-05,-1.3374443905723594e-06,0.0001610073364696816],"history_straightness":0.9991183274161091,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":true,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}}],"retry_count":0,"acquisition_qualified":true,"acquisition_qualification_count":1,"abort_reason":null,"aborted":false,"diagnostic_count":1000,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"d42eaaf1ab0e617bdd1df904fa37ebbe985b42ce522ecc5c986973c8fd4141e1","initial_object_position_m":[0.299838401470379,-0.02756799863744229,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction080-mass060-layout00--probe_only_placement","scene_id":"friction080-mass060-layout00","variant":"probe_only_placement","learned_policy":false,"attempt_wall_seconds":2.3827467910014093,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[{"t_seconds":11.7999999999989,"following_observed":true,"lookahead_complete":true}],"alarms":[],"following_opportunity":true,"first_following_time_s":12.219999999998667,"sampled_drop_events":1,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction080-mass060-layout00--probe_only_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813409,"control":"replay_open_jaw","policy_mode":"probe_only","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.22998874710845e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11347780318285629,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.1656400840729475,"episode_wall_seconds":1.4726469591259956,"control_step_seconds":{"count":1000,"median":0.0012971875257790089,"p95":0.0014161670114845037,"max":0.0018299580551683903},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":13.580987538161422,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"probe_only","active":false,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"d42eaaf1ab0e617bdd1df904fa37ebbe985b42ce522ecc5c986973c8fd4141e1","initial_object_position_m":[0.299838401470379,-0.02756799863744229,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction080-mass060-layout00--probe_only_open_jaw","scene_id":"friction080-mass060-layout00","variant":"probe_only_open_jaw","learned_policy":false,"attempt_wall_seconds":1.4745676249731332,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction080-mass060-layout00--probe_only_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813409,"control":"placement","policy_mode":"history","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":true,"reason":"success","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":true,"reason":"success","simulation_time":20.00000000000146,"steps":1000,"lift_seen":true,"grasp_seen":true,"max_object_lift_m":0.09344222300086488,"dwell_seconds":1.8189999999999105,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.9243749215896928,"unexpected_contact_native_ticks":0,"carry_complete":true,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":18.430999999999543,"target_distance_m":0.0007535303932728572,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":14426,"88:90":6384,"89:90":972,"86:90":950,"85:90":6349}},"timing":{"setup_seconds":0.1443417079281062,"episode_wall_seconds":2.6324606251437217,"control_step_seconds":{"count":1000,"median":0.002068728907033801,"p95":0.004932000068947673,"max":0.0191857919562608},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":7.597454567401,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"history","active":true,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[{"type":"probe_started","t_seconds":11.179999999999243,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":0,"diagnostic":{"t_seconds":11.179999999999243,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"acquisition_qualified","t_seconds":11.7999999999989,"phase":"guard_probe","reason":"sustained_table_free_probe","retry_index":0,"diagnostic":{"t_seconds":11.7999999999989,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":false,"relative_offset_error_m":0.00013968216935844268,"object_height_delta_m":0.007181744737989146,"tcp_probe_height_delta_m":0.007353158750156408,"qualified":true,"qualification_dwell_seconds":0.09999999999994458,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"qualified_resume_full_lift","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":1.9320686613950454e-05,"history_rate_m_s":0.00016100572178300967,"history_path_m":1.9337736165762323e-05,"history_excursion_m":1.9320686613950454e-05,"history_slope_m_s":[-2.0542056927202607e-05,-1.3374443905723594e-06,0.0001610073364696816],"history_straightness":0.9991183274161091,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":true,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"slowdown_started","t_seconds":11.919999999998833,"phase":"memory_slowdown","reason":"persistent_local_offset_trend","retry_index":0,"diagnostic":{"t_seconds":11.919999999998833,"phase":"lift","retry_index":0,"bilateral_contact":true,"table_supported":false,"relative_offset_error_m":0.006361719829654247,"object_height_delta_m":0.009268632504505062,"tcp_probe_height_delta_m":0.015722316054948934,"qualified":true,"qualification_dwell_seconds":0.21999999999987807,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"slow_requested_joint_delta","memory_stage":"slowdown","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.00622898017011127,"history_rate_m_s":0.05190816808428935,"history_path_m":0.006248802466076628,"history_excursion_m":0.00622898017011127,"history_slope_m_s":[0.0027757699383663117,1.693570698994291e-05,0.05098588692810503],"history_straightness":0.9968278248395642,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":true,"slip_trend_streak":2,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":0.35,"unscaled_joint_targets_rad":[-0.10099185220938058,1.622844136504163,-1.115294178819922,0.007785670693165076,1.0492290445064245,-0.10733015639175193],"motion_phase":"lift","resume_local_offset_m":null}},{"type":"reassessment_started","t_seconds":11.999999999998789,"phase":"memory_hold","reason":"persistent_bilateral_contact_loss","retry_index":0,"diagnostic":{"t_seconds":11.999999999998789,"phase":"lift","retry_index":0,"bilateral_contact":false,"table_supported":false,"relative_offset_error_m":0.010967568434281807,"object_height_delta_m":0.012471197177279153,"tcp_probe_height_delta_m":0.023585368270375134,"qualified":true,"qualification_dwell_seconds":0.29999999999983373,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"hold_measured_arm_closed","memory_stage":"hold","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.008869875583765082,"history_rate_m_s":0.07391562986474999,"history_path_m":0.008885764445159938,"history_excursion_m":0.008869875583765082,"history_slope_m_s":[0.010434057401439921,-1.2367657709745352e-05,0.07580729363916792],"history_straightness":0.9982118745671331,"history_bilateral_fraction":0.7142857142857143,"history_loaded_bilateral_all":false,"history_unsupported_all":true,"slip_trend_streak":6,"persistent_loss_streak":2,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"carry_resumed","t_seconds":12.239999999998656,"phase":"memory_hold","reason":"sustained_loaded_relative_settling","retry_index":0,"diagnostic":{"t_seconds":12.239999999998656,"phase":"lift","retry_index":0,"bilateral_contact":true,"table_supported":false,"relative_offset_error_m":0.011278288227771936,"object_height_delta_m":0.012494385565987698,"tcp_probe_height_delta_m":0.023921903783488588,"qualified":true,"qualification_dwell_seconds":0.5399999999997007,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"settled_resume_reduced_delta","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":3.7785360171341385e-05,"history_rate_m_s":0.00031487800142801937,"history_path_m":3.78219952443473e-05,"history_excursion_m":3.7785360171341385e-05,"history_slope_m_s":[-1.3747740709973921e-05,5.231184446068747e-05,0.00030543000646703425],"history_straightness":0.9990313817986272,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":true,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.09999999999994458,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":[0.0034484602301307005,0.0003302209684300702,0.013157506967391054]}}],"retry_count":0,"acquisition_qualified":true,"acquisition_qualification_count":1,"abort_reason":null,"aborted":false,"diagnostic_count":1000,"slowdown_count":1,"reassessment_count":1,"resume_count":1},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"d42eaaf1ab0e617bdd1df904fa37ebbe985b42ce522ecc5c986973c8fd4141e1","initial_object_position_m":[0.299838401470379,-0.02756799863744229,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction080-mass060-layout00--history_placement","scene_id":"friction080-mass060-layout00","variant":"history_placement","learned_policy":false,"attempt_wall_seconds":2.63695574994199,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[{"t_seconds":11.7999999999989,"following_observed":true,"lookahead_complete":true}],"alarms":[],"following_opportunity":true,"first_following_time_s":12.039999999998766,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[{"type":"slowdown_started","t_seconds":11.919999999998833,"reason":"persistent_local_offset_trend","before":{"start_s":11.819999999998833,"end_s":11.919999999998833,"complete":true,"sample_count":6,"observed_span_s":0.09999999999994458,"tcp_path_m":0.009312853693979384,"object_path_m":0.004313267849853581,"tcp_mean_speed_m_s":0.09312853693984545,"object_mean_speed_m_s":0.043132678498559715,"tcp_peak_sampled_speed_m_s":0.1487841449271685,"object_peak_sampled_speed_m_s":0.054411066280408496,"tcp_rise_m":0.008309522504949457,"object_rise_m":0.002029150108501257},"after":{"start_s":11.919999999998833,"end_s":12.019999999998833,"complete":true,"sample_count":6,"observed_span_s":0.09999999999994458,"tcp_path_m":0.008810304148363715,"object_path_m":0.004071688116573685,"tcp_mean_speed_m_s":0.08810304148368597,"object_mean_speed_m_s":0.040716881165759417,"tcp_peak_sampled_speed_m_s":0.14290217349071718,"object_peak_sampled_speed_m_s":0.044017515705727414,"tcp_rise_m":0.008794509414754181,"object_rise_m":0.0039357602932517805},"intervention":{"start_s":11.919999999998833,"end_s":11.999999999998789,"complete":true,"sample_count":5,"observed_span_s":0.07999999999995566,"tcp_path_m":0.007875294308744585,"object_path_m":0.0033260489822599625,"tcp_mean_speed_m_s":0.09844117885936188,"object_mean_speed_m_s":0.04157561227827257,"tcp_peak_sampled_speed_m_s":0.14290217349071718,"object_peak_sampled_speed_m_s":0.044017515705727414,"tcp_rise_m":0.0078630522154262,"object_rise_m":0.0032025646727740914},"ended_by_observed_event":true},{"type":"reassessment_started","t_seconds":11.999999999998789,"reason":"persistent_bilateral_contact_loss","before":{"start_s":11.899999999998789,"end_s":11.999999999998789,"complete":true,"sample_count":6,"observed_span_s":0.09999999999994458,"tcp_path_m":0.010850977207286306,"object_path_m":0.004332587100418668,"tcp_mean_speed_m_s":0.1085097720729232,"object_mean_speed_m_s":0.04332587100421069,"tcp_peak_sampled_speed_m_s":0.1487841449271685,"object_peak_sampled_speed_m_s":0.050326905907963175,"tcp_rise_m":0.010771237021932528,"object_rise_m":0.003847265598335592},"after":{"start_s":11.999999999998789,"end_s":12.099999999998788,"complete":true,"sample_count":6,"observed_span_s":0.09999999999994458,"tcp_path_m":0.0014637261990605823,"object_path_m":0.0012799983720240067,"tcp_mean_speed_m_s":0.014637261990613935,"object_mean_speed_m_s":0.012799983720247161,"tcp_peak_sampled_speed_m_s":0.04675049198098241,"object_peak_sampled_speed_m_s":0.037281956715706804,"tcp_rise_m":0.0012178934055945279,"object_rise_m":0.0009847411759632413},"intervention":{"start_s":11.999999999998789,"end_s":12.239999999998656,"complete":true,"sample_count":13,"observed_span_s":0.239999999999867,"tcp_path_m":0.0021433056938564743,"object_path_m":0.0020062299845723633,"tcp_mean_speed_m_s":0.008930440391073593,"object_mean_speed_m_s":0.00835929160238948,"tcp_peak_sampled_speed_m_s":0.04675049198098241,"object_peak_sampled_speed_m_s":0.037281956715706804,"tcp_rise_m":0.0012178934055945279,"object_rise_m":0.0009847411759632413},"ended_by_observed_event":true,"sampled_following_loss_comparison":{"t_seconds":11.999999999998789,"reason":"persistent_bilateral_contact_loss","sampled_loss_before_alarm_s":null,"sampled_loss_to_alarm_delay_s":null,"no_preceding_sampled_loss_opportunity":true,"post_alarm_window_complete":true,"tcp_path_m":0.0014637261990605823,"tcp_rise_m":0.0012178934055945279,"object_rise_m":0.0009847411759632413}},{"type":"carry_resumed","t_seconds":12.239999999998656,"reason":"sustained_loaded_relative_settling","before":{"start_s":12.139999999998656,"end_s":12.239999999998656,"complete":true,"sample_count":6,"observed_span_s":0.09999999999994458,"tcp_path_m":0.0003993147291696883,"object_path_m":0.0004278679766486698,"tcp_mean_speed_m_s":0.003993147291699096,"object_mean_speed_m_s":0.004278679766489069,"tcp_peak_sampled_speed_m_s":0.005717315991186046,"object_peak_sampled_speed_m_s":0.00606626694318658,"tcp_rise_m":0.0,"object_rise_m":0.0},"after":{"start_s":12.239999999998656,"end_s":12.339999999998655,"complete":true,"sample_count":6,"observed_span_s":0.09999999999994458,"tcp_path_m":0.0026937659239753163,"object_path_m":0.002039703643083633,"tcp_mean_speed_m_s":0.026937659239768093,"object_mean_speed_m_s":0.020397036430847636,"tcp_peak_sampled_speed_m_s":0.0540705181875171,"object_peak_sampled_speed_m_s":0.04261210867064083,"tcp_rise_m":0.0024023728512016923,"object_rise_m":0.0017318432710263926},"recorded_loaded_unsupported_window":true,"recorded_low_tcp_motion_window":true,"task_completed":true}],"resume_decisions":1,"resumed_completed":true,"resumed_not_completed":false,"loaded_settling_observed_at_resume":1,"low_tcp_motion_observed_at_resume":1,"unresolved_resume_windows":0},"result_file":"attempts/friction080-mass060-layout00--history_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813409,"control":"replay_open_jaw","policy_mode":"history","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.22998874710845e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11347780318285629,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.41422262508422136,"episode_wall_seconds":5.017277833074331,"control_step_seconds":{"count":1000,"median":0.003927020588889718,"p95":0.008187166880816221,"max":0.06294750003144145},"control_boundaries":1000,"missed_control_boundaries":6,"simulated_seconds_per_wall_second":3.986225332820862,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"history","active":false,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"d42eaaf1ab0e617bdd1df904fa37ebbe985b42ce522ecc5c986973c8fd4141e1","initial_object_position_m":[0.299838401470379,-0.02756799863744229,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction080-mass060-layout00--history_open_jaw","scene_id":"friction080-mass060-layout00","variant":"history_open_jaw","learned_policy":false,"attempt_wall_seconds":5.028350749984384,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction080-mass060-layout00--history_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813409,"control":"hold","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.22998874710845e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11347780318285629,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.49044349999167025,"episode_wall_seconds":4.758146167034283,"control_step_seconds":{"count":1000,"median":0.003860416472889483,"p95":0.007311624940484762,"max":0.025960291968658566},"control_boundaries":1000,"missed_control_boundaries":1,"simulated_seconds_per_wall_second":4.2033176993525,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"d42eaaf1ab0e617bdd1df904fa37ebbe985b42ce522ecc5c986973c8fd4141e1","initial_object_position_m":[0.299838401470379,-0.02756799863744229,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction080-mass060-layout00--hold","scene_id":"friction080-mass060-layout00","variant":"hold","learned_policy":false,"attempt_wall_seconds":4.766453666845337,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction080-mass060-layout00--hold.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813410,"control":"placement","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":true,"grasp_seen":true,"max_object_lift_m":0.07026778466561129,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.6995639577069233,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":true,"max_carry_contact_loss_seconds":8.014000000000998,"carry_contact_loss_events":1,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.09910317074454349,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":19101,"88:90":1050,"89:90":336,"86:90":318,"85:90":1043}},"timing":{"setup_seconds":0.41131354100070894,"episode_wall_seconds":4.359546916093677,"control_step_seconds":{"count":1000,"median":0.0036145003978163004,"p95":0.007715582847595215,"max":0.043689374811947346},"control_boundaries":1000,"missed_control_boundaries":4,"simulated_seconds_per_wall_second":4.5876327024190475,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"b5661054c0c7781385717c9c372a91db9878fea1b43ad0c685ad78f5e58c485a","initial_object_position_m":[0.2968707905424186,-0.026704440355815352,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction080-mass060-layout01--baseline_placement","scene_id":"friction080-mass060-layout01","variant":"baseline_placement","learned_policy":false,"attempt_wall_seconds":4.362094667041674,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":true,"first_following_time_s":11.479999999999077,"sampled_drop_events":1,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction080-mass060-layout01--baseline_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813410,"control":"replay_open_jaw","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.22998874710845e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11381526158459056,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.22160870907828212,"episode_wall_seconds":2.403224542038515,"control_step_seconds":{"count":1000,"median":0.002065458451397717,"p95":0.0028122500516474247,"max":0.0058775420766323805},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":8.322152029554687,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"b5661054c0c7781385717c9c372a91db9878fea1b43ad0c685ad78f5e58c485a","initial_object_position_m":[0.2968707905424186,-0.026704440355815352,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction080-mass060-layout01--baseline_open_jaw","scene_id":"friction080-mass060-layout01","variant":"baseline_open_jaw","learned_policy":false,"attempt_wall_seconds":2.4060480420012027,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction080-mass060-layout01--baseline_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813410,"control":"placement","policy_mode":"probe_only","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":true,"max_object_lift_m":0.04728791820080053,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.6830703049516349,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.10765246910875022,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":18899,"88:90":1340,"89:90":972,"86:90":952,"85:90":1314}},"timing":{"setup_seconds":0.24661291693337262,"episode_wall_seconds":3.1365048340521753,"control_step_seconds":{"count":1000,"median":0.0025470000691711903,"p95":0.0047028749249875546,"max":0.008865792071446776},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":6.376524525920359,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"probe_only","active":true,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[{"type":"probe_started","t_seconds":11.159999999999254,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":0,"diagnostic":{"t_seconds":11.159999999999254,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"acquisition_qualified","t_seconds":11.77999999999891,"phase":"guard_probe","reason":"sustained_table_free_probe","retry_index":0,"diagnostic":{"t_seconds":11.77999999999891,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":false,"relative_offset_error_m":0.0001381077953523816,"object_height_delta_m":0.0072060988339257,"tcp_probe_height_delta_m":0.0073758532529942245,"qualified":true,"qualification_dwell_seconds":0.09999999999994458,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"qualified_resume_full_lift","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":1.9318813240363574e-05,"history_rate_m_s":0.00016099011033645234,"history_path_m":1.9335145724608508e-05,"history_excursion_m":1.9318813240363574e-05,"history_slope_m_s":[-2.037041839495255e-05,-9.371058060956913e-07,0.00016112340627468124],"history_straightness":0.9991552955184534,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":true,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}}],"retry_count":0,"acquisition_qualified":true,"acquisition_qualification_count":1,"abort_reason":null,"aborted":false,"diagnostic_count":1000,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"b5661054c0c7781385717c9c372a91db9878fea1b43ad0c685ad78f5e58c485a","initial_object_position_m":[0.2968707905424186,-0.026704440355815352,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction080-mass060-layout01--probe_only_placement","scene_id":"friction080-mass060-layout01","variant":"probe_only_placement","learned_policy":false,"attempt_wall_seconds":3.139829209074378,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[{"t_seconds":11.77999999999891,"following_observed":true,"lookahead_complete":true}],"alarms":[],"following_opportunity":true,"first_following_time_s":12.119999999998722,"sampled_drop_events":1,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction080-mass060-layout01--probe_only_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813410,"control":"replay_open_jaw","policy_mode":"probe_only","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.22998874710845e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11381526158459056,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.38561137509532273,"episode_wall_seconds":4.513202958041802,"control_step_seconds":{"count":1000,"median":0.0032417288748547435,"p95":0.0062648330349475145,"max":0.10947066592052579},"control_boundaries":1000,"missed_control_boundaries":13,"simulated_seconds_per_wall_second":4.431442633078284,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"probe_only","active":false,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"b5661054c0c7781385717c9c372a91db9878fea1b43ad0c685ad78f5e58c485a","initial_object_position_m":[0.2968707905424186,-0.026704440355815352,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction080-mass060-layout01--probe_only_open_jaw","scene_id":"friction080-mass060-layout01","variant":"probe_only_open_jaw","learned_policy":false,"attempt_wall_seconds":4.517623791936785,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction080-mass060-layout01--probe_only_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813410,"control":"placement","policy_mode":"history","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":true,"reason":"success","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":true,"reason":"success","simulation_time":20.00000000000146,"steps":1000,"lift_seen":true,"grasp_seen":true,"max_object_lift_m":0.09303978460343065,"dwell_seconds":1.5569999999999393,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.8959301029985438,"unexpected_contact_native_ticks":0,"carry_complete":true,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":18.692999999999863,"target_distance_m":0.000496752848059085,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":14127,"88:90":6675,"89:90":972,"86:90":952,"85:90":6616}},"timing":{"setup_seconds":0.32303691608831286,"episode_wall_seconds":3.3459875830449164,"control_step_seconds":{"count":1000,"median":0.002703603939153254,"p95":0.00488391681574285,"max":0.008979874895885587},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":5.977308493715645,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"history","active":true,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[{"type":"probe_started","t_seconds":11.159999999999254,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":0,"diagnostic":{"t_seconds":11.159999999999254,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"acquisition_qualified","t_seconds":11.77999999999891,"phase":"guard_probe","reason":"sustained_table_free_probe","retry_index":0,"diagnostic":{"t_seconds":11.77999999999891,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":false,"relative_offset_error_m":0.0001381077953523816,"object_height_delta_m":0.0072060988339257,"tcp_probe_height_delta_m":0.0073758532529942245,"qualified":true,"qualification_dwell_seconds":0.09999999999994458,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"qualified_resume_full_lift","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":1.9318813240363574e-05,"history_rate_m_s":0.00016099011033645234,"history_path_m":1.9335145724608508e-05,"history_excursion_m":1.9318813240363574e-05,"history_slope_m_s":[-2.037041839495255e-05,-9.371058060956913e-07,0.00016112340627468124],"history_straightness":0.9991552955184534,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":true,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"slowdown_started","t_seconds":11.899999999998844,"phase":"memory_slowdown","reason":"persistent_local_offset_trend","retry_index":0,"diagnostic":{"t_seconds":11.899999999998844,"phase":"lift","retry_index":0,"bilateral_contact":false,"table_supported":false,"relative_offset_error_m":0.006692095367435731,"object_height_delta_m":0.009030491014431846,"tcp_probe_height_delta_m":0.015816271611024474,"qualified":true,"qualification_dwell_seconds":0.21999999999987807,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"slow_requested_joint_delta","memory_stage":"slowdown","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.006561473194320026,"history_rate_m_s":0.05467894328603052,"history_path_m":0.006577095371450861,"history_excursion_m":0.006561473194320026,"history_slope_m_s":[0.0014546524321718893,-0.00036419735435801615,0.05368645020489316],"history_straightness":0.9976247604377693,"history_bilateral_fraction":0.7142857142857143,"history_loaded_bilateral_all":false,"history_unsupported_all":true,"slip_trend_streak":2,"persistent_loss_streak":1,"settled_dwell_seconds":0.0,"joint_delta_scale":0.35,"unscaled_joint_targets_rad":[-0.09904078525743916,1.6123487475350635,-1.1032690914973902,0.00765527895328391,1.0470169048457392,-0.1052862945671806],"motion_phase":"lift","resume_local_offset_m":null}},{"type":"reassessment_started","t_seconds":11.919999999998833,"phase":"memory_hold","reason":"persistent_bilateral_contact_loss","retry_index":0,"diagnostic":{"t_seconds":11.919999999998833,"phase":"lift","retry_index":0,"bilateral_contact":false,"table_supported":false,"relative_offset_error_m":0.00884224948186729,"object_height_delta_m":0.009720621800516097,"tcp_probe_height_delta_m":0.018677645665868547,"qualified":true,"qualification_dwell_seconds":0.239999999999867,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"hold_measured_arm_closed","memory_stage":"hold","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.008708804021790556,"history_rate_m_s":0.07257336684829485,"history_path_m":0.008731886348715077,"history_excursion_m":0.008708804021790556,"history_slope_m_s":[0.004120576077339566,-0.0003403478408743065,0.07642113712718547],"history_straightness":0.9973565474855364,"history_bilateral_fraction":0.5714285714285714,"history_loaded_bilateral_all":false,"history_unsupported_all":true,"slip_trend_streak":3,"persistent_loss_streak":2,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"carry_resumed","t_seconds":12.1599999999987,"phase":"memory_hold","reason":"sustained_loaded_relative_settling","retry_index":0,"diagnostic":{"t_seconds":12.1599999999987,"phase":"lift","retry_index":0,"bilateral_contact":true,"table_supported":false,"relative_offset_error_m":0.010137544977513064,"object_height_delta_m":0.009038055930102318,"tcp_probe_height_delta_m":0.019294845987131173,"qualified":true,"qualification_dwell_seconds":0.479999999999734,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"settled_resume_reduced_delta","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":2.75420805074101e-05,"history_rate_m_s":0.00022951733756187805,"history_path_m":2.766770355755342e-05,"history_excursion_m":2.75420805074101e-05,"history_slope_m_s":[-2.660070943016484e-05,1.455700685914097e-05,0.0002265919488444928],"history_straightness":0.9954595779920078,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":true,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.09999999999994458,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":[0.003030219947196004,0.00032229947735167046,0.012047065990434197]}},{"type":"slowdown_started","t_seconds":12.3399999999986,"phase":"memory_slowdown","reason":"persistent_local_offset_trend","retry_index":0,"diagnostic":{"t_seconds":12.3399999999986,"phase":"lift","retry_index":0,"bilateral_contact":true,"table_supported":false,"relative_offset_error_m":0.014145364951353576,"object_height_delta_m":0.012747660617383916,"tcp_probe_height_delta_m":0.027057651305390187,"qualified":true,"qualification_dwell_seconds":0.6599999999996342,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"slow_requested_joint_delta","memory_stage":"slowdown","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0038457599662622233,"history_rate_m_s":0.032047999718869624,"history_path_m":0.0038564860991912786,"history_excursion_m":0.0038457599662622233,"history_slope_m_s":[0.0005221148281470202,6.881969335891872e-05,0.03410659929712802],"history_straightness":0.997218677144641,"history_bilateral_fraction":0.8571428571428571,"history_loaded_bilateral_all":false,"history_unsupported_all":true,"slip_trend_streak":2,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":0.35,"unscaled_joint_targets_rad":[-0.10006859433560057,1.5728394908001944,-1.101252694233327,0.009744112576953522,1.0484933061747033,-0.10652524287025396],"motion_phase":"lift","resume_local_offset_m":null}},{"type":"reassessment_started","t_seconds":12.459999999998534,"phase":"memory_hold","reason":"bounded_slowdown_complete","retry_index":0,"diagnostic":{"t_seconds":12.459999999998534,"phase":"lift","retry_index":0,"bilateral_contact":true,"table_supported":false,"relative_offset_error_m":0.014408963855972476,"object_height_delta_m":0.0191800389483074,"tcp_probe_height_delta_m":0.03378568228717252,"qualified":true,"qualification_dwell_seconds":0.7799999999995677,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"hold_measured_arm_closed","memory_stage":"hold","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.000263652318730772,"history_rate_m_s":0.0021971026560909843,"history_path_m":0.0002645896683831622,"history_excursion_m":0.000263652318730772,"history_slope_m_s":[2.9381563731789763e-05,1.8088460927646735e-06,0.0016486927726188437],"history_straightness":0.9964573459798407,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":true,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"carry_resumed","t_seconds":12.679999999998412,"phase":"memory_hold","reason":"sustained_loaded_relative_settling","retry_index":0,"diagnostic":{"t_seconds":12.679999999998412,"phase":"lift","retry_index":0,"bilateral_contact":true,"table_supported":false,"relative_offset_error_m":0.014467856639606397,"object_height_delta_m":0.019437688126806088,"tcp_probe_height_delta_m":0.03410335265147198,"qualified":true,"qualification_dwell_seconds":0.9999999999994458,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"settled_resume_reduced_delta","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":2.868926379246948e-05,"history_rate_m_s":0.00023907719827071148,"history_path_m":2.8692814128466674e-05,"history_excursion_m":2.868926379246948e-05,"history_slope_m_s":[-4.383373644699472e-07,1.6199522852347472e-05,0.00023825757864460746],"history_straightness":0.9998762639321016,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":true,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.09999999999994458,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":[0.0030854826514533995,0.0003169726448616718,0.016381589893313606]}}],"retry_count":0,"acquisition_qualified":true,"acquisition_qualification_count":1,"abort_reason":null,"aborted":false,"diagnostic_count":1000,"slowdown_count":2,"reassessment_count":2,"resume_count":2},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"b5661054c0c7781385717c9c372a91db9878fea1b43ad0c685ad78f5e58c485a","initial_object_position_m":[0.2968707905424186,-0.026704440355815352,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction080-mass060-layout01--history_placement","scene_id":"friction080-mass060-layout01","variant":"history_placement","learned_policy":false,"attempt_wall_seconds":3.3529263329692185,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[{"t_seconds":11.77999999999891,"following_observed":true,"lookahead_complete":true}],"alarms":[],"following_opportunity":true,"first_following_time_s":12.039999999998766,"sampled_drop_events":1,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[{"type":"slowdown_started","t_seconds":11.899999999998844,"reason":"persistent_local_offset_trend","before":{"start_s":11.799999999998844,"end_s":11.899999999998844,"complete":true,"sample_count":6,"observed_span_s":0.09999999999994458,"tcp_path_m":0.009340991043208695,"object_path_m":0.003932750692527848,"tcp_mean_speed_m_s":0.09340991043213873,"object_mean_speed_m_s":0.03932750692530028,"tcp_peak_sampled_speed_m_s":0.1494572114773289,"object_peak_sampled_speed_m_s":0.04905801549637359,"tcp_rise_m":0.008381275064183388,"object_rise_m":0.0017671387398188187},"after":{"start_s":11.899999999998844,"end_s":11.999999999998844,"complete":true,"sample_count":6,"observed_span_s":0.09999999999994458,"tcp_path_m":0.005855260924602767,"object_path_m":0.0025367432925705487,"tcp_mean_speed_m_s":0.05855260924606012,"object_mean_speed_m_s":0.025367432925719545,"tcp_peak_sampled_speed_m_s":0.14333372431309716,"object_peak_sampled_speed_m_s":0.04070471366137265,"tcp_rise_m":0.005552436386634094,"object_rise_m":0.00211250258691191},"intervention":{"start_s":11.899999999998844,"end_s":11.919999999998833,"complete":true,"sample_count":2,"observed_span_s":0.019999999999988916,"tcp_path_m":0.0028666744862603545,"object_path_m":0.0007339522115659352,"tcp_mean_speed_m_s":0.14333372431309716,"object_mean_speed_m_s":0.0366976105783171,"tcp_peak_sampled_speed_m_s":0.14333372431309716,"object_peak_sampled_speed_m_s":0.0366976105783171,"tcp_rise_m":0.0028613740548440736,"object_rise_m":0.0006901307860842504},"ended_by_observed_event":true},{"type":"reassessment_started","t_seconds":11.919999999998833,"reason":"persistent_bilateral_contact_loss","before":{"start_s":11.819999999998833,"end_s":11.919999999998833,"complete":true,"sample_count":6,"observed_span_s":0.09999999999994458,"tcp_path_m":0.011878747034373428,"object_path_m":0.0043621230772131585,"tcp_mean_speed_m_s":0.11878747034380012,"object_mean_speed_m_s":0.04362123077215576,"tcp_peak_sampled_speed_m_s":0.1494572114773289,"object_peak_sampled_speed_m_s":0.04905801549637359,"tcp_rise_m":0.01106639553141446,"object_rise_m":0.0023093933718190823},"after":{"start_s":11.919999999998833,"end_s":12.019999999998833,"complete":true,"sample_count":6,"observed_span_s":0.09999999999994458,"tcp_path_m":0.0033073550425814714,"object_path_m":0.002126866981111988,"tcp_mean_speed_m_s":0.03307355042583304,"object_mean_speed_m_s":0.021268669811131666,"tcp_peak_sampled_speed_m_s":0.09214826933731418,"object_peak_sampled_speed_m_s":0.04070471366137265,"tcp_rise_m":0.00269106233179002,"object_rise_m":0.0014223718008276598},"intervention":{"start_s":11.919999999998833,"end_s":12.1599999999987,"complete":true,"sample_count":13,"observed_span_s":0.239999999999867,"tcp_path_m":0.004920784062841035,"object_path_m":0.003771642465385461,"tcp_mean_speed_m_s":0.020503266928515677,"object_mean_speed_m_s":0.015715176939114797,"tcp_peak_sampled_speed_m_s":0.09214826933731418,"object_peak_sampled_speed_m_s":0.04070471366137265,"tcp_rise_m":0.00269106233179002,"object_rise_m":0.0014223718008276598},"ended_by_observed_event":true,"sampled_following_loss_comparison":{"t_seconds":11.919999999998833,"reason":"persistent_bilateral_contact_loss","sampled_loss_before_alarm_s":null,"sampled_loss_to_alarm_delay_s":null,"no_preceding_sampled_loss_opportunity":true,"post_alarm_window_complete":true,"tcp_path_m":0.0033073550425814714,"tcp_rise_m":0.00269106233179002,"object_rise_m":0.0014223718008276598}},{"type":"carry_resumed","t_seconds":12.1599999999987,"reason":"sustained_loaded_relative_settling","before":{"start_s":12.0599999999987,"end_s":12.1599999999987,"complete":true,"sample_count":6,"observed_span_s":0.09999999999994458,"tcp_path_m":0.0008971618754529201,"object_path_m":0.0009197378761346631,"tcp_mean_speed_m_s":0.008971618754534174,"object_mean_speed_m_s":0.009197378761351729,"tcp_peak_sampled_speed_m_s":0.014991776710236606,"object_peak_sampled_speed_m_s":0.015206028436055074,"tcp_rise_m":0.0,"object_rise_m":0.0},"after":{"start_s":12.1599999999987,"end_s":12.2599999999987,"complete":true,"sample_count":6,"observed_span_s":0.09999999999994458,"tcp_path_m":0.0027618772607759974,"object_path_m":0.0013545157045975061,"tcp_mean_speed_m_s":0.02761877260777528,"object_mean_speed_m_s":0.013545157045982569,"tcp_peak_sampled_speed_m_s":0.05523710476754376,"object_peak_sampled_speed_m_s":0.02444294593506184,"tcp_rise_m":0.002426504699375165,"object_rise_m":0.0010099193021880365},"recorded_loaded_unsupported_window":true,"recorded_low_tcp_motion_window":false,"task_completed":true},{"type":"slowdown_started","t_seconds":12.3399999999986,"reason":"persistent_local_offset_trend","before":{"start_s":12.2399999999986,"end_s":12.3399999999986,"complete":true,"sample_count":6,"observed_span_s":0.09999999999994458,"tcp_path_m":0.006444742303343685,"object_path_m":0.002962625064790547,"tcp_mean_speed_m_s":0.06444742303347258,"object_mean_speed_m_s":0.02962625064792189,"tcp_peak_sampled_speed_m_s":0.07041717158273515,"object_peak_sampled_speed_m_s":0.04822194483529295,"tcp_rise_m":0.006428063474334486,"object_rise_m":0.0029496977935160595},"after":{"start_s":12.3399999999986,"end_s":12.4399999999986,"complete":true,"sample_count":6,"observed_span_s":0.09999999999994458,"tcp_path_m":0.005706083230869234,"object_path_m":0.005437194334477051,"tcp_mean_speed_m_s":0.05706083230872397,"object_mean_speed_m_s":0.054371943344800645,"tcp_peak_sampled_speed_m_s":0.06609194437978108,"object_peak_sampled_speed_m_s":0.05724102155932407,"tcp_rise_m":0.005704846664150706,"object_rise_m":0.005419735036839166},"intervention":{"start_s":12.3399999999986,"end_s":12.459999999998534,"complete":true,"sample_count":7,"observed_span_s":0.1199999999999335,"tcp_path_m":0.0067293173154312205,"object_path_m":0.006451776560079782,"tcp_mean_speed_m_s":0.05607764429529125,"object_mean_speed_m_s":0.05376480466736132,"tcp_peak_sampled_speed_m_s":0.06609194437978108,"object_peak_sampled_speed_m_s":0.05724102155932407,"tcp_rise_m":0.006728030981782332,"object_rise_m":0.0064323783309234855},"ended_by_observed_event":true},{"type":"reassessment_started","t_seconds":12.459999999998534,"reason":"bounded_slowdown_complete","before":{"start_s":12.359999999998534,"end_s":12.459999999998534,"complete":true,"sample_count":6,"observed_span_s":0.09999999999994458,"tcp_path_m":0.005407478427836332,"object_path_m":0.005332293213448381,"tcp_mean_speed_m_s":0.05407478427839329,"object_mean_speed_m_s":0.05332293213451336,"tcp_peak_sampled_speed_m_s":0.05898638003698566,"object_peak_sampled_speed_m_s":0.05724102155932407,"tcp_rise_m":0.005406619569989904,"object_rise_m":0.005318198522410195},"after":{"start_s":12.459999999998534,"end_s":12.559999999998533,"complete":true,"sample_count":6,"observed_span_s":0.09999999999994458,"tcp_path_m":0.0011248441749632536,"object_path_m":0.001127743963444327,"tcp_mean_speed_m_s":0.011248441749638769,"object_mean_speed_m_s":0.011277439634449521,"tcp_peak_sampled_speed_m_s":0.03733894827071223,"object_peak_sampled_speed_m_s":0.03696166493459128,"tcp_rise_m":0.000940770449453246,"object_rise_m":0.0009224150271570503},"intervention":{"start_s":12.459999999998534,"end_s":12.679999999998412,"complete":true,"sample_count":12,"observed_span_s":0.21999999999987807,"tcp_path_m":0.0015865065492475833,"object_path_m":0.001621445696511521,"tcp_mean_speed_m_s":0.00721139340567483,"object_mean_speed_m_s":0.00737020771142009,"tcp_peak_sampled_speed_m_s":0.03733894827071223,"object_peak_sampled_speed_m_s":0.03696166493459128,"tcp_rise_m":0.000940770449453246,"object_rise_m":0.0009224150271570503},"ended_by_observed_event":true,"sampled_following_loss_comparison":{"t_seconds":12.459999999998534,"reason":"bounded_slowdown_complete","sampled_loss_before_alarm_s":12.059999999998755,"sampled_loss_to_alarm_delay_s":0.3999999999997783,"no_preceding_sampled_loss_opportunity":false,"post_alarm_window_complete":true,"tcp_path_m":0.0011248441749632536,"tcp_rise_m":0.000940770449453246,"object_rise_m":0.0009224150271570503}},{"type":"carry_resumed","t_seconds":12.679999999998412,"reason":"sustained_loaded_relative_settling","before":{"start_s":12.579999999998412,"end_s":12.679999999998412,"complete":true,"sample_count":6,"observed_span_s":0.09999999999994458,"tcp_path_m":0.00036120578027271864,"object_path_m":0.00038772592024328154,"tcp_mean_speed_m_s":0.0036120578027291884,"object_mean_speed_m_s":0.0038772592024349643,"tcp_peak_sampled_speed_m_s":0.00459327150452841,"object_peak_sampled_speed_m_s":0.004864861577793998,"tcp_rise_m":0.0,"object_rise_m":0.0},"after":{"start_s":12.679999999998412,"end_s":12.779999999998411,"complete":true,"sample_count":6,"observed_span_s":0.09999999999994458,"tcp_path_m":0.0026790465930507717,"object_path_m":0.0020063058978044774,"tcp_mean_speed_m_s":0.026790465930522565,"object_mean_speed_m_s":0.02006305897805589,"tcp_peak_sampled_speed_m_s":0.0544525150720731,"object_peak_sampled_speed_m_s":0.04267828796081637,"tcp_rise_m":0.0024607721386090686,"object_rise_m":0.0017860928376046137},"recorded_loaded_unsupported_window":true,"recorded_low_tcp_motion_window":true,"task_completed":true}],"resume_decisions":2,"resumed_completed":true,"resumed_not_completed":false,"loaded_settling_observed_at_resume":2,"low_tcp_motion_observed_at_resume":1,"unresolved_resume_windows":0},"result_file":"attempts/friction080-mass060-layout01--history_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813410,"control":"replay_open_jaw","policy_mode":"history","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.22998874710845e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11381526158459056,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.5342347919940948,"episode_wall_seconds":2.5738518750295043,"control_step_seconds":{"count":1000,"median":0.0019135629991069436,"p95":0.0025478340685367584,"max":0.015798457898199558},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":7.770454933336907,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"history","active":false,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"b5661054c0c7781385717c9c372a91db9878fea1b43ad0c685ad78f5e58c485a","initial_object_position_m":[0.2968707905424186,-0.026704440355815352,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction080-mass060-layout01--history_open_jaw","scene_id":"friction080-mass060-layout01","variant":"history_open_jaw","learned_policy":false,"attempt_wall_seconds":2.5765212499536574,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction080-mass060-layout01--history_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813410,"control":"hold","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.8,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.22998874710845e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11381526158459056,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.1850579169113189,"episode_wall_seconds":1.702157124876976,"control_step_seconds":{"count":1000,"median":0.0014400415821000934,"p95":0.0018848339095711708,"max":0.01278083398938179},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":11.749796600855499,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"b5661054c0c7781385717c9c372a91db9878fea1b43ad0c685ad78f5e58c485a","initial_object_position_m":[0.2968707905424186,-0.026704440355815352,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction080-mass060-layout01--hold","scene_id":"friction080-mass060-layout01","variant":"hold","learned_policy":false,"attempt_wall_seconds":1.7296643748413771,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction080-mass060-layout01--hold.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813411,"control":"placement","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":true,"reason":"success","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":true,"reason":"success","simulation_time":20.00000000000146,"steps":1000,"lift_seen":true,"grasp_seen":true,"max_object_lift_m":0.0784829356622149,"dwell_seconds":5.339000000000118,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.950089224996266,"unexpected_contact_native_ticks":0,"carry_complete":true,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":14.910999999997175,"target_distance_m":0.004094799039791571,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":17958,"88:90":2719,"89:90":406,"86:90":725,"85:90":2573}},"timing":{"setup_seconds":0.3747201249934733,"episode_wall_seconds":2.699949375120923,"control_step_seconds":{"count":1000,"median":0.0023769375402480364,"p95":0.0035404169466346502,"max":0.02523074997588992},"control_boundaries":1000,"missed_control_boundaries":1,"simulated_seconds_per_wall_second":7.40754629856929,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"7844b626c7f21ee569b20a3c617c43cfb9c623ce8e7e7561f52a5ac3c15eceef","initial_object_position_m":[0.299838434422686,-0.02756812350168224,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction055-mass040-layout00--baseline_placement","scene_id":"friction055-mass040-layout00","variant":"baseline_placement","learned_policy":false,"attempt_wall_seconds":2.7019244160037488,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":true,"first_following_time_s":11.479999999999077,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction055-mass040-layout00--baseline_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813411,"control":"replay_open_jaw","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.229994298223573e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11347790213959148,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.15991304093040526,"episode_wall_seconds":1.527731915935874,"control_step_seconds":{"count":1000,"median":0.0013683745637536049,"p95":0.0014457919169217348,"max":0.009069125168025494},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":13.091302074258003,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"7844b626c7f21ee569b20a3c617c43cfb9c623ce8e7e7561f52a5ac3c15eceef","initial_object_position_m":[0.299838434422686,-0.02756812350168224,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction055-mass040-layout00--baseline_open_jaw","scene_id":"friction055-mass040-layout00","variant":"baseline_open_jaw","learned_policy":false,"attempt_wall_seconds":1.5294664581306279,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction055-mass040-layout00--baseline_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813411,"control":"placement","policy_mode":"probe_only","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":true,"reason":"success","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":true,"reason":"success","simulation_time":20.00000000000146,"steps":1000,"lift_seen":true,"grasp_seen":true,"max_object_lift_m":0.08551920097378482,"dwell_seconds":4.778999999999931,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.923388374384517,"unexpected_contact_native_ticks":0,"carry_complete":true,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":15.470999999996865,"target_distance_m":0.003813216564460383,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":17427,"88:90":3302,"89:90":1058,"86:90":1350,"85:90":3172}},"timing":{"setup_seconds":0.17258304101414979,"episode_wall_seconds":4.746689332881942,"control_step_seconds":{"count":1000,"median":0.003913416527211666,"p95":0.008316292194649577,"max":0.03829945903271437},"control_boundaries":1000,"missed_control_boundaries":6,"simulated_seconds_per_wall_second":4.2134630259989025,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"probe_only","active":true,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[{"type":"probe_started","t_seconds":11.179999999999243,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":0,"diagnostic":{"t_seconds":11.179999999999243,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"acquisition_qualified","t_seconds":11.77999999999891,"phase":"guard_probe","reason":"sustained_table_free_probe","retry_index":0,"diagnostic":{"t_seconds":11.77999999999891,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":false,"relative_offset_error_m":7.634235198484509e-05,"object_height_delta_m":0.007520206835125068,"tcp_probe_height_delta_m":0.007634382863810768,"qualified":true,"qualification_dwell_seconds":0.09999999999994458,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"qualified_resume_full_lift","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":1.5860440729459852e-05,"history_rate_m_s":0.0001321703394122387,"history_path_m":1.5877663661975768e-05,"history_excursion_m":1.5860440729459852e-05,"history_slope_m_s":[-1.8219792346856122e-05,-3.376118771646059e-06,0.0001325318836317113],"history_straightness":0.9989152728712121,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":true,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}}],"retry_count":0,"acquisition_qualified":true,"acquisition_qualification_count":1,"abort_reason":null,"aborted":false,"diagnostic_count":1000,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"7844b626c7f21ee569b20a3c617c43cfb9c623ce8e7e7561f52a5ac3c15eceef","initial_object_position_m":[0.299838434422686,-0.02756812350168224,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction055-mass040-layout00--probe_only_placement","scene_id":"friction055-mass040-layout00","variant":"probe_only_placement","learned_policy":false,"attempt_wall_seconds":4.751761416904628,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[{"t_seconds":11.77999999999891,"following_observed":true,"lookahead_complete":true}],"alarms":[],"following_opportunity":true,"first_following_time_s":11.9799999999988,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction055-mass040-layout00--probe_only_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813411,"control":"replay_open_jaw","policy_mode":"probe_only","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.229994298223573e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11347790213959148,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.5339415830094367,"episode_wall_seconds":2.9059348748996854,"control_step_seconds":{"count":1000,"median":0.002295583370141685,"p95":0.003717374987900257,"max":0.009963500080630183},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":6.8824666969495905,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"probe_only","active":false,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"7844b626c7f21ee569b20a3c617c43cfb9c623ce8e7e7561f52a5ac3c15eceef","initial_object_position_m":[0.299838434422686,-0.02756812350168224,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction055-mass040-layout00--probe_only_open_jaw","scene_id":"friction055-mass040-layout00","variant":"probe_only_open_jaw","learned_policy":false,"attempt_wall_seconds":2.908545874990523,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction055-mass040-layout00--probe_only_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813411,"control":"placement","policy_mode":"history","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":true,"reason":"success","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":true,"reason":"success","simulation_time":20.00000000000146,"steps":1000,"lift_seen":true,"grasp_seen":true,"max_object_lift_m":0.0954828970203796,"dwell_seconds":1.941999999999897,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.5494646940211442,"unexpected_contact_native_ticks":0,"carry_complete":true,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":18.307999999999392,"target_distance_m":0.001606157992836583,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":14482,"88:90":6292,"89:90":969,"86:90":950,"85:90":6279}},"timing":{"setup_seconds":0.1686287501361221,"episode_wall_seconds":1.7368231669533998,"control_step_seconds":{"count":1000,"median":0.0013696254463866353,"p95":0.0025531670544296503,"max":0.011993833119049668},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":11.515277076297817,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"history","active":true,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[{"type":"probe_started","t_seconds":11.179999999999243,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":0,"diagnostic":{"t_seconds":11.179999999999243,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"acquisition_qualified","t_seconds":11.77999999999891,"phase":"guard_probe","reason":"sustained_table_free_probe","retry_index":0,"diagnostic":{"t_seconds":11.77999999999891,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":false,"relative_offset_error_m":7.634235198484509e-05,"object_height_delta_m":0.007520206835125068,"tcp_probe_height_delta_m":0.007634382863810768,"qualified":true,"qualification_dwell_seconds":0.09999999999994458,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"qualified_resume_full_lift","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":1.5860440729459852e-05,"history_rate_m_s":0.0001321703394122387,"history_path_m":1.5877663661975768e-05,"history_excursion_m":1.5860440729459852e-05,"history_slope_m_s":[-1.8219792346856122e-05,-3.376118771646059e-06,0.0001325318836317113],"history_straightness":0.9989152728712121,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":true,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"slowdown_started","t_seconds":11.919999999998833,"phase":"memory_slowdown","reason":"persistent_local_offset_trend","retry_index":0,"diagnostic":{"t_seconds":11.919999999998833,"phase":"lift","retry_index":0,"bilateral_contact":true,"table_supported":false,"relative_offset_error_m":0.006344624061282939,"object_height_delta_m":0.01300220585626198,"tcp_probe_height_delta_m":0.01946132140696219,"qualified":true,"qualification_dwell_seconds":0.239999999999867,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"slow_requested_joint_delta","memory_stage":"slowdown","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0062703781866692695,"history_rate_m_s":0.052253151555606205,"history_path_m":0.006288400423106588,"history_excursion_m":0.0062703781866692695,"history_slope_m_s":[0.005597389313910832,-3.1298603385645583e-05,0.05415442169691179],"history_straightness":0.9971340507561992,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":true,"slip_trend_streak":2,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":0.35,"unscaled_joint_targets_rad":[-0.10124222084779892,1.6099695358316906,-1.1147293735221346,0.008351971314632193,1.0498150722027801,-0.10771493114731366],"motion_phase":"lift","resume_local_offset_m":null}},{"type":"reassessment_started","t_seconds":12.039999999998766,"phase":"memory_hold","reason":"bounded_slowdown_complete","retry_index":0,"diagnostic":{"t_seconds":12.039999999998766,"phase":"lift","retry_index":0,"bilateral_contact":true,"table_supported":false,"relative_offset_error_m":0.008034493403803728,"object_height_delta_m":0.022137923908172277,"tcp_probe_height_delta_m":0.03036886779036245,"qualified":true,"qualification_dwell_seconds":0.3599999999998005,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"hold_measured_arm_closed","memory_stage":"hold","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0016915890764903699,"history_rate_m_s":0.014096575637427562,"history_path_m":0.0016960781831342805,"history_excursion_m":0.0016915890764903699,"history_slope_m_s":[0.0016229807310357367,0.0002492462126416841,0.010547933525221652],"history_straightness":0.9973532430942452,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":true,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"carry_resumed","t_seconds":12.259999999998644,"phase":"memory_hold","reason":"sustained_loaded_relative_settling","retry_index":0,"diagnostic":{"t_seconds":12.259999999998644,"phase":"lift","retry_index":0,"bilateral_contact":true,"table_supported":false,"relative_offset_error_m":0.008088872916280685,"object_height_delta_m":0.022707529382938976,"tcp_probe_height_delta_m":0.030997292993346387,"qualified":true,"qualification_dwell_seconds":0.5799999999996786,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"settled_resume_reduced_delta","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":2.4741451794640574e-05,"history_rate_m_s":0.0002061787649554524,"history_path_m":2.4773244135528344e-05,"history_excursion_m":2.4741451794640574e-05,"history_slope_m_s":[9.622902034962424e-06,9.129847961660287e-06,0.0002041546971152226],"history_straightness":0.9987166662261171,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":true,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.09999999999994458,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":[0.0032578011952869093,0.00031739293798424935,0.009949959861160889]}}],"retry_count":0,"acquisition_qualified":true,"acquisition_qualification_count":1,"abort_reason":null,"aborted":false,"diagnostic_count":1000,"slowdown_count":1,"reassessment_count":1,"resume_count":1},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"7844b626c7f21ee569b20a3c617c43cfb9c623ce8e7e7561f52a5ac3c15eceef","initial_object_position_m":[0.299838434422686,-0.02756812350168224,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction055-mass040-layout00--history_placement","scene_id":"friction055-mass040-layout00","variant":"history_placement","learned_policy":false,"attempt_wall_seconds":1.7385626251343638,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[{"t_seconds":11.77999999999891,"following_observed":true,"lookahead_complete":true}],"alarms":[],"following_opportunity":true,"first_following_time_s":11.9799999999988,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[{"type":"slowdown_started","t_seconds":11.919999999998833,"reason":"persistent_local_offset_trend","before":{"start_s":11.819999999998833,"end_s":11.919999999998833,"complete":true,"sample_count":6,"observed_span_s":0.09999999999994458,"tcp_path_m":0.012394884870193681,"object_path_m":0.0067653882362302895,"tcp_mean_speed_m_s":0.12394884870200551,"object_mean_speed_m_s":0.06765388236234039,"tcp_peak_sampled_speed_m_s":0.1632676590242452,"object_peak_sampled_speed_m_s":0.07967485446686208,"tcp_rise_m":0.011562385414274845,"object_rise_m":0.00523695530958819},"after":{"start_s":11.919999999998833,"end_s":12.019999999998833,"complete":true,"sample_count":6,"observed_span_s":0.09999999999994458,"tcp_path_m":0.009722611505462806,"object_path_m":0.007982164554738646,"tcp_mean_speed_m_s":0.09722611505468194,"object_mean_speed_m_s":0.0798216455474307,"tcp_peak_sampled_speed_m_s":0.1539012210811041,"object_peak_sampled_speed_m_s":0.0933150275949305,"tcp_rise_m":0.009712433212775443,"object_rise_m":0.007956628280393618},"intervention":{"start_s":11.919999999998833,"end_s":12.039999999998766,"complete":true,"sample_count":7,"observed_span_s":0.1199999999999335,"tcp_path_m":0.010918153647989814,"object_path_m":0.009163524870912243,"tcp_mean_speed_m_s":0.09098461373329889,"object_mean_speed_m_s":0.07636270725764434,"tcp_peak_sampled_speed_m_s":0.1539012210811041,"object_peak_sampled_speed_m_s":0.0933150275949305,"tcp_rise_m":0.01090754638340026,"object_rise_m":0.009135718051910297},"ended_by_observed_event":true},{"type":"reassessment_started","t_seconds":12.039999999998766,"reason":"bounded_slowdown_complete","before":{"start_s":11.939999999998767,"end_s":12.039999999998766,"complete":true,"sample_count":6,"observed_span_s":0.09999999999994458,"tcp_path_m":0.007840129226369438,"object_path_m":0.007365919345597592,"tcp_mean_speed_m_s":0.07840129226373783,"object_mean_speed_m_s":0.07365919345601674,"tcp_peak_sampled_speed_m_s":0.1118230461624161,"object_peak_sampled_speed_m_s":0.0933150275949305,"tcp_rise_m":0.007830034309504352,"object_rise_m":0.007339770601564322},"after":{"start_s":12.039999999998766,"end_s":12.139999999998766,"complete":true,"sample_count":6,"observed_span_s":0.09999999999994458,"tcp_path_m":0.0013325005048163434,"object_path_m":0.0013203645314452557,"tcp_mean_speed_m_s":0.013325005048170819,"object_mean_speed_m_s":0.013203645314459875,"tcp_peak_sampled_speed_m_s":0.04415169025904097,"object_peak_sampled_speed_m_s":0.0436144732531096,"tcp_rise_m":0.0011787245577668803,"object_rise_m":0.0011501755364278082},"intervention":{"start_s":12.039999999998766,"end_s":12.259999999998644,"complete":true,"sample_count":12,"observed_span_s":0.21999999999987807,"tcp_path_m":0.0017566451315435057,"object_path_m":0.0017684770886479124,"tcp_mean_speed_m_s":0.007984750597929451,"object_mean_speed_m_s":0.00803853222113133,"tcp_peak_sampled_speed_m_s":0.04415169025904097,"object_peak_sampled_speed_m_s":0.0436144732531096,"tcp_rise_m":0.0011787245577668803,"object_rise_m":0.0011501755364278082},"ended_by_observed_event":true,"sampled_following_loss_comparison":{"t_seconds":12.039999999998766,"reason":"bounded_slowdown_complete","sampled_loss_before_alarm_s":null,"sampled_loss_to_alarm_delay_s":null,"no_preceding_sampled_loss_opportunity":true,"post_alarm_window_complete":true,"tcp_path_m":0.0013325005048163434,"tcp_rise_m":0.0011787245577668803,"object_rise_m":0.0011501755364278082}},{"type":"carry_resumed","t_seconds":12.259999999998644,"reason":"sustained_loaded_relative_settling","before":{"start_s":12.159999999998645,"end_s":12.259999999998644,"complete":true,"sample_count":6,"observed_span_s":0.09999999999994458,"tcp_path_m":0.00033531424179364876,"object_path_m":0.0003547945543722805,"tcp_mean_speed_m_s":0.003353142417938346,"object_mean_speed_m_s":0.0035479455437247716,"tcp_peak_sampled_speed_m_s":0.004137195784668772,"object_peak_sampled_speed_m_s":0.0043472139319249035,"tcp_rise_m":0.0,"object_rise_m":0.0},"after":{"start_s":12.259999999998644,"end_s":12.359999999998644,"complete":true,"sample_count":6,"observed_span_s":0.09999999999994458,"tcp_path_m":0.002813075011104398,"object_path_m":0.0025575778747952914,"tcp_mean_speed_m_s":0.02813075011105957,"object_mean_speed_m_s":0.025575778747967088,"tcp_peak_sampled_speed_m_s":0.05764027511151383,"object_peak_sampled_speed_m_s":0.05576355871093292,"tcp_rise_m":0.002594542285675877,"object_rise_m":0.0023392072732319885},"recorded_loaded_unsupported_window":true,"recorded_low_tcp_motion_window":true,"task_completed":true}],"resume_decisions":1,"resumed_completed":true,"resumed_not_completed":false,"loaded_settling_observed_at_resume":1,"low_tcp_motion_observed_at_resume":1,"unresolved_resume_windows":0},"result_file":"attempts/friction055-mass040-layout00--history_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813411,"control":"replay_open_jaw","policy_mode":"history","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.229994298223573e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11347790213959148,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.16067258385010064,"episode_wall_seconds":1.6660097918938845,"control_step_seconds":{"count":1000,"median":0.0014864581171423197,"p95":0.0016782500315457582,"max":0.0031337919645011425},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":12.004731363112748,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"history","active":false,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"7844b626c7f21ee569b20a3c617c43cfb9c623ce8e7e7561f52a5ac3c15eceef","initial_object_position_m":[0.299838434422686,-0.02756812350168224,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction055-mass040-layout00--history_open_jaw","scene_id":"friction055-mass040-layout00","variant":"history_open_jaw","learned_policy":false,"attempt_wall_seconds":1.6683279159478843,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction055-mass040-layout00--history_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813411,"control":"hold","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.229994298223573e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11347790213959148,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.16932458290830255,"episode_wall_seconds":3.0123461671173573,"control_step_seconds":{"count":1000,"median":0.002294896054081619,"p95":0.0043187919072806835,"max":0.22509633284062147},"control_boundaries":1000,"missed_control_boundaries":3,"simulated_seconds_per_wall_second":6.63934318649052,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"7844b626c7f21ee569b20a3c617c43cfb9c623ce8e7e7561f52a5ac3c15eceef","initial_object_position_m":[0.299838434422686,-0.02756812350168224,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction055-mass040-layout00--hold","scene_id":"friction055-mass040-layout00","variant":"hold","learned_policy":false,"attempt_wall_seconds":3.014777333009988,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction055-mass040-layout00--hold.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813412,"control":"placement","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":true,"reason":"success","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":true,"reason":"success","simulation_time":20.00000000000146,"steps":1000,"lift_seen":true,"grasp_seen":true,"max_object_lift_m":0.07480708867166574,"dwell_seconds":5.299000000000104,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":3.1026680647774976,"unexpected_contact_native_ticks":0,"carry_complete":true,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":14.950999999997153,"target_distance_m":0.0040219626070173336,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":17918,"88:90":2770,"89:90":413,"86:90":720,"85:90":2639}},"timing":{"setup_seconds":0.21165895787999034,"episode_wall_seconds":1.9999449169263244,"control_step_seconds":{"count":1000,"median":0.0015933125978335738,"p95":0.002662666840478778,"max":0.008742042118683457},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":10.00027542295468,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"c5dc975140c13061072f89ff6efdca81c0280f302e78a074f46480a1825a2264","initial_object_position_m":[0.2968708234947256,-0.02670456521977575,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction055-mass040-layout01--baseline_placement","scene_id":"friction055-mass040-layout01","variant":"baseline_placement","learned_policy":false,"attempt_wall_seconds":2.001901875017211,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":true,"first_following_time_s":11.499999999999066,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction055-mass040-layout01--baseline_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813412,"control":"replay_open_jaw","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.229991522666012e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11381535827931527,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.16121366689912975,"episode_wall_seconds":1.76299774996005,"control_step_seconds":{"count":1000,"median":0.0016140835359692574,"p95":0.001880542142316699,"max":0.0033642910420894623},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":11.34431396776012,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"c5dc975140c13061072f89ff6efdca81c0280f302e78a074f46480a1825a2264","initial_object_position_m":[0.2968708234947256,-0.02670456521977575,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction055-mass040-layout01--baseline_open_jaw","scene_id":"friction055-mass040-layout01","variant":"baseline_open_jaw","learned_policy":false,"attempt_wall_seconds":1.7653952911496162,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction055-mass040-layout01--baseline_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813412,"control":"placement","policy_mode":"probe_only","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":true,"reason":"success","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":true,"reason":"success","simulation_time":20.00000000000146,"steps":1000,"lift_seen":true,"grasp_seen":true,"max_object_lift_m":0.08558366337848711,"dwell_seconds":4.798999999999937,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.9459177021424809,"unexpected_contact_native_ticks":0,"carry_complete":true,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":15.450999999996876,"target_distance_m":0.00527917113254263,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":17432,"88:90":3301,"89:90":1050,"86:90":1352,"85:90":3167}},"timing":{"setup_seconds":0.19473916688002646,"episode_wall_seconds":2.959624582901597,"control_step_seconds":{"count":1000,"median":0.0019043959910050035,"p95":0.006531582912430167,"max":0.05003624991513789},"control_boundaries":1000,"missed_control_boundaries":3,"simulated_seconds_per_wall_second":6.757613825599998,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"probe_only","active":true,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[{"type":"probe_started","t_seconds":11.159999999999254,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":0,"diagnostic":{"t_seconds":11.159999999999254,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"acquisition_qualified","t_seconds":11.759999999998922,"phase":"guard_probe","reason":"sustained_table_free_probe","retry_index":0,"diagnostic":{"t_seconds":11.759999999998922,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":false,"relative_offset_error_m":7.642902419670139e-05,"object_height_delta_m":0.0075386843036205214,"tcp_probe_height_delta_m":0.007652905173553312,"qualified":true,"qualification_dwell_seconds":0.09999999999994458,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"qualified_resume_full_lift","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":1.6431343548926295e-05,"history_rate_m_s":0.000136927862907795,"history_path_m":1.6453885711795014e-05,"history_excursion_m":1.6431343548926295e-05,"history_slope_m_s":[-1.7356421708487156e-05,-4.361068852129508e-06,0.0001366342440150462],"history_straightness":0.9986299793700063,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":true,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}}],"retry_count":0,"acquisition_qualified":true,"acquisition_qualification_count":1,"abort_reason":null,"aborted":false,"diagnostic_count":1000,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"c5dc975140c13061072f89ff6efdca81c0280f302e78a074f46480a1825a2264","initial_object_position_m":[0.2968708234947256,-0.02670456521977575,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction055-mass040-layout01--probe_only_placement","scene_id":"friction055-mass040-layout01","variant":"probe_only_placement","learned_policy":false,"attempt_wall_seconds":2.962050166912377,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[{"t_seconds":11.759999999998922,"following_observed":true,"lookahead_complete":true}],"alarms":[],"following_opportunity":true,"first_following_time_s":11.95999999999881,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction055-mass040-layout01--probe_only_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813412,"control":"replay_open_jaw","policy_mode":"probe_only","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.229991522666012e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11381535827931527,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.18268599989823997,"episode_wall_seconds":1.5252770408988,"control_step_seconds":{"count":1000,"median":0.0013217709492892027,"p95":0.0014557498507201672,"max":0.008643167093396187},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":13.112372024046243,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"probe_only","active":false,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"c5dc975140c13061072f89ff6efdca81c0280f302e78a074f46480a1825a2264","initial_object_position_m":[0.2968708234947256,-0.02670456521977575,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction055-mass040-layout01--probe_only_open_jaw","scene_id":"friction055-mass040-layout01","variant":"probe_only_open_jaw","learned_policy":false,"attempt_wall_seconds":1.5278462499845773,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction055-mass040-layout01--probe_only_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813412,"control":"placement","policy_mode":"history","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":true,"reason":"success","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":true,"reason":"success","simulation_time":20.00000000000146,"steps":1000,"lift_seen":true,"grasp_seen":true,"max_object_lift_m":0.09549076194173758,"dwell_seconds":1.895999999999902,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.5832324312032082,"unexpected_contact_native_ticks":0,"carry_complete":true,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":18.35399999999945,"target_distance_m":0.0015663894292547245,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":14435,"88:90":6353,"89:90":966,"86:90":948,"85:90":6339}},"timing":{"setup_seconds":0.14951804210431874,"episode_wall_seconds":1.7429332919418812,"control_step_seconds":{"count":1000,"median":0.0013723955489695072,"p95":0.0027342080138623714,"max":0.004940541926771402},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":11.474908473243145,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"history","active":true,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[{"type":"probe_started","t_seconds":11.159999999999254,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":0,"diagnostic":{"t_seconds":11.159999999999254,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"acquisition_qualified","t_seconds":11.759999999998922,"phase":"guard_probe","reason":"sustained_table_free_probe","retry_index":0,"diagnostic":{"t_seconds":11.759999999998922,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":false,"relative_offset_error_m":7.642902419670139e-05,"object_height_delta_m":0.0075386843036205214,"tcp_probe_height_delta_m":0.007652905173553312,"qualified":true,"qualification_dwell_seconds":0.09999999999994458,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"qualified_resume_full_lift","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":1.6431343548926295e-05,"history_rate_m_s":0.000136927862907795,"history_path_m":1.6453885711795014e-05,"history_excursion_m":1.6431343548926295e-05,"history_slope_m_s":[-1.7356421708487156e-05,-4.361068852129508e-06,0.0001366342440150462],"history_straightness":0.9986299793700063,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":true,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"slowdown_started","t_seconds":11.879999999998855,"phase":"memory_slowdown","reason":"persistent_local_offset_trend","retry_index":0,"diagnostic":{"t_seconds":11.879999999998855,"phase":"lift","retry_index":0,"bilateral_contact":true,"table_supported":false,"relative_offset_error_m":0.004824566420050135,"object_height_delta_m":0.01138184276978349,"tcp_probe_height_delta_m":0.016303906756533537,"qualified":true,"qualification_dwell_seconds":0.21999999999987807,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"slow_requested_joint_delta","memory_stage":"slowdown","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.004752128389963934,"history_rate_m_s":0.039601069916388065,"history_path_m":0.004766372975377318,"history_excursion_m":0.004752128389963934,"history_slope_m_s":[0.0006925183086000826,9.549309058778414e-05,0.039107900009132376],"history_straightness":0.9970114413020194,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":true,"slip_trend_streak":2,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":0.35,"unscaled_joint_targets_rad":[-0.0990283874185009,1.6113141086755922,-1.1039205251294886,0.007698491813920849,1.0471639635722703,-0.10535884532048088],"motion_phase":"lift","resume_local_offset_m":null}},{"type":"reassessment_started","t_seconds":11.999999999998789,"phase":"memory_hold","reason":"bounded_slowdown_complete","retry_index":0,"diagnostic":{"t_seconds":11.999999999998789,"phase":"lift","retry_index":0,"bilateral_contact":true,"table_supported":false,"relative_offset_error_m":0.006833964147667263,"object_height_delta_m":0.019928823456803205,"tcp_probe_height_delta_m":0.026935680816220095,"qualified":true,"qualification_dwell_seconds":0.33999999999981156,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"hold_measured_arm_closed","memory_stage":"hold","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.002017328272524335,"history_rate_m_s":0.016811068937712108,"history_path_m":0.0020349292391884034,"history_excursion_m":0.002017328272524335,"history_slope_m_s":[0.001775589723383721,-0.0001884036392886536,0.013199942239426644],"history_straightness":0.9913505755752526,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":true,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"carry_resumed","t_seconds":12.219999999998667,"phase":"memory_hold","reason":"sustained_loaded_relative_settling","retry_index":0,"diagnostic":{"t_seconds":12.219999999998667,"phase":"lift","retry_index":0,"bilateral_contact":true,"table_supported":false,"relative_offset_error_m":0.006887339678840668,"object_height_delta_m":0.02050247950036148,"tcp_probe_height_delta_m":0.027566797650309116,"qualified":true,"qualification_dwell_seconds":0.5599999999996896,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"settled_resume_reduced_delta","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":2.4184763147374125e-05,"history_rate_m_s":0.00020153969289489606,"history_path_m":2.4186130855080618e-05,"history_excursion_m":2.4184763147374125e-05,"history_slope_m_s":[6.10393513023734e-06,-6.931281605844871e-06,0.00020092107268054288],"history_straightness":0.9999434507439537,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":true,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.09999999999994458,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":[0.002765162994178447,0.0003268081141240914,0.008787782020216744]}}],"retry_count":0,"acquisition_qualified":true,"acquisition_qualification_count":1,"abort_reason":null,"aborted":false,"diagnostic_count":1000,"slowdown_count":1,"reassessment_count":1,"resume_count":1},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"c5dc975140c13061072f89ff6efdca81c0280f302e78a074f46480a1825a2264","initial_object_position_m":[0.2968708234947256,-0.02670456521977575,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction055-mass040-layout01--history_placement","scene_id":"friction055-mass040-layout01","variant":"history_placement","learned_policy":false,"attempt_wall_seconds":1.7448171658907086,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[{"t_seconds":11.759999999998922,"following_observed":true,"lookahead_complete":true}],"alarms":[],"following_opportunity":true,"first_following_time_s":11.95999999999881,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[{"type":"slowdown_started","t_seconds":11.879999999998855,"reason":"persistent_local_offset_trend","before":{"start_s":11.779999999998855,"end_s":11.879999999998855,"complete":true,"sample_count":6,"observed_span_s":0.09999999999994458,"tcp_path_m":0.00948479099145717,"object_path_m":0.005177188636064113,"tcp_mean_speed_m_s":0.09484790991462426,"object_mean_speed_m_s":0.05177188636066982,"tcp_peak_sampled_speed_m_s":0.1525196061435437,"object_peak_sampled_speed_m_s":0.0724177779745404,"tcp_rise_m":0.00857454839992508,"object_rise_m":0.0037685388955800703},"after":{"start_s":11.879999999998855,"end_s":11.979999999998855,"complete":true,"sample_count":6,"observed_span_s":0.09999999999994458,"tcp_path_m":0.009443832944661959,"object_path_m":0.007395497397290918,"tcp_mean_speed_m_s":0.09443832944667192,"object_mean_speed_m_s":0.07395497397295017,"tcp_peak_sampled_speed_m_s":0.14707520515923853,"object_peak_sampled_speed_m_s":0.08087494912461447,"tcp_rise_m":0.00943117399346774,"object_rise_m":0.007361616805196758},"intervention":{"start_s":11.879999999998855,"end_s":11.999999999998789,"complete":true,"sample_count":7,"observed_span_s":0.1199999999999335,"tcp_path_m":0.010645225529967883,"object_path_m":0.008583666365622283,"tcp_mean_speed_m_s":0.08871021274978153,"object_mean_speed_m_s":0.071530553046892,"tcp_peak_sampled_speed_m_s":0.14707520515923853,"object_peak_sampled_speed_m_s":0.08087494912461447,"tcp_rise_m":0.010631774059686558,"object_rise_m":0.008546980687019715},"ended_by_observed_event":true},{"type":"reassessment_started","t_seconds":11.999999999998789,"reason":"bounded_slowdown_complete","before":{"start_s":11.899999999998789,"end_s":11.999999999998789,"complete":true,"sample_count":6,"observed_span_s":0.09999999999994458,"tcp_path_m":0.007703721426784744,"object_path_m":0.0070117531480173,"tcp_mean_speed_m_s":0.07703721426789013,"object_mean_speed_m_s":0.07011753148021185,"tcp_peak_sampled_speed_m_s":0.10774326273797366,"object_peak_sampled_speed_m_s":0.08087494912461447,"tcp_rise_m":0.007693738980110623,"object_rise_m":0.00698671604150522},"after":{"start_s":11.999999999998789,"end_s":12.099999999998788,"complete":true,"sample_count":6,"observed_span_s":0.09999999999994458,"tcp_path_m":0.0013460278890133582,"object_path_m":0.001333457032684756,"tcp_mean_speed_m_s":0.013460278890141042,"object_mean_speed_m_s":0.013334570326854952,"tcp_peak_sampled_speed_m_s":0.04453651807099431,"object_peak_sampled_speed_m_s":0.044022345501661,"tcp_rise_m":0.0011868025500099133,"object_rise_m":0.0011586139479134172},"intervention":{"start_s":11.999999999998789,"end_s":12.219999999998667,"complete":true,"sample_count":12,"observed_span_s":0.21999999999987807,"tcp_path_m":0.00177370054255567,"object_path_m":0.0017844939832878078,"tcp_mean_speed_m_s":0.008062275193439331,"object_mean_speed_m_s":0.008111336287676348,"tcp_peak_sampled_speed_m_s":0.04453651807099431,"object_peak_sampled_speed_m_s":0.044022345501661,"tcp_rise_m":0.0011868025500099133,"object_rise_m":0.0011586139479134172},"ended_by_observed_event":true,"sampled_following_loss_comparison":{"t_seconds":11.999999999998789,"reason":"bounded_slowdown_complete","sampled_loss_before_alarm_s":null,"sampled_loss_to_alarm_delay_s":null,"no_preceding_sampled_loss_opportunity":true,"post_alarm_window_complete":true,"tcp_path_m":0.0013460278890133582,"tcp_rise_m":0.0011868025500099133,"object_rise_m":0.0011586139479134172}},{"type":"carry_resumed","t_seconds":12.219999999998667,"reason":"sustained_loaded_relative_settling","before":{"start_s":12.119999999998667,"end_s":12.219999999998667,"complete":true,"sample_count":6,"observed_span_s":0.09999999999994458,"tcp_path_m":0.0003369250642286767,"object_path_m":0.0003562864268627764,"tcp_mean_speed_m_s":0.0033692506422886345,"object_mean_speed_m_s":0.0035628642686297385,"tcp_peak_sampled_speed_m_s":0.004217757468227824,"object_peak_sampled_speed_m_s":0.004412894550698315,"tcp_rise_m":0.0,"object_rise_m":0.0},"after":{"start_s":12.219999999998667,"end_s":12.319999999998666,"complete":true,"sample_count":6,"observed_span_s":0.09999999999994458,"tcp_path_m":0.0028431837679208974,"object_path_m":0.0025994666533289607,"tcp_mean_speed_m_s":0.028431837679224733,"object_mean_speed_m_s":0.025994666533304015,"tcp_peak_sampled_speed_m_s":0.05811838606055286,"object_peak_sampled_speed_m_s":0.056495421262635175,"tcp_rise_m":0.0026151219947906784,"object_rise_m":0.0023702197663809516},"recorded_loaded_unsupported_window":true,"recorded_low_tcp_motion_window":true,"task_completed":true}],"resume_decisions":1,"resumed_completed":true,"resumed_not_completed":false,"loaded_settling_observed_at_resume":1,"low_tcp_motion_observed_at_resume":1,"unresolved_resume_windows":0},"result_file":"attempts/friction055-mass040-layout01--history_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813412,"control":"replay_open_jaw","policy_mode":"history","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.229991522666012e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11381535827931527,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.14978579198941588,"episode_wall_seconds":1.5422752078156918,"control_step_seconds":{"count":1000,"median":0.0013836873695254326,"p95":0.0014932090416550636,"max":0.0019283329602330923},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":12.967854179752555,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"history","active":false,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"c5dc975140c13061072f89ff6efdca81c0280f302e78a074f46480a1825a2264","initial_object_position_m":[0.2968708234947256,-0.02670456521977575,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction055-mass040-layout01--history_open_jaw","scene_id":"friction055-mass040-layout01","variant":"history_open_jaw","learned_policy":false,"attempt_wall_seconds":1.5443605000618845,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction055-mass040-layout01--history_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813412,"control":"hold","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.229991522666012e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11381535827931527,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.15854691597633064,"episode_wall_seconds":1.58531833300367,"control_step_seconds":{"count":1000,"median":0.001435895566828549,"p95":0.0015226250980049372,"max":0.007361709140241146},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":12.615762767410803,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"c5dc975140c13061072f89ff6efdca81c0280f302e78a074f46480a1825a2264","initial_object_position_m":[0.2968708234947256,-0.02670456521977575,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction055-mass040-layout01--hold","scene_id":"friction055-mass040-layout01","variant":"hold","learned_policy":false,"attempt_wall_seconds":1.5872410419397056,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction055-mass040-layout01--hold.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813413,"control":"placement","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":true,"max_object_lift_m":0.0003012588821428297,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.7613370256820668,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11389301522458685,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":19917,"88:90":465,"89:90":332,"86:90":313,"85:90":460}},"timing":{"setup_seconds":0.15973454201593995,"episode_wall_seconds":2.641226249979809,"control_step_seconds":{"count":1000,"median":0.002158396178856492,"p95":0.004483624827116728,"max":0.02491066697984934},"control_boundaries":1000,"missed_control_boundaries":1,"simulated_seconds_per_wall_second":7.572240356218765,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"5b7710cf05deeec60a5f6ac6242a959b94fd755bcaae1f657e6f8eb80c161ad6","initial_object_position_m":[0.299838401470379,-0.027567998637442238,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction055-mass060-layout00--baseline_placement","scene_id":"friction055-mass060-layout00","variant":"baseline_placement","learned_policy":false,"attempt_wall_seconds":2.6434872921090573,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction055-mass060-layout00--baseline_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813413,"control":"replay_open_jaw","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.22998874710845e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11347780317124788,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.17137358291074634,"episode_wall_seconds":1.5454378328286111,"control_step_seconds":{"count":1000,"median":0.00137262511998415,"p95":0.0014436249621212482,"max":0.0018680409993976355},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":12.941316418658852,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"5b7710cf05deeec60a5f6ac6242a959b94fd755bcaae1f657e6f8eb80c161ad6","initial_object_position_m":[0.299838401470379,-0.027567998637442238,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction055-mass060-layout00--baseline_open_jaw","scene_id":"friction055-mass060-layout00","variant":"baseline_open_jaw","learned_policy":false,"attempt_wall_seconds":1.5474246251396835,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction055-mass060-layout00--baseline_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813413,"control":"placement","policy_mode":"probe_only","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":true,"max_object_lift_m":0.00014758600217863738,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.5197070463511982,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11228736099226559,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":19973,"88:90":7189,"89:90":1075,"86:90":1204,"85:90":7160}},"timing":{"setup_seconds":0.15518970787525177,"episode_wall_seconds":2.3177445828914642,"control_step_seconds":{"count":1000,"median":0.001907687052153051,"p95":0.004141292069107294,"max":0.015290666837245226},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":8.6290785221255,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"probe_only","active":true,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[{"type":"probe_started","t_seconds":11.179999999999243,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":0,"diagnostic":{"t_seconds":11.179999999999243,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"alarm","t_seconds":11.559999999999032,"phase":"guard_stop","reason":"object_not_following","retry_index":0,"diagnostic":{"t_seconds":11.559999999999032,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.003563764498761541,"object_height_delta_m":0.00010373873714972226,"tcp_probe_height_delta_m":0.0036436718100284066,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0022919913075972083,"history_rate_m_s":0.019099927563320653,"history_path_m":0.002292919405752953,"history_excursion_m":0.0022919913075972083,"history_slope_m_s":[0.003391133589907811,-0.00015631027953148666,0.018895004818792513],"history_straightness":0.9995952329796608,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"retry_started","t_seconds":11.559999999999032,"phase":"guard_stop","reason":"supported_object_only","retry_index":1,"diagnostic":{"t_seconds":11.559999999999032,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.003563764498761541,"object_height_delta_m":0.00010373873714972226,"tcp_probe_height_delta_m":0.0036436718100284066,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0022919913075972083,"history_rate_m_s":0.019099927563320653,"history_path_m":0.002292919405752953,"history_excursion_m":0.0022919913075972083,"history_slope_m_s":[0.003391133589907811,-0.00015631027953148666,0.018895004818792513],"history_straightness":0.9995952329796608,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"retry_completed","t_seconds":13.219999999998112,"phase":"guard_retry_recenter","reason":"open_recenter_complete","retry_index":1,"diagnostic":{"t_seconds":13.219999999998112,"phase":"retry_recenter","retry_index":1,"bilateral_contact":false,"table_supported":true,"relative_offset_error_m":0.009728949527044155,"object_height_delta_m":-2.2936312586596674e-05,"tcp_probe_height_delta_m":0.009688909000580559,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"recenter_with_open_jaw","memory_stage":"observe","history_count":0,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":null,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":null,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"probe_started","t_seconds":14.099999999997625,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":1,"diagnostic":{"t_seconds":14.099999999997625,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"alarm","t_seconds":14.479999999997414,"phase":"guard_stop","reason":"object_not_following","retry_index":1,"diagnostic":{"t_seconds":14.479999999997414,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0035520010042600263,"object_height_delta_m":0.00013067343927594677,"tcp_probe_height_delta_m":0.003620628774256729,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0022791063381245686,"history_rate_m_s":0.018992552817715266,"history_path_m":0.002281484002618067,"history_excursion_m":0.0022791063381245686,"history_slope_m_s":[0.0028829292282460065,0.0001412471888887149,0.018690496993064815],"history_straightness":0.9989578430132449,"history_bilateral_fraction":0.8571428571428571,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"abort","t_seconds":14.479999999997414,"phase":"guard_abort","reason":"retry_budget_exhausted:object_not_following","retry_index":1,"diagnostic":{"t_seconds":14.479999999997414,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0035520010042600263,"object_height_delta_m":0.00013067343927594677,"tcp_probe_height_delta_m":0.003620628774256729,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"abort_hold_closed","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0022791063381245686,"history_rate_m_s":0.018992552817715266,"history_path_m":0.002281484002618067,"history_excursion_m":0.0022791063381245686,"history_slope_m_s":[0.0028829292282460065,0.0001412471888887149,0.018690496993064815],"history_straightness":0.9989578430132449,"history_bilateral_fraction":0.8571428571428571,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}}],"retry_count":1,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":"retry_budget_exhausted:object_not_following","aborted":true,"diagnostic_count":1000,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"5b7710cf05deeec60a5f6ac6242a959b94fd755bcaae1f657e6f8eb80c161ad6","initial_object_position_m":[0.299838401470379,-0.027567998637442238,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction055-mass060-layout00--probe_only_placement","scene_id":"friction055-mass060-layout00","variant":"probe_only_placement","learned_policy":false,"attempt_wall_seconds":2.3199295420199633,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[{"t_seconds":11.559999999999032,"reason":"object_not_following","sampled_loss_before_alarm_s":null,"sampled_loss_to_alarm_delay_s":null,"no_preceding_sampled_loss_opportunity":true,"post_alarm_window_complete":true,"tcp_path_m":0.0003618237233854952,"tcp_rise_m":0.00028272518175209704,"object_rise_m":0.0},{"t_seconds":14.479999999997414,"reason":"object_not_following","sampled_loss_before_alarm_s":null,"sampled_loss_to_alarm_delay_s":null,"no_preceding_sampled_loss_opportunity":true,"post_alarm_window_complete":true,"tcp_path_m":0.0003470398744185715,"tcp_rise_m":0.00027558458940059316,"object_rise_m":3.1320090550790436e-06}],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":true,"retry_count":1,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction055-mass060-layout00--probe_only_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813413,"control":"replay_open_jaw","policy_mode":"probe_only","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.22998874710845e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11347780317124788,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.18723204196430743,"episode_wall_seconds":1.6319622080773115,"control_step_seconds":{"count":1000,"median":0.001457187463529408,"p95":0.0015312910545617342,"max":0.002084749983623624},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":12.255185751859024,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"probe_only","active":false,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"5b7710cf05deeec60a5f6ac6242a959b94fd755bcaae1f657e6f8eb80c161ad6","initial_object_position_m":[0.299838401470379,-0.027567998637442238,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction055-mass060-layout00--probe_only_open_jaw","scene_id":"friction055-mass060-layout00","variant":"probe_only_open_jaw","learned_policy":false,"attempt_wall_seconds":1.6340808749664575,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction055-mass060-layout00--probe_only_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813413,"control":"placement","policy_mode":"history","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":true,"max_object_lift_m":0.00014758600217863738,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.5197070463511982,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11228736099226559,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":19973,"88:90":7189,"89:90":1075,"86:90":1204,"85:90":7160}},"timing":{"setup_seconds":0.15987475006841123,"episode_wall_seconds":2.144153750035912,"control_step_seconds":{"count":1000,"median":0.0016806875355541706,"p95":0.003550708992406726,"max":0.010419042082503438},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":9.327689303841428,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"history","active":true,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[{"type":"probe_started","t_seconds":11.179999999999243,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":0,"diagnostic":{"t_seconds":11.179999999999243,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"alarm","t_seconds":11.559999999999032,"phase":"guard_stop","reason":"object_not_following","retry_index":0,"diagnostic":{"t_seconds":11.559999999999032,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.003563764498761541,"object_height_delta_m":0.00010373873714972226,"tcp_probe_height_delta_m":0.0036436718100284066,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0022919913075972083,"history_rate_m_s":0.019099927563320653,"history_path_m":0.002292919405752953,"history_excursion_m":0.0022919913075972083,"history_slope_m_s":[0.003391133589907811,-0.00015631027953148666,0.018895004818792513],"history_straightness":0.9995952329796608,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"retry_started","t_seconds":11.559999999999032,"phase":"guard_stop","reason":"supported_object_only","retry_index":1,"diagnostic":{"t_seconds":11.559999999999032,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.003563764498761541,"object_height_delta_m":0.00010373873714972226,"tcp_probe_height_delta_m":0.0036436718100284066,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0022919913075972083,"history_rate_m_s":0.019099927563320653,"history_path_m":0.002292919405752953,"history_excursion_m":0.0022919913075972083,"history_slope_m_s":[0.003391133589907811,-0.00015631027953148666,0.018895004818792513],"history_straightness":0.9995952329796608,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"retry_completed","t_seconds":13.219999999998112,"phase":"guard_retry_recenter","reason":"open_recenter_complete","retry_index":1,"diagnostic":{"t_seconds":13.219999999998112,"phase":"retry_recenter","retry_index":1,"bilateral_contact":false,"table_supported":true,"relative_offset_error_m":0.009728949527044155,"object_height_delta_m":-2.2936312586596674e-05,"tcp_probe_height_delta_m":0.009688909000580559,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"recenter_with_open_jaw","memory_stage":"observe","history_count":0,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":null,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":null,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"probe_started","t_seconds":14.099999999997625,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":1,"diagnostic":{"t_seconds":14.099999999997625,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"alarm","t_seconds":14.479999999997414,"phase":"guard_stop","reason":"object_not_following","retry_index":1,"diagnostic":{"t_seconds":14.479999999997414,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0035520010042600263,"object_height_delta_m":0.00013067343927594677,"tcp_probe_height_delta_m":0.003620628774256729,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0022791063381245686,"history_rate_m_s":0.018992552817715266,"history_path_m":0.002281484002618067,"history_excursion_m":0.0022791063381245686,"history_slope_m_s":[0.0028829292282460065,0.0001412471888887149,0.018690496993064815],"history_straightness":0.9989578430132449,"history_bilateral_fraction":0.8571428571428571,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"abort","t_seconds":14.479999999997414,"phase":"guard_abort","reason":"retry_budget_exhausted:object_not_following","retry_index":1,"diagnostic":{"t_seconds":14.479999999997414,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0035520010042600263,"object_height_delta_m":0.00013067343927594677,"tcp_probe_height_delta_m":0.003620628774256729,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"abort_hold_closed","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0022791063381245686,"history_rate_m_s":0.018992552817715266,"history_path_m":0.002281484002618067,"history_excursion_m":0.0022791063381245686,"history_slope_m_s":[0.0028829292282460065,0.0001412471888887149,0.018690496993064815],"history_straightness":0.9989578430132449,"history_bilateral_fraction":0.8571428571428571,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}}],"retry_count":1,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":"retry_budget_exhausted:object_not_following","aborted":true,"diagnostic_count":1000,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"5b7710cf05deeec60a5f6ac6242a959b94fd755bcaae1f657e6f8eb80c161ad6","initial_object_position_m":[0.299838401470379,-0.027567998637442238,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction055-mass060-layout00--history_placement","scene_id":"friction055-mass060-layout00","variant":"history_placement","learned_policy":false,"attempt_wall_seconds":2.1464469579514116,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[{"t_seconds":11.559999999999032,"reason":"object_not_following","sampled_loss_before_alarm_s":null,"sampled_loss_to_alarm_delay_s":null,"no_preceding_sampled_loss_opportunity":true,"post_alarm_window_complete":true,"tcp_path_m":0.0003618237233854952,"tcp_rise_m":0.00028272518175209704,"object_rise_m":0.0},{"t_seconds":14.479999999997414,"reason":"object_not_following","sampled_loss_before_alarm_s":null,"sampled_loss_to_alarm_delay_s":null,"no_preceding_sampled_loss_opportunity":true,"post_alarm_window_complete":true,"tcp_path_m":0.0003470398744185715,"tcp_rise_m":0.00027558458940059316,"object_rise_m":3.1320090550790436e-06}],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":true,"retry_count":1,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction055-mass060-layout00--history_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813413,"control":"replay_open_jaw","policy_mode":"history","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.22998874710845e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11347780317124788,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.20831937505863607,"episode_wall_seconds":2.684059417108074,"control_step_seconds":{"count":1000,"median":0.0018178130267187953,"p95":0.004084874875843525,"max":0.19444404216483235},"control_boundaries":1000,"missed_control_boundaries":1,"simulated_seconds_per_wall_second":7.451399873088636,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"history","active":false,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"5b7710cf05deeec60a5f6ac6242a959b94fd755bcaae1f657e6f8eb80c161ad6","initial_object_position_m":[0.299838401470379,-0.027567998637442238,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction055-mass060-layout00--history_open_jaw","scene_id":"friction055-mass060-layout00","variant":"history_open_jaw","learned_policy":false,"attempt_wall_seconds":2.688040791079402,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction055-mass060-layout00--history_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813413,"control":"hold","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.22998874710845e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11347780317124788,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.27430408308282495,"episode_wall_seconds":1.7352951250504702,"control_step_seconds":{"count":1000,"median":0.0014317710883915424,"p95":0.0018077499698847532,"max":0.0024251670110970736},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":11.525417037876926,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"5b7710cf05deeec60a5f6ac6242a959b94fd755bcaae1f657e6f8eb80c161ad6","initial_object_position_m":[0.299838401470379,-0.027567998637442238,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction055-mass060-layout00--hold","scene_id":"friction055-mass060-layout00","variant":"hold","learned_policy":false,"attempt_wall_seconds":1.7371656668838114,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction055-mass060-layout00--hold.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813414,"control":"placement","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":true,"max_object_lift_m":0.0002620653233065401,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.730938343471184,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11405615008429261,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":19924,"88:90":470,"89:90":320,"86:90":312,"85:90":461}},"timing":{"setup_seconds":0.15047512506134808,"episode_wall_seconds":1.6348457920830697,"control_step_seconds":{"count":1000,"median":0.0014249164378270507,"p95":0.0016710830386728048,"max":0.011311541078612208},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":12.233569732909231,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"e443341a11e9f86b4c13d3f21c41bb88d0e82c15012316217dc3e9393254faa8","initial_object_position_m":[0.29687079054241855,-0.026704440355815266,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction055-mass060-layout01--baseline_placement","scene_id":"friction055-mass060-layout01","variant":"baseline_placement","learned_policy":false,"attempt_wall_seconds":1.6368058749940246,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction055-mass060-layout01--baseline_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813414,"control":"replay_open_jaw","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.22998874710845e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11381526157936653,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.1835656671319157,"episode_wall_seconds":1.8821947500109673,"control_step_seconds":{"count":1000,"median":0.00163845787756145,"p95":0.0018657089676707983,"max":0.002916957950219512},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":10.625892990023972,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"e443341a11e9f86b4c13d3f21c41bb88d0e82c15012316217dc3e9393254faa8","initial_object_position_m":[0.29687079054241855,-0.026704440355815266,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction055-mass060-layout01--baseline_open_jaw","scene_id":"friction055-mass060-layout01","variant":"baseline_open_jaw","learned_policy":false,"attempt_wall_seconds":1.8843073330353945,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction055-mass060-layout01--baseline_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813414,"control":"placement","policy_mode":"probe_only","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":true,"max_object_lift_m":0.00014236719536810105,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.5517451116320745,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11258808700074896,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":19987,"88:90":7212,"89:90":1061,"86:90":1209,"85:90":7188}},"timing":{"setup_seconds":0.17994941701181233,"episode_wall_seconds":2.772837042110041,"control_step_seconds":{"count":1000,"median":0.0015905625186860561,"p95":0.0055822080466896296,"max":0.03452920797280967},"control_boundaries":1000,"missed_control_boundaries":3,"simulated_seconds_per_wall_second":7.212829205708424,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"probe_only","active":true,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[{"type":"probe_started","t_seconds":11.159999999999254,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":0,"diagnostic":{"t_seconds":11.159999999999254,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"alarm","t_seconds":11.539999999999043,"phase":"guard_stop","reason":"object_not_following","retry_index":0,"diagnostic":{"t_seconds":11.539999999999043,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.003628499270904677,"object_height_delta_m":8.81063902740814e-05,"tcp_probe_height_delta_m":0.0036804764401718454,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0023434190195393253,"history_rate_m_s":0.0195284918295052,"history_path_m":0.0023438099409795127,"history_excursion_m":0.0023434190195393253,"history_slope_m_s":[0.00378556671805495,2.4643214696438048e-05,0.019122025777096145],"history_straightness":0.999833211117782,"history_bilateral_fraction":0.8571428571428571,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"retry_started","t_seconds":11.539999999999043,"phase":"guard_stop","reason":"supported_object_only","retry_index":1,"diagnostic":{"t_seconds":11.539999999999043,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.003628499270904677,"object_height_delta_m":8.81063902740814e-05,"tcp_probe_height_delta_m":0.0036804764401718454,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0023434190195393253,"history_rate_m_s":0.0195284918295052,"history_path_m":0.0023438099409795127,"history_excursion_m":0.0023434190195393253,"history_slope_m_s":[0.00378556671805495,2.4643214696438048e-05,0.019122025777096145],"history_straightness":0.999833211117782,"history_bilateral_fraction":0.8571428571428571,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"retry_completed","t_seconds":13.199999999998123,"phase":"guard_retry_recenter","reason":"open_recenter_complete","retry_index":1,"diagnostic":{"t_seconds":13.199999999998123,"phase":"retry_recenter","retry_index":1,"bilateral_contact":false,"table_supported":true,"relative_offset_error_m":0.009728164928724147,"object_height_delta_m":-2.3028996377044697e-05,"tcp_probe_height_delta_m":0.009687593758503366,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"recenter_with_open_jaw","memory_stage":"observe","history_count":0,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":null,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":null,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"probe_started","t_seconds":14.079999999997636,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":1,"diagnostic":{"t_seconds":14.079999999997636,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"alarm","t_seconds":14.459999999997425,"phase":"guard_stop","reason":"relative_slip","retry_index":1,"diagnostic":{"t_seconds":14.459999999997425,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.003557737816216816,"object_height_delta_m":0.00013324188769883727,"tcp_probe_height_delta_m":0.0036215834806907904,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":1,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.002258311422420341,"history_rate_m_s":0.018819261853513274,"history_path_m":0.0022599740216474344,"history_excursion_m":0.002258311422420341,"history_slope_m_s":[0.0028499266368486745,-0.00013220465556897207,0.018698058369267728],"history_straightness":0.9992643281687453,"history_bilateral_fraction":0.8571428571428571,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"abort","t_seconds":14.459999999997425,"phase":"guard_abort","reason":"retry_budget_exhausted:relative_slip","retry_index":1,"diagnostic":{"t_seconds":14.459999999997425,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.003557737816216816,"object_height_delta_m":0.00013324188769883727,"tcp_probe_height_delta_m":0.0036215834806907904,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":1,"decision":"abort_hold_closed","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.002258311422420341,"history_rate_m_s":0.018819261853513274,"history_path_m":0.0022599740216474344,"history_excursion_m":0.002258311422420341,"history_slope_m_s":[0.0028499266368486745,-0.00013220465556897207,0.018698058369267728],"history_straightness":0.9992643281687453,"history_bilateral_fraction":0.8571428571428571,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}}],"retry_count":1,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":"retry_budget_exhausted:relative_slip","aborted":true,"diagnostic_count":1000,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"e443341a11e9f86b4c13d3f21c41bb88d0e82c15012316217dc3e9393254faa8","initial_object_position_m":[0.29687079054241855,-0.026704440355815266,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction055-mass060-layout01--probe_only_placement","scene_id":"friction055-mass060-layout01","variant":"probe_only_placement","learned_policy":false,"attempt_wall_seconds":2.777694083051756,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[{"t_seconds":11.539999999999043,"reason":"object_not_following","sampled_loss_before_alarm_s":null,"sampled_loss_to_alarm_delay_s":null,"no_preceding_sampled_loss_opportunity":true,"post_alarm_window_complete":true,"tcp_path_m":0.0003536275585191194,"tcp_rise_m":0.00027693055531691213,"object_rise_m":0.0},{"t_seconds":14.459999999997425,"reason":"relative_slip","sampled_loss_before_alarm_s":null,"sampled_loss_to_alarm_delay_s":null,"no_preceding_sampled_loss_opportunity":true,"post_alarm_window_complete":true,"tcp_path_m":0.0003445730700883462,"tcp_rise_m":0.0002707099890740944,"object_rise_m":0.0}],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":true,"retry_count":1,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction055-mass060-layout01--probe_only_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813414,"control":"replay_open_jaw","policy_mode":"probe_only","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.22998874710845e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11381526157936653,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.24206691700965166,"episode_wall_seconds":1.9639646250288934,"control_step_seconds":{"count":1000,"median":0.0016339170979335904,"p95":0.0020753329154103994,"max":0.008679083082824945},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":10.183482810800232,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"probe_only","active":false,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"e443341a11e9f86b4c13d3f21c41bb88d0e82c15012316217dc3e9393254faa8","initial_object_position_m":[0.29687079054241855,-0.026704440355815266,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction055-mass060-layout01--probe_only_open_jaw","scene_id":"friction055-mass060-layout01","variant":"probe_only_open_jaw","learned_policy":false,"attempt_wall_seconds":1.966938708908856,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction055-mass060-layout01--probe_only_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813414,"control":"placement","policy_mode":"history","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":true,"max_object_lift_m":0.00014236719536810105,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.5517451116320745,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11258808700074896,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":19987,"88:90":7212,"89:90":1061,"86:90":1209,"85:90":7188}},"timing":{"setup_seconds":0.23707441589795053,"episode_wall_seconds":2.5532283750362694,"control_step_seconds":{"count":1000,"median":0.00214870844502002,"p95":0.0038241250440478325,"max":0.0058242089580744505},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":7.833220167670021,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"history","active":true,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[{"type":"probe_started","t_seconds":11.159999999999254,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":0,"diagnostic":{"t_seconds":11.159999999999254,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"alarm","t_seconds":11.539999999999043,"phase":"guard_stop","reason":"object_not_following","retry_index":0,"diagnostic":{"t_seconds":11.539999999999043,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.003628499270904677,"object_height_delta_m":8.81063902740814e-05,"tcp_probe_height_delta_m":0.0036804764401718454,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0023434190195393253,"history_rate_m_s":0.0195284918295052,"history_path_m":0.0023438099409795127,"history_excursion_m":0.0023434190195393253,"history_slope_m_s":[0.00378556671805495,2.4643214696438048e-05,0.019122025777096145],"history_straightness":0.999833211117782,"history_bilateral_fraction":0.8571428571428571,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"retry_started","t_seconds":11.539999999999043,"phase":"guard_stop","reason":"supported_object_only","retry_index":1,"diagnostic":{"t_seconds":11.539999999999043,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.003628499270904677,"object_height_delta_m":8.81063902740814e-05,"tcp_probe_height_delta_m":0.0036804764401718454,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0023434190195393253,"history_rate_m_s":0.0195284918295052,"history_path_m":0.0023438099409795127,"history_excursion_m":0.0023434190195393253,"history_slope_m_s":[0.00378556671805495,2.4643214696438048e-05,0.019122025777096145],"history_straightness":0.999833211117782,"history_bilateral_fraction":0.8571428571428571,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"retry_completed","t_seconds":13.199999999998123,"phase":"guard_retry_recenter","reason":"open_recenter_complete","retry_index":1,"diagnostic":{"t_seconds":13.199999999998123,"phase":"retry_recenter","retry_index":1,"bilateral_contact":false,"table_supported":true,"relative_offset_error_m":0.009728164928724147,"object_height_delta_m":-2.3028996377044697e-05,"tcp_probe_height_delta_m":0.009687593758503366,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"recenter_with_open_jaw","memory_stage":"observe","history_count":0,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":null,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":null,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"probe_started","t_seconds":14.079999999997636,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":1,"diagnostic":{"t_seconds":14.079999999997636,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"alarm","t_seconds":14.459999999997425,"phase":"guard_stop","reason":"relative_slip","retry_index":1,"diagnostic":{"t_seconds":14.459999999997425,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.003557737816216816,"object_height_delta_m":0.00013324188769883727,"tcp_probe_height_delta_m":0.0036215834806907904,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":1,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.002258311422420341,"history_rate_m_s":0.018819261853513274,"history_path_m":0.0022599740216474344,"history_excursion_m":0.002258311422420341,"history_slope_m_s":[0.0028499266368486745,-0.00013220465556897207,0.018698058369267728],"history_straightness":0.9992643281687453,"history_bilateral_fraction":0.8571428571428571,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"abort","t_seconds":14.459999999997425,"phase":"guard_abort","reason":"retry_budget_exhausted:relative_slip","retry_index":1,"diagnostic":{"t_seconds":14.459999999997425,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.003557737816216816,"object_height_delta_m":0.00013324188769883727,"tcp_probe_height_delta_m":0.0036215834806907904,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":1,"decision":"abort_hold_closed","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.002258311422420341,"history_rate_m_s":0.018819261853513274,"history_path_m":0.0022599740216474344,"history_excursion_m":0.002258311422420341,"history_slope_m_s":[0.0028499266368486745,-0.00013220465556897207,0.018698058369267728],"history_straightness":0.9992643281687453,"history_bilateral_fraction":0.8571428571428571,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}}],"retry_count":1,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":"retry_budget_exhausted:relative_slip","aborted":true,"diagnostic_count":1000,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"e443341a11e9f86b4c13d3f21c41bb88d0e82c15012316217dc3e9393254faa8","initial_object_position_m":[0.29687079054241855,-0.026704440355815266,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction055-mass060-layout01--history_placement","scene_id":"friction055-mass060-layout01","variant":"history_placement","learned_policy":false,"attempt_wall_seconds":2.5552200409583747,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[{"t_seconds":11.539999999999043,"reason":"object_not_following","sampled_loss_before_alarm_s":null,"sampled_loss_to_alarm_delay_s":null,"no_preceding_sampled_loss_opportunity":true,"post_alarm_window_complete":true,"tcp_path_m":0.0003536275585191194,"tcp_rise_m":0.00027693055531691213,"object_rise_m":0.0},{"t_seconds":14.459999999997425,"reason":"relative_slip","sampled_loss_before_alarm_s":null,"sampled_loss_to_alarm_delay_s":null,"no_preceding_sampled_loss_opportunity":true,"post_alarm_window_complete":true,"tcp_path_m":0.0003445730700883462,"tcp_rise_m":0.0002707099890740944,"object_rise_m":0.0}],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":true,"retry_count":1,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction055-mass060-layout01--history_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813414,"control":"replay_open_jaw","policy_mode":"history","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.22998874710845e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11381526157936653,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.15389250009320676,"episode_wall_seconds":1.4960951250977814,"control_step_seconds":{"count":1000,"median":0.001339187496341765,"p95":0.0014271249528974295,"max":0.0018430422060191631},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":13.368133927108616,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"history","active":false,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"e443341a11e9f86b4c13d3f21c41bb88d0e82c15012316217dc3e9393254faa8","initial_object_position_m":[0.29687079054241855,-0.026704440355815266,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction055-mass060-layout01--history_open_jaw","scene_id":"friction055-mass060-layout01","variant":"history_open_jaw","learned_policy":false,"attempt_wall_seconds":1.4983375000301749,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction055-mass060-layout01--history_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813414,"control":"hold","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.55,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.22998874710845e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11381526157936653,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.15848029195331037,"episode_wall_seconds":1.6171677089296281,"control_step_seconds":{"count":1000,"median":0.001448208000510931,"p95":0.0015902090817689896,"max":0.007992458064109087},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":12.367301108948725,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"e443341a11e9f86b4c13d3f21c41bb88d0e82c15012316217dc3e9393254faa8","initial_object_position_m":[0.29687079054241855,-0.026704440355815266,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction055-mass060-layout01--hold","scene_id":"friction055-mass060-layout01","variant":"hold","learned_policy":false,"attempt_wall_seconds":1.6191128750797361,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction055-mass060-layout01--hold.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813415,"control":"placement","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":true,"max_object_lift_m":0.00016477987688512385,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.5164160685865703,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11388194050366003,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":19997,"88:90":514,"89:90":341,"86:90":334,"85:90":505}},"timing":{"setup_seconds":0.17245549988001585,"episode_wall_seconds":1.785226082894951,"control_step_seconds":{"count":1000,"median":0.0015302920946851373,"p95":0.001772125018760562,"max":0.005621124990284443},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":11.203062845445963,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"c6321b371ee59e807e091c2935e648a0a7058c5699e4fcd96d6abd5f63d6c4ec","initial_object_position_m":[0.299838434422686,-0.02756812350168224,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction015-mass040-layout00--baseline_placement","scene_id":"friction015-mass040-layout00","variant":"baseline_placement","learned_policy":false,"attempt_wall_seconds":1.7872165830340236,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction015-mass040-layout00--baseline_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813415,"control":"replay_open_jaw","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.229994298223573e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11347790219432505,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.16054137493483722,"episode_wall_seconds":1.7398516670800745,"control_step_seconds":{"count":1000,"median":0.0014024584088474512,"p95":0.00236304197460413,"max":0.005761582870036364},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":11.495232828420761,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"c6321b371ee59e807e091c2935e648a0a7058c5699e4fcd96d6abd5f63d6c4ec","initial_object_position_m":[0.299838434422686,-0.02756812350168224,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction015-mass040-layout00--baseline_open_jaw","scene_id":"friction015-mass040-layout00","variant":"baseline_open_jaw","learned_policy":false,"attempt_wall_seconds":1.74382199998945,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction015-mass040-layout00--baseline_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813415,"control":"placement","policy_mode":"probe_only","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":true,"max_object_lift_m":8.014702883017699e-05,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.4245965346311907,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11273899431536097,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000,"88:90":7262,"89:90":1193,"86:90":1195,"85:90":7212}},"timing":{"setup_seconds":0.3664444577880204,"episode_wall_seconds":3.562834832817316,"control_step_seconds":{"count":1000,"median":0.0022716879611834884,"p95":0.005728791933506727,"max":0.09712333302013576},"control_boundaries":1000,"missed_control_boundaries":9,"simulated_seconds_per_wall_second":5.613507484484324,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"probe_only","active":true,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[{"type":"probe_started","t_seconds":11.179999999999243,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":0,"diagnostic":{"t_seconds":11.179999999999243,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"alarm","t_seconds":11.519999999999055,"phase":"guard_stop","reason":"object_not_following","retry_index":0,"diagnostic":{"t_seconds":11.519999999999055,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.003586365127298384,"object_height_delta_m":4.9643586445741184e-05,"tcp_probe_height_delta_m":0.0034284596478998813,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.002400490989755421,"history_rate_m_s":0.02000409158130626,"history_path_m":0.00240062075790797,"history_excursion_m":0.002400490989755421,"history_slope_m_s":[0.007399138645320555,-1.430669547092258e-05,0.01870803145489007],"history_straightness":0.9999459439179965,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"retry_started","t_seconds":11.519999999999055,"phase":"guard_stop","reason":"supported_object_only","retry_index":1,"diagnostic":{"t_seconds":11.519999999999055,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.003586365127298384,"object_height_delta_m":4.9643586445741184e-05,"tcp_probe_height_delta_m":0.0034284596478998813,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.002400490989755421,"history_rate_m_s":0.02000409158130626,"history_path_m":0.00240062075790797,"history_excursion_m":0.002400490989755421,"history_slope_m_s":[0.007399138645320555,-1.430669547092258e-05,0.01870803145489007],"history_straightness":0.9999459439179965,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"retry_completed","t_seconds":13.179999999998135,"phase":"guard_retry_recenter","reason":"open_recenter_complete","retry_index":1,"diagnostic":{"t_seconds":13.179999999998135,"phase":"retry_recenter","retry_index":1,"bilateral_contact":false,"table_supported":true,"relative_offset_error_m":0.00973997483902194,"object_height_delta_m":-1.7722696144834016e-05,"tcp_probe_height_delta_m":0.009712006769190915,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"recenter_with_open_jaw","memory_stage":"observe","history_count":0,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":null,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":null,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"probe_started","t_seconds":14.059999999997647,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":1,"diagnostic":{"t_seconds":14.059999999997647,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"alarm","t_seconds":14.419999999997447,"phase":"guard_stop","reason":"object_not_following","retry_index":1,"diagnostic":{"t_seconds":14.419999999997447,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.004026904137536693,"object_height_delta_m":7.688557920326744e-05,"tcp_probe_height_delta_m":0.003820527466412482,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0025378983336790933,"history_rate_m_s":0.02114915278067083,"history_path_m":0.002546204551301624,"history_excursion_m":0.0025378983336790933,"history_slope_m_s":[0.007533552508727528,0.0004114122717581346,0.019901266259077885],"history_straightness":0.9967378042670277,"history_bilateral_fraction":0.8571428571428571,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"abort","t_seconds":14.419999999997447,"phase":"guard_abort","reason":"retry_budget_exhausted:object_not_following","retry_index":1,"diagnostic":{"t_seconds":14.419999999997447,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.004026904137536693,"object_height_delta_m":7.688557920326744e-05,"tcp_probe_height_delta_m":0.003820527466412482,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"abort_hold_closed","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0025378983336790933,"history_rate_m_s":0.02114915278067083,"history_path_m":0.002546204551301624,"history_excursion_m":0.0025378983336790933,"history_slope_m_s":[0.007533552508727528,0.0004114122717581346,0.019901266259077885],"history_straightness":0.9967378042670277,"history_bilateral_fraction":0.8571428571428571,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}}],"retry_count":1,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":"retry_budget_exhausted:object_not_following","aborted":true,"diagnostic_count":1000,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"c6321b371ee59e807e091c2935e648a0a7058c5699e4fcd96d6abd5f63d6c4ec","initial_object_position_m":[0.299838434422686,-0.02756812350168224,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction015-mass040-layout00--probe_only_placement","scene_id":"friction015-mass040-layout00","variant":"probe_only_placement","learned_policy":false,"attempt_wall_seconds":3.5648690829984844,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[{"t_seconds":11.519999999999055,"reason":"object_not_following","sampled_loss_before_alarm_s":null,"sampled_loss_to_alarm_delay_s":null,"no_preceding_sampled_loss_opportunity":true,"post_alarm_window_complete":true,"tcp_path_m":0.00037698947072120474,"tcp_rise_m":0.0003128953121786099,"object_rise_m":0.0},{"t_seconds":14.419999999997447,"reason":"object_not_following","sampled_loss_before_alarm_s":null,"sampled_loss_to_alarm_delay_s":null,"no_preceding_sampled_loss_opportunity":true,"post_alarm_window_complete":true,"tcp_path_m":0.00036860555201946235,"tcp_rise_m":0.00030750253475643474,"object_rise_m":0.0}],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":true,"retry_count":1,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction015-mass040-layout00--probe_only_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813415,"control":"replay_open_jaw","policy_mode":"probe_only","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.229994298223573e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11347790219432505,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.14878612500615418,"episode_wall_seconds":1.4536708751693368,"control_step_seconds":{"count":1000,"median":0.0012997294543311,"p95":0.0013977920170873404,"max":0.0022854169365018606},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":13.758272482188707,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"probe_only","active":false,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"c6321b371ee59e807e091c2935e648a0a7058c5699e4fcd96d6abd5f63d6c4ec","initial_object_position_m":[0.299838434422686,-0.02756812350168224,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction015-mass040-layout00--probe_only_open_jaw","scene_id":"friction015-mass040-layout00","variant":"probe_only_open_jaw","learned_policy":false,"attempt_wall_seconds":1.455924625042826,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction015-mass040-layout00--probe_only_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813415,"control":"placement","policy_mode":"history","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":true,"max_object_lift_m":8.014702883017699e-05,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.4245965346311907,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11273899431536097,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000,"88:90":7262,"89:90":1193,"86:90":1195,"85:90":7212}},"timing":{"setup_seconds":0.1541859160643071,"episode_wall_seconds":2.053263165988028,"control_step_seconds":{"count":1000,"median":0.0015205835225060582,"p95":0.0043887910433113575,"max":0.012623499846085906},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":9.7405925997691,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"history","active":true,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[{"type":"probe_started","t_seconds":11.179999999999243,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":0,"diagnostic":{"t_seconds":11.179999999999243,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"alarm","t_seconds":11.519999999999055,"phase":"guard_stop","reason":"object_not_following","retry_index":0,"diagnostic":{"t_seconds":11.519999999999055,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.003586365127298384,"object_height_delta_m":4.9643586445741184e-05,"tcp_probe_height_delta_m":0.0034284596478998813,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.002400490989755421,"history_rate_m_s":0.02000409158130626,"history_path_m":0.00240062075790797,"history_excursion_m":0.002400490989755421,"history_slope_m_s":[0.007399138645320555,-1.430669547092258e-05,0.01870803145489007],"history_straightness":0.9999459439179965,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"retry_started","t_seconds":11.519999999999055,"phase":"guard_stop","reason":"supported_object_only","retry_index":1,"diagnostic":{"t_seconds":11.519999999999055,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.003586365127298384,"object_height_delta_m":4.9643586445741184e-05,"tcp_probe_height_delta_m":0.0034284596478998813,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.002400490989755421,"history_rate_m_s":0.02000409158130626,"history_path_m":0.00240062075790797,"history_excursion_m":0.002400490989755421,"history_slope_m_s":[0.007399138645320555,-1.430669547092258e-05,0.01870803145489007],"history_straightness":0.9999459439179965,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"retry_completed","t_seconds":13.179999999998135,"phase":"guard_retry_recenter","reason":"open_recenter_complete","retry_index":1,"diagnostic":{"t_seconds":13.179999999998135,"phase":"retry_recenter","retry_index":1,"bilateral_contact":false,"table_supported":true,"relative_offset_error_m":0.00973997483902194,"object_height_delta_m":-1.7722696144834016e-05,"tcp_probe_height_delta_m":0.009712006769190915,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"recenter_with_open_jaw","memory_stage":"observe","history_count":0,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":null,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":null,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"probe_started","t_seconds":14.059999999997647,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":1,"diagnostic":{"t_seconds":14.059999999997647,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"alarm","t_seconds":14.419999999997447,"phase":"guard_stop","reason":"object_not_following","retry_index":1,"diagnostic":{"t_seconds":14.419999999997447,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.004026904137536693,"object_height_delta_m":7.688557920326744e-05,"tcp_probe_height_delta_m":0.003820527466412482,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0025378983336790933,"history_rate_m_s":0.02114915278067083,"history_path_m":0.002546204551301624,"history_excursion_m":0.0025378983336790933,"history_slope_m_s":[0.007533552508727528,0.0004114122717581346,0.019901266259077885],"history_straightness":0.9967378042670277,"history_bilateral_fraction":0.8571428571428571,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"abort","t_seconds":14.419999999997447,"phase":"guard_abort","reason":"retry_budget_exhausted:object_not_following","retry_index":1,"diagnostic":{"t_seconds":14.419999999997447,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.004026904137536693,"object_height_delta_m":7.688557920326744e-05,"tcp_probe_height_delta_m":0.003820527466412482,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"abort_hold_closed","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0025378983336790933,"history_rate_m_s":0.02114915278067083,"history_path_m":0.002546204551301624,"history_excursion_m":0.0025378983336790933,"history_slope_m_s":[0.007533552508727528,0.0004114122717581346,0.019901266259077885],"history_straightness":0.9967378042670277,"history_bilateral_fraction":0.8571428571428571,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}}],"retry_count":1,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":"retry_budget_exhausted:object_not_following","aborted":true,"diagnostic_count":1000,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"c6321b371ee59e807e091c2935e648a0a7058c5699e4fcd96d6abd5f63d6c4ec","initial_object_position_m":[0.299838434422686,-0.02756812350168224,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction015-mass040-layout00--history_placement","scene_id":"friction015-mass040-layout00","variant":"history_placement","learned_policy":false,"attempt_wall_seconds":2.0552776250988245,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[{"t_seconds":11.519999999999055,"reason":"object_not_following","sampled_loss_before_alarm_s":null,"sampled_loss_to_alarm_delay_s":null,"no_preceding_sampled_loss_opportunity":true,"post_alarm_window_complete":true,"tcp_path_m":0.00037698947072120474,"tcp_rise_m":0.0003128953121786099,"object_rise_m":0.0},{"t_seconds":14.419999999997447,"reason":"object_not_following","sampled_loss_before_alarm_s":null,"sampled_loss_to_alarm_delay_s":null,"no_preceding_sampled_loss_opportunity":true,"post_alarm_window_complete":true,"tcp_path_m":0.00036860555201946235,"tcp_rise_m":0.00030750253475643474,"object_rise_m":0.0}],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":true,"retry_count":1,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction015-mass040-layout00--history_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813415,"control":"replay_open_jaw","policy_mode":"history","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.229994298223573e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11347790219432505,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.1873545420821756,"episode_wall_seconds":2.619350583991036,"control_step_seconds":{"count":1000,"median":0.0018649168778210878,"p95":0.004293042002245784,"max":0.053563375025987625},"control_boundaries":1000,"missed_control_boundaries":5,"simulated_seconds_per_wall_second":7.635480382900094,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"history","active":false,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"c6321b371ee59e807e091c2935e648a0a7058c5699e4fcd96d6abd5f63d6c4ec","initial_object_position_m":[0.299838434422686,-0.02756812350168224,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction015-mass040-layout00--history_open_jaw","scene_id":"friction015-mass040-layout00","variant":"history_open_jaw","learned_policy":false,"attempt_wall_seconds":2.623282416956499,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction015-mass040-layout00--history_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813415,"control":"hold","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.229994298223573e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11347790219432505,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.26343124988488853,"episode_wall_seconds":1.8314675418660045,"control_step_seconds":{"count":1000,"median":0.001557895913720131,"p95":0.00185870798304677,"max":0.004303124966099858},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":10.920204449610017,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"c6321b371ee59e807e091c2935e648a0a7058c5699e4fcd96d6abd5f63d6c4ec","initial_object_position_m":[0.299838434422686,-0.02756812350168224,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction015-mass040-layout00--hold","scene_id":"friction015-mass040-layout00","variant":"hold","learned_policy":false,"attempt_wall_seconds":1.8334821658208966,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction015-mass040-layout00--hold.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813416,"control":"placement","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":true,"max_object_lift_m":0.0001391830226629004,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.5046054943549616,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11428599976092463,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":19997,"88:90":508,"89:90":342,"86:90":335,"85:90":499}},"timing":{"setup_seconds":0.16427008295431733,"episode_wall_seconds":1.6080337080638856,"control_step_seconds":{"count":1000,"median":0.0013504584785550833,"p95":0.0015244998503476381,"max":0.008985790889710188},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":12.437550220313467,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"a0fff390b1d88b425107b7a51eef84e3aeccd11257c6b3ee038b7a329e34fa6e","initial_object_position_m":[0.2968708234947256,-0.02670456521977575,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction015-mass040-layout01--baseline_placement","scene_id":"friction015-mass040-layout01","variant":"baseline_placement","learned_policy":false,"attempt_wall_seconds":1.6099737919867039,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction015-mass040-layout01--baseline_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813416,"control":"replay_open_jaw","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.229994298223573e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11381535835909497,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.15026508388109505,"episode_wall_seconds":1.6808627918362617,"control_step_seconds":{"count":1000,"median":0.001482437364757061,"p95":0.0018490420188754797,"max":0.00387533288449049},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":11.898651155310793,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"a0fff390b1d88b425107b7a51eef84e3aeccd11257c6b3ee038b7a329e34fa6e","initial_object_position_m":[0.2968708234947256,-0.02670456521977575,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction015-mass040-layout01--baseline_open_jaw","scene_id":"friction015-mass040-layout01","variant":"baseline_open_jaw","learned_policy":false,"attempt_wall_seconds":1.6832516670692712,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction015-mass040-layout01--baseline_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813416,"control":"placement","policy_mode":"probe_only","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":true,"max_object_lift_m":8.010585275355919e-05,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.4133323743974449,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11302757123692748,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000,"88:90":7282,"89:90":1194,"86:90":1190,"85:90":7229}},"timing":{"setup_seconds":0.5486488749738783,"episode_wall_seconds":3.179837540956214,"control_step_seconds":{"count":1000,"median":0.0024844794534146786,"p95":0.00446254201233387,"max":0.007482042070478201},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":6.2896294991181305,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"probe_only","active":true,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[{"type":"probe_started","t_seconds":11.159999999999254,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":0,"diagnostic":{"t_seconds":11.159999999999254,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"alarm","t_seconds":11.499999999999066,"phase":"guard_stop","reason":"object_not_following","retry_index":0,"diagnostic":{"t_seconds":11.499999999999066,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.003602747563877221,"object_height_delta_m":5.243489246709032e-05,"tcp_probe_height_delta_m":0.003448215571422747,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0024103868547552428,"history_rate_m_s":0.02008655712297149,"history_path_m":0.0024113459264369754,"history_excursion_m":0.0024103868547552428,"history_slope_m_s":[0.007382473632594085,-0.00030537275251648135,0.018793014290159143],"history_straightness":0.9996022670695159,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"retry_started","t_seconds":11.499999999999066,"phase":"guard_stop","reason":"supported_object_only","retry_index":1,"diagnostic":{"t_seconds":11.499999999999066,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.003602747563877221,"object_height_delta_m":5.243489246709032e-05,"tcp_probe_height_delta_m":0.003448215571422747,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0024103868547552428,"history_rate_m_s":0.02008655712297149,"history_path_m":0.0024113459264369754,"history_excursion_m":0.0024103868547552428,"history_slope_m_s":[0.007382473632594085,-0.00030537275251648135,0.018793014290159143],"history_straightness":0.9996022670695159,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"retry_completed","t_seconds":13.159999999998146,"phase":"guard_retry_recenter","reason":"open_recenter_complete","retry_index":1,"diagnostic":{"t_seconds":13.159999999998146,"phase":"retry_recenter","retry_index":1,"bilateral_contact":false,"table_supported":true,"relative_offset_error_m":0.009742159332438357,"object_height_delta_m":-1.7884929789255266e-05,"tcp_probe_height_delta_m":0.009713489283606394,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"recenter_with_open_jaw","memory_stage":"observe","history_count":0,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":null,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":null,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"probe_started","t_seconds":14.039999999997658,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":1,"diagnostic":{"t_seconds":14.039999999997658,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"alarm","t_seconds":14.399999999997458,"phase":"guard_stop","reason":"object_not_following","retry_index":1,"diagnostic":{"t_seconds":14.399999999997458,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.004052350104976138,"object_height_delta_m":7.221145006336416e-05,"tcp_probe_height_delta_m":0.0038385237473288064,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0025485385539753018,"history_rate_m_s":0.021237821283139287,"history_path_m":0.002551914652213994,"history_excursion_m":0.0025485385539753018,"history_slope_m_s":[0.007515873170715914,-9.95295423108549e-05,0.019967795964234432],"history_straightness":0.9986770332480503,"history_bilateral_fraction":0.8571428571428571,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"abort","t_seconds":14.399999999997458,"phase":"guard_abort","reason":"retry_budget_exhausted:object_not_following","retry_index":1,"diagnostic":{"t_seconds":14.399999999997458,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.004052350104976138,"object_height_delta_m":7.221145006336416e-05,"tcp_probe_height_delta_m":0.0038385237473288064,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"abort_hold_closed","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0025485385539753018,"history_rate_m_s":0.021237821283139287,"history_path_m":0.002551914652213994,"history_excursion_m":0.0025485385539753018,"history_slope_m_s":[0.007515873170715914,-9.95295423108549e-05,0.019967795964234432],"history_straightness":0.9986770332480503,"history_bilateral_fraction":0.8571428571428571,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}}],"retry_count":1,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":"retry_budget_exhausted:object_not_following","aborted":true,"diagnostic_count":1000,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"a0fff390b1d88b425107b7a51eef84e3aeccd11257c6b3ee038b7a329e34fa6e","initial_object_position_m":[0.2968708234947256,-0.02670456521977575,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction015-mass040-layout01--probe_only_placement","scene_id":"friction015-mass040-layout01","variant":"probe_only_placement","learned_policy":false,"attempt_wall_seconds":3.181752916891128,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[{"t_seconds":11.499999999999066,"reason":"object_not_following","sampled_loss_before_alarm_s":null,"sampled_loss_to_alarm_delay_s":null,"no_preceding_sampled_loss_opportunity":true,"post_alarm_window_complete":true,"tcp_path_m":0.0003772425991849454,"tcp_rise_m":0.00031126680306350907,"object_rise_m":0.0},{"t_seconds":14.399999999997458,"reason":"object_not_following","sampled_loss_before_alarm_s":null,"sampled_loss_to_alarm_delay_s":null,"no_preceding_sampled_loss_opportunity":true,"post_alarm_window_complete":true,"tcp_path_m":0.00036636195030857456,"tcp_rise_m":0.0003063373798262159,"object_rise_m":0.0}],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":true,"retry_count":1,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction015-mass040-layout01--probe_only_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813416,"control":"replay_open_jaw","policy_mode":"probe_only","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.229994298223573e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11381535835909497,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.15538070816546679,"episode_wall_seconds":1.5102908331900835,"control_step_seconds":{"count":1000,"median":0.0013180420501157641,"p95":0.0014356670435518026,"max":0.007778041996061802},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":13.242482547389125,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"probe_only","active":false,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"a0fff390b1d88b425107b7a51eef84e3aeccd11257c6b3ee038b7a329e34fa6e","initial_object_position_m":[0.2968708234947256,-0.02670456521977575,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction015-mass040-layout01--probe_only_open_jaw","scene_id":"friction015-mass040-layout01","variant":"probe_only_open_jaw","learned_policy":false,"attempt_wall_seconds":1.5126851669047028,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction015-mass040-layout01--probe_only_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813416,"control":"placement","policy_mode":"history","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":true,"max_object_lift_m":8.010585275355919e-05,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.4133323743974449,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11302757123692748,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000,"88:90":7282,"89:90":1194,"86:90":1190,"85:90":7229}},"timing":{"setup_seconds":0.158794041024521,"episode_wall_seconds":2.65729649993591,"control_step_seconds":{"count":1000,"median":0.0015473534585908055,"p95":0.005290291970595717,"max":0.05173083418048918},"control_boundaries":1000,"missed_control_boundaries":3,"simulated_seconds_per_wall_second":7.526446522051201,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"history","active":true,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[{"type":"probe_started","t_seconds":11.159999999999254,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":0,"diagnostic":{"t_seconds":11.159999999999254,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"alarm","t_seconds":11.499999999999066,"phase":"guard_stop","reason":"object_not_following","retry_index":0,"diagnostic":{"t_seconds":11.499999999999066,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.003602747563877221,"object_height_delta_m":5.243489246709032e-05,"tcp_probe_height_delta_m":0.003448215571422747,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0024103868547552428,"history_rate_m_s":0.02008655712297149,"history_path_m":0.0024113459264369754,"history_excursion_m":0.0024103868547552428,"history_slope_m_s":[0.007382473632594085,-0.00030537275251648135,0.018793014290159143],"history_straightness":0.9996022670695159,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"retry_started","t_seconds":11.499999999999066,"phase":"guard_stop","reason":"supported_object_only","retry_index":1,"diagnostic":{"t_seconds":11.499999999999066,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.003602747563877221,"object_height_delta_m":5.243489246709032e-05,"tcp_probe_height_delta_m":0.003448215571422747,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0024103868547552428,"history_rate_m_s":0.02008655712297149,"history_path_m":0.0024113459264369754,"history_excursion_m":0.0024103868547552428,"history_slope_m_s":[0.007382473632594085,-0.00030537275251648135,0.018793014290159143],"history_straightness":0.9996022670695159,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"retry_completed","t_seconds":13.159999999998146,"phase":"guard_retry_recenter","reason":"open_recenter_complete","retry_index":1,"diagnostic":{"t_seconds":13.159999999998146,"phase":"retry_recenter","retry_index":1,"bilateral_contact":false,"table_supported":true,"relative_offset_error_m":0.009742159332438357,"object_height_delta_m":-1.7884929789255266e-05,"tcp_probe_height_delta_m":0.009713489283606394,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"recenter_with_open_jaw","memory_stage":"observe","history_count":0,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":null,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":null,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"probe_started","t_seconds":14.039999999997658,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":1,"diagnostic":{"t_seconds":14.039999999997658,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"alarm","t_seconds":14.399999999997458,"phase":"guard_stop","reason":"object_not_following","retry_index":1,"diagnostic":{"t_seconds":14.399999999997458,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.004052350104976138,"object_height_delta_m":7.221145006336416e-05,"tcp_probe_height_delta_m":0.0038385237473288064,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0025485385539753018,"history_rate_m_s":0.021237821283139287,"history_path_m":0.002551914652213994,"history_excursion_m":0.0025485385539753018,"history_slope_m_s":[0.007515873170715914,-9.95295423108549e-05,0.019967795964234432],"history_straightness":0.9986770332480503,"history_bilateral_fraction":0.8571428571428571,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"abort","t_seconds":14.399999999997458,"phase":"guard_abort","reason":"retry_budget_exhausted:object_not_following","retry_index":1,"diagnostic":{"t_seconds":14.399999999997458,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.004052350104976138,"object_height_delta_m":7.221145006336416e-05,"tcp_probe_height_delta_m":0.0038385237473288064,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"abort_hold_closed","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0025485385539753018,"history_rate_m_s":0.021237821283139287,"history_path_m":0.002551914652213994,"history_excursion_m":0.0025485385539753018,"history_slope_m_s":[0.007515873170715914,-9.95295423108549e-05,0.019967795964234432],"history_straightness":0.9986770332480503,"history_bilateral_fraction":0.8571428571428571,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}}],"retry_count":1,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":"retry_budget_exhausted:object_not_following","aborted":true,"diagnostic_count":1000,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"a0fff390b1d88b425107b7a51eef84e3aeccd11257c6b3ee038b7a329e34fa6e","initial_object_position_m":[0.2968708234947256,-0.02670456521977575,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction015-mass040-layout01--history_placement","scene_id":"friction015-mass040-layout01","variant":"history_placement","learned_policy":false,"attempt_wall_seconds":2.6606326249893755,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[{"t_seconds":11.499999999999066,"reason":"object_not_following","sampled_loss_before_alarm_s":null,"sampled_loss_to_alarm_delay_s":null,"no_preceding_sampled_loss_opportunity":true,"post_alarm_window_complete":true,"tcp_path_m":0.0003772425991849454,"tcp_rise_m":0.00031126680306350907,"object_rise_m":0.0},{"t_seconds":14.399999999997458,"reason":"object_not_following","sampled_loss_before_alarm_s":null,"sampled_loss_to_alarm_delay_s":null,"no_preceding_sampled_loss_opportunity":true,"post_alarm_window_complete":true,"tcp_path_m":0.00036636195030857456,"tcp_rise_m":0.0003063373798262159,"object_rise_m":0.0}],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":true,"retry_count":1,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction015-mass040-layout01--history_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813416,"control":"replay_open_jaw","policy_mode":"history","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.229994298223573e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11381535835909497,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.22421012516133487,"episode_wall_seconds":1.6391676249913871,"control_step_seconds":{"count":1000,"median":0.0013987289275974035,"p95":0.0015979588497430086,"max":0.0021346670109778643},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":12.20131467646974,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"history","active":false,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"a0fff390b1d88b425107b7a51eef84e3aeccd11257c6b3ee038b7a329e34fa6e","initial_object_position_m":[0.2968708234947256,-0.02670456521977575,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction015-mass040-layout01--history_open_jaw","scene_id":"friction015-mass040-layout01","variant":"history_open_jaw","learned_policy":false,"attempt_wall_seconds":1.6413516248576343,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction015-mass040-layout01--history_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813416,"control":"hold","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.04,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.229994298223573e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11381535835909497,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.14775145915336907,"episode_wall_seconds":1.429907334037125,"control_step_seconds":{"count":1000,"median":0.0012705414555966854,"p95":0.0013694169465452433,"max":0.007550999987870455},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":13.986920357653187,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"a0fff390b1d88b425107b7a51eef84e3aeccd11257c6b3ee038b7a329e34fa6e","initial_object_position_m":[0.2968708234947256,-0.02670456521977575,0.07989224451748383],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction015-mass040-layout01--hold","scene_id":"friction015-mass040-layout01","variant":"hold","learned_policy":false,"attempt_wall_seconds":1.4317382918670774,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction015-mass040-layout01--hold.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813417,"control":"placement","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":true,"max_object_lift_m":0.00010824664739045309,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.5657773842969877,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11360819953792839,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000,"88:90":507,"89:90":341,"86:90":336,"85:90":494}},"timing":{"setup_seconds":0.15925649995915592,"episode_wall_seconds":1.6527092920150608,"control_step_seconds":{"count":1000,"median":0.001426875009201467,"p95":0.0015714999753981829,"max":0.005283750128000975},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":12.101341776578579,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"27ba4d2ae30dedb5de94acdc3c1226d43f09c52f385fd4cb02755787a1433bf2","initial_object_position_m":[0.2998384014703789,-0.02756799863744218,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction015-mass060-layout00--baseline_placement","scene_id":"friction015-mass060-layout00","variant":"baseline_placement","learned_policy":false,"attempt_wall_seconds":1.6547317090444267,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction015-mass060-layout00--baseline_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813417,"control":"replay_open_jaw","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.22998874710845e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11347780315812839,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.1520573750603944,"episode_wall_seconds":1.5204948331229389,"control_step_seconds":{"count":1000,"median":0.0013708125334233046,"p95":0.0014347501564770937,"max":0.00954441586509347},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":13.15361260315731,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"27ba4d2ae30dedb5de94acdc3c1226d43f09c52f385fd4cb02755787a1433bf2","initial_object_position_m":[0.2998384014703789,-0.02756799863744218,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction015-mass060-layout00--baseline_open_jaw","scene_id":"friction015-mass060-layout00","variant":"baseline_open_jaw","learned_policy":false,"attempt_wall_seconds":1.522367750061676,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction015-mass060-layout00--baseline_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813417,"control":"placement","policy_mode":"probe_only","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":true,"max_object_lift_m":4.36598716160308e-05,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.433592404232437,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11335443516692124,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000,"88:90":7262,"89:90":1160,"86:90":1188,"85:90":7188}},"timing":{"setup_seconds":0.15785004198551178,"episode_wall_seconds":2.747298917034641,"control_step_seconds":{"count":1000,"median":0.002013729070313275,"p95":0.006874874932691455,"max":0.017240833025425673},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":7.279877655828187,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"probe_only","active":true,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[{"type":"probe_started","t_seconds":11.179999999999243,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":0,"diagnostic":{"t_seconds":11.179999999999243,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"alarm","t_seconds":11.539999999999043,"phase":"guard_stop","reason":"object_not_following","retry_index":0,"diagnostic":{"t_seconds":11.539999999999043,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0043697240192878154,"object_height_delta_m":1.8372282535400464e-05,"tcp_probe_height_delta_m":0.003849011965709817,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0027453825033843934,"history_rate_m_s":0.02287818752821596,"history_path_m":0.002747789522905472,"history_excursion_m":0.0027453825033843934,"history_slope_m_s":[0.011697451866865955,-0.0002587508556294874,0.019749811684466437],"history_straightness":0.9991240160496232,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"retry_started","t_seconds":11.539999999999043,"phase":"guard_stop","reason":"supported_object_only","retry_index":1,"diagnostic":{"t_seconds":11.539999999999043,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0043697240192878154,"object_height_delta_m":1.8372282535400464e-05,"tcp_probe_height_delta_m":0.003849011965709817,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0027453825033843934,"history_rate_m_s":0.02287818752821596,"history_path_m":0.002747789522905472,"history_excursion_m":0.0027453825033843934,"history_slope_m_s":[0.011697451866865955,-0.0002587508556294874,0.019749811684466437],"history_straightness":0.9991240160496232,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"retry_completed","t_seconds":13.199999999998123,"phase":"guard_retry_recenter","reason":"open_recenter_complete","retry_index":1,"diagnostic":{"t_seconds":13.199999999998123,"phase":"retry_recenter","retry_index":1,"bilateral_contact":false,"table_supported":true,"relative_offset_error_m":0.009708412998169642,"object_height_delta_m":-1.2697543599865524e-05,"tcp_probe_height_delta_m":0.009680591359154889,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"recenter_with_open_jaw","memory_stage":"observe","history_count":0,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":null,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":null,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"probe_started","t_seconds":14.079999999997636,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":1,"diagnostic":{"t_seconds":14.079999999997636,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"alarm","t_seconds":14.439999999997436,"phase":"guard_stop","reason":"object_not_following","retry_index":1,"diagnostic":{"t_seconds":14.439999999997436,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0043663369318683865,"object_height_delta_m":3.442341778851776e-05,"tcp_probe_height_delta_m":0.0038153834511464035,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0027227164280966398,"history_rate_m_s":0.022689303567484574,"history_path_m":0.0027238131542927863,"history_excursion_m":0.0027227164280966398,"history_slope_m_s":[0.011172243311439508,-7.638765916084824e-05,0.01994181695112647],"history_straightness":0.9995973563038206,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"abort","t_seconds":14.439999999997436,"phase":"guard_abort","reason":"retry_budget_exhausted:object_not_following","retry_index":1,"diagnostic":{"t_seconds":14.439999999997436,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0043663369318683865,"object_height_delta_m":3.442341778851776e-05,"tcp_probe_height_delta_m":0.0038153834511464035,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"abort_hold_closed","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0027227164280966398,"history_rate_m_s":0.022689303567484574,"history_path_m":0.0027238131542927863,"history_excursion_m":0.0027227164280966398,"history_slope_m_s":[0.011172243311439508,-7.638765916084824e-05,0.01994181695112647],"history_straightness":0.9995973563038206,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}}],"retry_count":1,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":"retry_budget_exhausted:object_not_following","aborted":true,"diagnostic_count":1000,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"27ba4d2ae30dedb5de94acdc3c1226d43f09c52f385fd4cb02755787a1433bf2","initial_object_position_m":[0.2998384014703789,-0.02756799863744218,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction015-mass060-layout00--probe_only_placement","scene_id":"friction015-mass060-layout00","variant":"probe_only_placement","learned_policy":false,"attempt_wall_seconds":2.7492631250061095,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[{"t_seconds":11.539999999999043,"reason":"object_not_following","sampled_loss_before_alarm_s":null,"sampled_loss_to_alarm_delay_s":null,"no_preceding_sampled_loss_opportunity":true,"post_alarm_window_complete":true,"tcp_path_m":0.0003711317813879289,"tcp_rise_m":0.000316434575360125,"object_rise_m":0.0},{"t_seconds":14.439999999997436,"reason":"object_not_following","sampled_loss_before_alarm_s":null,"sampled_loss_to_alarm_delay_s":null,"no_preceding_sampled_loss_opportunity":true,"post_alarm_window_complete":true,"tcp_path_m":0.00036216261338481155,"tcp_rise_m":0.000309152392702558,"object_rise_m":0.0}],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":true,"retry_count":1,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction015-mass060-layout00--probe_only_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813417,"control":"replay_open_jaw","policy_mode":"probe_only","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.22998874710845e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11347780315812839,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.1505929168779403,"episode_wall_seconds":1.4787371249403805,"control_step_seconds":{"count":1000,"median":0.0013063340447843075,"p95":0.0014251251704990864,"max":0.001948624849319458},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":13.525054360698368,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"probe_only","active":false,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"27ba4d2ae30dedb5de94acdc3c1226d43f09c52f385fd4cb02755787a1433bf2","initial_object_position_m":[0.2998384014703789,-0.02756799863744218,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction015-mass060-layout00--probe_only_open_jaw","scene_id":"friction015-mass060-layout00","variant":"probe_only_open_jaw","learned_policy":false,"attempt_wall_seconds":1.4809611670207232,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction015-mass060-layout00--probe_only_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813417,"control":"placement","policy_mode":"history","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":true,"max_object_lift_m":4.36598716160308e-05,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.433592404232437,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11335443516692124,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000,"88:90":7262,"89:90":1160,"86:90":1188,"85:90":7188}},"timing":{"setup_seconds":0.14937116601504385,"episode_wall_seconds":1.9193982079159468,"control_step_seconds":{"count":1000,"median":0.0013742914889007807,"p95":0.003835707902908325,"max":0.008653500117361546},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":10.419932621338203,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"history","active":true,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[{"type":"probe_started","t_seconds":11.179999999999243,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":0,"diagnostic":{"t_seconds":11.179999999999243,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"alarm","t_seconds":11.539999999999043,"phase":"guard_stop","reason":"object_not_following","retry_index":0,"diagnostic":{"t_seconds":11.539999999999043,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0043697240192878154,"object_height_delta_m":1.8372282535400464e-05,"tcp_probe_height_delta_m":0.003849011965709817,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0027453825033843934,"history_rate_m_s":0.02287818752821596,"history_path_m":0.002747789522905472,"history_excursion_m":0.0027453825033843934,"history_slope_m_s":[0.011697451866865955,-0.0002587508556294874,0.019749811684466437],"history_straightness":0.9991240160496232,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"retry_started","t_seconds":11.539999999999043,"phase":"guard_stop","reason":"supported_object_only","retry_index":1,"diagnostic":{"t_seconds":11.539999999999043,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0043697240192878154,"object_height_delta_m":1.8372282535400464e-05,"tcp_probe_height_delta_m":0.003849011965709817,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0027453825033843934,"history_rate_m_s":0.02287818752821596,"history_path_m":0.002747789522905472,"history_excursion_m":0.0027453825033843934,"history_slope_m_s":[0.011697451866865955,-0.0002587508556294874,0.019749811684466437],"history_straightness":0.9991240160496232,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"retry_completed","t_seconds":13.199999999998123,"phase":"guard_retry_recenter","reason":"open_recenter_complete","retry_index":1,"diagnostic":{"t_seconds":13.199999999998123,"phase":"retry_recenter","retry_index":1,"bilateral_contact":false,"table_supported":true,"relative_offset_error_m":0.009708412998169642,"object_height_delta_m":-1.2697543599865524e-05,"tcp_probe_height_delta_m":0.009680591359154889,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"recenter_with_open_jaw","memory_stage":"observe","history_count":0,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":null,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":null,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"probe_started","t_seconds":14.079999999997636,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":1,"diagnostic":{"t_seconds":14.079999999997636,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"alarm","t_seconds":14.439999999997436,"phase":"guard_stop","reason":"object_not_following","retry_index":1,"diagnostic":{"t_seconds":14.439999999997436,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0043663369318683865,"object_height_delta_m":3.442341778851776e-05,"tcp_probe_height_delta_m":0.0038153834511464035,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0027227164280966398,"history_rate_m_s":0.022689303567484574,"history_path_m":0.0027238131542927863,"history_excursion_m":0.0027227164280966398,"history_slope_m_s":[0.011172243311439508,-7.638765916084824e-05,0.01994181695112647],"history_straightness":0.9995973563038206,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"abort","t_seconds":14.439999999997436,"phase":"guard_abort","reason":"retry_budget_exhausted:object_not_following","retry_index":1,"diagnostic":{"t_seconds":14.439999999997436,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0043663369318683865,"object_height_delta_m":3.442341778851776e-05,"tcp_probe_height_delta_m":0.0038153834511464035,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"abort_hold_closed","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0027227164280966398,"history_rate_m_s":0.022689303567484574,"history_path_m":0.0027238131542927863,"history_excursion_m":0.0027227164280966398,"history_slope_m_s":[0.011172243311439508,-7.638765916084824e-05,0.01994181695112647],"history_straightness":0.9995973563038206,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}}],"retry_count":1,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":"retry_budget_exhausted:object_not_following","aborted":true,"diagnostic_count":1000,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"27ba4d2ae30dedb5de94acdc3c1226d43f09c52f385fd4cb02755787a1433bf2","initial_object_position_m":[0.2998384014703789,-0.02756799863744218,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction015-mass060-layout00--history_placement","scene_id":"friction015-mass060-layout00","variant":"history_placement","learned_policy":false,"attempt_wall_seconds":1.9214712500106543,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[{"t_seconds":11.539999999999043,"reason":"object_not_following","sampled_loss_before_alarm_s":null,"sampled_loss_to_alarm_delay_s":null,"no_preceding_sampled_loss_opportunity":true,"post_alarm_window_complete":true,"tcp_path_m":0.0003711317813879289,"tcp_rise_m":0.000316434575360125,"object_rise_m":0.0},{"t_seconds":14.439999999997436,"reason":"object_not_following","sampled_loss_before_alarm_s":null,"sampled_loss_to_alarm_delay_s":null,"no_preceding_sampled_loss_opportunity":true,"post_alarm_window_complete":true,"tcp_path_m":0.00036216261338481155,"tcp_rise_m":0.000309152392702558,"object_rise_m":0.0}],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":true,"retry_count":1,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction015-mass060-layout00--history_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813417,"control":"replay_open_jaw","policy_mode":"history","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.22998874710845e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11347780315812839,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.16993337497115135,"episode_wall_seconds":1.9024927078280598,"control_step_seconds":{"count":1000,"median":0.0015063545433804393,"p95":0.0020507918670773506,"max":0.02192716603167355},"control_boundaries":1000,"missed_control_boundaries":1,"simulated_seconds_per_wall_second":10.512523868138256,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"history","active":false,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"27ba4d2ae30dedb5de94acdc3c1226d43f09c52f385fd4cb02755787a1433bf2","initial_object_position_m":[0.2998384014703789,-0.02756799863744218,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction015-mass060-layout00--history_open_jaw","scene_id":"friction015-mass060-layout00","variant":"history_open_jaw","learned_policy":false,"attempt_wall_seconds":1.9337776249740273,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction015-mass060-layout00--history_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813417,"control":"hold","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29983853519640874,-0.027568087421794316,0.082],"target_position_m":[0.3480263504611899,0.07517012364274386,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.22998874710845e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11347780315812839,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.6039874998386949,"episode_wall_seconds":2.737012166995555,"control_step_seconds":{"count":1000,"median":0.0019943539518862963,"p95":0.0028412500396370888,"max":0.030651292065158486},"control_boundaries":1000,"missed_control_boundaries":1,"simulated_seconds_per_wall_second":7.307238250955843,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"27ba4d2ae30dedb5de94acdc3c1226d43f09c52f385fd4cb02755787a1433bf2","initial_object_position_m":[0.2998384014703789,-0.02756799863744218,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction015-mass060-layout00--hold","scene_id":"friction015-mass060-layout00","variant":"hold","learned_policy":false,"attempt_wall_seconds":2.7396097080782056,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction015-mass060-layout00--hold.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813418,"control":"placement","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":true,"max_object_lift_m":0.000122194960126637,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.5255345396869917,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11401749090998571,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":19998,"88:90":512,"89:90":339,"86:90":335,"85:90":497}},"timing":{"setup_seconds":0.2339487080462277,"episode_wall_seconds":3.6100742081180215,"control_step_seconds":{"count":1000,"median":0.0024326666025444865,"p95":0.008099041879177094,"max":0.044717834098264575},"control_boundaries":1000,"missed_control_boundaries":8,"simulated_seconds_per_wall_second":5.5400523222008005,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"21c58e9495967dfa7dd657e7b0d537c9340f38c380c720a481a13d1b969e026c","initial_object_position_m":[0.2968707905424186,-0.026704440355815325,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction015-mass060-layout01--baseline_placement","scene_id":"friction015-mass060-layout01","variant":"baseline_placement","learned_policy":false,"attempt_wall_seconds":3.6131690409965813,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction015-mass060-layout01--baseline_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813418,"control":"replay_open_jaw","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.22998874710845e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11381526156375923,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.17707054200582206,"episode_wall_seconds":1.5926732500083745,"control_step_seconds":{"count":1000,"median":0.0013965211110189557,"p95":0.0015307089779525995,"max":0.0024942499585449696},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":12.557503555670504,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"21c58e9495967dfa7dd657e7b0d537c9340f38c380c720a481a13d1b969e026c","initial_object_position_m":[0.2968707905424186,-0.026704440355815325,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction015-mass060-layout01--baseline_open_jaw","scene_id":"friction015-mass060-layout01","variant":"baseline_open_jaw","learned_policy":false,"attempt_wall_seconds":1.5947914579883218,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction015-mass060-layout01--baseline_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813418,"control":"placement","policy_mode":"probe_only","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":true,"max_object_lift_m":3.965225030025388e-05,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.4353160451482456,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.1137163894040418,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000,"88:90":7281,"89:90":1160,"86:90":1189,"85:90":7205}},"timing":{"setup_seconds":0.16038750018924475,"episode_wall_seconds":2.1985135411377996,"control_step_seconds":{"count":1000,"median":0.0015808544121682644,"p95":0.004444499965757132,"max":0.016659042099490762},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":9.097055635896076,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"probe_only","active":true,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[{"type":"probe_started","t_seconds":11.159999999999254,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":0,"diagnostic":{"t_seconds":11.159999999999254,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"alarm","t_seconds":11.499999999999066,"phase":"guard_stop","reason":"object_not_following","retry_index":0,"diagnostic":{"t_seconds":11.499999999999066,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.003935268972087862,"object_height_delta_m":1.62932196691723e-05,"tcp_probe_height_delta_m":0.0034351335543832545,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0026476324557479277,"history_rate_m_s":0.022063603797911627,"history_path_m":0.0026495495513741136,"history_excursion_m":0.0026476324557479277,"history_slope_m_s":[0.011870673823696413,-8.159942089366026e-05,0.018808874469200522],"history_straightness":0.9992764446978575,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"retry_started","t_seconds":11.499999999999066,"phase":"guard_stop","reason":"supported_object_only","retry_index":1,"diagnostic":{"t_seconds":11.499999999999066,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.003935268972087862,"object_height_delta_m":1.62932196691723e-05,"tcp_probe_height_delta_m":0.0034351335543832545,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0026476324557479277,"history_rate_m_s":0.022063603797911627,"history_path_m":0.0026495495513741136,"history_excursion_m":0.0026476324557479277,"history_slope_m_s":[0.011870673823696413,-8.159942089366026e-05,0.018808874469200522],"history_straightness":0.9992764446978575,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"retry_completed","t_seconds":13.159999999998146,"phase":"guard_retry_recenter","reason":"open_recenter_complete","retry_index":1,"diagnostic":{"t_seconds":13.159999999998146,"phase":"retry_recenter","retry_index":1,"bilateral_contact":false,"table_supported":true,"relative_offset_error_m":0.009728898595814847,"object_height_delta_m":-1.2741379704139799e-05,"tcp_probe_height_delta_m":0.009698671305067658,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"recenter_with_open_jaw","memory_stage":"observe","history_count":0,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":null,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":null,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"probe_started","t_seconds":14.039999999997658,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":1,"diagnostic":{"t_seconds":14.039999999997658,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"alarm","t_seconds":14.399999999997458,"phase":"guard_stop","reason":"object_not_following","retry_index":1,"diagnostic":{"t_seconds":14.399999999997458,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.004397452425322596,"object_height_delta_m":3.658058861463753e-05,"tcp_probe_height_delta_m":0.0038344660601376396,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.002752407019280575,"history_rate_m_s":0.022936725160684172,"history_path_m":0.002758706646073968,"history_excursion_m":0.002752407019280575,"history_slope_m_s":[0.011465542300728878,-5.532658330110391e-05,0.020018979200678386],"history_straightness":0.9977164564407898,"history_bilateral_fraction":0.8571428571428571,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"abort","t_seconds":14.399999999997458,"phase":"guard_abort","reason":"retry_budget_exhausted:object_not_following","retry_index":1,"diagnostic":{"t_seconds":14.399999999997458,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.004397452425322596,"object_height_delta_m":3.658058861463753e-05,"tcp_probe_height_delta_m":0.0038344660601376396,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"abort_hold_closed","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.002752407019280575,"history_rate_m_s":0.022936725160684172,"history_path_m":0.002758706646073968,"history_excursion_m":0.002752407019280575,"history_slope_m_s":[0.011465542300728878,-5.532658330110391e-05,0.020018979200678386],"history_straightness":0.9977164564407898,"history_bilateral_fraction":0.8571428571428571,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}}],"retry_count":1,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":"retry_budget_exhausted:object_not_following","aborted":true,"diagnostic_count":1000,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"21c58e9495967dfa7dd657e7b0d537c9340f38c380c720a481a13d1b969e026c","initial_object_position_m":[0.2968707905424186,-0.026704440355815325,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction015-mass060-layout01--probe_only_placement","scene_id":"friction015-mass060-layout01","variant":"probe_only_placement","learned_policy":false,"attempt_wall_seconds":2.200585500104353,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[{"t_seconds":11.499999999999066,"reason":"object_not_following","sampled_loss_before_alarm_s":null,"sampled_loss_to_alarm_delay_s":null,"no_preceding_sampled_loss_opportunity":true,"post_alarm_window_complete":true,"tcp_path_m":0.00037085877925922004,"tcp_rise_m":0.0003134113885719658,"object_rise_m":0.0},{"t_seconds":14.399999999997458,"reason":"object_not_following","sampled_loss_before_alarm_s":null,"sampled_loss_to_alarm_delay_s":null,"no_preceding_sampled_loss_opportunity":true,"post_alarm_window_complete":true,"tcp_path_m":0.0003607929722450266,"tcp_rise_m":0.00030721438609665475,"object_rise_m":0.0}],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":true,"retry_count":1,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction015-mass060-layout01--probe_only_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813418,"control":"replay_open_jaw","policy_mode":"probe_only","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.22998874710845e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11381526156375923,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.17355291708372533,"episode_wall_seconds":1.6949499170295894,"control_step_seconds":{"count":1000,"median":0.0014980626292526722,"p95":0.001674792030826211,"max":0.008795958012342453},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":11.799758682576053,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"probe_only","active":false,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"21c58e9495967dfa7dd657e7b0d537c9340f38c380c720a481a13d1b969e026c","initial_object_position_m":[0.2968707905424186,-0.026704440355815325,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction015-mass060-layout01--probe_only_open_jaw","scene_id":"friction015-mass060-layout01","variant":"probe_only_open_jaw","learned_policy":false,"attempt_wall_seconds":1.6975402920506895,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction015-mass060-layout01--probe_only_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813418,"control":"placement","policy_mode":"history","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":true,"max_object_lift_m":3.965225030025388e-05,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.4353160451482456,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.1137163894040418,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000,"88:90":7281,"89:90":1160,"86:90":1189,"85:90":7205}},"timing":{"setup_seconds":0.1695445841178298,"episode_wall_seconds":2.063615042017773,"control_step_seconds":{"count":1000,"median":0.001547271036542952,"p95":0.0040883750189095736,"max":0.006685333093628287},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":9.691730091502798,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"history","active":true,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[{"type":"probe_started","t_seconds":11.159999999999254,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":0,"diagnostic":{"t_seconds":11.159999999999254,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"alarm","t_seconds":11.499999999999066,"phase":"guard_stop","reason":"object_not_following","retry_index":0,"diagnostic":{"t_seconds":11.499999999999066,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.003935268972087862,"object_height_delta_m":1.62932196691723e-05,"tcp_probe_height_delta_m":0.0034351335543832545,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0026476324557479277,"history_rate_m_s":0.022063603797911627,"history_path_m":0.0026495495513741136,"history_excursion_m":0.0026476324557479277,"history_slope_m_s":[0.011870673823696413,-8.159942089366026e-05,0.018808874469200522],"history_straightness":0.9992764446978575,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"retry_started","t_seconds":11.499999999999066,"phase":"guard_stop","reason":"supported_object_only","retry_index":1,"diagnostic":{"t_seconds":11.499999999999066,"phase":"probe","retry_index":0,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.003935268972087862,"object_height_delta_m":1.62932196691723e-05,"tcp_probe_height_delta_m":0.0034351335543832545,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.0026476324557479277,"history_rate_m_s":0.022063603797911627,"history_path_m":0.0026495495513741136,"history_excursion_m":0.0026476324557479277,"history_slope_m_s":[0.011870673823696413,-8.159942089366026e-05,0.018808874469200522],"history_straightness":0.9992764446978575,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":true,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"retry_completed","t_seconds":13.159999999998146,"phase":"guard_retry_recenter","reason":"open_recenter_complete","retry_index":1,"diagnostic":{"t_seconds":13.159999999998146,"phase":"retry_recenter","retry_index":1,"bilateral_contact":false,"table_supported":true,"relative_offset_error_m":0.009728898595814847,"object_height_delta_m":-1.2741379704139799e-05,"tcp_probe_height_delta_m":0.009698671305067658,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"recenter_with_open_jaw","memory_stage":"observe","history_count":0,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":null,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":null,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"probe_started","t_seconds":14.039999999997658,"phase":"guard_probe","reason":"slow_load_bearing_check","retry_index":1,"diagnostic":{"t_seconds":14.039999999997658,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.0,"object_height_delta_m":0.0,"tcp_probe_height_delta_m":0.0,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":0,"contact_loss_streak":0,"progress_streak":0,"decision":"continue","memory_stage":"observe","history_count":1,"history_known":false,"history_span_seconds":0.0,"history_displacement_m":0.0,"history_rate_m_s":null,"history_path_m":0,"history_excursion_m":0.0,"history_slope_m_s":null,"history_straightness":null,"history_bilateral_fraction":1.0,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"alarm","t_seconds":14.399999999997458,"phase":"guard_stop","reason":"object_not_following","retry_index":1,"diagnostic":{"t_seconds":14.399999999997458,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.004397452425322596,"object_height_delta_m":3.658058861463753e-05,"tcp_probe_height_delta_m":0.0038344660601376396,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"hold_measured_arm","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.002752407019280575,"history_rate_m_s":0.022936725160684172,"history_path_m":0.002758706646073968,"history_excursion_m":0.002752407019280575,"history_slope_m_s":[0.011465542300728878,-5.532658330110391e-05,0.020018979200678386],"history_straightness":0.9977164564407898,"history_bilateral_fraction":0.8571428571428571,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}},{"type":"abort","t_seconds":14.399999999997458,"phase":"guard_abort","reason":"retry_budget_exhausted:object_not_following","retry_index":1,"diagnostic":{"t_seconds":14.399999999997458,"phase":"probe","retry_index":1,"bilateral_contact":true,"table_supported":true,"relative_offset_error_m":0.004397452425322596,"object_height_delta_m":3.658058861463753e-05,"tcp_probe_height_delta_m":0.0038344660601376396,"qualified":false,"qualification_dwell_seconds":0.0,"drift_streak":2,"contact_loss_streak":0,"progress_streak":2,"decision":"abort_hold_closed","memory_stage":"observe","history_count":7,"history_known":true,"history_span_seconds":0.1199999999999335,"history_displacement_m":0.002752407019280575,"history_rate_m_s":0.022936725160684172,"history_path_m":0.002758706646073968,"history_excursion_m":0.002752407019280575,"history_slope_m_s":[0.011465542300728878,-5.532658330110391e-05,0.020018979200678386],"history_straightness":0.9977164564407898,"history_bilateral_fraction":0.8571428571428571,"history_loaded_bilateral_all":false,"history_unsupported_all":false,"slip_trend_streak":0,"persistent_loss_streak":0,"settled_dwell_seconds":0.0,"joint_delta_scale":1.0,"unscaled_joint_targets_rad":null,"motion_phase":"lift","resume_local_offset_m":null}}],"retry_count":1,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":"retry_budget_exhausted:object_not_following","aborted":true,"diagnostic_count":1000,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"21c58e9495967dfa7dd657e7b0d537c9340f38c380c720a481a13d1b969e026c","initial_object_position_m":[0.2968707905424186,-0.026704440355815325,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction015-mass060-layout01--history_placement","scene_id":"friction015-mass060-layout01","variant":"history_placement","learned_policy":false,"attempt_wall_seconds":2.0655782078392804,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[{"t_seconds":11.499999999999066,"reason":"object_not_following","sampled_loss_before_alarm_s":null,"sampled_loss_to_alarm_delay_s":null,"no_preceding_sampled_loss_opportunity":true,"post_alarm_window_complete":true,"tcp_path_m":0.00037085877925922004,"tcp_rise_m":0.0003134113885719658,"object_rise_m":0.0},{"t_seconds":14.399999999997458,"reason":"object_not_following","sampled_loss_before_alarm_s":null,"sampled_loss_to_alarm_delay_s":null,"no_preceding_sampled_loss_opportunity":true,"post_alarm_window_complete":true,"tcp_path_m":0.0003607929722450266,"tcp_rise_m":0.00030721438609665475,"object_rise_m":0.0}],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":true,"retry_count":1,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction015-mass060-layout01--history_placement.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813418,"control":"replay_open_jaw","policy_mode":"history","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.22998874710845e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11381526156375923,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.1723652919754386,"episode_wall_seconds":1.6659144170116633,"control_step_seconds":{"count":1000,"median":0.0014811045257374644,"p95":0.0016193329356610775,"max":0.010864458978176117},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":12.005418643220397,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb","piper_contact_memory.py":"f608d6647046f6fa02d8ad5e87fad10853837520a6a0fae2043c7ad260a06c4c"},"grip_guard":{"schema":"dvidia.piper-contact-memory/v0.3","mode":"history","active":false,"contract":{"schema":"dvidia.piper-contact-memory/v0.3","parameters":{"history_window_s":0.12,"minimum_history_s":0.1,"trend_rate_m_s":0.025,"trend_displacement_m":0.0025,"minimum_straightness":0.7,"trend_samples":2,"loss_samples":2,"slowdown_joint_delta_scale":0.35,"slowdown_duration_s":0.12,"hold_minimum_s":0.12,"hold_timeout_s":0.8,"settled_rate_m_s":0.008,"settled_displacement_m":0.0015,"settled_dwell_s":0.1,"resumed_joint_delta_scale":0.45,"maximum_reassessments":2},"acquisition":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"observations":"causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check","history":"inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path","trend":"rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold","slowdown":"scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately","reassessment":"minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds","resume":"causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget","probe_only":"identical acquisition and retry; removes postqualification carry monitoring only","stop":"measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion","duration":"unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change","scope":"authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0,"slowdown_count":0,"reassessment_count":0,"resume_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"21c58e9495967dfa7dd657e7b0d537c9340f38c380c720a481a13d1b969e026c","initial_object_position_m":[0.2968707905424186,-0.026704440355815325,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction015-mass060-layout01--history_open_jaw","scene_id":"friction015-mass060-layout01","variant":"history_open_jaw","learned_policy":false,"attempt_wall_seconds":1.6683316668495536,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction015-mass060-layout01--history_open_jaw.json.gz"},{"schema":"dvidia.piper-task-episode/v1","profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"seed":813418,"control":"hold","policy_mode":"baseline","config":{"timestep":0.001,"control_dt":0.02,"timeout_s":20.0,"settle_s":0.5,"object_position_m":[0.29687092426844836,-0.026704529139887825,0.082],"target_position_m":[0.347925555044736,0.07501730350650714,0.08],"object_half_size_m":[0.02,0.02,0.02],"mass_kg":0.06,"friction":0.15,"table_top_m":0.06,"table_center_xy_m":[0.38,0.0],"table_half_size_xy_m":[0.17,0.22],"table_thickness_m":0.04,"goal_position_tolerance_m":0.025,"goal_dwell_s":0.25,"min_lift_m":0.06,"min_lift_dwell_s":0.1,"retreat_clearance_m":0.1,"joint_target_rate_rad_s":1.5,"jaw_target_rate_m_s":0.05,"tool_orientation_wxyz":[0.0,0.0,1.0,0.0],"carry_orientation_wxyz":[0.25881904510252074,0.0,0.9659258262890683,0.0]},"timestep_seconds":0.001,"valid":true,"success":false,"reason":"timeout","error":null,"warnings":[],"simulated_seconds":20.00000000000146,"metrics":{"valid":true,"success":false,"reason":"timeout","simulation_time":20.00000000000146,"steps":1000,"lift_seen":false,"grasp_seen":false,"max_object_lift_m":6.22998874710845e-11,"dwell_seconds":0.0,"lift_dwell_seconds":0.0,"max_pad_normal_force_n":0.0,"unexpected_contact_native_ticks":0,"carry_complete":false,"retention_lost":false,"max_carry_contact_loss_seconds":0.0,"carry_contact_loss_events":0,"carry_contact_loss_tolerance_seconds":0.04,"first_success_time_seconds":null,"target_distance_m":0.11381526156375923,"warnings":[],"physical_robot_ready":false,"contact_pair_native_ticks":{"1:90":20000}},"timing":{"setup_seconds":0.1895070830360055,"episode_wall_seconds":1.6835899581201375,"control_step_seconds":{"count":1000,"median":0.0014662500470876694,"p95":0.001622167183086276,"max":0.002082708990201354},"control_boundaries":1000,"missed_control_boundaries":0,"simulated_seconds_per_wall_second":11.87937710339699,"scope":"Wall computation including setup/IK/contact/state snapshots; not real-time sensor-to-actuator latency"},"contract":{"profile":"piper-rigid-block-task-v0.1","scope":"Authored PiPER rigid-block contact pilot with privileged native state. Pinned upstream servos/inertias/collision proxies/gravity compensation, synthetic commands and uncalibrated contact. No learned skill, camera sensing, shoe manipulation or physical robot qualification.","physical_robot_ready":false,"arm_joint_order":["joint1","joint2","joint3","joint4","joint5","joint6"],"actions":{"joint_targets_rad":"six native position-servo targets in radians","gripper_position_m":"one native single-finger slide target in metres [0,.035]; 0 closed/.035 open; not measured full gap"},"gripper_joints":["joint7","joint8"],"independent_gripper_commands":1,"tcp":"authored site in link6 at local [0,0,.12003] near the distal finger-box centers; not hardware calibrated","object":"free rigid block with native gravity, no weld/equality/mocap or post-reset pose writes","contact":"stock native finger collision boxes; object priority1 authors pair friction explicitly","servo_gains":"unchanged upstream PiPER position servos and force caps; upstream robot gravcomp=1 retained","collision_support_exemption":"fixed base capsule may contact floor; moving robot/table/floor or block/nonfinger contacts are critical","observations":"privileged joint/object/TCP/contact state; no deployable sensor pipeline","success":"valid native physics, sustained bilateral table-free lift and retained carry to supported destination, then actual released/settled destination dwell and retreat","carry_contact_loss_tolerance_seconds":0.04,"contact_force_threshold_n":0.01,"simulation_asset_license":"MIT"},"platform":{"system":"Darwin","machine":"arm64","python":"3.12.9","mujoco_version":"3.15.0","numpy_version":"2.5.3"},"implementation_sha256":{"piper_task.py":"4e3f16e6075842631ddb7aa7d53ea6d6c95b54934f7eb751da61b60a432fa167","robot_profiles.py":"fb90782a6a9979e282182118ae0e3e29d00f101255cc57378dd3f692672bb13d","robot_profiles.lock.json":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","reference_task.py":"bbc768ccc202b8dd41cbd235b206e6478806ce47c1f30ae15dc662c0c1edcc3e","reference_sim.py":"c1201d22eb13dd07a236ee63cc4ba68e129f6067e8db61ed41af2d820eb5e3b8"},"policy_implementation_sha256":{"piper_grip_guard.py":"90895566cad8d5a3c158a14d3165fa1866cb3d7a4a3eecac3ca0ca8ab3e88dfb"},"grip_guard":{"schema":"dvidia.piper-grip-guard/v1","mode":"baseline","active":false,"contract":{"schema":"dvidia.piper-grip-guard/v1","parameters":{"probe_height_m":0.01,"probe_speed_m_s":0.02,"probe_min_object_rise_m":0.006,"qualification_dwell_s":0.1,"relative_drift_limit_m":0.003,"monitor_min_probe_motion_m":0.003,"consecutive_alarm_samples":2,"probe_timeout_s":1.4,"close_timeout_s":1.4,"retry_open_timeout_s":1.2,"retry_recenter_timeout_s":1.5,"retry_clearance_m":0.012,"max_retries":1},"observations":"grip check uses causal current privileged TCP/object pose and bilateral native contacts at 20 ms; no mass/friction or scorer input; downstream original motion policy remains unchanged and uses the existing lift outcome flag","qualification":"slow 10 mm probe; object rises at least 6 mm, both pads retain contact, support is absent and TCP-local drift <=3 mm for 100 ms","alarm":"two consecutive snapshots with relative drift, bilateral-contact loss or supported object failing to follow a moving probe; bounded closure/probe timeouts","recovery":"hold measured six joint targets first; only supported objects may be opened/recentered/retried, at most once; support loss stops closed","stop":"requested measured joint targets; native rate limiting and inertia may continue motion, which is recorded","duration":"original fixed episode timeout including every probe/retry/abort holding command","scope":"authored simulator controller, not a sensor implementation, hardware safety controller or learned policy"},"events":[],"retry_count":0,"acquisition_qualified":false,"acquisition_qualification_count":0,"abort_reason":null,"aborted":false,"diagnostic_count":0},"asset_provenance":{"profile":"piper","repository":"https://github.com/google-deepmind/mujoco_menagerie","commit":"0059d4335f8156206f63a35662313385f7ad6d74","files_verified":90,"bytes_verified":34562302,"lock_sha256":"4b2ee2ca675aceb2f826983cb3082a3e08e9aa0ff419b23078abcff08ebcc6fe","simulation_asset_license":"MIT"},"compiled_model_sha256":"21c58e9495967dfa7dd657e7b0d537c9340f38c380c720a481a13d1b969e026c","initial_object_position_m":[0.2968707905424186,-0.026704440355815325,0.07989224451748381],"native_servo_gains":[80.0,80.0,80.0,40.0,10.0,10.0,40.0],"native_servo_bias":[[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-80.0,-5.0],[0.0,-40.0,-5.0],[0.0,-10.0,-1.5],[0.0,-10.0,-1.5],[0.0,-40.0,-5.0]],"native_force_limits":[[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-100.0,100.0],[-10.0,10.0]],"native_control_limits":[[-2.618,2.618],[0.0,3.14],[-2.697,0.0],[-1.832,1.832],[-1.22,1.22],[-3.14,3.14],[0.0,0.035]],"native_model_settings":{"dimensions":{"nq":15,"nv":14,"nu":7,"neq":1,"nmocap":0},"gravity_m_s2":[0.0,0.0,-9.81],"body_gravcomp":[0.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,0.0,0.0]},"contact_geometry":{"pad_geom_ids":{"left":[85,86],"right":[88,89]},"geom_body_names":["world","world","base_link","base_link","link1","link1","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link2","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link3","link4","link4","link4","link4","link4","link4","link5","link5","link5","link5","link5","link5","link5","link5","link6","link6","link7","link7","link7","link8","link8","link8","task_block","task_target_frame"]},"id":"friction015-mass060-layout01--hold","scene_id":"friction015-mass060-layout01","variant":"hold","learned_policy":false,"attempt_wall_seconds":1.685615082969889,"contact_evaluation":{"schema":"dvidia.piper-contact-sampled-evaluation/v0.3","following":{"schema":"dvidia.piper-grip-sampled-evaluation/v1","qualification_decisions":[],"alarms":[],"following_opportunity":false,"first_following_time_s":null,"sampled_drop_events":0,"aborted":false,"retry_count":0,"no_recorded_observation":false},"interventions":[],"resume_decisions":0,"resumed_completed":false,"resumed_not_completed":false,"loaded_settling_observed_at_resume":0,"low_tcp_motion_observed_at_resume":0,"unresolved_resume_windows":0},"result_file":"attempts/friction015-mass060-layout01--hold.json.gz"}]} diff --git a/docs/piper-contact-memory-v03.md b/docs/piper-contact-memory-v03.md new file mode 100644 index 0000000..f336743 --- /dev/null +++ b/docs/piper-contact-memory-v03.md @@ -0,0 +1,87 @@ +# PiPER contact history v0.3 + +This candidate compares the original placement controller, the same controller +with an acquisition test lift, and a controller that also uses recent contact +history to slow down, hold closed and reassess apparent slip. Version 0.3 names +this controller experiment; the training package version remains separate. + +The previous guard completed 2/6 placements versus the original controller's +4/6. Its fixed displacement threshold stopped intermediate-friction tasks that +the original controller completed. A probe-only comparison is needed to +separate the effect of the probe motion from the effect of intervening. + +The [frozen confirmation](../benchmarks/piper-contact-v03-20261011/README.md) completed +6/12 history placements versus 4/12 original and 4/12 probe-only placements. +All 84 attempts were valid, and all 48 negative controls failed. The two added +successes were heavier blocks at friction 0.8; lower-friction failures remain. + +## Run on a local CPU + +Install Python 3.12 or newer and provision the pinned model once. Simulation +then runs locally without a GPU, model API or account. + +```sh +git clone --branch feat/piper-contact-memory-v03 https://github.com/Dvidia-Inference/dvidia-training.git +cd dvidia-training +python3.12 -m venv .venv +.venv/bin/python -m pip install '.[arm]' +.venv/bin/dvidia-robot-sim fetch piper --output runs/robot-assets +.venv/bin/dvidia-piper-contact benchmark --assets runs/robot-assets --output runs/piper-contact +.venv/bin/dvidia-piper-contact inspect runs/piper-contact +``` + +On Windows use `py -3.12 -m venv .venv` and the executables under +`.venv\Scripts\`. Use a new output directory for each run. All attempted +episodes, including refusals and failures, stay in the declared denominator. + +## Experimental contract + +The benchmark compares three placement modes. `baseline` preserves the +original authored motion. `probe_only` adds the bounded acquisition probe and +supported retry, without post-qualification intervention. `history` uses the +same acquisition stage and adds the contact-history response. Each placement +has its own exact requested-arm tape replayed with open jaws, and every scene +also has an initial-arm hold control. + +Two seeded start/target layouts are shared across friction 0.8, 0.55 and 0.15 +and object masses 40 g and 60 g. The twelve scenes each run seven variants, +for 84 planned attempts. These synthetic conditions are not measured shoe +materials. Native robot mechanics, actuator gains, force caps, free-object +dynamics and the independent task scorer remain unchanged. Episodes retain +the original 20-second duration, including aborts and completed tasks. + +The history controller observes current and past tool/object poses, jaw state, +native contacts and support. It does not read the scene's declared friction or +mass to decide whether to intervene. Short-window relative motion and contact +persistence produce settling/slip hypotheses, not independently validated +material labels. Insufficient history must remain distinguishable from a +stable grasp. A slowdown changes requested movement; the receipt measures the +actual movement that follows. A requested hold does not instantly stop inertia. +The original motion teacher retains its original lift flag; the new contact +history check supplements that controller and does not replace its acquisition +or task logic with a learned model. + +Recovery remains bounded. Opening and recentering require a currently supported +object; holding an unsupported object keeps the jaws closed. Qualification, +slowdown, reassessment, resumption, retry, abort and eventual successful placement +are separate events and measures. Resumption alone is not successful recovery. + +## Evidence and scope + +Development may inform the controller, but confirmation uses a fresh reserved +seed after the implementation and protocol are frozen. Preserve every complete +compressed trajectory, command tape, native state, warning, per-attempt timing +summary, maximum and miss count, and original model notice. Raw per-decision +wall-time samples are not retained in this version. The inspector checks stored and decoded hashes and the +recorded evidence contract. It does not authenticate a publisher or independently +recompute physics. + +This is an authored controller using privileged simulator observations. It does +not train a policy from footage, estimate deformable materials, implement a +physical sensor pipeline or qualify a robot for hardware operation. Sensor +noise, latency, calibration and compliant-object behavior need separate tests. +Timing covers CPU computation under the stated measurement boundary; it is not +sensor-to-actuator response time or a universal minimum hardware specification. + +Original DVIDIA code is MIT. The pinned PiPER model keeps its original MIT +notice. Installation and evidence remain linked to explicit source revisions. diff --git a/docs/roadmap.md b/docs/roadmap.md index 5361a03..d90b836 100644 --- a/docs/roadmap.md +++ b/docs/roadmap.md @@ -50,6 +50,16 @@ experiment must replace the task decisions it claims to learn and evaluate the result in a closed loop. This contact fixture does not establish shoe physics or physical transfer. +The [PiPER contact-history v0.3 experiment](piper-contact-memory-v03.md) is the +next contact decision study. It isolates a test lift from a bounded slowdown, +closed hold and reassessment response across mass/friction variation. Keep +settling/slip hypotheses separate from observed object loss, and resumed motion +separate from completed recovery. Following that study, add measured compliant +objects and calibrated sensing before training a compact contact-conditioned +policy. Record synchronized visual evidence, commands, joint/jaw response, +contact observations and complete outcomes so Skillspace contains physical +interaction evidence as well as footage. The current controller is authored. + | Order | Build and owner role | Current state | Evidence needed to advance | | --- | --- | --- | --- | | 1 | Collection planning — product + data | Local coverage planner, versioned briefs and declared source-group tallies implemented. | First skill's observable goal, operating envelope, actual recordings and reviewed capture lineage. | diff --git a/docs/robot-simulation-library.md b/docs/robot-simulation-library.md index 1ffa751..e6037d9 100644 --- a/docs/robot-simulation-library.md +++ b/docs/robot-simulation-library.md @@ -32,7 +32,7 @@ use the verified local files. | Profile | Arm axes, excluding gripper | Source model | Current scope | | --- | --- | --- | --- | -| `piper` | 6 | [PiPER Menagerie model](https://github.com/google-deepmind/mujoco_menagerie/tree/0059d4335f8156206f63a35662313385f7ad6d74/agilex_piper), MIT | Model audit, unloaded motion, an [authored contact pilot](piper-contact-pilot.md), and a separate [test-lift/recovery candidate](piper-grip-recovery.md). | +| `piper` | 6 | [PiPER Menagerie model](https://github.com/google-deepmind/mujoco_menagerie/tree/0059d4335f8156206f63a35662313385f7ad6d74/agilex_piper), MIT | Model audit, unloaded motion, an [authored contact pilot](piper-contact-pilot.md), [test-lift/recovery candidate](piper-grip-recovery.md), and [contact-history v0.3 comparison](piper-contact-memory-v03.md). | | `so101` | 5 | [SO-101 Menagerie model](https://github.com/google-deepmind/mujoco_menagerie/tree/0059d4335f8156206f63a35662313385f7ad6d74/robotstudio_so101), Apache-2.0 | Model audit and bounded unloaded native motion. | The native PiPER gripper command is one finger's sliding-joint target in meters, diff --git a/publishing/huggingface/publish_robot_sim.py b/publishing/huggingface/publish_robot_sim.py index dc13328..cc8a590 100644 --- a/publishing/huggingface/publish_robot_sim.py +++ b/publishing/huggingface/publish_robot_sim.py @@ -19,11 +19,19 @@ REPO_ID = 'Dvidia/robot-simulation-lab' KIND = 'dvidia.robot-simulation-lab-publication' MAX_FILE_BYTES = 32*1024*1024 -MAX_TOTAL_BYTES = 150*1024*1024 +# v0.3 adds all 84 sealed contact-memory attempts while retaining prior evidence. +# Only the complete stored payload cap increases; decoded/file bounds stay fixed. +MAX_TOTAL_BYTES = 256*1024*1024 ALLOWED_SUFFIXES = {'.md', '.html', '.js', '.json', '.txt', '.png', '.bin', '.gz'} SHA = re.compile(r'(?:[a-f0-9]{40}|[a-f0-9]{64})') MAX_STARTER_STYLESHEET_BYTES = 64*1024 +MAX_ATTEMPT_JSON_DEPTH = 64 GRIP_ATTEMPT_PATH = re.compile(r'tasks/piper-grip/attempts/[a-z0-9][a-z0-9_.-]{0,159}\.json\.gz') +CONTACT_ATTEMPT_PATH = re.compile(r'tasks/piper-contact-v03/attempts/[a-z0-9][a-z0-9_.-]{0,159}\.json\.gz') + + +def _compressed_attempt(name): + return GRIP_ATTEMPT_PATH.fullmatch(name) or CONTACT_ATTEMPT_PATH.fullmatch(name) def _plain(path): @@ -52,8 +60,8 @@ def _artifact_name(name): raise PublicationError('Unexpected Robot Simulation Lab artifact type.') if relative.suffix in ('.bin', '.gz') and relative.name not in ( 'geometry.bin', 'motion.bin', 'geometry.bin.gz', 'motion.bin.gz'): - if GRIP_ATTEMPT_PATH.fullmatch(relative.as_posix()) is None: - raise PublicationError('Only native geometry, recorded motion and scoped PiPER grip JSON may be published.') + if _compressed_attempt(relative.as_posix()) is None: + raise PublicationError('Only native geometry, recorded motion and scoped PiPER attempt JSON may be published.') return relative @@ -62,9 +70,9 @@ def _no_private_bytes(raw): raise PublicationError('Possible credential or private local path in publication bytes.') -def _artifact_plaintext(name, raw): - if GRIP_ATTEMPT_PATH.fullmatch(name) is None: - return raw +def _artifact_json_texts(name, raw): + if _compressed_attempt(name) is None: + return raw,raw # Reuse the benchmark's one bounded decompressor, including in the # standalone publisher. This requires no native engine or network. root = str(Path(__file__).resolve().parents[2]/'src') @@ -79,16 +87,39 @@ def _artifact_plaintext(name, raw): or episode.get('profile')!='piper-rigid-block-task-v0.1' or episode.get('physical_robot_ready') is not False or episode.get('learned_policy') is not False): raise ValueError('Unexpected compressed task episode') - return decoded - except (ValueError,OSError) as exc: - raise PublicationError('Invalid or oversized compressed PiPER grip attempt JSON.') from exc + stack = [(iter((episode,)),0)] + while stack: + iterator,depth = stack[-1] + try: + value = next(iterator) + except StopIteration: + stack.pop() + continue + if type(value) in (dict,list): + if depth>=MAX_ATTEMPT_JSON_DEPTH: + raise ValueError('Task JSON exceeds its nesting bound') + stack.append((iter(value.values() if type(value) is dict else value),depth+1)) + # Resolve escaped string characters for privacy checks only. The frozen + # original compressed/decoded evidence is never rewritten. + normalized = json.dumps(episode,ensure_ascii=False,allow_nan=False,separators=(',',':')).encode('utf-8') + if len(normalized)>MAX_FILE_BYTES: + raise ValueError('Normalized task JSON exceeds its byte bound') + return decoded,normalized + except (ValueError,OSError,UnicodeError,RecursionError) as exc: + raise PublicationError('Invalid or oversized compressed PiPER attempt JSON.') from exc + + +def _artifact_plaintext(name, raw): + return _artifact_json_texts(name,raw)[0] def _no_private_artifact_bytes(name,raw): # Gzip optional header/comment bytes are not present in decoded JSON. _no_private_bytes(raw) - if GRIP_ATTEMPT_PATH.fullmatch(name): - _no_private_bytes(_artifact_plaintext(name,raw)) + if _compressed_attempt(name): + decoded,normalized = _artifact_json_texts(name,raw) + _no_private_bytes(decoded) + _no_private_bytes(normalized) def _reviewed_removals(plan): @@ -199,7 +230,8 @@ def publish_robot_sim(path): _no_private_artifact_bytes(item['path'],raw) payload[item['path']] = raw api, token = client(path.parent/'publisher-cache') - if any(token.encode() in raw or token.encode() in _artifact_plaintext(name,raw) for name,raw in payload.items()): + if any(token.encode() in raw or any(token.encode() in text for text in _artifact_json_texts(name,raw)) + for name,raw in payload.items()): raise PublicationError('Credential found in frozen upload bytes.') identity = api.whoami() if 'Dvidia' not in {o.get('name') for o in identity.get('orgs',[])}: diff --git a/publishing/huggingface/robot-simulation-lab/prepare.py b/publishing/huggingface/robot-simulation-lab/prepare.py index ee31069..4aadeeb 100644 --- a/publishing/huggingface/robot-simulation-lab/prepare.py +++ b/publishing/huggingface/robot-simulation-lab/prepare.py @@ -376,6 +376,138 @@ def _grip_summary(report,*,html=False): return '\n\n'.join(line for line in (comparison,regression,recovery,note) if line)+'\n\n'+'\n'.join('- '+line for line in rows) +def _sealed_piper_contact(directory): + from dvidia_training import piper_contact_benchmark as benchmark + root = Path(directory).absolute() + publisher._plain(root) + if not root.is_dir(): + raise ValueError('PiPER v0.3 evidence must be an explicitly supplied plain benchmark directory.') + report,files = benchmark.load_contact_bundle(root) + required = {'report.json','report.html','protocol.json','integrity.json', + 'licenses/agilex_piper/LICENSE','licenses/agilex_piper/README.md'} + if (type(report) is not dict or type(files) is not dict or len(files)!=90 + or not required<=set(files) or any(type(raw) is not bytes for raw in files.values())): + raise ValueError('PiPER v0.3 must retain all eighty-four compressed attempts and model notices.') + manifest = _decode(files['integrity.json']) + if (type(manifest) is not dict or set(manifest)!={'schema','files'} + or manifest['schema']!='dvidia.piper-contact-integrity/v0.3' or type(manifest['files']) is not dict + or set(manifest['files'])!=set(files)-{'integrity.json'} or _decode(files['report.json'])!=report): + raise ValueError('PiPER v0.3 snapshot differs from its original complete seal/report.') + protocol = _decode(files['protocol.json']) + if (report.get('schema')!='dvidia.piper-contact-benchmark/v0.3' or type(protocol) is not dict + or protocol.get('schema')!='dvidia.piper-contact-protocol/v0.3' + or report.get('profile')!='piper-rigid-block-task-v0.1' or protocol.get('profile')!=report['profile'] + or any(doc.get('physical_robot_ready') is not False or doc.get('learned_policy') is not False + or doc.get('scope')!=benchmark.SCOPE or doc.get('simulation_asset_license')!='MIT' + for doc in (report,protocol)) + or report.get('protocol')!=protocol or report.get('cohort') not in ('development','confirmation') + or protocol.get('cohort')!=report['cohort'] or protocol.get('native_command_units')!=['rad']*6+['m'] + or protocol.get('variants')!=list(benchmark.VARIANTS) + or type(protocol.get('planned_attempts')) is not int or protocol['planned_attempts']!=84 + or report.get('protocol_sha256')!=sha256(files['protocol.json']).hexdigest()): + raise ValueError('Only the pinned authored synthetic PiPER v0.3 comparison may be staged.') + scenes,attempts = report.get('scenes'),report.get('attempts') + if (type(scenes) is not list or len(scenes)!=12 or scenes!=protocol.get('scenes') + or any(type(scene) is not dict or type(scene.get('id')) is not str + or scene.get('friction') not in benchmark.FRICTIONS or scene.get('mass_kg') not in benchmark.MASSES + or type(scene.get('layout_index')) is not int or scene['layout_index'] not in (0,1) for scene in scenes) + or len({scene['id'] for scene in scenes})!=12 + or {(s['friction'],s['mass_kg'],s['layout_index']) for s in scenes}!= + {(f,m,i) for f in benchmark.FRICTIONS for m in benchmark.MASSES for i in (0,1)} + or type(attempts) is not list or len(attempts)!=84 + or type(report.get('attempted')) is not int or report['attempted']!=84): + raise ValueError('PiPER v0.3 must retain every friction, mass, layout and paired attempt.') + expected = {scene['id']+'--'+variant for scene in scenes for variant in benchmark.VARIANTS} + lookup = {} + for row in attempts: + if (type(row) is not dict or type(row.get('id')) is not str or type(row.get('scene_id')) is not str + or type(row.get('variant')) is not str or row['id'] not in expected or row['id'] in lookup + or row['id']!=row['scene_id']+'--'+row['variant'] + or row.get('result_file')!='attempts/'+row['id']+'.json.gz' + or type(row.get('valid')) is not bool or type(row.get('success')) is not bool + or (row['success'] and not row['valid'])): + raise ValueError('PiPER v0.3 attempt differs from its complete paired plan.') + lookup[row['id']]=row + if (set(files)!=required|{row['result_file'] for row in attempts} + or report.get('summary')!=benchmark.aggregate(attempts,scenes) + or type(report.get('valid_attempts')) is not int or report['valid_attempts']!=sum(row['valid'] for row in attempts)): + raise ValueError('PiPER v0.3 inventory or friction/mass-stratified counts differ from all attempts.') + total,decoded_total = 0,0 + for name,data in files.items(): + publisher._artifact_name('tasks/piper-contact-v03/'+name) + if len(data)>publisher.MAX_FILE_BYTES or publisher._bytes(root/name,publisher.MAX_FILE_BYTES)!=data: + raise ValueError('PiPER v0.3 evidence changed after validated inspection.') + decoded = data + if name!='integrity.json': + record = manifest['files'][name] + compressed = name.startswith('attempts/') + keys = {'bytes','sha256','encoding','decoded_bytes','decoded_sha256'} if compressed else {'bytes','sha256'} + if (type(record) is not dict or set(record)!=keys or type(record['bytes']) is not int + or {key:record[key] for key in ('bytes','sha256')}!=_record(data)): + raise ValueError('PiPER v0.3 stored bytes differ from their original seal.') + if compressed: + decoded = benchmark.decode_attempt(data,record) + raw = _decode(decoded) + identity = name.removeprefix('attempts/').removesuffix('.json.gz') + if (type(raw) is not dict or benchmark._summary(raw)!= + {key:value for key,value in lookup[identity].items() if key!='result_file'}): + raise ValueError('PiPER v0.3 outcome differs from its complete decoded source attempt.') + publisher._no_private_bytes(data) + publisher._no_private_bytes(decoded) + total+=len(data);decoded_total+=len(decoded) + if total>publisher.MAX_TOTAL_BYTES or decoded_total>benchmark.MAX_DECODED_BYTES: + raise ValueError('PiPER v0.3 evidence exceeds its stored or decoded byte budget.') + actual = set() + for path in root.rglob('*'): + publisher._plain(path) + if path.is_file(): + actual.add(path.relative_to(root).as_posix()) + if actual!=set(files): + raise ValueError('PiPER v0.3 contains files outside its original sealed inventory.') + return files,report,{'stored_bytes':total,'decoded_bytes':decoded_total} + + +def _contact_summary(report,*,html=False): + totals = {} + for variant in ('baseline_placement','probe_only_placement','history_placement'): + grouped = [row for row in report['summary'] if row['variant']==variant] + totals[variant] = (sum(row['success'] for row in grouped),sum(row['attempted'] for row in grouped)) + baseline,probe,history = (totals[key] for key in ('baseline_placement','probe_only_placement','history_placement')) + comparison = (f'Placement completion: baseline {baseline[0]}/{baseline[1]}, ' + f'probe-only {probe[0]}/{probe[1]}, history {history[0]}/{history[1]}.') + recovery = 'Retries, resumes and release refusals do not imply successful placement or recovery.' + note = (f"Frozen {report['cohort']} cohort: {report['attempted']} planned attempts across twelve synthetic scenes. " + 'Three frictions, two masses and two shared layouts; seven variants per scene. ' + 'Every failed or invalid attempt remains in the denominator. Counts are descriptive, not physical reliability or detector accuracy.') + rows = [f"μ={row['friction']:.2f}, mass={row['mass_kg']:.2f} kg / {row['variant']}: " + f"{row['success']}/{row['attempted']} completed, {row['valid']} numerically valid" for row in report['summary']] + if html: + return ('

'+escape(comparison)+'

'+escape(recovery)+'

'+escape(note)+ + '

Inspect all friction, mass and control counts'+ + '
'.join(escape(line) for line in rows)+'
') + return '\n\n'.join((comparison,recovery,note))+'\n\n'+'\n'.join('- '+line for line in rows) + + +def _piper_contact_card(report,source_commit): + if report is None: + return '' + return ('
PiPER contact memory v0.3 · synthetic' + '

Compare probe and contact history.

'+_contact_summary(report,html=True)+ + '

Three authored controllers use privileged native simulator state. Each placement policy has ' + 'its own matched open-jaw replay; a shared hold control remains. Full contact history, decisions, ' + 'refusals, retries, resumes, aborts and invalid outcomes are retained. Uncalibrated contact proxies ' + 'do not qualify a learned skill, physical detector or robot.

' + '

All eighty-four full attempts are retained as deterministic gzip JSON with original ' + 'stored and decoded hashes. Previous task and numerical evidence remains separate and unchanged. ' + 'This adds no PiPER 3D viewer or physical qualification.

') + + def _piper_grip_card(report,source_commit): if report is None: return '' @@ -395,7 +527,7 @@ def _piper_grip_card(report,source_commit): 'evidence to the existing contact pilot; it adds no PiPER 3D viewer.

') -def _profile_cards(profile_reports=(),source_commit='main',piper_task_report=None,piper_grip_report=None): +def _profile_cards(profile_reports=(),source_commit='main',piper_task_report=None,piper_grip_report=None,piper_contact_report=None): profiles = [ ('UR5e + Robotiq 2F-85','Recorded native contact task', 'Six arm joints, eight articulated gripper coordinates and a free rigid block. Full source outcomes and matched controls are available.', @@ -424,11 +556,11 @@ def _profile_cards(profile_reports=(),source_commit='main',piper_task_report=Non authored = ['' for title,status,description,href,label in profiles] - return authored[0]+_piper_task_card(piper_task_report,source_commit)+_piper_grip_card(piper_grip_report,source_commit)+''.join(recorded)+''.join(authored[1:]) + return authored[0]+_piper_contact_card(piper_contact_report,source_commit)+_piper_task_card(piper_task_report,source_commit)+_piper_grip_card(piper_grip_report,source_commit)+''.join(recorded)+''.join(authored[1:]) def stage(replay,output,*,source_commit=None,expected_remote_commit=None,profile_benchmarks=None, - remove_starter_stylesheet=None,piper_task_benchmark=None,piper_grip_benchmark=None): + remove_starter_stylesheet=None,piper_task_benchmark=None,piper_grip_benchmark=None,piper_contact_benchmark=None): replay_files,report,motion = _sealed_replay(replay) if profile_benchmarks is not None and (type(profile_benchmarks) is not list or len(profile_benchmarks)>2): raise ValueError('Supply at most two explicit native profile benchmark directories.') @@ -478,6 +610,19 @@ def stage(replay,output,*,source_commit=None,expected_remote_commit=None,profile 'canonical_attempt_storage':'Deterministic single-member gzip JSON; original stored and decoded SHA-256/byte sizes retained in source seal', 'byte_preservation':'Complete original protocol, report, thirty canonical attempt files, integrity and MIT notices retained under tasks/piper-grip/', **sizes} + piper_contact_report = None + if piper_contact_benchmark is not None: + contact_files,piper_contact_report,sizes = _sealed_piper_contact(piper_contact_benchmark) + payload.update({'tasks/piper-contact-v03/'+name:raw for name,raw in contact_files.items()}) + task_records['piper-contact-v03'] = {'profile':piper_contact_report['profile'], + 'source_integrity':_record(contact_files['integrity.json']), + 'source_report':_record(contact_files['report.json']),'source_protocol':_record(contact_files['protocol.json']), + 'cohort':piper_contact_report['cohort'],'attempt_ids':[row['id'] for row in piper_contact_report['attempts']], + 'attempted':84,'valid_attempts':piper_contact_report['valid_attempts'],'summary':piper_contact_report['summary'], + 'native_command_units':['rad']*6+['m'],'physical_robot_ready':False,'learned_policy':False,'scope':piper_contact_report['scope'], + 'canonical_attempt_storage':'Deterministic single-member gzip JSON; original stored and decoded SHA-256/byte sizes retained in source seal', + 'byte_preservation':'Complete original protocol, report, eighty-four canonical attempt files, integrity and MIT notices retained under tasks/piper-contact-v03/', + **sizes} readme = publisher._bytes(HERE/'templates/README.md',1024*1024).decode() index = publisher._bytes(HERE/'templates/index.html',1024*1024).decode() profile_summary = ('No separate unloaded numerical profile bundles are included in this payload.' @@ -505,8 +650,19 @@ def stage(replay,output,*,source_commit=None,expected_remote_commit=None,profile '/docs/piper-grip-recovery.md). No archive extraction is needed. ' '[Full comparison](tasks/piper-grip/report.html) · [Original protocol](tasks/piper-grip/protocol.json) · ' '[Stored and decoded hashes](tasks/piper-grip/integrity.json).\n') - readme = readme.replace('{{BENCHMARK_SUMMARY}}',_summary(report)).replace('{{PROFILE_SUMMARY}}',profile_summary).replace('{{PIPER_TASK_SUMMARY}}',piper_summary).replace('{{PIPER_GRIP_SUMMARY}}',grip_summary).replace('{{SOURCE_COMMIT}}',source_commit) - index = index.replace('{{BENCHMARK_SUMMARY}}',_summary(report,html=True)).replace('{{PROFILE_CARDS}}',_profile_cards(profile_reports,source_commit,piper_task_report,piper_grip_report)).replace('{{SOURCE_COMMIT}}',source_commit) + contact_summary = ('' if piper_contact_report is None else '## PiPER contact memory v0.3\n\n'+_contact_summary(piper_contact_report)+ + '\n\nBaseline, probe-only and history are authored controllers with privileged native state, each with its own ' + 'matched open-jaw replay and a common hold control. Full diagnostics, contact-memory decisions, refusals, ' + 'retries, resumes and aborts are retained. These synthetic trials establish no learned competence, physical ' + 'reliability or detector accuracy.\n\nEvery attempt is canonical deterministic gzip JSON under ' + '`tasks/piper-contact-v03/attempts/`; the original seal records both stored and decoded bytes and SHA-256. ' + 'Download all files in `tasks/piper-contact-v03/` together for the pinned offline inspection workflow in ' + '[the v0.3 guide](https://github.com/Dvidia-Inference/dvidia-training/blob/'+source_commit+ + '/docs/piper-contact-memory-v03.md). [Full comparison](tasks/piper-contact-v03/report.html) · ' + '[Every outcome](tasks/piper-contact-v03/report.json) · [Original protocol](tasks/piper-contact-v03/protocol.json) · ' + '[Stored and decoded hashes](tasks/piper-contact-v03/integrity.json).\n') + readme = readme.replace('{{BENCHMARK_SUMMARY}}',_summary(report)).replace('{{PROFILE_SUMMARY}}',profile_summary).replace('{{PIPER_TASK_SUMMARY}}',piper_summary).replace('{{PIPER_GRIP_SUMMARY}}',grip_summary).replace('{{PIPER_CONTACT_SUMMARY}}',contact_summary).replace('{{SOURCE_COMMIT}}',source_commit) + index = index.replace('{{BENCHMARK_SUMMARY}}',_summary(report,html=True)).replace('{{PROFILE_CARDS}}',_profile_cards(profile_reports,source_commit,piper_task_report,piper_grip_report,piper_contact_report)).replace('{{SOURCE_COMMIT}}',source_commit) if '{{' in readme or '{{' in index: raise ValueError('Space template contains an unresolved publication placeholder.') payload.update({'README.md':readme.encode(),'index.html':index.encode(),'LICENSE':publisher._bytes(ROOT/'LICENSE',1024*1024)}) @@ -519,6 +675,8 @@ def stage(replay,output,*,source_commit=None,expected_remote_commit=None,profile 'source_task_integrity':_record(replay_files['receipt/integrity.json']), 'byte_preservation':'Every original replay file, complete raw task attempt, integrity file and model notice is retained byte-for-byte under replay/', 'software_license':'MIT','native_model_licenses':{'UR5e':'BSD-3-Clause','Robotiq 2F-85':'BSD-2-Clause'}, + 'publication_byte_bounds':{'stored_payload_bytes':publisher.MAX_TOTAL_BYTES,'per_file_bytes':publisher.MAX_FILE_BYTES, + 'scope':'v0.3 raises the stored Space cap to 256 MiB to retain prior evidence plus all eighty-four new attempts; bounded single-member decompression is unchanged'}, 'profile_benchmarks':profile_records,'contact_task_benchmarks':task_records, 'profile_gallery':'UR5e replay and explicitly supplied PiPER pilot have authored contact-task evidence; separate PiPER/SO-101 numerical bundles remain unloaded mechanics evidence; all remaining profiles stay upcoming'} provenance['native_model_licenses'].update({p['profile']['name']:p['profile']['simulation_asset_license'] for p in profile_reports}) @@ -526,6 +684,8 @@ def stage(replay,output,*,source_commit=None,expected_remote_commit=None,profile provenance['native_model_licenses']['PiPER contact pilot']='MIT' if piper_grip_report is not None: provenance['native_model_licenses']['PiPER guarded grip comparison']='MIT' + if piper_contact_report is not None: + provenance['native_model_licenses']['PiPER contact memory v0.3']='MIT' payload['provenance.json'] = (json.dumps(provenance,indent=2)+'\n').encode() total = sum(len(raw) for raw in payload.values()) if total > publisher.MAX_TOTAL_BYTES: @@ -569,9 +729,11 @@ def stage(replay,output,*,source_commit=None,expected_remote_commit=None,profile parser.add_argument('--profile-benchmark',type=Path,action='append',default=[]) parser.add_argument('--piper-task-benchmark',type=Path) parser.add_argument('--piper-grip-benchmark',type=Path) + parser.add_argument('--piper-contact-benchmark',type=Path) args = parser.parse_args() result = stage(args.replay,args.output,source_commit=args.source_commit,expected_remote_commit=args.expected_remote_commit, profile_benchmarks=args.profile_benchmark,remove_starter_stylesheet=args.remove_starter_stylesheet, - piper_task_benchmark=args.piper_task_benchmark,piper_grip_benchmark=args.piper_grip_benchmark) + piper_task_benchmark=args.piper_task_benchmark,piper_grip_benchmark=args.piper_grip_benchmark, + piper_contact_benchmark=args.piper_contact_benchmark) print(json.dumps({'repo_id':result['repository']['repo_id'],'files':len(result['repository']['files']), 'bytes':result['total_bytes'],'sdk':'static'},indent=2)) diff --git a/publishing/huggingface/robot-simulation-lab/templates/README.md b/publishing/huggingface/robot-simulation-lab/templates/README.md index df8c696..d7bf491 100644 --- a/publishing/huggingface/robot-simulation-lab/templates/README.md +++ b/publishing/huggingface/robot-simulation-lab/templates/README.md @@ -65,6 +65,13 @@ Space entry sends commands to a physical robot. {{PIPER_GRIP_SUMMARY}} +{{PIPER_CONTACT_SUMMARY}} + +The reviewed publication now permits at most **256 MiB of stored files**, so the v0.3 +comparison can retain all previous evidence alongside its 84 new full attempts. +The **32 MiB per-file limit** and bounded single-member gzip decoding remain in place. +This is a packaging limit, not a hardware or training memory requirement. + ## Provenance and licensing The native export, its complete receipt, model license files, upstream notices, diff --git a/publishing/huggingface/robot-simulation-lab/test_prepare.py b/publishing/huggingface/robot-simulation-lab/test_prepare.py index f9638f2..4dc2b4b 100644 --- a/publishing/huggingface/robot-simulation-lab/test_prepare.py +++ b/publishing/huggingface/robot-simulation-lab/test_prepare.py @@ -186,6 +186,65 @@ def piper_grip_reseal(root,report,payload): target=root/name;target.parent.mkdir(parents=True,exist_ok=True);target.write_bytes(data) +def piper_contact_fixture(root): + """Invented data-only full inventory; semantic/native loader is patched.""" + from dvidia_training import piper_contact_benchmark as benchmark + root.mkdir() + scenes = [{'id':f'friction{round(f*100):03}-mass{round(m*1000):03}-layout{i:02}', + 'friction':f,'mass_kg':m,'stratum':stratum,'layout_index':i,'config':{'friction':f,'mass_kg':m}} + for f,stratum in zip(benchmark.FRICTIONS,benchmark.STRATA) for m in benchmark.MASSES for i in (0,1)] + protocol = {'schema':benchmark.PROTOCOL_SCHEMA,'profile':benchmark.task.PROFILE,'scope':benchmark.SCOPE, + 'physical_robot_ready':False,'learned_policy':False,'simulation_asset_license':'MIT', + 'cohort':'development','scenes':scenes,'variants':list(benchmark.VARIANTS),'planned_attempts':84, + 'native_command_units':['rad']*6+['m']} + payload = {'protocol.json':bench._json_bytes(protocol),'report.html':b'All eighty-four canonical attempts are linked', + 'licenses/agilex_piper/LICENSE':b'Original MIT model fixture\n', + 'licenses/agilex_piper/README.md':b'Original model notice fixture\n'} + attempts = [] + for scene in scenes: + for variant in benchmark.VARIANTS: + identity=scene['id']+'--'+variant + control,mode=benchmark._variant(variant) + valid=not (scene['friction']==.15 and scene['mass_kg']==.06 and scene['layout_index']==1 and variant=='hold') + following={'qualification_decisions':[],'alarms':[],'following_opportunity':False if valid else None, + 'sampled_drop_events':0,'aborted':False,'retry_count':0} + raw={'schema':benchmark.task.SCHEMA,'profile':benchmark.task.PROFILE,'scope':benchmark.task.SCOPE, + 'id':identity,'scene_id':scene['id'],'variant':variant,'physical_robot_ready':False,'learned_policy':False, + 'valid':valid,'success':False,'config':scene['config'],'control':control,'policy_mode':mode, + 'trajectory':[{'fixture':0}],'actions':[{'fixture':0}],'arm_tape':[[0]*6], + 'grip_guard':{'schema':'dvidia.piper-grip-guard/v1' if mode=='baseline' else 'dvidia.piper-contact-memory/v0.3', + 'mode':mode,'active':control=='placement' and mode!='baseline'}, + 'contact_evaluation':{'following':following,'interventions':[], + 'resume_decisions':0,'loaded_settling_observed_at_resume':0, + 'low_tcp_motion_observed_at_resume':0,'unresolved_resume_windows':0, + 'resumed_completed':False,'resumed_not_completed':False}} + name='attempts/'+identity+'.json.gz' + payload[name]=gzip.compress(bench._json_bytes(raw),mtime=0) + attempts.append({**benchmark._summary(raw),'result_file':name}) + report={'schema':benchmark.SCHEMA,'profile':benchmark.task.PROFILE,'scope':benchmark.SCOPE, + 'physical_robot_ready':False,'learned_policy':False,'simulation_asset_license':'MIT','cohort':'development', + 'protocol':protocol,'protocol_sha256':sha256(payload['protocol.json']).hexdigest(), + 'scenes':scenes,'attempted':84,'valid_attempts':83,'attempts':attempts, + 'summary':benchmark.aggregate(attempts,scenes)} + piper_contact_reseal(root,report,payload) + return report,payload + + +def piper_contact_reseal(root,report,payload): + from dvidia_training import piper_contact_benchmark as benchmark + payload['report.json']=bench._json_bytes(report) + records={} + for name,data in payload.items(): + if name=='integrity.json': continue + records[name]=record(data) + if name.endswith('.json.gz'): + decoded=benchmark.decode_attempt(data) + records[name].update(encoding='gzip',decoded_bytes=len(decoded),decoded_sha256=sha256(decoded).hexdigest()) + payload['integrity.json']=bench._json_bytes({'schema':benchmark.INTEGRITY_SCHEMA,'files':records}) + for name,data in payload.items(): + target=root/name;target.parent.mkdir(parents=True,exist_ok=True);target.write_bytes(data) + + class RobotSimulationPreparationTests(unittest.TestCase): def setUp(self): self.temporary = tempfile.TemporaryDirectory() @@ -514,6 +573,110 @@ def test_grip_staging_keeps_existing_publication_cap_and_bound_decoding(self): self.assertFalse(any(row['path'].startswith('tasks/piper-grip/') for row in plan['repository']['files'])) self.assertNotIn('PiPER guarded grip comparison',(self.output/'space/index.html').read_text()) + def test_v03_retains_all_eighty_four_attempts_and_exact_prior_evidence(self): + from dvidia_training import piper_contact_benchmark as contact,piper_grip_benchmark as grip,piper_task_benchmark as pilot + source=self.root/'contact';report,payload=piper_contact_fixture(source) + old_grip=self.root/'grip';grip_report,grip_files=piper_grip_fixture(old_grip) + old_pilot=self.root/'pilot';pilot_report,pilot_files=piper_task_fixture(old_pilot) + with patch.object(contact,'load_contact_bundle',return_value=(report,payload)), \ + patch.object(grip,'load_grip_bundle',return_value=(grip_report,grip_files)), \ + patch.object(pilot,'load_task_bundle',return_value=(pilot_report,pilot_files)): + plan=prepare.stage(self.replay,self.output,source_commit='a'*40,piper_task_benchmark=old_pilot, + piper_grip_benchmark=old_grip,piper_contact_benchmark=source) + self.assertEqual(publisher.checked_plan(self.output/'publication-plan.json'),plan) + for prefix,files in (('tasks/piper-contact-v03',payload),('tasks/piper-grip',grip_files), + ('tasks/piper',pilot_files),('replay',self.original)): + for name,data in files.items(): + self.assertEqual((self.output/'space'/prefix/name).read_bytes(),data) + self.assertEqual(len(payload),90) + landing=(self.output/'space/index.html').read_text() + comparison='Placement completion: baseline 0/12, probe-only 0/12, history 0/12.' + self.assertIn(''+comparison+'',landing) + self.assertIn('84 planned attempts across twelve synthetic scenes',landing) + self.assertIn('μ=0.15, mass=0.06 kg / hold: 0/2 completed, 1 numerically valid',landing) + self.assertIn('/blob/'+'a'*40+'/docs/piper-contact-memory-v03.md',landing) + self.assertIn('Retries, resumes and release refusals do not imply successful placement or recovery.',landing) + self.assertLess(landing.index(comparison),landing.index('Three authored controllers')) + provenance=json.loads((self.output/'space/provenance.json').read_bytes()) + compared=provenance['contact_task_benchmarks']['piper-contact-v03'] + self.assertEqual((compared['attempted'],compared['valid_attempts']),(84,83)) + self.assertEqual(len(compared['attempt_ids']),84) + self.assertEqual(compared['source_integrity'],record(payload['integrity.json'])) + self.assertGreater(compared['decoded_bytes'],compared['stored_bytes']) + self.assertFalse(compared['learned_policy']) + self.assertEqual(provenance['publication_byte_bounds']['stored_payload_bytes'],256*1024*1024) + self.assertEqual(provenance['publication_byte_bounds']['per_file_bytes'],32*1024*1024) + readme=(self.output/'space/README.md').read_text() + self.assertIn(comparison,readme) + self.assertIn('256 MiB of stored files',readme) + + def test_v03_summary_derives_all_three_completion_totals_without_claiming_improvement(self): + report,_=piper_contact_fixture(self.root/'summary') + for outcome in ((0,0,0),(5,1,2),(1,4,8)): + with self.subTest(outcome=outcome): + candidate=deepcopy(report) + for variant,count in zip(('baseline_placement','probe_only_placement','history_placement'),outcome): + for row in candidate['summary']: + if row['variant']==variant: + row['success']=min(count,row['attempted']);count-=row['success'] + self.assertEqual(count,0) + expected=f'Placement completion: baseline {outcome[0]}/12, probe-only {outcome[1]}/12, history {outcome[2]}/12.' + self.assertTrue(prepare._contact_summary(candidate).startswith(expected)) + card=prepare._piper_contact_card(candidate,'a'*40) + self.assertIn(''+expected+'',card) + self.assertNotIn('improved',card) + self.assertIn('do not imply successful placement or recovery',card) + + def test_v03_scope_full_grid_denominator_decoded_hashes_and_snapshots_are_rechecked(self): + from dvidia_training import piper_contact_benchmark as contact + for variant in ('scope','count','mass','summary','missing_summary','drop','decoded_hash','changed','private','header_private','unlisted','symlink'): + with self.subTest(variant=variant),tempfile.TemporaryDirectory() as folder: + root=Path(folder).resolve();source=root/'contact';report,payload=piper_contact_fixture(source) + if variant=='scope': report['physical_robot_ready']=True + elif variant=='count': report['attempted']=83 + elif variant=='mass': report['scenes'][0]['mass_kg']=.06 + elif variant=='summary': report['summary'][0]['success']=1 + elif variant=='missing_summary': + report['summary']=[row for row in report['summary'] if row['variant']!='probe_only_placement'] + elif variant=='drop': + name=report['attempts'].pop()['result_file'];payload.pop(name);(source/name).unlink() + elif variant=='private': + name=report['attempts'][0]['result_file'];raw=json.loads(contact.decode_attempt(payload[name])) + raw['note']='/Users/roguedev/private';payload[name]=gzip.compress(bench._json_bytes(raw),mtime=0) + report['attempts'][0]={**contact._summary(raw),'result_file':name} + elif variant=='header_private': + name=report['attempts'][0]['result_file'];data=payload[name] + header=bytearray(data[:10]);header[3]|=8 + payload[name]=bytes(header)+b'/Users/roguedev/private\0'+data[10:] + piper_contact_reseal(source,report,payload) + if variant=='decoded_hash': + seal=json.loads(payload['integrity.json']);name=report['attempts'][0]['result_file'] + seal['files'][name]['decoded_sha256']='0'*64 + payload['integrity.json']=bench._json_bytes(seal);(source/'integrity.json').write_bytes(payload['integrity.json']) + elif variant=='changed': (source/'report.html').write_bytes(b'changed after inspection') + elif variant=='unlisted': (source/'unlisted.json').write_bytes(b'{}') + elif variant=='symlink': (source/'linked.json').symlink_to(source/'report.json') + output=root/'publication' + with patch.object(contact,'load_contact_bundle',return_value=(report,payload)),self.assertRaises(ValueError): + prepare.stage(self.replay,output,source_commit='a'*40,piper_contact_benchmark=source) + self.assertFalse(output.exists()) + + def test_v03_optional_flag_preserves_byte_caps_and_decoding_bounds(self): + from dvidia_training import piper_contact_benchmark as contact + source=self.root/'contact';report,payload=piper_contact_fixture(source) + cap=sum(len(raw) for raw in self.original.values())+sum(len(raw) for raw in payload.values())-1 + for variant in ('stored','decoded','file'): + with self.subTest(variant=variant),patch.object(contact,'load_contact_bundle',return_value=(report,payload)), \ + patch.object(publisher,'MAX_TOTAL_BYTES',cap if variant=='stored' else publisher.MAX_TOTAL_BYTES), \ + patch.object(publisher,'MAX_FILE_BYTES',1 if variant=='file' else publisher.MAX_FILE_BYTES), \ + patch.object(contact,'MAX_DECODED_BYTES',1 if variant=='decoded' else contact.MAX_DECODED_BYTES), \ + self.assertRaises(ValueError): + prepare.stage(self.replay,self.output,source_commit='a'*40,piper_contact_benchmark=source) + self.assertFalse(self.output.exists()) + plan=prepare.stage(self.replay,self.output,source_commit='a'*40) + self.assertFalse(any(row['path'].startswith('tasks/piper-contact-v03/') for row in plan['repository']['files'])) + self.assertNotIn('PiPER contact memory v0.3',(self.output/'space/index.html').read_text()) + if __name__=='__main__': unittest.main() diff --git a/publishing/huggingface/test_publish_robot_sim.py b/publishing/huggingface/test_publish_robot_sim.py index 76382c0..317e2f9 100644 --- a/publishing/huggingface/test_publish_robot_sim.py +++ b/publishing/huggingface/test_publish_robot_sim.py @@ -108,6 +108,12 @@ def test_frontmatter_cannot_be_spoofed_by_body_or_duplicate_keys(self): with self.subTest(card=card),self.assertRaises(PublicationError): publisher.checked_plan(self.path) def test_byte_bounds_are_checked_without_credential_access(self): + self.assertEqual(publisher.MAX_TOTAL_BYTES,256*1024*1024) + self.assertEqual(publisher.MAX_FILE_BYTES,32*1024*1024) + with patch.object(publisher,'MAX_TOTAL_BYTES',self.plan['total_bytes']): + self.assertEqual(publisher.checked_plan(self.path),self.plan) + with patch.object(publisher,'MAX_TOTAL_BYTES',self.plan['total_bytes']-1),self.assertRaises(PublicationError): + publisher.checked_plan(self.path) with patch.object(publisher,'MAX_FILE_BYTES',4),self.assertRaises(PublicationError): publisher.checked_plan(self.path) with patch.object(publisher,'MAX_TOTAL_BYTES',16),self.assertRaises(PublicationError): @@ -210,19 +216,92 @@ def test_bootstrap_changed_remote_bytes_parent_missing_stylesheet_and_unrelated_ api.create_repo.assert_not_called() if variant!='bytes': verify.assert_not_called() - def compressed_episode(self,extra=None,comment=None): + def compressed_episode(self,extra=None,comment=None,folder='piper-grip'): episode = {'schema':'dvidia.piper-task-episode/v1','profile':'piper-rigid-block-task-v0.1', 'physical_robot_ready':False,'learned_policy':False,**(extra or {})} data = gzip.compress(json.dumps(episode).encode(),mtime=0) if comment is not None: header=bytearray(data[:10]);header[3]|=8 data=bytes(header)+comment+b'\0'+data[10:] - target=self.space/'tasks/piper-grip/attempts/friction080-layout00--guarded_placement.json.gz' + target=self.space/('tasks/'+folder+'/attempts/friction080-layout00--guarded_placement.json.gz') target.parent.mkdir(parents=True,exist_ok=True) target.write_bytes(data) self.refresh() return target,data + def test_v03_compressed_namespace_keeps_raw_and_decoded_privacy_scope_and_bounds(self): + target,valid=self.compressed_episode(folder='piper-contact-v03') + publisher.checked_plan(self.path) + self.assertEqual(json.loads(publisher._artifact_plaintext(target.relative_to(self.space).as_posix(),valid))['profile'], + 'piper-rigid-block-task-v0.1') + for name in ('tasks/piper-contact-v03/attempt.json.gz','tasks/piper-contact-v04/attempts/attempt.json.gz', + 'tasks/piper-contact-v03/attempts/.hidden.json.gz','tasks/piper-contact-v03/attempts/weights.bin.gz'): + with self.subTest(name=name),self.assertRaises(PublicationError): publisher._artifact_name(name) + for extra,comment in [({'note':'/Users/roguedev/private'},None),({},b'hf_'+b'a'*32), + ({'physical_robot_ready':True},None),({'learned_policy':True},None)]: + self.compressed_episode(extra,comment,folder='piper-contact-v03') + with self.subTest(extra=extra,comment=comment),self.assertRaises(PublicationError): + publisher.publish_robot_sim(self.path) + for data in (b'not gzip',valid+valid,gzip.compress(b'not JSON',mtime=0)): + target.write_bytes(data);self.refresh() + with self.subTest(data=data[:10]),self.assertRaises(PublicationError): publisher.publish_robot_sim(self.path) + self.compressed_episode({'large':'x'*2000},folder='piper-contact-v03') + from dvidia_training import piper_grip_benchmark as benchmark + with patch.object(benchmark,'MAX_FILE_BYTES',512),self.assertRaises(PublicationError): + publisher.publish_robot_sim(self.path) + + def test_v03_exact_credential_is_checked_in_gzip_header_and_decoded_payload_before_remote_calls(self): + for extra,comment in [({'note':'fixture-token'},None),({},b'fixture-token')]: + self.compressed_episode(extra,comment,folder='piper-contact-v03') + api=self.api() + with self.subTest(extra=extra,comment=comment),patch.object(publisher,'client',return_value=(api,'fixture-token')), \ + self.assertRaises(PublicationError): publisher.publish_robot_sim(self.path) + api.whoami.assert_not_called() + api.create_commit.assert_not_called() + + def escaped_episode(self,folder,value): + target,_=self.compressed_episode({'note':'escape-fixture'},folder=folder) + raw=gzip.decompress(target.read_bytes()).replace(b'escape-fixture', + ''.join('\\u'+format(ord(char),'04x') for char in value).encode()) + self.assertNotIn(value.encode(),raw) + data=gzip.compress(raw,mtime=0) + target.write_bytes(data);self.refresh() + return target,data + + def test_escaped_json_private_paths_and_token_patterns_are_rejected_without_rewriting_evidence(self): + for folder in ('piper-grip','piper-contact-v03'): + for value in ('/Users/roguedev/private','hf_'+'a'*32): + with self.subTest(folder=folder,value=value): + target,data=self.escaped_episode(folder,value) + with self.assertRaises(PublicationError): publisher.publish_robot_sim(self.path) + self.assertEqual(target.read_bytes(),data) + target.unlink();self.refresh() + + def test_escaped_exact_in_memory_credential_is_rejected_before_remote_identity(self): + for folder in ('piper-grip','piper-contact-v03'): + target,data=self.escaped_episode(folder,'fixture-token') + api=self.api() + with self.subTest(folder=folder),patch.object(publisher,'client',return_value=(api,'fixture-token')), \ + self.assertRaises(PublicationError): publisher.publish_robot_sim(self.path) + api.whoami.assert_not_called() + api.create_commit.assert_not_called() + self.assertEqual(target.read_bytes(),data) + target.unlink();self.refresh() + + def test_normalized_json_privacy_parsing_keeps_bounds_and_rejects_invalid_strings(self): + target,_=self.compressed_episode(folder='piper-contact-v03') + name=target.relative_to(self.space).as_posix() + nested=gzip.decompress(target.read_bytes()).removesuffix(b'}')+b',"note":'+b'['*1500+b'0'+b']'*1500+b'}' + for data in (gzip.compress(nested,mtime=0), + gzip.compress(b'{"schema":"dvidia.piper-task-episode/v1","schema":"duplicate"}',mtime=0)): + with self.subTest(data=data[:10]),self.assertRaises(PublicationError): + publisher._artifact_json_texts(name,data) + _,data=self.compressed_episode({'note':'\ud800'},folder='piper-contact-v03') + with self.assertRaises(PublicationError): publisher._artifact_json_texts(name,data) + _,data=self.compressed_episode({'large':'x'*2000},folder='piper-contact-v03') + with patch.object(publisher,'MAX_FILE_BYTES',512),self.assertRaises(PublicationError): + publisher._artifact_json_texts(name,data) + def test_only_scoped_compressed_grip_json_is_allowed_and_private_decoded_or_header_bytes_fail(self): self.compressed_episode() publisher.checked_plan(self.path) diff --git a/pyproject.toml b/pyproject.toml index 8b663dc..b2f7a75 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,6 +45,7 @@ dvidia-reference-task = "dvidia_training.reference_task_benchmark:main" dvidia-robot-sim = "dvidia_training.robot_profiles:main" dvidia-piper-task = "dvidia_training.piper_task_benchmark:main" dvidia-piper-grip = "dvidia_training.piper_grip_benchmark:main" +dvidia-piper-contact = "dvidia_training.piper_contact_benchmark:main" [tool.setuptools.packages.find] where = ["src"] diff --git a/src/dvidia_training/piper_contact_benchmark.py b/src/dvidia_training/piper_contact_benchmark.py new file mode 100644 index 0000000..1072099 --- /dev/null +++ b/src/dvidia_training/piper_contact_benchmark.py @@ -0,0 +1,719 @@ +"""Frozen paired PiPER probe/contact-history experiments and bounded offline inspection. + +Recorded consistency and independent sampled outcome proxies are inspected; +neither a file seal nor these synthetic trials authenticate physical competence. +""" +from __future__ import annotations + +import argparse +from dataclasses import asdict, replace +import gzip +from hashlib import sha256 +from html import escape +import json +import math +import os +from pathlib import Path +import platform +import random +import re +import sys +import time + +from . import piper_task as task, piper_task_benchmark as base, piper_grip_benchmark as prior, robot_profiles +from .reference_replay import _decode, _json_bytes, _read + +SCHEMA = 'dvidia.piper-contact-benchmark/v0.3' +PROTOCOL_SCHEMA = 'dvidia.piper-contact-protocol/v0.3' +INTEGRITY_SCHEMA = 'dvidia.piper-contact-integrity/v0.3' +VARIANTS = ('baseline_placement', 'baseline_open_jaw', 'probe_only_placement', 'probe_only_open_jaw', 'history_placement', 'history_open_jaw', 'hold') +MASSES = (.04, .06) +FRICTIONS = (.8, .55, .15) +STRATA = ('nominal', 'moderate_friction', 'low_friction') +SOURCE_FILES = prior.SOURCE_FILES + ('piper_contact_memory.py', 'piper_contact_benchmark.py') +MAX_FILE_BYTES = 32 * 1024 * 1024 +MAX_BUNDLE_BYTES = 256 * 1024 * 1024 +MAX_DECODED_BYTES = 512 * 1024 * 1024 +SCOPE = ('Paired authored PiPER contact-history pilot, privileged native state and synthetic rigid blocks. ' + 'No learned policy, sensor pipeline, calibrated contact, shoe competence or physical robot qualification.') +EVALUATION_CONTRACT = { + 'schema': 'dvidia.piper-contact-sampled-evaluation/v0.3', + 'following': dict(prior.EVALUATION_CONTRACT), + 'motion_window_s': .100, 'settled_window_s': .100, + 'settled_tcp_speed_limit_m_s': .010, + 'minimum_settled_object_rise_m': .006, + 'scope': 'Independent recorded 20ms boundaries, not detector accuracy or physics recomputation. ' + 'Motion windows retain actual native movement after commands, not instantaneous arrest. ' + 'Settled, resumed and completed are separate; no observed true-slip opportunity is not a perfect score.', +} + + + +def implementation_hashes(): + root = Path(__file__).parent + return {name: sha256((root/name).read_bytes()).hexdigest() for name in SOURCE_FILES} + + +def _memory_contract(): + from .piper_contact_memory import contact_memory_contract + return contact_memory_contract() + + +def _variant(variant): + if variant not in VARIANTS: + raise ValueError('Unknown contact-history variant') + if variant == 'hold': + return 'hold', 'baseline' + mode = next(name for name in ('baseline', 'probe_only', 'history') if variant.startswith(name+'_')) + return ('replay_open_jaw' if variant.endswith('open_jaw') else 'placement'), mode + + +def make_protocol(*, seed=817031, cohort='development'): + if type(seed) is not int or not 0 <= seed <= 999988: + raise ValueError('Seed must be an integer in [0,999988]') + if cohort not in ('development', 'confirmation'): + raise ValueError('Cohort must be development or confirmation') + default, rng, layouts = task.PiperTaskConfig(), random.Random(seed), [] + for index in range(2): + start, target = list(default.object_position_m), list(default.target_position_m) + for axis in (0, 1): + start[axis] += rng.uniform(-.005, .005) + target[axis] += rng.uniform(-.005, .005) + layouts.append((start, target)) + scenes = [] + for friction, stratum in zip(FRICTIONS, STRATA): + for mass in MASSES: + for index, (start, target) in enumerate(layouts): + config = replace(default, object_position_m=tuple(start), target_position_m=tuple(target), + friction=friction, mass_kg=mass) + scenes.append({'id': f'friction{round(friction*100):03}-mass{round(mass*1000):03}-layout{index:02}', + 'layout_index': index, 'stratum': stratum, 'friction': friction, 'mass_kg': mass, + 'seed': seed+len(scenes), 'config': asdict(config)}) + return {'schema': PROTOCOL_SCHEMA, 'profile': task.PROFILE, 'scope': SCOPE, 'physical_robot_ready': False, + 'learned_policy': False, 'cohort': cohort, 'seed': seed, 'scenes': scenes, 'variants': list(VARIANTS), + 'planned_attempts': 84, 'contract': task.task_contract(), 'contact_contract': _memory_contract(), + 'acquisition_contract': _memory_contract()['acquisition'], + 'evaluation_contract': EVALUATION_CONTRACT, 'implementation_sha256': implementation_hashes(), + 'native_command_units': ['rad']*6+['m'], 'simulation_asset_license': 'MIT', 'layout_offset_limit_m': .005, + 'timing_boundary': base.TIMING_BOUNDARY, + 'comparison': 'Two shared XY layouts at each friction and mass; identical native mechanics and starting ' + 'state within each scene. Baseline, acquisition probe-only and contact-history variants ' + 'each have separately matched complete arm-tape/open-jaw controls, plus common hold. ' + 'Probe-only and history share acquisition; only history adapts after qualification. ' + 'All failures and full-duration aborts remain; invalid/incomplete tapes are never extended.', + 'split_note': 'Synthetic declared confirmation does not prove unseen scenes or physical reliability. ' + 'Controller/evaluation parameters and sources are frozen before any native attempt.'} + + +decode_attempt = prior.decode_attempt + + +def _local_offset(state): + # Inverse unit quaternion rotates the object-to-TCP vector into the TCP frame. + w, x, y, z = state['tcp_quaternion_wxyz'] + v = [a-b for a, b in zip(state['object_position_m'], state['tcp_position_m'])] + u = (-x, -y, -z) + cross = (u[1]*v[2]-u[2]*v[1], u[2]*v[0]-u[0]*v[2], u[0]*v[1]-u[1]*v[0]) + second = (u[1]*cross[2]-u[2]*cross[1], u[2]*cross[0]-u[0]*cross[2], u[0]*cross[1]-u[1]*cross[0]) + return [v[i]+2*w*cross[i]+2*second[i] for i in range(3)] + + +def _motion_window(states, start, end): + window = [s for s in states if start-1e-9 <= s['t_seconds'] <= end+1e-9] + complete = bool(window and window[0]['t_seconds'] <= start+1e-9 and window[-1]['t_seconds'] >= end-1e-9) + spans = [b['t_seconds']-a['t_seconds'] for a,b in zip(window,window[1:])] + tcp_segments = [math.dist(a['tcp_position_m'],b['tcp_position_m']) for a,b in zip(window,window[1:])] + object_segments = [math.dist(a['object_position_m'],b['object_position_m']) for a,b in zip(window,window[1:])] + span = window[-1]['t_seconds']-window[0]['t_seconds'] if window else 0. + return {'start_s':start,'end_s':end,'complete':complete,'sample_count':len(window),'observed_span_s':span, + 'tcp_path_m':sum(tcp_segments),'object_path_m':sum(object_segments), + 'tcp_mean_speed_m_s':sum(tcp_segments)/span if span>0 else None, + 'object_mean_speed_m_s':sum(object_segments)/span if span>0 else None, + 'tcp_peak_sampled_speed_m_s':max((d/t for d,t in zip(tcp_segments,spans) if t>0),default=None), + 'object_peak_sampled_speed_m_s':max((d/t for d,t in zip(object_segments,spans) if t>0),default=None), + 'tcp_rise_m':max((s['tcp_position_m'][2]-window[0]['tcp_position_m'][2] for s in window),default=None), + 'object_rise_m':max((s['object_position_m'][2]-window[0]['object_position_m'][2] for s in window),default=None)} + + +def evaluate_episode(raw): + """Measure actual recorded motion/outcomes, independently of controller labels.""" + states, guard = raw.get('trajectory',[]), raw.get('grip_guard',{}) + events = guard.get('events',[]) + loss_view = dict(raw) + loss_view['grip_guard'] = dict(guard,events=[dict(e,type='alarm') for e in events if e['type']=='reassessment_started']) + sampled_holds = {round(e['t_seconds'],8):e for e in prior.evaluate_episode(loss_view)['alarms']} + interventions = [] + width = EVALUATION_CONTRACT['motion_window_s'] + for event in events: + if event['type'] not in ('slowdown_started','reassessment_started','carry_resumed'): + continue + clock = event['t_seconds'] + entry = {'type':event['type'],'t_seconds':clock,'reason':event['reason'], + 'before':_motion_window(states,max(0.,clock-width),clock), + 'after':_motion_window(states,clock,clock+width)} + later = next((e['t_seconds'] for e in events if e['t_seconds']>clock and e['type'] in + ('reassessment_started','carry_resumed','abort')),None) + if event['type'] in ('slowdown_started','reassessment_started'): + terminal = later if later is not None else raw.get('simulated_seconds',clock) + entry['intervention'] = _motion_window(states,clock,terminal) + entry['ended_by_observed_event'] = later is not None + if event['type']=='reassessment_started': + entry['sampled_following_loss_comparison'] = sampled_holds.get(round(clock,8)) + if event['type']=='carry_resumed': + settled = [s for s in states if clock-EVALUATION_CONTRACT['settled_window_s']-1e-9<=s['t_seconds']<=clock+1e-9] + complete = bool(settled and settled[0]['t_seconds']<=clock-EVALUATION_CONTRACT['settled_window_s']+1e-9) + loaded = bool(complete and all(not s['table_object_contact_count'] and all(s['grasp_contact_counts'].values()) + and min(s['pad_normal_forces_n'].values())>.01 and s['unexpected_contact_count']==0 + and s['object_position_m'][2]-states[0]['object_position_m'][2]>=EVALUATION_CONTRACT['minimum_settled_object_rise_m'] + for s in settled)) + # Actual absolute motion is separate from the controller's relative history predicate. + speed = entry['before']['tcp_peak_sampled_speed_m_s'] + entry['recorded_loaded_unsupported_window'] = loaded if complete else None + entry['recorded_low_tcp_motion_window'] = (loaded and speed is not None and + speed<=EVALUATION_CONTRACT['settled_tcp_speed_limit_m_s']) if complete else None + entry['task_completed'] = bool(raw.get('valid') and raw.get('success')) + interventions.append(entry) + resumes = [e for e in interventions if e['type']=='carry_resumed'] + return {'schema':EVALUATION_CONTRACT['schema'],'following':prior.evaluate_episode(raw), + 'interventions':interventions,'resume_decisions':len(resumes), + 'resumed_completed':bool(resumes and raw.get('valid') and raw.get('success')), + 'resumed_not_completed':bool(resumes and not (raw.get('valid') and raw.get('success'))), + 'loaded_settling_observed_at_resume':sum(e['recorded_loaded_unsupported_window'] is True for e in resumes), + 'low_tcp_motion_observed_at_resume':sum(e['recorded_low_tcp_motion_window'] is True for e in resumes), + 'unresolved_resume_windows':sum(e['recorded_loaded_unsupported_window'] is None for e in resumes)} + + +def aggregate(attempts, scenes): + result = [] + for friction, stratum in zip(FRICTIONS, STRATA): + for mass in MASSES: + for variant in VARIANTS: + rows = [r for r in attempts if r['variant']==variant and r['config']['friction']==friction and r['config']['mass_kg']==mass] + success = sum(r['valid'] is True and r['success'] is True for r in rows) + follow = [r['contact_evaluation']['following'] for r in rows] + decisions = [d for f in follow for d in f['qualification_decisions']] + result.append({'friction':friction,'mass_kg':mass,'stratum':stratum,'variant':variant, + 'attempted':len(rows),'valid':sum(r['valid'] is True for r in rows),'success':success, + 'failed_or_invalid':len(rows)-success,'success_fraction':success/len(rows) if rows else None, + 'qualification_decisions':len(decisions), + 'following_observed_after_decision':sum(d['following_observed'] is True for d in decisions), + 'following_not_observed_after_decision':sum(d['following_observed'] is False for d in decisions), + 'unresolved_qualification_decisions':sum(d['following_observed'] is None for d in decisions), + 'no_qualification_decision_attempts':sum(not f['qualification_decisions'] for f in follow), + 'no_following_opportunity_attempts':sum(f['following_opportunity'] is False for f in follow), + 'unresolved_following_opportunity_attempts':sum(f['following_opportunity'] is None for f in follow), + 'aborted_attempts':sum(f['aborted'] for f in follow),'retries':sum(f['retry_count'] for f in follow), + 'sampled_following_loss_events':sum(f['sampled_drop_events'] for f in follow), + 'slowdown_decisions':sum(r['grip_guard'].get('slowdown_count',0) for r in rows), + 'reassessment_decisions':sum(r['grip_guard'].get('reassessment_count',0) for r in rows), + 'resume_decisions':sum(r['contact_evaluation']['resume_decisions'] for r in rows), + 'loaded_settling_observed_at_resume':sum(r['contact_evaluation']['loaded_settling_observed_at_resume'] for r in rows), + 'low_tcp_motion_observed_at_resume':sum(r['contact_evaluation']['low_tcp_motion_observed_at_resume'] for r in rows), + 'unresolved_resume_windows':sum(r['contact_evaluation']['unresolved_resume_windows'] for r in rows), + 'holds_without_preceding_sampled_loss':sum(e['sampled_following_loss_comparison']['no_preceding_sampled_loss_opportunity'] + for r in rows for e in r['contact_evaluation']['interventions'] if e['type']=='reassessment_started' and e['sampled_following_loss_comparison'] is not None), + 'incomplete_post_intervention_motion_windows':sum(not e['after']['complete'] for r in rows for e in r['contact_evaluation']['interventions']), + 'resumed_completed':sum(r['contact_evaluation']['resumed_completed'] for r in rows), + 'resumed_not_completed':sum(r['contact_evaluation']['resumed_not_completed'] for r in rows)}) + return result + + +def _summary(raw): + return base._summary(raw) + + +def _html(report): + rows = ''.join(''+''.join(''+escape(str(x))+'' for x in + (r['friction'],r['mass_kg'],r['variant'],r['success'],r['attempted'],r['valid'],r['resumed_completed'],r['resumed_not_completed']))+'' for r in report['summary']) + attempts = [] + for row in report['attempts']: + guard,evaluation = row['grip_guard'],row['contact_evaluation'] + observations = ', '.join(f"{d['t_seconds']:.2f}s "+('following observed' if d['following_observed'] is True else 'following not observed' if d['following_observed'] is False else 'unresolved') for d in evaluation['following']['qualification_decisions']) or 'no qualification decision' + events = ', '.join(f"{e['t_seconds']:.2f}s {e['type'].replace('_',' ')} ({e['reason']})" for e in guard['events']) or 'no controller events' + motion = [] + for intervention in evaluation['interventions']: + def speed(window): + value=window['tcp_mean_speed_m_s'] + return 'unobserved' if value is None else f'{value*1000:.2f}mm/s' + motion.append(f"{intervention['t_seconds']:.2f}s {intervention['type'].replace('_',' ')}: actual TCP mean speed {speed(intervention['before'])} before → {speed(intervention['after'])} after; "+ + f"TCP path {intervention['after']['tcp_path_m']*1000:.2f}mm / object path {intervention['after']['object_path_m']*1000:.2f}mm over "+ + ('complete 100ms window' if intervention['after']['complete'] else 'incomplete window')) + attempts.append('
  • '+escape(row['id'])+': '+('completed' if row['success'] else 'failed' if row['valid'] else 'invalid')+ + ' · '+escape(observations)+'. Retries '+str(guard['retry_count'])+'. '+ + ('Abort: '+escape(str(guard['abort_reason']))+'. ' if guard['aborted'] else '')+'
    '+escape(events)+ + (('
    '+escape('; '.join(motion))) if motion else '')+' · complete JSON gzip
  • ') + attempts = ''.join(attempts) + return ('' + 'DVIDIA · PiPER contact history comparison

    DVIDIA RESEARCH

    Probe, adapt, complete

    '+escape(SCOPE)+ + '

    '+escape(report['cohort'])+' · all 84 planned attempts retained.

    Full report · ' + 'Frozen protocol · Stored and decoded integrity

    ' + '' + ''+rows+'
    FrictionMass kgVariantCompletedAttemptedValidResumed and completedResumed, incomplete

    '+escape(EVALUATION_CONTRACT['scope'])+'

    '+escape(base.TIMING_BOUNDARY)+ + '

    Every attempt

      '+attempts+'
    ') + + +def run_benchmark(assets, output, *, seed=817031, cohort='development', progress=None): + protocol = make_protocol(seed=seed, cohort=cohort) + asset_root = task._asset_root(assets) + provenance = robot_profiles.verify_assets('piper', asset_root) + _, blobs = robot_profiles._payload('piper', asset_root) + destination = Path(output) + if destination.is_symlink(): + raise ValueError('Output must be a fresh regular directory') + destination.mkdir(parents=True, exist_ok=False) + (destination/'attempts').mkdir() + (destination/'licenses/agilex_piper').mkdir(parents=True) + for source, name in (('agilex_piper/LICENSE',base.LICENSE_PATH),('agilex_piper/README.md',base.MODEL_NOTE_PATH)): + (destination/name).write_bytes(blobs[source]) + base._write(destination/'protocol.json', protocol) + digest, attempts, records = sha256((destination/'protocol.json').read_bytes()).hexdigest(), [], {} + for scene in protocol['scenes']: + tapes = {} + for variant in VARIANTS: + if implementation_hashes() != protocol['implementation_sha256']: + raise ValueError('Implementation changed after protocol freeze; incomplete run preserved') + control, mode = _variant(variant) + began, identity = time.perf_counter(), scene['id']+'--'+variant + try: + if control == 'replay_open_jaw' and tapes.get(mode) is None: + raise ValueError('Valid complete '+mode+' placement arm tape unavailable') + raw = task.run_episode(asset_root, task.PiperTaskConfig(**scene['config']), seed=scene['seed'], + control=control, policy_mode=mode, arm_tape=tapes.get(mode) if control == 'replay_open_jaw' else None) + if type(raw.get('valid')) is not bool or type(raw.get('success')) is not bool: + raise ValueError('Task runner omitted Boolean outcomes') + if control == 'placement': + tape = raw.get('arm_tape') + ticks = round(scene['config']['timeout_s']/scene['config']['control_dt']) + tapes[mode] = tape if raw['valid'] and type(tape) is list and len(tape) == ticks else None + except Exception as exc: + from . import piper_grip_guard, piper_contact_memory + inactive = (piper_grip_guard.inactive_summary(mode) if mode=='baseline' + else piper_contact_memory.inactive_summary(mode)) + policy_sources = ('piper_grip_guard.py',) if mode=='baseline' else ('piper_grip_guard.py','piper_contact_memory.py') + raw = {'schema':task.SCHEMA,'scope':task.SCOPE,'valid':False,'success':False,'reason':'exception', + 'error':{'type':type(exc).__name__,'message':str(exc).replace(str(asset_root.resolve()),'[assets]')[:500]}, + 'trajectory':[],'actions':[],'arm_tape':[],'metrics':{},'timing':{},'warnings':[],'simulated_seconds':0., + 'contract':protocol['contract'], + 'implementation_sha256':{name:protocol['implementation_sha256'][name] for name in base.EPISODE_SOURCE_FILES}, + 'policy_implementation_sha256':{name:protocol['implementation_sha256'][name] for name in policy_sources}, + 'grip_guard':inactive} + raw.update(id=identity,scene_id=scene['id'],variant=variant,control=control,policy_mode=mode,profile=task.PROFILE, + physical_robot_ready=False,learned_policy=False,seed=scene['seed'],config=scene['config'], + attempt_wall_seconds=time.perf_counter()-began) + raw['contact_evaluation'] = evaluate_episode(raw) + decoded, name = _json_bytes(raw), 'attempts/'+identity+'.json.gz' + encoded = gzip.compress(decoded, mtime=0) + if len(decoded)>MAX_FILE_BYTES or len(encoded)>MAX_FILE_BYTES: + raise ValueError('Attempt exceeds bounded gzip/raw size; incomplete run preserved') + with (destination/name).open('xb') as stream: + stream.write(encoded) + records[name] = {'bytes':len(encoded),'sha256':sha256(encoded).hexdigest(),'encoding':'gzip', + 'decoded_bytes':len(decoded),'decoded_sha256':sha256(decoded).hexdigest()} + if implementation_hashes() != protocol['implementation_sha256']: + raise ValueError('Implementation changed during attempt; incomplete evidence preserved') + attempts.append({**_summary(raw),'result_file':name}) + if progress: + progress({'id':identity,'valid':raw['valid'],'success':raw['success']}) + runtimes = [row['platform'] for row in attempts if type(row.get('platform')) is dict] + report = {'schema':SCHEMA,'profile':task.PROFILE,'scope':SCOPE,'physical_robot_ready':False,'learned_policy':False, + 'cohort':cohort,'protocol':protocol,'protocol_sha256':digest,'implementation_sha256':protocol['implementation_sha256'], + 'asset_provenance':provenance,'simulation_asset_license':'MIT', + 'asset_license':{'path':base.LICENSE_PATH,'sha256':sha256(blobs['agilex_piper/LICENSE']).hexdigest()}, + 'hardware':{'platform':platform.platform(),'machine':platform.machine(),'python':platform.python_version(), + 'logical_cpu_count':os.cpu_count(),'gpu_used':False,'process_lifetime_peak_rss_bytes':base._peak_rss_bytes(), + 'episode_runtimes':list({json.dumps(x,sort_keys=True):x for x in runtimes}.values()), + 'memory_scope':'Process lifetime high-water RSS before inspection; not per-episode or minimum RAM.'}, + 'scenes':protocol['scenes'],'attempted':len(attempts),'valid_attempts':sum(row['valid'] for row in attempts), + 'summary':aggregate(attempts,protocol['scenes']),'attempts':attempts} + base._write(destination/'report.json',report) + (destination/'report.html').write_text(_html(report),encoding='utf-8',newline='\n') + for name in ('protocol.json','report.json','report.html',base.LICENSE_PATH,base.MODEL_NOTE_PATH): + data = (destination/name).read_bytes() + records[name] = {'bytes':len(data),'sha256':sha256(data).hexdigest()} + base._write(destination/'integrity.json',{'schema':INTEGRITY_SCHEMA,'files':records}) + inspect_contact_bundle(destination) + return report + + +def _near(actual, expected): + if expected is None or type(expected) is bool: + return actual is expected + if type(expected) is int: + return type(actual) is int and actual==expected + if isinstance(expected,float): + try: + return type(actual) in (int,float) and math.isfinite(actual) and math.isclose(actual,expected,rel_tol=1e-7,abs_tol=1e-9) + except (OverflowError,TypeError,ValueError): + return False + if type(expected) is list: + return type(actual) is list and len(actual)==len(expected) and all(_near(a,b) for a,b in zip(actual,expected)) + return actual==expected + + +def _history_values(history, parameters): + span = history[-1]['t_seconds']-history[0]['t_seconds'] if history else 0. + known = span+1e-9>=parameters['minimum_history_s'] + offsets = [_local_offset(s) for s in history] + displacement = math.dist(offsets[0],offsets[-1]) if offsets else None + path = sum(math.dist(a,b) for a,b in zip(offsets,offsets[1:])) + excursion = max((math.dist(a,b) for a in offsets for b in offsets),default=0.) + slope = None + if known: + mean = sum(s['t_seconds'] for s in history)/len(history) + denominator = sum((s['t_seconds']-mean)**2 for s in history) + slope = [sum((s['t_seconds']-mean)*o[axis] for s,o in zip(history,offsets))/denominator for axis in range(3)] + return {'history_count':len(history),'history_known':known,'history_span_seconds':span, + 'history_displacement_m':displacement,'history_rate_m_s':displacement/span if known else None, + 'history_path_m':path,'history_excursion_m':excursion,'history_slope_m_s':slope, + 'history_straightness':displacement/path if known and path>1e-12 else (0. if known else None), + 'history_bilateral_fraction':sum(all(s['grasp_contact_counts'].values()) for s in history)/len(history) if history else None, + 'history_loaded_bilateral_all':known and all(all(s['grasp_contact_counts'].values()) and min(s['pad_normal_forces_n'].values())>.01 for s in history), + 'history_unsupported_all':known and all(not s['table_object_contact_count'] for s in history)} + + +def _memory(raw, protocol): + """Recorded decision consistency, without rerunning dynamics or trusting labels.""" + guard, mode = raw.get('grip_guard'), raw['policy_mode'] + source_names = ('piper_grip_guard.py',) if mode=='baseline' else ('piper_grip_guard.py','piper_contact_memory.py') + expected_sources = {name:protocol['implementation_sha256'][name] for name in source_names} + if (type(guard) is not dict or guard.get('mode')!=mode or raw.get('policy_implementation_sha256')!=expected_sources + or guard.get('contract')!=(protocol['acquisition_contract'] if mode=='baseline' else protocol['contact_contract']) + or guard.get('schema')!=('dvidia.piper-grip-guard/v1' if mode=='baseline' else 'dvidia.piper-contact-memory/v0.3')): + raise ValueError('Contact mode/contract/source mismatch') + old_types = {'probe_started','acquisition_qualified','alarm','retry_started','retry_completed','abort'} + new_types = {'slowdown_started','reassessment_started','carry_resumed'} + events = guard.get('events') + if type(events) is not list or len(events)>100 or any(type(e) is not dict or e.get('type') not in old_types|new_types for e in events): + raise ValueError('Invalid bounded contact events') + if mode!='history' and any(e['type'] in new_types for e in events): + raise ValueError('Only history mode may intervene after acquisition') + # Reuse the frozen acquisition validator on a view, not a second controller. + view, compatibility = dict(raw),dict(protocol) + view['grip_guard'] = dict(guard) + view['grip_guard'].update(schema='dvidia.piper-grip-guard/v1', + mode='baseline' if mode=='baseline' else 'guarded',contract=protocol['acquisition_contract'], + events=[e for e in events if e['type'] in old_types]) + view['policy_mode'] = 'baseline' if mode=='baseline' else 'guarded' + view['variant'] = 'guarded_placement' if mode!='baseline' and raw['control']=='placement' else 'baseline_placement' + view['policy_implementation_sha256'] = {'piper_grip_guard.py':protocol['implementation_sha256']['piper_grip_guard.py']} + view['grip_evaluation'] = prior.evaluate_episode(view) + compatibility['guard_contract'] = protocol['acquisition_contract'] + prior._guard(view,compatibility) + if mode!='baseline': + for name,kind,limit in (('slowdown_count','slowdown_started',3),('reassessment_count','reassessment_started',2),('resume_count','carry_resumed',2)): + if type(guard.get(name)) is not int or not 0<=guard[name]<=limit or guard[name]!=sum(e['type']==kind for e in events): + raise ValueError('Contact intervention count mismatch') + if guard['resume_count']>guard['reassessment_count'] or not guard['active'] and any(guard[name] for name in ('slowdown_count','reassessment_count','resume_count')): + raise ValueError('Inactive or unmatched contact intervention') + states = {round(s['t_seconds'],8):s for s in raw['trajectory']} + previous, by_time = -1.,{} + for event in events: + clock = base._numeric(event.get('t_seconds'),'contact event time',0.,raw['simulated_seconds']+1e-8) + state, diag = states.get(round(clock,8)),event.get('diagnostic') + if (clock0)): + raise ValueError('Contact event is not aligned to causal recorded observation') + if event['type'] in new_types and (state.get('command') is None or not guard['active']): + raise ValueError('Contact intervention lacks issued action') + event_phases = {'probe_started':'guard_probe','acquisition_qualified':'guard_probe', + 'alarm':'guard_stop','retry_started':'guard_stop','retry_completed':'guard_retry_recenter', + 'abort':'guard_abort','slowdown_started':'memory_slowdown', + 'reassessment_started':'memory_hold','carry_resumed':'memory_hold'} + if event['phase']!=event_phases[event['type']]: + raise ValueError('Contact event phase differs from its declared decision') + by_time.setdefault(round(clock,8),[]).append(event) + previous = clock + if mode!='baseline' and guard['active']: + cfg = protocol['contact_contract']['parameters'] + qualified = probing = aborted = destination_supported = resumed = False + history, origin, stage, started, targets, settled_since = [],None,'observe',None,None,None + trend_streak = loss_streak = 0 + for state in raw['trajectory']: + command, clock = state.get('command'),state['t_seconds'] + if command is None: + continue + diag = state['guard_diagnostic'] + current_events = by_time.get(round(clock,8),[]) + phase = command.get('phase') + diagnostic_phase = diag.get('phase') + if (diagnostic_phase in ('lift','transfer','place') and phase not in (diagnostic_phase,'memory_slowdown','memory_hold','guard_abort') + or phase in ('lift','transfer','place','memory_slowdown','memory_hold') and diagnostic_phase not in ('lift','transfer','place') + or diagnostic_phase=='probe' and phase not in ('guard_probe','guard_stop','guard_abort')): + raise ValueError('Contact diagnostic phase differs from issued carry/probe phase') + if any(e['type']=='probe_started' for e in current_events): + probing, origin = True,state + if probing or qualified: + history.append(state) + history = [s for s in history if s['t_seconds']>=clock-cfg['history_window_s']-1e-9] + else: + history = [] + calculated = _history_values(history,cfg) + for key,value in calculated.items(): + if not _near(diag.get(key),value): + raise ValueError('Causal contact history differs from recorded past states: '+key) + for event in current_events: + if not _near(event['diagnostic'].get(key),value): + raise ValueError('Contact event history differs from recorded past states: '+key) + if origin is not None and not _near(diag.get('object_height_delta_m'),state['object_position_m'][2]-origin['object_position_m'][2]): + raise ValueError('Contact height differs from recorded probe origin') + if diag.get('memory_stage') not in ('observe','slowdown','hold','destination_supported'): + raise ValueError('Unknown contact history stage') + arrived = (qualified and diag.get('phase') in ('lift','transfer','place') and + state['table_object_contact_count']>0 and all(state['grasp_contact_counts'].values()) and + math.dist(state['object_position_m'],state['target_position_m'])<=raw['config']['goal_position_tolerance_m']) + monitored = mode=='history' and qualified and not aborted and not destination_supported and not arrived and diag.get('phase') in ('lift','transfer','place') + if monitored and not state['unexpected_contact_count']: + trend = (calculated['history_known'] and calculated['history_rate_m_s']>=cfg['trend_rate_m_s'] + and calculated['history_displacement_m']>=cfg['trend_displacement_m'] and calculated['history_straightness']>=cfg['minimum_straightness']) + trend_streak = trend_streak+1 if trend else 0 + loss_streak = loss_streak+1 if not all(state['grasp_contact_counts'].values()) else 0 + if not _near(diag.get('slip_trend_streak'),trend_streak) or not _near(diag.get('persistent_loss_streak'),loss_streak): + raise ValueError('Contact trend/loss streak differs from causal snapshots') + if stage=='hold' and monitored and not state['unexpected_contact_count']: + stable = (clock-started+1e-9>=cfg['hold_minimum_s'] and calculated['history_known'] + and calculated['history_displacement_m']<=cfg['settled_displacement_m'] + and calculated['history_excursion_m']<=cfg['settled_displacement_m'] + and calculated['history_rate_m_s']<=cfg['settled_rate_m_s'] + and calculated['history_loaded_bilateral_all'] and calculated['history_unsupported_all'] + and origin is not None and state['object_position_m'][2]-origin['object_position_m'][2]>=protocol['acquisition_contract']['parameters']['probe_min_object_rise_m']) + settled_since = (clock if settled_since is None else settled_since) if stable else None + dwell = 0. if settled_since is None else clock-settled_since + if not _near(diag.get('settled_dwell_seconds'),dwell): + raise ValueError('Settling dwell differs from recorded loaded unsupported history') + for event in current_events: + kind = event['type'] + if kind=='acquisition_qualified': + qualified,probing = True,False + elif kind=='retry_started': + qualified,probing = False,False + elif kind=='retry_completed': + origin = None + elif kind=='abort': + aborted,probing = True,False + elif kind in new_types: + if not qualified or not monitored: + raise ValueError('Contact intervention precedes qualified monitored carry') + if kind=='slowdown_started': + if stage!='observe' or trend_streak=cfg['loss_samples']: + raise ValueError('Slowdown lacks sustained causal relative trend') + stage,started = 'slowdown',clock + elif kind=='reassessment_started': + if not (loss_streak>=cfg['loss_samples'] or stage=='slowdown' and clock-started+1e-9>=cfg['slowdown_duration_s']): + raise ValueError('Reassessment lacks bounded slowdown or contact loss') + stage,started,targets,settled_since = 'hold',clock,state['joint_position_rad'],None + else: + if stage!='hold' or settled_since is None or clock-settled_since+1e-9cfg['hold_timeout_s']+raw['config']['control_dt']+1e-9 and not aborted: + raise ValueError('Reassessment exceeded its fixed hold budget') + scale, unscaled = diag.get('joint_delta_scale'),diag.get('unscaled_joint_targets_rad') + if phase=='memory_slowdown': + if stage!='slowdown' or clock-started>=cfg['slowdown_duration_s']+1e-9 or scale!=cfg['slowdown_joint_delta_scale']: + raise ValueError('Slowdown phase/scale/duration mismatch') + if unscaled is not None: + base._vector(unscaled,6,'unscaled teacher targets') + expected_scale = cfg['slowdown_joint_delta_scale'] if phase=='memory_slowdown' else cfg['resumed_joint_delta_scale'] + if (type(unscaled) is not list or len(unscaled)!=6 or not _near(scale,expected_scale) + or phase!='memory_slowdown' and not resumed or diag.get('motion_phase') not in ('lift','transfer','place') + or not _near(command['joint_targets_rad'],[q+scale*(u-q) for q,u in zip(state['joint_position_rad'],unscaled)])): + raise ValueError('Requested reduced joint delta differs from recorded teacher targets') + elif scale!=1.: + raise ValueError('Requested scale lacks original teacher targets') + if arrived: + destination_supported = True + if raw.get('contact_evaluation')!=evaluate_episode(raw): + raise ValueError('Independent contact evaluation differs from recorded states') + + +def load_contact_bundle(directory): + """Return report and exact sealed compressed bytes after bounded inspection.""" + root = Path(directory) + if root.is_symlink() or not root.is_dir(): + raise ValueError('Bundle must be regular non-symlink directory') + integrity = _read(root/'integrity.json',65536) + seal = _decode(integrity) + if type(seal) is not dict or set(seal)!={'schema','files'} or seal['schema']!=INTEGRITY_SCHEMA: + raise ValueError('Invalid grip integrity schema') + declarations = seal['files'] + if type(declarations) is not dict or len(declarations)!=89: + raise ValueError('Incomplete paired artifact count') + static = {'protocol.json','report.json','report.html',base.LICENSE_PATH,base.MODEL_NOTE_PATH} + files, total, raw_total = {}, 0, 0 + for name, record in declarations.items(): + compressed = type(name) is str and re.fullmatch(r'attempts/[a-z0-9_-]{1,100}\.json\.gz',name) is not None + if name not in static and not compressed: + raise ValueError('Artifact path outside allowlist') + path = root/name + if any(parent.is_symlink() for parent in path.parents if parent!=root and root in parent.parents): + raise ValueError('Artifact parent symlink') + data = _read(path,MAX_FILE_BYTES) + total += len(data) + keys = {'bytes','sha256','encoding','decoded_bytes','decoded_sha256'} if compressed else {'bytes','sha256'} + if (type(record) is not dict or set(record)!=keys or type(record['bytes']) is not int + or record['bytes']!=len(data) or record['sha256']!=sha256(data).hexdigest()): + raise ValueError('Artifact compressed digest/size mismatch') + if total>MAX_BUNDLE_BYTES: + raise ValueError('Compressed bundle byte bound exceeded') + files[name] = data + checked = decode_attempt(data,record) if compressed else data + raw_total += len(checked) + if raw_total>MAX_DECODED_BYTES: + raise ValueError('Decoded bundle byte bound exceeded') + paths = list(root.rglob('*')) + if any(p.is_symlink() for p in paths) or {p.relative_to(root).as_posix() for p in paths if p.is_file()}!=set(files)|{'integrity.json'}: + raise ValueError('Unsealed or symlink bundle inventory') + if not static<=files.keys(): + raise ValueError('Missing static evidence or license') + report, protocol = _decode(files['report.json']),_decode(files['protocol.json']) + if type(report) is not dict or report.get('schema')!=SCHEMA or type(protocol) is not dict or protocol.get('schema')!=PROTOCOL_SCHEMA: + raise ValueError('Invalid paired report/protocol') + for doc in (report,protocol): + if doc.get('profile')!=task.PROFILE or doc.get('physical_robot_ready') is not False or doc.get('learned_policy') is not False: + raise ValueError('Paired profile/qualification scope mismatch') + hashes = protocol.get('implementation_sha256') + if type(hashes) is not dict or set(hashes)!=set(SOURCE_FILES) or any(type(x) is not str or re.fullmatch('[0-9a-f]{64}',x) is None for x in hashes.values()): + raise ValueError('Malformed frozen source identity') + if (report.get('implementation_sha256')!=hashes or report.get('protocol')!=protocol + or report.get('protocol_sha256')!=sha256(files['protocol.json']).hexdigest() + or report.get('scenes')!=protocol.get('scenes') or report.get('cohort') not in ('development','confirmation') + or report['cohort']!=protocol.get('cohort') or protocol.get('variants')!=list(VARIANTS) + or type(protocol.get('planned_attempts')) is not int or protocol['planned_attempts']!=84 + or protocol.get('native_command_units')!=['rad']*6+['m'] or protocol.get('evaluation_contract')!=EVALUATION_CONTRACT + or protocol.get('contact_contract')!=_memory_contract() or type(protocol.get('contract')) is not dict + or protocol.get('acquisition_contract')!=_memory_contract()['acquisition'] + or protocol['contract'].get('profile')!=task.PROFILE or protocol['contract'].get('physical_robot_ready') is not False): + raise ValueError('Frozen paired protocol/units/scope mismatch') + pinned, notices = base._pinned_assets() + if (report.get('asset_provenance')!=pinned or pinned['lock_sha256']!=hashes['robot_profiles.lock.json'] + or report.get('simulation_asset_license')!='MIT' or protocol.get('simulation_asset_license')!='MIT' + or report.get('asset_license')!={'path':base.LICENSE_PATH,'sha256':sha256(files[base.LICENSE_PATH]).hexdigest()} + or sha256(files[base.LICENSE_PATH]).hexdigest()!=notices['agilex_piper/LICENSE'] + or sha256(files[base.MODEL_NOTE_PATH]).hexdigest()!=notices['agilex_piper/README.md']): + raise ValueError('Pinned original asset/license mismatch') + scenes = report['scenes'] + if type(scenes) is not list or len(scenes)!=12: + raise ValueError('Contact protocol requires twelve scenes') + lookup, layouts = {}, {} + for scene in scenes: + if (type(scene) is not dict or type(scene.get('id')) is not str or scene['id'] in lookup + or type(scene.get('layout_index')) is not int or scene['layout_index'] not in (0,1) + or scene.get('friction') not in FRICTIONS or scene.get('stratum')!=STRATA[FRICTIONS.index(scene['friction'])] + or scene.get('mass_kg') not in MASSES + or scene['id']!=f"friction{round(scene['friction']*100):03}-mass{round(scene['mass_kg']*1000):03}-layout{scene['layout_index']:02}" + or type(scene.get('seed')) is not int or not 0<=scene['seed']<=999999 or type(scene.get('config')) is not dict): + raise ValueError('Invalid paired scene identity') + config = task.PiperTaskConfig(**scene['config']) + if config.friction!=scene['friction'] or config.mass_kg!=scene['mass_kg']: + raise ValueError('Scene friction disagrees with native config') + layout = {k:v for k,v in scene['config'].items() if k not in ('friction','mass_kg')} + if scene['layout_index'] in layouts and layouts[scene['layout_index']]!=layout: + raise ValueError('Friction strata do not share identical layouts/mechanics') + layouts[scene['layout_index']] = layout + lookup[scene['id']] = scene + if {(s['friction'],s['mass_kg'],s['layout_index']) for s in scenes}!={(f,m,i) for f in FRICTIONS for m in MASSES for i in (0,1)}: + raise ValueError('Missing planned friction/layout pair') + expected = {(scene,variant) for scene in lookup for variant in VARIANTS} + attempts, seen, raws = report.get('attempts'),set(),{} + if type(attempts) is not list or len(attempts)!=84 or type(report.get('attempted')) is not int or report['attempted']!=84: + raise ValueError('Missing planned paired attempts') + for row in attempts: + if type(row) is not dict or type(row.get('scene_id')) is not str or type(row.get('variant')) is not str: + raise ValueError('Invalid paired attempt identity') + identity = row['scene_id'],row['variant'] + if identity not in expected or identity in seen or type(row.get('valid')) is not bool or type(row.get('success')) is not bool or row['success'] and not row['valid']: + raise ValueError('Duplicate/inconsistent paired attempt') + scene, (control,mode) = lookup[row['scene_id']],_variant(row['variant']) + name = row.get('result_file') + if (row.get('id')!=row['scene_id']+'--'+row['variant'] or name!='attempts/'+row['id']+'.json.gz' + or name not in files or row.get('control')!=control or row.get('policy_mode')!=mode + or row.get('profile')!=task.PROFILE or row.get('physical_robot_ready') is not False or row.get('learned_policy') is not False + or type(row.get('seed')) is not int or row['seed']!=scene['seed'] or row.get('config')!=scene['config']): + raise ValueError('Attempt differs from paired scene/variant') + raw = _decode(decode_attempt(files[name],declarations[name])) + if type(raw) is not dict or _summary(raw)!={k:v for k,v in row.items() if k!='result_file'}: + raise ValueError('Attempt summary differs from decoded trace') + if raw['valid'] and raw.get('asset_provenance')!=pinned: + raise ValueError('Episode asset identity mismatch') + base._episode(raw,scene,protocol) + _memory(raw,protocol) + seen.add(identity) + # Retain only paired-comparison fields, not all 84 decoded trajectories. + comparison = {key:raw.get(key) for key in ('valid','arm_tape','compiled_model_sha256','native_model_settings', + 'native_control_limits','native_servo_gains','native_servo_bias','native_force_limits','contact_geometry')} + comparison['has_actions'] = bool(raw['actions']) + comparison['start'] = raw['trajectory'][0] if raw['trajectory'] else None + raws[identity] = comparison + for scene in scenes: + rows = [raws[scene['id'],variant] for variant in VARIANTS] + compiled = [r for r in rows if r.get('compiled_model_sha256') is not None] + if any(type(r['compiled_model_sha256']) is not str or re.fullmatch('[0-9a-f]{64}',r['compiled_model_sha256']) is None for r in compiled): + raise ValueError('Malformed recorded compiled model identity') + models = [{key:r.get(key) for key in ('compiled_model_sha256','native_model_settings','native_control_limits', + 'native_servo_gains','native_servo_bias','native_force_limits','contact_geometry')} for r in compiled] + if any(model!=models[0] for model in models[1:]): + raise ValueError('Paired controls use different native mechanics') + starts = [r['start']['qpos'] for r in rows if r['valid']] + if any(start!=starts[0] for start in starts[1:]): + raise ValueError('Paired controls start from different native state') + for placement,opened in ((rows[0],rows[1]),(rows[2],rows[3]),(rows[4],rows[5])): + if opened['has_actions'] and (not placement['valid'] or opened['arm_tape']!=placement['arm_tape'][:len(opened['arm_tape'])]): + raise ValueError('Open-jaw replay differs from its own placement tape') + held = rows[6] + if held['has_actions'] and (held['start'] is None or any(command!=held['start']['joint_position_rad'] for command in held['arm_tape'])): + raise ValueError('Common hold moves its initial arm targets') + if (set(files)!=static|{r['result_file'] for r in attempts} or report.get('summary')!=aggregate(attempts,scenes) + or type(report.get('valid_attempts')) is not int or report['valid_attempts']!=sum(r['valid'] for r in attempts)): + raise ValueError('Paired inventory/aggregate denominator mismatch') + files['integrity.json'] = integrity + return report,files + + +def inspect_contact_bundle(directory): + report, files = load_contact_bundle(directory) + return {'schema':'dvidia.piper-contact-inspection/v0.3','scope':'Recorded consistency, not authenticity or physics recomputation', + 'files_verified':len(files)-1,'attempted':report['attempted'],'valid_attempts':report['valid_attempts'], + 'summary':report['summary'],'physical_robot_ready':False,'learned_policy':False} + + +def main(argv=None): + parser = argparse.ArgumentParser(description=__doc__) + commands = parser.add_subparsers(dest='command',required=True) + run = commands.add_parser('benchmark') + run.add_argument('--assets',required=True,type=Path) + run.add_argument('--output',required=True,type=Path) + run.add_argument('--seed',default=817031,type=int) + run.add_argument('--cohort',choices=('development','confirmation'),default='development') + inspect = commands.add_parser('inspect') + inspect.add_argument('bundle',type=Path) + args = parser.parse_args(argv) + try: + if args.command=='benchmark': + report = run_benchmark(args.assets,args.output,seed=args.seed,cohort=args.cohort, + progress=lambda row:print(json.dumps(row),file=sys.stderr,flush=True)) + result = {'output':str(args.output),'attempted':report['attempted'],'summary':report['summary']} + else: + result = inspect_contact_bundle(args.bundle) + print(json.dumps(result,indent=2,allow_nan=False)) + except (ValueError,OSError,RuntimeError,TypeError) as exc: + parser.exit(2,f'Error: {exc}\n') + + +if __name__=='__main__': + main() diff --git a/src/dvidia_training/piper_contact_memory.py b/src/dvidia_training/piper_contact_memory.py new file mode 100644 index 0000000..daab0ac --- /dev/null +++ b/src/dvidia_training/piper_contact_memory.py @@ -0,0 +1,229 @@ +"""Interpretable causal PiPER contact history, with unchanged native dynamics. + +Both modes inherit the exact v0.2 acquisition probe and supported retry. A +hold changes requested joint positions; native motion can continue afterward. +""" +from __future__ import annotations + +from dataclasses import asdict, dataclass +import math + +from . import piper_grip_guard as acquisition + + +SCHEMA = 'dvidia.piper-contact-memory/v0.3' + + +@dataclass(frozen=True) +class ContactMemoryConfig: + history_window_s: float = .12 + minimum_history_s: float = .10 + trend_rate_m_s: float = .025 + trend_displacement_m: float = .0025 + minimum_straightness: float = .7 + trend_samples: int = 2 + loss_samples: int = 2 + slowdown_joint_delta_scale: float = .35 + slowdown_duration_s: float = .12 + hold_minimum_s: float = .12 + hold_timeout_s: float = .8 + settled_rate_m_s: float = .008 + settled_displacement_m: float = .0015 + settled_dwell_s: float = .10 + resumed_joint_delta_scale: float = .45 + maximum_reassessments: int = 2 + + def __post_init__(self): + for name, value in asdict(self).items(): + try: + finite = math.isfinite(value) + except (OverflowError, TypeError, ValueError): + finite = False + if isinstance(value, bool) or not isinstance(value, (int, float)) or not finite or value <= 0: + raise ValueError('Invalid contact memory parameter: '+name) + for name in ('trend_samples', 'loss_samples', 'maximum_reassessments'): + if type(getattr(self, name)) is not int or getattr(self, name) != 2: + raise ValueError('Contact memory uses two observations and at most two reassessments') + if (self.minimum_history_s > self.history_window_s or self.hold_minimum_s >= self.hold_timeout_s + or self.minimum_straightness > 1 or self.slowdown_joint_delta_scale > 1 + or self.resumed_joint_delta_scale > 1 or self.settled_rate_m_s >= self.trend_rate_m_s): + raise ValueError('Invalid contact memory threshold ordering') + + +def contact_memory_contract(): + return {'schema': SCHEMA, 'parameters': asdict(ContactMemoryConfig()), + 'acquisition': acquisition.guard_contract(), + 'observations': 'causal recorded privileged TCP/object poses and native contact/normal force snapshots; no material, mass, future observation or outcome input to the contact check', + 'history': 'inclusive past 120 ms of TCP-local object offset; unknown before 100 ms span; displacement is endpoint Euclidean distance, rate is displacement/span, slope is least-squares vector rate, straightness is displacement/summed consecutive path', + 'trend': 'rate >=25 mm/s, displacement >=2.5 mm and straightness >=0.7 for two snapshots; two bilateral-contact-loss snapshots independently request closed hold', + 'slowdown': 'scale original requested joint-position delta from measured joints by 0.35 for 120 ms, then hold measured joints closed; actual native speed is measured separately', + 'reassessment': 'minimum 120 ms hold; known window displacement and maximum pairwise excursion <=1.5 mm and rate <=8 mm/s, loaded bilateral contacts throughout, no table support and object rise >=6 mm sustained for 100 ms; timeout 800 ms, at most two holds', + 'resume': 'causally refresh original teacher held offset to current TCP-local object offset and scale requested joint deltas by 0.45 until supported arrival; subsequent persistent slip may hold again within the budget', + 'probe_only': 'identical acquisition and retry; removes postqualification carry monitoring only', + 'stop': 'measured joint-position requests with jaw closed; inertia and native target rate limits may continue physical motion', + 'duration': 'unchanged fixed episode budget including probe, retry, slowdown, hold and abort; no force/gain/dynamics/scorer change', + 'scope': 'authored simulator controller with privileged observations; no learned memory, material inference, sensor latency, hardware safety or task qualification claim'} + + +def inactive_summary(mode): + value = acquisition.inactive_summary(mode) + value.update(schema=SCHEMA, contract=contact_memory_contract(), slowdown_count=0, + reassessment_count=0, resume_count=0) + return value + + +contact_contract = contact_memory_contract + + +class ContactMemoryPiperTaskPolicy(acquisition.GuardedPiperTaskPolicy): + """Same acquisition, with a causal history controller or probe ablation.""" + + def __init__(self, environment, mode='history'): + if mode not in ('probe_only', 'history'): + raise ValueError('Contact memory mode must be probe_only or history') + super().__init__(environment) + self.mode, self.memory_config = mode, ContactMemoryConfig() + self.history = [] + self.memory_stage, self.memory_started, self.settled_since = 'observe', None, None + self.trend_streak, self.memory_loss_streak = 0, 0 + self.slowdown_count = self.reassessment_count = self.resume_count = 0 + self.resumed = False + + def summary(self): + value = super().summary() + value.update(schema=SCHEMA, mode=self.mode, contract=contact_memory_contract(), + slowdown_count=self.slowdown_count, reassessment_count=self.reassessment_count, + resume_count=self.resume_count) + return value + + def _diagnose(self, observation): + value = super()._diagnose(observation) + now = observation['t_seconds'] + if self.state == 'probe' or self.qualified: + sample = {'t': now, 'offset': acquisition._local_offset(observation), + 'bilateral': value['bilateral_contact'], + 'loaded': value['bilateral_contact'] and min(observation['pad_normal_forces_n'].values()) > .01, + 'supported': value['table_supported']} + # The parent diagnoses twice when a probe starts; one snapshot is + # one history sample, never two apparent observations. + if self.history and abs(self.history[-1]['t']-now) < 1e-9: + self.history[-1] = sample + else: + self.history.append(sample) + self.history = [row for row in self.history if row['t'] >= now-self.memory_config.history_window_s-1e-9] + else: + self.history = [] + span = self.history[-1]['t']-self.history[0]['t'] if self.history else 0. + known = span+1e-9 >= self.memory_config.minimum_history_s + displacement = math.dist(self.history[-1]['offset'], self.history[0]['offset']) if self.history else None + path = sum(math.dist(a['offset'], b['offset']) for a, b in zip(self.history, self.history[1:])) + excursion = max((math.dist(a['offset'], b['offset']) for a in self.history for b in self.history), default=0.) + slope = None + if known: + mean_t = sum(row['t'] for row in self.history)/len(self.history) + denominator = sum((row['t']-mean_t)**2 for row in self.history) + slope = [sum((row['t']-mean_t)*row['offset'][axis] for row in self.history)/denominator for axis in range(3)] + value.update(memory_stage=self.memory_stage, history_count=len(self.history), history_known=known, + history_span_seconds=span, history_displacement_m=displacement, + history_rate_m_s=displacement/span if known else None, + history_path_m=path, history_excursion_m=excursion, + history_slope_m_s=slope, + history_straightness=displacement/path if known and path > 1e-12 else (0. if known else None), + history_bilateral_fraction=sum(row['bilateral'] for row in self.history)/len(self.history) if self.history else None, + history_loaded_bilateral_all=known and all(row['loaded'] for row in self.history), + history_unsupported_all=known and all(not row['supported'] for row in self.history), + slip_trend_streak=self.trend_streak, persistent_loss_streak=self.memory_loss_streak, + settled_dwell_seconds=0. if self.settled_since is None else now-self.settled_since, + joint_delta_scale=1., unscaled_joint_targets_rad=None, + motion_phase=self.teacher.phase, resume_local_offset_m=None) + return value + + def _scaled_teacher(self, observation, scale): + action = self.teacher(observation) + self.diagnostic['unscaled_joint_targets_rad'] = list(action['joint_targets_rad']) + self.diagnostic['motion_phase'] = self.teacher.issued_phase + action['joint_targets_rad'] = [current+scale*(target-current) for current, target + in zip(observation['joint_position_rad'], action['joint_targets_rad'])] + self.issued_phase = 'memory_slowdown' if self.memory_stage == 'slowdown' else self.teacher.issued_phase + self.diagnostic['joint_delta_scale'] = scale + self.diagnostic['decision'] = 'slow_requested_joint_delta' if self.memory_stage == 'slowdown' else 'resume_reduced_requested_delta' + return action + + def _start_hold(self, observation, reason): + if self.reassessment_count >= self.memory_config.maximum_reassessments: + return self._abort(observation, 'reassessment_budget_exhausted:'+reason) + self.memory_stage, self.memory_started, self.settled_since = 'hold', observation['t_seconds'], None + self.stop_targets = list(observation['joint_position_rad']) + self.reassessment_count += 1 + self.issued_phase = 'memory_hold' + self.diagnostic.update(memory_stage='hold', decision='hold_measured_arm_closed') + self._event('reassessment_started', observation, reason) + return self._hold() + + def _monitor(self, observation, *, probe): + if probe: + return super()._monitor(observation, probe=True) + if self.mode == 'probe_only': + return None + cfg, diagnostic, now = self.memory_config, self.diagnostic, observation['t_seconds'] + if observation['unexpected_contact_count']: + return self._abort(observation, 'unexpected_contact_during_carry') + trend = (diagnostic['history_known'] and diagnostic['history_rate_m_s'] >= cfg.trend_rate_m_s + and diagnostic['history_displacement_m'] >= cfg.trend_displacement_m + and diagnostic['history_straightness'] >= cfg.minimum_straightness) + self.trend_streak = self.trend_streak+1 if trend else 0 + self.memory_loss_streak = self.memory_loss_streak+1 if not diagnostic['bilateral_contact'] else 0 + diagnostic.update(slip_trend_streak=self.trend_streak, persistent_loss_streak=self.memory_loss_streak) + if self.memory_stage == 'hold': + self.issued_phase = 'memory_hold' + diagnostic['decision'] = 'hold_measured_arm_closed' + stable = (now-self.memory_started+1e-9 >= cfg.hold_minimum_s and diagnostic['history_known'] + and diagnostic['history_displacement_m'] <= cfg.settled_displacement_m + and diagnostic['history_excursion_m'] <= cfg.settled_displacement_m + and diagnostic['history_rate_m_s'] <= cfg.settled_rate_m_s + and diagnostic['history_loaded_bilateral_all'] and diagnostic['history_unsupported_all'] + and diagnostic['object_height_delta_m'] >= self.config.probe_min_object_rise_m) + self.settled_since = (now if self.settled_since is None else self.settled_since) if stable else None + diagnostic['settled_dwell_seconds'] = 0. if self.settled_since is None else now-self.settled_since + if diagnostic['settled_dwell_seconds']+1e-9 >= cfg.settled_dwell_s: + self.teacher.held_offset = acquisition._local_offset(observation) + self.memory_stage, self.resumed = 'observe', True + self.resume_count += 1 + self.trend_streak = self.memory_loss_streak = 0 + diagnostic.update(memory_stage='observe', decision='settled_resume_reduced_delta', + resume_local_offset_m=list(self.teacher.held_offset)) + self._event('carry_resumed', observation, 'sustained_loaded_relative_settling') + self.settled_since = None + # Last held command at the resume boundary; original motion + # starts on the next observed decision, never retrospectively. + return self._hold() + if now-self.memory_started > cfg.hold_timeout_s: + return self._abort(observation, 'reassessment_timeout_unsettled_or_unknown') + return self._hold() + if self.memory_loss_streak >= cfg.loss_samples: + return self._start_hold(observation, 'persistent_bilateral_contact_loss') + if self.memory_stage == 'slowdown': + if now-self.memory_started+1e-9 >= cfg.slowdown_duration_s: + return self._start_hold(observation, 'bounded_slowdown_complete') + return self._scaled_teacher(observation, cfg.slowdown_joint_delta_scale) + if self.trend_streak >= cfg.trend_samples: + self.memory_stage, self.memory_started = 'slowdown', now + self.slowdown_count += 1 + self.issued_phase = 'memory_slowdown' + diagnostic.update(memory_stage='slowdown', decision='slow_requested_joint_delta', + joint_delta_scale=cfg.slowdown_joint_delta_scale) + action = self._scaled_teacher(observation, cfg.slowdown_joint_delta_scale) + self._event('slowdown_started', observation, 'persistent_local_offset_trend') + return action + if self.resumed: + return self._scaled_teacher(observation, cfg.resumed_joint_delta_scale) + diagnostic['decision'] = 'history_unknown_continue' if not diagnostic['history_known'] else 'history_observe' + return None + + def __call__(self, observation): + action = super().__call__(observation) + # The inherited arrival gate stops carry monitoring. Clear memory so + # the original supported release/retreat can run without slow scaling. + if self.carry_supported: + self.memory_stage = 'destination_supported' + return action diff --git a/src/dvidia_training/piper_task.py b/src/dvidia_training/piper_task.py index da1d9f8..ff142a0 100644 --- a/src/dvidia_training/piper_task.py +++ b/src/dvidia_training/piper_task.py @@ -403,9 +403,10 @@ def run_episode(assets, config=None, *, seed=0, control='placement', arm_tape=No config = _config(config) if control not in ('placement', 'replay_open_jaw', 'hold'): raise ValueError('Unknown PiPER task control') - if policy_mode not in ('baseline', 'guarded'): - raise ValueError('PiPER policy mode must be baseline or guarded') + if policy_mode not in ('baseline', 'guarded', 'probe_only', 'history'): + raise ValueError('PiPER policy mode must be baseline, guarded, probe_only or history') from . import piper_grip_guard as grip_guard + from . import piper_contact_memory as contact_memory started, latencies, environment, phase = time.perf_counter(), [], None, 'validation' result = {'schema': SCHEMA, 'profile': PROFILE, 'scope': SCOPE, 'physical_robot_ready': False, 'seed': seed, 'control': control, 'policy_mode': policy_mode, 'config': asdict(config), 'timestep_seconds': config.timestep, @@ -416,7 +417,10 @@ def run_episode(assets, config=None, *, seed=0, control='placement', arm_tape=No result['implementation_sha256'] = {name: sha256((source/name).read_bytes()).hexdigest() for name in ('piper_task.py', 'robot_profiles.py', 'robot_profiles.lock.json', 'reference_task.py', 'reference_sim.py')} result['policy_implementation_sha256'] = {'piper_grip_guard.py': sha256((source/'piper_grip_guard.py').read_bytes()).hexdigest()} - result['grip_guard'] = grip_guard.inactive_summary(policy_mode) + memory_mode = policy_mode in ('probe_only', 'history') + if memory_mode: + result['policy_implementation_sha256']['piper_contact_memory.py'] = sha256((source/'piper_contact_memory.py').read_bytes()).hexdigest() + result['grip_guard'] = (contact_memory.inactive_summary(policy_mode) if memory_mode else grip_guard.inactive_summary(policy_mode)) policy = None try: if control == 'replay_open_jaw': @@ -442,7 +446,8 @@ def run_episode(assets, config=None, *, seed=0, control='placement', arm_tape=No 'geom_body_names': [mj.mj_id2name(environment.model, mj.mjtObj.mjOBJ_BODY, int(body)) for body in environment.model.geom_bodyid]} result['trajectory'].append(observation) result['timing']['setup_seconds'] = time.perf_counter()-started - policy = (grip_guard.GuardedPiperTaskPolicy(environment) if policy_mode == 'guarded' and control == 'placement' + policy = (contact_memory.ContactMemoryPiperTaskPolicy(environment, policy_mode) if memory_mode and control == 'placement' + else grip_guard.GuardedPiperTaskPolicy(environment) if policy_mode == 'guarded' and control == 'placement' else PiperTaskPolicy(environment)) hold, phase = observation['joint_position_rad'], 'rollout' for index in range(round(config.timeout_s/config.control_dt)): diff --git a/tests/test_piper_contact_benchmark.py b/tests/test_piper_contact_benchmark.py new file mode 100644 index 0000000..95477db --- /dev/null +++ b/tests/test_piper_contact_benchmark.py @@ -0,0 +1,239 @@ +"""Contact-history paired denominators, causal evidence and bounded receipts.""" +from copy import deepcopy +import gzip +from hashlib import sha256 +import json +from pathlib import Path +import tempfile +import unittest +from unittest.mock import patch + +from dvidia_training import piper_contact_benchmark as bench +from tests import test_piper_task_benchmark as original + + +def plan(): + protocol=json.loads(json.dumps(bench.make_protocol(seed=35))) + for scene in protocol['scenes']: + scene['config']['timeout_s']=.1 + return protocol + + +def fixture_episode(protocol,scene,control,mode,tape=None,invalid=False): + subset=deepcopy(protocol); subset['scenes']=[scene] + raw=original.episode(subset,control,valid=not invalid,tape=tape) + from dvidia_training import piper_grip_guard, piper_contact_memory + raw['grip_guard']=(piper_grip_guard.inactive_summary(mode) if mode=='baseline' else piper_contact_memory.inactive_summary(mode)) + names=('piper_grip_guard.py',) if mode=='baseline' else ('piper_grip_guard.py','piper_contact_memory.py') + raw['policy_implementation_sha256']={name:protocol['implementation_sha256'][name] for name in names} + if mode!='baseline' and control=='placement': + raw['grip_guard'].update(active=True,diagnostic_count=len(raw['actions'])) + for state in raw['trajectory'][:-1]: + state['guard_diagnostic']={**bench._history_values([],protocol['contact_contract']['parameters']), + 't_seconds':state['t_seconds'],'phase':'approach','bilateral_contact':False,'table_supported':True, + 'memory_stage':'observe','slip_trend_streak':0,'persistent_loss_streak':0, + 'settled_dwell_seconds':0.,'joint_delta_scale':1.,'unscaled_joint_targets_rad':None, + 'resume_local_offset_m':None,'motion_phase':'approach','object_height_delta_m':None} + return raw + + +def run_fixture(root,invalid_baseline=False): + protocol,calls=plan(),[] + def run(_assets,config,**options): + assert json.loads((root/'protocol.json').read_bytes())==protocol + calls.append(options) + scene=next(s for s in protocol['scenes'] if s['seed']==options['seed']) + return fixture_episode(protocol,scene,options['control'],options['policy_mode'],options.get('arm_tape'), + invalid=invalid_baseline and options['control']=='placement' and options['policy_mode']=='baseline') + with patch.object(bench,'make_protocol',return_value=protocol), \ + patch.object(bench.robot_profiles,'verify_assets',return_value=deepcopy(bench.base._pinned_assets()[0])), \ + patch.object(bench.robot_profiles,'_payload',return_value=({},original.BLOBS)), \ + patch.object(bench.task,'run_episode',side_effect=run): + report=bench.run_benchmark('unused',root) + return report,calls + + +def reseal(root): + records={} + for path in sorted(root.rglob('*')): + if not path.is_file() or path.name=='integrity.json': + continue + data,name=path.read_bytes(),path.relative_to(root).as_posix() + record={'bytes':len(data),'sha256':sha256(data).hexdigest()} + if name.endswith('.gz'): + decoded=bench.decode_attempt(data) + record.update(encoding='gzip',decoded_bytes=len(decoded),decoded_sha256=sha256(decoded).hexdigest()) + records[name]=record + (root/'integrity.json').write_bytes(bench._json_bytes({'schema':bench.INTEGRITY_SCHEMA,'files':records})) + + +def mutate(root,report,index,callback,recompute=True): + row=report['attempts'][index] + raw=json.loads(bench.decode_attempt((root/row['result_file']).read_bytes())) + callback(raw) + if recompute: + raw['contact_evaluation']=bench.evaluate_episode(raw) + (root/row['result_file']).write_bytes(gzip.compress(bench._json_bytes(raw),mtime=0)) + report['attempts'][index]={**bench._summary(raw),'result_file':row['result_file']} + report['summary']=bench.aggregate(report['attempts'],report['scenes']) + report['valid_attempts']=sum(r['valid'] for r in report['attempts']) + (root/'report.json').write_bytes(bench._json_bytes(report)) + reseal(root) + + +class ContactBenchmarkTests(unittest.TestCase): + def setUp(self): + expected,_=bench.base._pinned_assets() + notices={name:sha256(value).hexdigest() for name,value in original.BLOBS.items()} + patcher=patch.object(bench.base,'_pinned_assets',return_value=(expected,notices)) + patcher.start(); self.addCleanup(patcher.stop) + + def test_preregistered_cartesian_scene_plan_and_shared_layouts(self): + p=bench.make_protocol() + self.assertEqual(p,bench.make_protocol()) + self.assertEqual(p['planned_attempts'],84) + self.assertEqual(len(p['scenes']),12) + self.assertEqual(p['variants'],list(bench.VARIANTS)) + self.assertEqual({(s['friction'],s['mass_kg'],s['layout_index']) for s in p['scenes']}, + {(f,m,i) for f in bench.FRICTIONS for m in bench.MASSES for i in (0,1)}) + for index in (0,1): + scenes=[s for s in p['scenes'] if s['layout_index']==index] + self.assertTrue(all(s['config']['object_position_m']==scenes[0]['config']['object_position_m'] and + s['config']['target_position_m']==scenes[0]['config']['target_position_m'] for s in scenes)) + self.assertEqual(p['contact_contract']['acquisition'],p['acquisition_contract']) + self.assertEqual(p['contact_contract']['parameters']['maximum_reassessments'],2) + self.assertNotEqual(p['scenes'],bench.make_protocol(seed=813408)['scenes']) + for options in ({'seed':True},{'seed':999995},{'cohort':'test'}): + with self.subTest(options=options),self.assertRaises(ValueError): bench.make_protocol(**options) + + def test_complete_84_attempt_bundle_three_own_tapes_and_exact_gzip(self): + with tempfile.TemporaryDirectory() as folder: + root=Path(folder)/'run'; report,calls=run_fixture(root) + self.assertEqual((report['attempted'],report['valid_attempts']),(84,84)) + for a,b in ((0,1),(2,3),(4,5)): + raw=json.loads(bench.decode_attempt((root/report['attempts'][a]['result_file']).read_bytes())) + self.assertEqual(calls[b]['arm_tape'],raw['arm_tape']) + checked,files=bench.load_contact_bundle(root) + self.assertEqual(checked,report); self.assertEqual(len(files),90) + self.assertEqual(files[bench.base.LICENSE_PATH],original.LICENSE) + for name,record in json.loads(files['integrity.json'])['files'].items(): + if name.endswith('.gz'): + self.assertEqual(files[name],gzip.compress(bench.decode_attempt(files[name],record),mtime=0)) + self.assertEqual(len(report['summary']),42) + self.assertTrue(all(r['attempted']==2 and r['no_qualification_decision_attempts']==2 for r in report['summary'])) + self.assertIn('no qualification decision',(root/'report.html').read_text()) + with self.assertRaises(FileExistsError): run_fixture(root) + + def test_unavailable_baseline_tapes_preserve_other_policies_and_denominator(self): + with tempfile.TemporaryDirectory() as folder: + root=Path(folder)/'run'; report,calls=run_fixture(root,invalid_baseline=True) + self.assertEqual((report['attempted'],report['valid_attempts'],len(calls)),(84,60,72)) + self.assertFalse(report['attempts'][1]['valid']) + self.assertTrue(all(report['attempts'][i]['valid'] for i in (2,3,4,5,6))) + self.assertIsNone(report['attempts'][0]['contact_evaluation']['following']['following_opportunity']) + self.assertEqual(report['attempts'][1]['grip_guard']['schema'],'dvidia.piper-grip-guard/v1') + + def test_resealed_causal_history_stage_and_intervention_evidence_reject(self): + def fake_hold(raw): + guard=raw['grip_guard']; state=raw['trajectory'][0] + guard['reassessment_count']=1 + guard['events']=[{'type':'reassessment_started','t_seconds':0.,'phase':'memory_hold','reason':'fixture', + 'retry_index':0,'diagnostic':deepcopy(state['guard_diagnostic'])}] + callbacks=(lambda r:r['trajectory'][0]['guard_diagnostic'].update(history_rate_m_s=.5), + lambda r:r['trajectory'][0]['guard_diagnostic'].update(history_count=1), + lambda r:r['trajectory'][0]['guard_diagnostic'].update(memory_stage='hold'), + lambda r:r['trajectory'][0]['guard_diagnostic'].update(history_displacement_m=10**1000),fake_hold) + for callback in callbacks: + with self.subTest(callback=callback),tempfile.TemporaryDirectory() as folder: + root=Path(folder)/'run'; report,_=run_fixture(root) + mutate(root,report,4,callback) + with self.assertRaises(ValueError): bench.load_contact_bundle(root) + + def test_resealed_probe_only_cannot_claim_history_events_or_new_counts(self): + with tempfile.TemporaryDirectory() as folder: + root=Path(folder)/'run'; report,_=run_fixture(root) + mutate(root,report,2,lambda r:r['grip_guard'].update(resume_count=1)) + with self.assertRaisesRegex(ValueError,'count'): bench.load_contact_bundle(root) + + def test_resealed_matched_tape_hold_and_native_model_disagreements_reject(self): + def move(raw): + for state,action,tape in zip(raw['trajectory'],raw['actions'],raw['arm_tape']): + action['joint_targets_rad'][0]+=.1; tape[0]+=.1 + state['issued_joint_targets_rad'][0]+=.1; state['command']['joint_targets_rad'][0]+=.1 + for index,callback in ((3,move),(5,move),(6,move),(4,lambda r:r.update(compiled_model_sha256='b'*64))): + with self.subTest(index=index),tempfile.TemporaryDirectory() as folder: + root=Path(folder)/'run'; report,_=run_fixture(root); mutate(root,report,index,callback) + with self.assertRaises(ValueError): bench.load_contact_bundle(root) + + def test_invalid_partial_warning_retained_but_cadence_not_forged(self): + with tempfile.TemporaryDirectory() as folder: + root=Path(folder)/'run'; report,_=run_fixture(root) + def partial(raw): + raw['valid']=raw['metrics']['valid']=False + raw.update(reason='solver_warning',warnings=['fixture warning'],simulated_seconds=.033) + raw['actions'],raw['arm_tape'],raw['trajectory']=raw['actions'][:2],raw['arm_tape'][:2],raw['trajectory'][:3] + raw['trajectory'][-1].update(t_seconds=.033,command=None,issued_joint_targets_rad=None,issued_gripper_position_m=None) + mutate(root,report,6,partial) + self.assertEqual(bench.inspect_contact_bundle(root)['valid_attempts'],83) + mutate(root,report,6,lambda r:r['trajectory'][1].update(t_seconds=.013)) + with self.assertRaisesRegex(ValueError,'cadence'): bench.load_contact_bundle(root) + + def test_resealed_evaluation_and_missing_attempts_reject(self): + with tempfile.TemporaryDirectory() as folder: + root=Path(folder)/'run'; report,_=run_fixture(root) + mutate(root,report,4,lambda r:r['contact_evaluation'].update(resumed_completed=True),recompute=False) + with self.assertRaisesRegex(ValueError,'evaluation'): bench.load_contact_bundle(root) + with tempfile.TemporaryDirectory() as folder: + root=Path(folder)/'run'; report,_=run_fixture(root) + report['attempts'].pop(); report['attempted']=83 + (root/'report.json').write_bytes(bench._json_bytes(report)); reseal(root) + with self.assertRaisesRegex(ValueError,'planned paired'): bench.load_contact_bundle(root) + + def test_bounded_decoder_rejects_trailing_member_and_huge_diagnostic_cleanly(self): + raw=b'{"fixture":true}'; encoded=gzip.compress(raw,mtime=0) + self.assertEqual(bench.decode_attempt(encoded),raw) + for bad in (encoded+encoded,encoded[:-1],b'notgzip'): + with self.assertRaises(ValueError): bench.decode_attempt(bad) + self.assertFalse(bench._near(10**1000,1.0)) + + +class ActualMotionEvaluationTests(unittest.TestCase): + def raw(self): + p=plan(); raw=fixture_episode(p,p['scenes'][0],'placement','history') + raw['config']=p['scenes'][0]['config']; raw['config']['timeout_s']=1. + first=raw['trajectory'][0] + raw['trajectory']=[deepcopy(first) for _ in range(51)] + for i,state in enumerate(raw['trajectory']): + state['t_seconds']=i*.02; state['command']={'phase':'memory_hold'} + raw['grip_guard']['events']=[{'type':'reassessment_started','t_seconds':.2,'reason':'fixture'}] + return raw + + def test_actual_native_motion_after_hold_and_absent_loss_opportunity(self): + raw=self.raw() + for i,state in enumerate(raw['trajectory']): + state['tcp_position_m'][2]+=.001*i; state['object_position_m'][2]+=.0005*i + result=bench.evaluate_episode(raw); hold=result['interventions'][0] + self.assertTrue(hold['after']['complete']) + self.assertAlmostEqual(hold['after']['tcp_path_m'],.005) + self.assertAlmostEqual(hold['after']['tcp_mean_speed_m_s'],.05) + self.assertAlmostEqual(hold['after']['object_mean_speed_m_s'],.025) + self.assertTrue(hold['sampled_following_loss_comparison']['no_preceding_sampled_loss_opportunity']) + raw['trajectory']=raw['trajectory'][:12] + self.assertFalse(bench.evaluate_episode(raw)['interventions'][0]['after']['complete']) + + def test_resume_not_task_completion_and_low_motion_requires_loaded_rise(self): + raw=self.raw(); raw['grip_guard']['events']=[{'type':'carry_resumed','t_seconds':.2,'reason':'fixture'}] + raw['valid'],raw['success']=True,False + result=bench.evaluate_episode(raw) + self.assertTrue(result['resumed_not_completed']); self.assertFalse(result['resumed_completed']) + self.assertFalse(result['interventions'][0]['recorded_loaded_unsupported_window']) + for state in raw['trajectory'][1:]: + state['table_object_contact_count']=0 + state['grasp_contact_counts']={'left':1,'right':1}; state['pad_normal_forces_n']={'left':1.,'right':1.} + state['object_position_m'][2]+=.01 + self.assertTrue(bench.evaluate_episode(raw)['interventions'][0]['recorded_low_tcp_motion_window']) + raw['success']=True + self.assertTrue(bench.evaluate_episode(raw)['resumed_completed']) + + +if __name__=='__main__': unittest.main() diff --git a/tests/test_piper_contact_memory.py b/tests/test_piper_contact_memory.py new file mode 100644 index 0000000..44db7a7 --- /dev/null +++ b/tests/test_piper_contact_memory.py @@ -0,0 +1,216 @@ +"""Causal history, probe ablation and unchanged native model regressions.""" +from dataclasses import replace +import math +import os +from pathlib import Path +import unittest +from unittest.mock import patch + +from dvidia_training import piper_contact_memory as memory +from dvidia_training import piper_grip_guard as guard +from dvidia_training import piper_task as task +from tests.test_piper_grip_guard import Environment, Teacher, observation + + +def policy(mode='history', *, qualified=False): + env = Environment() + with patch.object(task, 'PiperTaskPolicy', Teacher): + value = memory.ContactMemoryPiperTaskPolicy(env, mode) + if qualified: + value.qualified, value.qualification_count = True, 1 + value.teacher.phase = 'lift' + value.anchor = [0., 0., -.002] + value.probe_origin = {'tcp': [.3, 0., .082], 'object': [.3, 0., .08]} + return value + + +def carry(t, *, offset=0., both=True, supported=False, joints=None): + value = observation(t, tcp_rise=.008, object_rise=.008, supported=supported, both=both, joints=joints) + value['object_position_m'][0] += offset + return value + + +class ContactMemoryTests(unittest.TestCase): + def test_parameter_bounds_and_mode_validation(self): + for changes in ({'history_window_s': True}, {'trend_rate_m_s': 10**1000}, + {'settled_rate_m_s': float('nan')}, {'maximum_reassessments': 3}, + {'minimum_history_s': .2}, {'minimum_straightness': 1.1}, + {'resumed_joint_delta_scale': 1.1}): + with self.subTest(changes=changes), self.assertRaises(ValueError): + replace(memory.ContactMemoryConfig(), **changes) + with self.assertRaises(ValueError): + memory.ContactMemoryPiperTaskPolicy(Environment(), 'guess') + self.assertEqual(memory.contact_contract(), memory.contact_memory_contract()) + inactive = memory.inactive_summary('history') + self.assertEqual(inactive['schema'], memory.SCHEMA) + self.assertFalse(inactive['active']) + self.assertEqual([inactive[k] for k in ('slowdown_count', 'reassessment_count', 'resume_count')], [0]*3) + + def test_both_modes_reuse_exact_acquisition_actions_and_events(self): + env = Environment() + with patch.object(task, 'PiperTaskPolicy', Teacher): + old = guard.GuardedPiperTaskPolicy(env) + values = [old, policy('probe_only'), policy('history')] + series = [observation(0.), observation(.02)] + series += [observation(t, tcp_rise=.008, object_rise=.008, supported=False) for t in (.12, .14, .16, .18, .20, .22)] + for row in series: + actions = [value(row) for value in values] + self.assertEqual(actions[0], actions[1]) + self.assertEqual(actions[1], actions[2]) + self.assertTrue(all(value.qualified for value in values)) + self.assertEqual([[e['type'] for e in value.events] for value in values], [['probe_started', 'acquisition_qualified']]*3) + + def test_probe_only_removes_carry_monitoring_without_changing_teacher(self): + value = policy('probe_only', qualified=True) + for index in range(12): + action = value(carry(index*.02, offset=index*.004, both=False)) + self.assertEqual(action['joint_targets_rad'], [.1]*6) + self.assertFalse(value.aborted) + self.assertEqual(value.events, []) + self.assertEqual(value.summary()['reassessment_count'], 0) + + def test_short_history_is_unknown_and_stable_rigid_offset_is_not_slip(self): + value = policy(qualified=True) + value(carry(0.)) + self.assertFalse(value.diagnostic['history_known']) + self.assertIsNone(value.diagnostic['history_rate_m_s']) + self.assertEqual(value.diagnostic['decision'], 'history_unknown_continue') + for index in range(1, 10): + value(carry(index*.02)) + self.assertTrue(value.diagnostic['history_known']) + self.assertEqual(value.diagnostic['history_rate_m_s'], 0.) + self.assertEqual(value.events, []) + + def test_persistent_trend_slowdown_then_measured_closed_hold_and_stable_resume(self): + value = policy(qualified=True) + for index in range(13): + action = value(carry(index*.02, offset=min(index*.02, .24)*.04, joints=[.3]*6)) + self.assertEqual([e['type'] for e in value.events], ['slowdown_started', 'reassessment_started']) + slowdown = value.events[0] + self.assertGreaterEqual(slowdown['diagnostic']['history_rate_m_s'], .025) + self.assertEqual(action, {'joint_targets_rad': [.3]*6, 'gripper_position_m': 0.}) + for index in range(13, 27): + action = value(carry(index*.02, offset=.0096, joints=[.8]*6)) + self.assertEqual(value.resume_count, 1) + self.assertEqual(value.events[-1]['type'], 'carry_resumed') + self.assertAlmostEqual(value.teacher.held_offset[0], .0096) + self.assertLess(action['joint_targets_rad'][0], .8) + self.assertAlmostEqual(action['joint_targets_rad'][0], .8+.45*(.1-.8)) + self.assertFalse(value.aborted) + + def test_oscillation_cannot_settle_by_endpoint_cancellation(self): + value = policy(qualified=True) + value(carry(0., both=False)) + value(carry(.02, both=False)) + self.assertEqual(value.reassessment_count, 1) + for index in range(2, 43): + # Endpoint can cancel after six samples while the object reverses. + value(carry(index*.02, offset=.004 if index % 2 else -.004)) + self.assertTrue(value.aborted) + self.assertEqual(value.resume_count, 0) + self.assertGreater(value.diagnostic['history_excursion_m'], .0015) + self.assertEqual(value.abort_reason, 'reassessment_timeout_unsettled_or_unknown') + + def test_contact_loss_cannot_open_unsupported_and_hold_budget_is_bounded(self): + value = policy(qualified=True) + first = value(carry(0., both=False)) + self.assertEqual(first['joint_targets_rad'], [.1]*6) + held = value(carry(.02, both=False, joints=[.4]*6)) + self.assertEqual(held, {'joint_targets_rad': [.4]*6, 'gripper_position_m': 0.}) + for index in range(2, 43): + self.assertEqual(value(carry(index*.02, both=False))['gripper_position_m'], 0.) + self.assertTrue(value.aborted) + self.assertEqual(value.retry_count, 0) + self.assertEqual(value.resume_count, 0) + self.assertEqual(value.reassessment_count, 1) + + def test_repeated_losses_exhaust_two_reassessments_without_extra_retry(self): + value = policy(qualified=True) + for start in (0., .42): + value(carry(start, both=False)) + value(carry(start+.02, both=False)) + for index in range(2, 21): + value(carry(start+index*.02)) + self.assertEqual(value.reassessment_count, 2) + self.assertEqual(value.resume_count, 2) + value(carry(.84, both=False)) + action = value(carry(.86, both=False, joints=[.7]*6)) + self.assertEqual(action, {'joint_targets_rad': [.7]*6, 'gripper_position_m': 0.}) + self.assertTrue(value.aborted) + self.assertIn('reassessment_budget_exhausted', value.abort_reason) + self.assertEqual(value.reassessment_count, 2) + self.assertEqual(value.retry_count, 0) + + def test_supported_or_unknown_hold_window_cannot_claim_settling(self): + for support in (True, False): + with self.subTest(supported=support): + value = policy(qualified=True) + value(carry(0., both=False)) + value(carry(.02, both=False)) + # Sparse time jump produces an unknown window; supported + # snapshots also cannot stand in for load-bearing settling. + value(carry(.7, supported=support)) + self.assertFalse(value.diagnostic['history_known']) + value(carry(.84, supported=support)) + self.assertEqual(value.resume_count, 0) + self.assertTrue(value.aborted) + + def test_history_uses_tcp_local_offsets_and_past_samples_only(self): + value = policy(qualified=True) + for index in range(8): + row = carry(index*.02) + angle = index*.1 + row['tcp_quaternion_wxyz'] = [math.cos(angle/2), 0., 0., math.sin(angle/2)] + row['object_position_m'] = [row['tcp_position_m'][0]+.01*math.cos(angle), + row['tcp_position_m'][1]+.01*math.sin(angle), row['tcp_position_m'][2]-.002] + value(row) + self.assertLess(value.diagnostic['history_excursion_m'], 1e-12) + self.assertLess(value.diagnostic['history_rate_m_s'], 1e-12) + self.assertTrue(all(item['t'] <= row['t_seconds'] for item in value.history)) + + +@unittest.skipUnless(os.environ.get('DVIDIA_ROBOT_PROFILE_ASSETS'), 'Set DVIDIA_ROBOT_PROFILE_ASSETS to pinned assets') +class NativeContactMemoryTests(unittest.TestCase): + @classmethod + def setUpClass(cls): + cls.assets = Path(os.environ['DVIDIA_ROBOT_PROFILE_ASSETS']) + cls.moderate = task.run_episode(cls.assets, replace(task.PiperTaskConfig(), friction=.55), seed=921707, policy_mode='history') + cls.low = task.run_episode(cls.assets, replace(task.PiperTaskConfig(), friction=.15), seed=921707, policy_mode='history') + + def test_development_moderate_fixture_can_hold_resume_and_complete(self): + result = self.moderate + self.assertTrue(result['valid'], result['error']) + self.assertTrue(result['success'], result['metrics']) + self.assertEqual([result['grip_guard'][k] for k in ('slowdown_count', 'reassessment_count', 'resume_count')], [1, 1, 1]) + events = result['grip_guard']['events'] + self.assertEqual([e['type'] for e in events], ['probe_started', 'acquisition_qualified', 'slowdown_started', 'reassessment_started', 'carry_resumed']) + resume = events[-1] + self.assertGreaterEqual(resume['diagnostic']['settled_dwell_seconds']+1e-9, .1) + self.assertLessEqual(resume['diagnostic']['history_excursion_m'], .0015) + self.assertTrue(result['metrics']['carry_complete']) + self.assertFalse(result['metrics']['retention_lost']) + + def test_low_friction_retains_acquisition_failure_with_supported_retry(self): + result = self.low + self.assertTrue(result['valid'], result['error']) + self.assertFalse(result['success']) + self.assertEqual(result['grip_guard']['retry_count'], 1) + self.assertFalse(result['grip_guard']['acquisition_qualified']) + self.assertTrue(result['grip_guard']['aborted']) + self.assertEqual(result['grip_guard']['reassessment_count'], 0) + self.assertTrue(all(row['gripper_position_m'] == 0. for row in result['actions'] if row['phase'] == 'guard_abort')) + + def test_full_duration_and_model_dynamics_unchanged(self): + for result, friction in ((self.moderate, .55), (self.low, .15)): + self.assertEqual(result['compiled_model_sha256'], task.sim.model_digest(task.build_task_model(self.assets, replace(task.PiperTaskConfig(), friction=friction)))) + self.assertEqual(len(result['actions']), 1000) + self.assertEqual(len(result['trajectory']), 1001) + self.assertIsNone(result['trajectory'][-1]['guard_diagnostic']) + self.assertEqual(result['native_servo_gains'], [80., 80., 80., 40., 10., 10., 40.]) + self.assertEqual(result['warnings'], []) + self.assertEqual(result['metrics']['unexpected_contact_native_ticks'], 0) + self.assertEqual(set(result['policy_implementation_sha256']), {'piper_grip_guard.py', 'piper_contact_memory.py'}) + + +if __name__ == '__main__': + unittest.main()