Spaces:
Running
Running
Publish verified EvalArc 6169a8cc544e
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- README.md +7 -0
- harbor-controls/LICENSE +21 -0
- harbor-controls/README.md +62 -0
- harbor-controls/ROBOT_DATA_LICENSE.txt +201 -0
- harbor-controls/ROBOT_DATA_NOTICE.md +19 -0
- harbor-controls/attempts/cli-argument-error.json +28 -0
- harbor-controls/attempts/cli-argument-error.log +6 -0
- harbor-controls/clock-fault.log +26 -0
- harbor-controls/detached-answers.log +26 -0
- harbor-controls/harbor-controls.zip +3 -0
- harbor-controls/harness/export_harbor_task.py +185 -0
- harbor-controls/harness/harbor_control_agent.py +136 -0
- harbor-controls/harness/record_harbor_controls.py +134 -0
- harbor-controls/imports/clock-fault/evaluation.json +0 -0
- harbor-controls/imports/clock-fault/harbor-import.json +41 -0
- harbor-controls/imports/clock-fault/source-result.json +121 -0
- harbor-controls/imports/clock-fault/source-trajectory.json +124 -0
- harbor-controls/imports/detached-answers/evaluation.json +0 -0
- harbor-controls/imports/detached-answers/harbor-import.json +41 -0
- harbor-controls/imports/detached-answers/source-result.json +121 -0
- harbor-controls/imports/detached-answers/source-trajectory.json +149 -0
- harbor-controls/imports/reference/evaluation.json +0 -0
- harbor-controls/imports/reference/harbor-import.json +41 -0
- harbor-controls/imports/reference/source-result.json +121 -0
- harbor-controls/imports/reference/source-trajectory.json +124 -0
- harbor-controls/index.html +48 -0
- harbor-controls/jobs/clock-fault/config.json +18 -0
- harbor-controls/jobs/clock-fault/job.log +3 -0
- harbor-controls/jobs/clock-fault/lock.json +66 -0
- harbor-controls/jobs/clock-fault/result.json +39 -0
- harbor-controls/jobs/clock-fault/task__vMuY9HA/agent/trajectory.json +124 -0
- harbor-controls/jobs/clock-fault/task__vMuY9HA/artifacts/answers.jsonl +8 -0
- harbor-controls/jobs/clock-fault/task__vMuY9HA/artifacts/candidate/main.py +60 -0
- harbor-controls/jobs/clock-fault/task__vMuY9HA/artifacts/manifest.json +26 -0
- harbor-controls/jobs/clock-fault/task__vMuY9HA/config.json +14 -0
- harbor-controls/jobs/clock-fault/task__vMuY9HA/lock.json +38 -0
- harbor-controls/jobs/clock-fault/task__vMuY9HA/result.json +121 -0
- harbor-controls/jobs/clock-fault/task__vMuY9HA/trial.log +3 -0
- harbor-controls/jobs/clock-fault/task__vMuY9HA/verifier/evidence.json +105 -0
- harbor-controls/jobs/clock-fault/task__vMuY9HA/verifier/reward.txt +1 -0
- harbor-controls/jobs/clock-fault/task__vMuY9HA/verifier/test-stdout.txt +0 -0
- harbor-controls/jobs/detached-answers/config.json +18 -0
- harbor-controls/jobs/detached-answers/job.log +3 -0
- harbor-controls/jobs/detached-answers/lock.json +66 -0
- harbor-controls/jobs/detached-answers/result.json +39 -0
- harbor-controls/jobs/detached-answers/task__v4kEuZQ/agent/trajectory.json +149 -0
- harbor-controls/jobs/detached-answers/task__v4kEuZQ/artifacts/answers.jsonl +8 -0
- harbor-controls/jobs/detached-answers/task__v4kEuZQ/artifacts/candidate/main.py +60 -0
- harbor-controls/jobs/detached-answers/task__v4kEuZQ/artifacts/manifest.json +26 -0
- harbor-controls/jobs/detached-answers/task__v4kEuZQ/config.json +14 -0
README.md
CHANGED
|
@@ -42,6 +42,13 @@ or a model leaderboard.
|
|
| 42 |
|
| 43 |
## Bring your own evidence
|
| 44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
- **Matching EvalArc evaluations:** compare changed checks and retain original inputs.
|
| 46 |
- **Strands Evals users:** [inspect the native state review](https://glayguo-evalarc.static.hf.space/strands/index.html)
|
| 47 |
without installing, or run the [SDK companion](https://github.com/noteflowai/evalarc/tree/main/examples/strands-state-review).
|
|
|
|
| 42 |
|
| 43 |
## Bring your own evidence
|
| 44 |
|
| 45 |
+
**Correct answers can accompany an incorrect program.**
|
| 46 |
+
The [Harbor control report](https://glayguo-evalarc.static.hf.space/harbor-controls/index.html)
|
| 47 |
+
compares three actual container runs. A detached answer file receives 100%
|
| 48 |
+
answer reward while the delivered program scores 80% and fails strict
|
| 49 |
+
acceptance. Native ATIF, programs, answers and the offline bundle are available.
|
| 50 |
+
These are declared scripted controls, without model inference.
|
| 51 |
+
|
| 52 |
- **Matching EvalArc evaluations:** compare changed checks and retain original inputs.
|
| 53 |
- **Strands Evals users:** [inspect the native state review](https://glayguo-evalarc.static.hf.space/strands/index.html)
|
| 54 |
without installing, or run the [SDK companion](https://github.com/noteflowai/evalarc/tree/main/examples/strands-state-review).
|
harbor-controls/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2026 EvalArc contributors
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
harbor-controls/README.md
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Harbor answer reward versus delivered-program acceptance
|
| 2 |
+
|
| 3 |
+
Recorded 2026-09-19 with Harbor 0.23.0 and task version 0.2.0.
|
| 4 |
+
Three scripted controls execute in a non-root, no-network Docker environment;
|
| 5 |
+
a separate verifier checks eight answer rows. No model generated these programs.
|
| 6 |
+
|
| 7 |
+
| Control | Answer reward | Program score | Strict acceptance |
|
| 8 |
+
| --- | ---: | ---: | --- |
|
| 9 |
+
| reference | 1.0 | 1.0 | accepted |
|
| 10 |
+
| clock-fault | 0.8 | 0.8 | rejected |
|
| 11 |
+
| detached-answers | 1.0 | 0.8 | rejected |
|
| 12 |
+
|
| 13 |
+
The partial-credit weights are provenance 0.10, coordinates 0.25, clock 0.15,
|
| 14 |
+
metrics 0.25, completeness 0.15 and protocol 0.10. All checks must pass for task
|
| 15 |
+
completion; independent acceptance requires a valid score of 1.0. The previous
|
| 16 |
+
0.1.0 export keeps its binary reward. These modes must not be pooled.
|
| 17 |
+
|
| 18 |
+
The clock control treats raw sensor ticks as seconds. It passes world-clock
|
| 19 |
+
cases and fails clock and derived metrics in four offset-clock cases. In the
|
| 20 |
+
detached control, the correct program writes the answer file before it is
|
| 21 |
+
replaced by the clock-fault program. The final hashes in the native ATIF match
|
| 22 |
+
the collected files. This deliberately tests an answer-only contract; it is not
|
| 23 |
+
a Harbor container escape or evidence about unknown reward hacking.
|
| 24 |
+
|
| 25 |
+
## Reproduce from the EvalArc source checkout
|
| 26 |
+
|
| 27 |
+
Use an isolated Python environment with Harbor 0.23.0 and Docker access:
|
| 28 |
+
|
| 29 |
+
```sh
|
| 30 |
+
python -m pip install 'harbor==0.23.0' -e .
|
| 31 |
+
PYTHONPATH=src:. python scripts/record_harbor_controls.py --output /tmp/new-harbor-controls
|
| 32 |
+
PYTHONPATH=src:. python scripts/build_harbor_controls.py \
|
| 33 |
+
--source /tmp/new-harbor-controls --output /tmp/new-harbor-report
|
| 34 |
+
PYTHONPATH=src:. python scripts/build_harbor_controls.py \
|
| 35 |
+
--output /tmp/new-harbor-report --verify
|
| 36 |
+
```
|
| 37 |
+
|
| 38 |
+
Output directories must be new. Where Docker requires a local wrapper, pass
|
| 39 |
+
`--docker-command /path/to/wrapper` and make the same wrapper available as
|
| 40 |
+
`docker` on PATH for Harbor. Do not loosen socket permissions. No GPU, model
|
| 41 |
+
account or external API credential is needed.
|
| 42 |
+
|
| 43 |
+
`harness/` retains the exact pre-run recorder, exporter and control-agent source.
|
| 44 |
+
`task/` retains the full exported task and verifier. Native job/configuration,
|
| 45 |
+
trajectory, answer and candidate files are retained in `jobs/`; `imports/`
|
| 46 |
+
contains independent Docker execution and untouched source result/ATIF copies.
|
| 47 |
+
Original absolute runtime paths in these records identify the recording machine;
|
| 48 |
+
use the relative links from `summary.json` to inspect this bundle elsewhere.
|
| 49 |
+
|
| 50 |
+
The full native ATIF schema was validated with Harbor's installed Trajectory
|
| 51 |
+
model. The offline bundle verifier checks original file identities, tool linkage,
|
| 52 |
+
observed file hashes, answer grading and independent report consistency.
|
| 53 |
+
It does not execute downloaded candidate code. The upstream reward and EvalArc
|
| 54 |
+
program score use the same declared dimensions but inspect different artifacts.
|
| 55 |
+
No claim of independent grader authorship or held-out evaluation is made.
|
| 56 |
+
|
| 57 |
+
The preliminary launch failed before any Harbor trial because the recorder used
|
| 58 |
+
an unsupported CLI flag. Its process log and command are in `attempts/`.
|
| 59 |
+
The corrected run used `--env docker`; there were no automatic trial retries.
|
| 60 |
+
|
| 61 |
+
Authorship: AI-assisted engineering and deliberately constructed controls.
|
| 62 |
+
Code MIT; source recording data retains the supplied Apache-2.0 notice.
|
harbor-controls/ROBOT_DATA_LICENSE.txt
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Apache License
|
| 2 |
+
Version 2.0, January 2004
|
| 3 |
+
http://www.apache.org/licenses/
|
| 4 |
+
|
| 5 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 6 |
+
|
| 7 |
+
1. Definitions.
|
| 8 |
+
|
| 9 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 10 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 11 |
+
|
| 12 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 13 |
+
the copyright owner that is granting the License.
|
| 14 |
+
|
| 15 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 16 |
+
other entities that control, are controlled by, or are under common
|
| 17 |
+
control with that entity. For the purposes of this definition,
|
| 18 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 19 |
+
direction or management of such entity, whether by contract or
|
| 20 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 21 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 22 |
+
|
| 23 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 24 |
+
exercising permissions granted by this License.
|
| 25 |
+
|
| 26 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 27 |
+
including but not limited to software source code, documentation
|
| 28 |
+
source, and configuration files.
|
| 29 |
+
|
| 30 |
+
"Object" form shall mean any form resulting from mechanical
|
| 31 |
+
transformation or translation of a Source form, including but
|
| 32 |
+
not limited to compiled object code, generated documentation,
|
| 33 |
+
and conversions to other media types.
|
| 34 |
+
|
| 35 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 36 |
+
Object form, made available under the License, as indicated by a
|
| 37 |
+
copyright notice that is included in or attached to the work
|
| 38 |
+
(an example is provided in the Appendix below).
|
| 39 |
+
|
| 40 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 41 |
+
form, that is based on (or derived from) the Work and for which the
|
| 42 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 43 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 44 |
+
of this License, Derivative Works shall not include works that remain
|
| 45 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 46 |
+
the Work and Derivative Works thereof.
|
| 47 |
+
|
| 48 |
+
"Contribution" shall mean any work of authorship, including
|
| 49 |
+
the original version of the Work and any modifications or additions
|
| 50 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 51 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 52 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 53 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 54 |
+
means any form of electronic, verbal, or written communication sent
|
| 55 |
+
to the Licensor or its representatives, including but not limited to
|
| 56 |
+
communication on electronic mailing lists, source code control systems,
|
| 57 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 58 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 59 |
+
excluding communication that is conspicuously marked or otherwise
|
| 60 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 61 |
+
|
| 62 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 63 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 64 |
+
subsequently incorporated within the Work.
|
| 65 |
+
|
| 66 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 67 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 68 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 69 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 70 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 71 |
+
Work and such Derivative Works in Source or Object form.
|
| 72 |
+
|
| 73 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 74 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 75 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 76 |
+
(except as stated in this section) patent license to make, have made,
|
| 77 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 78 |
+
where such license applies only to those patent claims licensable
|
| 79 |
+
by such Contributor that are necessarily infringed by their
|
| 80 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 81 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 82 |
+
institute patent litigation against any entity (including a
|
| 83 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 84 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 85 |
+
or contributory patent infringement, then any patent licenses
|
| 86 |
+
granted to You under this License for that Work shall terminate
|
| 87 |
+
as of the date such litigation is filed.
|
| 88 |
+
|
| 89 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 90 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 91 |
+
modifications, and in Source or Object form, provided that You
|
| 92 |
+
meet the following conditions:
|
| 93 |
+
|
| 94 |
+
(a) You must give any other recipients of the Work or
|
| 95 |
+
Derivative Works a copy of this License; and
|
| 96 |
+
|
| 97 |
+
(b) You must cause any modified files to carry prominent notices
|
| 98 |
+
stating that You changed the files; and
|
| 99 |
+
|
| 100 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 101 |
+
that You distribute, all copyright, patent, trademark, and
|
| 102 |
+
attribution notices from the Source form of the Work,
|
| 103 |
+
excluding those notices that do not pertain to any part of
|
| 104 |
+
the Derivative Works; and
|
| 105 |
+
|
| 106 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 107 |
+
distribution, then any Derivative Works that You distribute must
|
| 108 |
+
include a readable copy of the attribution notices contained
|
| 109 |
+
within such NOTICE file, excluding those notices that do not
|
| 110 |
+
pertain to any part of the Derivative Works, in at least one
|
| 111 |
+
of the following places: within a NOTICE text file distributed
|
| 112 |
+
as part of the Derivative Works; within the Source form or
|
| 113 |
+
documentation, if provided along with the Derivative Works; or,
|
| 114 |
+
within a display generated by the Derivative Works, if and
|
| 115 |
+
wherever such third-party notices normally appear. The contents
|
| 116 |
+
of the NOTICE file are for informational purposes only and
|
| 117 |
+
do not modify the License. You may add Your own attribution
|
| 118 |
+
notices within Derivative Works that You distribute, alongside
|
| 119 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 120 |
+
that such additional attribution notices cannot be construed
|
| 121 |
+
as modifying the License.
|
| 122 |
+
|
| 123 |
+
You may add Your own copyright statement to Your modifications and
|
| 124 |
+
may provide additional or different license terms and conditions
|
| 125 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 126 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 127 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 128 |
+
the conditions stated in this License.
|
| 129 |
+
|
| 130 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 131 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 132 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 133 |
+
this License, without any additional terms or conditions.
|
| 134 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 135 |
+
the terms of any separate license agreement you may have executed
|
| 136 |
+
with Licensor regarding such Contributions.
|
| 137 |
+
|
| 138 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 139 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 140 |
+
except as required for reasonable and customary use in describing the
|
| 141 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 142 |
+
|
| 143 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 144 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 145 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 146 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 147 |
+
implied, including, without limitation, any warranties or conditions
|
| 148 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 149 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 150 |
+
appropriateness of using or redistributing the Work and assume any
|
| 151 |
+
risks associated with Your exercise of permissions under this License.
|
| 152 |
+
|
| 153 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 154 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 155 |
+
unless required by applicable law (such as deliberate and grossly
|
| 156 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 157 |
+
liable to You for damages, including any direct, indirect, special,
|
| 158 |
+
incidental, or consequential damages of any character arising as a
|
| 159 |
+
result of this License or out of the use or inability to use the
|
| 160 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 161 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 162 |
+
other commercial damages or losses), even if such Contributor
|
| 163 |
+
has been advised of the possibility of such damages.
|
| 164 |
+
|
| 165 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 166 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 167 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 168 |
+
or other liability obligations and/or rights consistent with this
|
| 169 |
+
License. However, in accepting such obligations, You may act only
|
| 170 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 171 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 172 |
+
defend, and hold each Contributor harmless for any liability
|
| 173 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 174 |
+
of your accepting any such warranty or additional liability.
|
| 175 |
+
|
| 176 |
+
END OF TERMS AND CONDITIONS
|
| 177 |
+
|
| 178 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 179 |
+
|
| 180 |
+
To apply the Apache License to your work, attach the following
|
| 181 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 182 |
+
replaced with your own identifying information. (Don't include
|
| 183 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 184 |
+
comment syntax for the file format. We also recommend that a
|
| 185 |
+
file or class name and description of purpose be included on the
|
| 186 |
+
same "printed page" as the copyright notice for easier
|
| 187 |
+
identification within third-party archives.
|
| 188 |
+
|
| 189 |
+
Copyright [yyyy] [name of copyright owner]
|
| 190 |
+
|
| 191 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 192 |
+
you may not use this file except in compliance with the License.
|
| 193 |
+
You may obtain a copy of the License at
|
| 194 |
+
|
| 195 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 196 |
+
|
| 197 |
+
Unless required by applicable law or agreed to in writing, software
|
| 198 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 199 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 200 |
+
See the License for the specific language governing permissions and
|
| 201 |
+
limitations under the License.
|
harbor-controls/ROBOT_DATA_NOTICE.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Recorded input attribution
|
| 2 |
+
|
| 3 |
+
`robot_recordings.json` preserves the exact JSON text and SHA-256 of six files
|
| 4 |
+
from NoteFlow AI's Robot Reel, released under Apache-2.0:
|
| 5 |
+
|
| 6 |
+
- Repository: https://github.com/noteflowai/robot-reel
|
| 7 |
+
- Source commit: `6d9fc525ef443d071ed11b4eefb491b3ca0d0c19`
|
| 8 |
+
- Source directory: `docs/solver-lab`
|
| 9 |
+
- Files: `genesis-1.json`, `genesis-4.json`, `genesis-16.json`,
|
| 10 |
+
`newton-1.json`, `newton-4.json`, `newton-16.json`
|
| 11 |
+
- Copyright: Robot Reel contributors.
|
| 12 |
+
|
| 13 |
+
The original files describe CUDA float32 ballistic-flight recordings from an
|
| 14 |
+
NVIDIA L40S using Genesis 1.4.1 and Newton 1.6.0. EvalArc transforms their
|
| 15 |
+
representation and optionally removes samples for review tasks; it does not
|
| 16 |
+
relabel these transformations as new simulations.
|
| 17 |
+
|
| 18 |
+
EvalArc's implementation remains under MIT. The copied recording data remains
|
| 19 |
+
under Apache-2.0; the accompanying `ROBOT_DATA_LICENSE.txt` contains that license.
|
harbor-controls/attempts/cli-argument-error.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"runs": [
|
| 3 |
+
{
|
| 4 |
+
"control": "reference",
|
| 5 |
+
"command": [
|
| 6 |
+
"/home/dcvuser/work/robot-reel-agents/codex/.venv-harbor/bin/harbor",
|
| 7 |
+
"run",
|
| 8 |
+
"--path",
|
| 9 |
+
"/home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-20260919/harbor-controls/task",
|
| 10 |
+
"--agent",
|
| 11 |
+
"scripts.harbor_control_agent:ControlAgent",
|
| 12 |
+
"--agent-kwarg",
|
| 13 |
+
"control=reference",
|
| 14 |
+
"--environment",
|
| 15 |
+
"docker",
|
| 16 |
+
"--jobs-dir",
|
| 17 |
+
"/home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-20260919/harbor-controls/jobs",
|
| 18 |
+
"--job-name",
|
| 19 |
+
"reference",
|
| 20 |
+
"--n-concurrent",
|
| 21 |
+
"1",
|
| 22 |
+
"--max-retries",
|
| 23 |
+
"0"
|
| 24 |
+
],
|
| 25 |
+
"return_code": 2
|
| 26 |
+
}
|
| 27 |
+
]
|
| 28 |
+
}
|
harbor-controls/attempts/cli-argument-error.log
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Usage: harbor run [OPTIONS]
|
| 2 |
+
Try 'harbor run -h' for help.
|
| 3 |
+
╭─ Error ──────────────────────────────────────────────────────────────────────╮
|
| 4 |
+
│ No such option: --environment (Possible options: --allow-environment-host, │
|
| 5 |
+
│ --environment-import-path, --environment-kwarg) │
|
| 6 |
+
╰──────────────────────────────────────────────────────────────────────────────╯
|
harbor-controls/clock-fault.log
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
1/1 Mean: 0.800 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0:00:35 0:00:00
|
| 2 |
+
adhoc • evalarc-scripted-control
|
| 3 |
+
┏━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━┓
|
| 4 |
+
┃ Trials ┃ Exceptions ┃ Mean ┃
|
| 5 |
+
┡━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━┩
|
| 6 |
+
│ 1 │ 0 │ 0.800 │
|
| 7 |
+
└────────┴────────────┴───────┘
|
| 8 |
+
|
| 9 |
+
┏━━━━━━━━┳━━━━━━━┓
|
| 10 |
+
┃ Reward ┃ Count ┃
|
| 11 |
+
┡━━━━━━━━╇━━━━━━━┩
|
| 12 |
+
│ 0.8 │ 1 │
|
| 13 |
+
└────────┴───────┘
|
| 14 |
+
|
| 15 |
+
Job Info
|
| 16 |
+
Total runtime: 35s
|
| 17 |
+
Results written to
|
| 18 |
+
/home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-2026091
|
| 19 |
+
9/harbor-controls-2/jobs/clock-fault/result.json
|
| 20 |
+
Inspect results by running `harbor view
|
| 21 |
+
/home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-2026091
|
| 22 |
+
9/harbor-controls-2/jobs`
|
| 23 |
+
Share results by running `harbor upload
|
| 24 |
+
/home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-2026091
|
| 25 |
+
9/harbor-controls-2/jobs/clock-fault`
|
| 26 |
+
|
harbor-controls/detached-answers.log
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
1/1 Mean: 1.000 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0:00:35 0:00:00
|
| 2 |
+
adhoc • evalarc-scripted-control
|
| 3 |
+
┏━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━┓
|
| 4 |
+
┃ Trials ┃ Exceptions ┃ Mean ┃
|
| 5 |
+
┡━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━┩
|
| 6 |
+
│ 1 │ 0 │ 1.000 │
|
| 7 |
+
└────────┴────────────┴───────┘
|
| 8 |
+
|
| 9 |
+
┏━━━━━━━━┳━━━━━━━┓
|
| 10 |
+
┃ Reward ┃ Count ┃
|
| 11 |
+
┡━━━━━━━━╇━━━━━━━┩
|
| 12 |
+
│ 1.0 │ 1 │
|
| 13 |
+
└────────┴───────┘
|
| 14 |
+
|
| 15 |
+
Job Info
|
| 16 |
+
Total runtime: 35s
|
| 17 |
+
Results written to
|
| 18 |
+
/home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-2026091
|
| 19 |
+
9/harbor-controls-2/jobs/detached-answers/result.json
|
| 20 |
+
Inspect results by running `harbor view
|
| 21 |
+
/home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-2026091
|
| 22 |
+
9/harbor-controls-2/jobs`
|
| 23 |
+
Share results by running `harbor upload
|
| 24 |
+
/home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-2026091
|
| 25 |
+
9/harbor-controls-2/jobs/detached-answers`
|
| 26 |
+
|
harbor-controls/harbor-controls.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:30e7452e415cc478add44c50798be03a790b4d6a1bb7f8fafa95592ac726ca12
|
| 3 |
+
size 278031
|
harbor-controls/harness/export_harbor_task.py
ADDED
|
@@ -0,0 +1,185 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Export the robot review task for Harbor 0.23's separate verifier container."""
|
| 3 |
+
|
| 4 |
+
from __future__ import annotations
|
| 5 |
+
|
| 6 |
+
import argparse
|
| 7 |
+
import hashlib
|
| 8 |
+
import json
|
| 9 |
+
import shutil
|
| 10 |
+
from pathlib import Path
|
| 11 |
+
|
| 12 |
+
import evalarc
|
| 13 |
+
from evalarc.robot_task import generate_cases
|
| 14 |
+
from evalarc.templates import asset
|
| 15 |
+
|
| 16 |
+
CONFIG = """schema_version = "1.4"
|
| 17 |
+
|
| 18 |
+
[task]
|
| 19 |
+
name = "noteflowai/robot-evidence-review"
|
| 20 |
+
version = "0.1.0"
|
| 21 |
+
description = "Review recorded robot states through coordinate, clock and provenance contracts."
|
| 22 |
+
keywords = ["robotics", "physical-ai", "evidence", "no-api"]
|
| 23 |
+
authors = [{name = "Note Flow AI"}]
|
| 24 |
+
|
| 25 |
+
[metadata]
|
| 26 |
+
license = "MIT; source recordings Apache-2.0"
|
| 27 |
+
split = "public-development"
|
| 28 |
+
harbor_version = "0.23.0"
|
| 29 |
+
ai_assisted = true
|
| 30 |
+
|
| 31 |
+
[agent]
|
| 32 |
+
timeout_sec = 600
|
| 33 |
+
user = "65534"
|
| 34 |
+
|
| 35 |
+
[environment]
|
| 36 |
+
cpus = 1
|
| 37 |
+
memory_mb = 512
|
| 38 |
+
network_mode = "no-network"
|
| 39 |
+
|
| 40 |
+
[verifier]
|
| 41 |
+
timeout_sec = 60
|
| 42 |
+
environment_mode = "separate"
|
| 43 |
+
|
| 44 |
+
[verifier.environment]
|
| 45 |
+
cpus = 1
|
| 46 |
+
memory_mb = 256
|
| 47 |
+
network_mode = "no-network"
|
| 48 |
+
|
| 49 |
+
[[artifacts]]
|
| 50 |
+
source = "/workspace/answers.jsonl"
|
| 51 |
+
destination = "answers.jsonl"
|
| 52 |
+
|
| 53 |
+
[[artifacts]]
|
| 54 |
+
source = "/workspace/main.py"
|
| 55 |
+
destination = "candidate/main.py"
|
| 56 |
+
"""
|
| 57 |
+
|
| 58 |
+
VERIFIER = '''"""Reads data only; never imports or executes the submitted main.py."""
|
| 59 |
+
import json
|
| 60 |
+
from pathlib import Path
|
| 61 |
+
from evalarc.robot_task import DIMENSIONS, generate_cases, verify
|
| 62 |
+
|
| 63 |
+
cases = [case for seed in (41, 97) for case in generate_cases(seed)]
|
| 64 |
+
source = Path("/workspace/answers.jsonl")
|
| 65 |
+
findings = []
|
| 66 |
+
error = None
|
| 67 |
+
try:
|
| 68 |
+
if source.is_symlink() or not source.is_file() or source.stat().st_size > 131072:
|
| 69 |
+
raise ValueError("missing, nonregular or oversized answer file")
|
| 70 |
+
answers = [json.loads(line) for line in source.read_text().splitlines()]
|
| 71 |
+
if len(answers) != len(cases):
|
| 72 |
+
raise ValueError("answer count differs from request count")
|
| 73 |
+
for case, answer in zip(cases, answers, strict=True):
|
| 74 |
+
envelope = (isinstance(answer, dict) and set(answer) == {"ok", "report"}
|
| 75 |
+
and answer["ok"] is True)
|
| 76 |
+
report = answer.get("report") if isinstance(answer, dict) else None
|
| 77 |
+
checks = verify(case, report, envelope)
|
| 78 |
+
findings.append({"case_id": case.id, "checks": checks, "passed": all(checks.values())})
|
| 79 |
+
except (ValueError, TypeError, OSError, RecursionError) as exc:
|
| 80 |
+
error = str(exc)
|
| 81 |
+
passed = error is None and len(findings) == len(cases) and all(row["passed"] for row in findings)
|
| 82 |
+
weighted_score = (sum(
|
| 83 |
+
sum(DIMENSIONS[key] for key, ok in row["checks"].items() if ok)
|
| 84 |
+
for row in findings
|
| 85 |
+
) / len(cases)) if error is None else 0.0
|
| 86 |
+
reward = weighted_score if PARTIAL_CREDIT else float(passed)
|
| 87 |
+
logs = Path("/logs/verifier")
|
| 88 |
+
logs.mkdir(parents=True, exist_ok=True)
|
| 89 |
+
(logs / "reward.txt").write_text(str(reward))
|
| 90 |
+
(logs / "evidence.json").write_text(json.dumps({
|
| 91 |
+
"scope": "Answers checked in a fresh verifier container; submitted code is not executed here.",
|
| 92 |
+
"passed": passed, "error": error, "findings": findings,
|
| 93 |
+
"weighted_score": weighted_score, "partial_credit": PARTIAL_CREDIT
|
| 94 |
+
}, indent=2) + "\\n")
|
| 95 |
+
'''
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
def export(destination: Path, *, partial_credit: bool = False) -> dict:
|
| 99 |
+
destination.mkdir(parents=True, exist_ok=False)
|
| 100 |
+
environment = destination / "environment"
|
| 101 |
+
tests = destination / "tests"
|
| 102 |
+
solution = destination / "solution"
|
| 103 |
+
for path in (environment, tests, solution):
|
| 104 |
+
path.mkdir()
|
| 105 |
+
config = CONFIG.replace('version = "0.1.0"', 'version = "0.2.0"') if partial_credit else CONFIG
|
| 106 |
+
(destination / "task.toml").write_text(config)
|
| 107 |
+
(destination / "instruction.md").write_text(
|
| 108 |
+
asset("ROBOT_TASK.md") + "\n## Deliverables\n\n"
|
| 109 |
+
"Implement `/workspace/main.py`. Run it on `/workspace/requests.jsonl` "
|
| 110 |
+
"and write exactly one answer per request, in input order, to "
|
| 111 |
+
"`/workspace/answers.jsonl`. Deliver both files. Python's standard "
|
| 112 |
+
"library is available and the environment has no network.\n\n"
|
| 113 |
+
"A fresh verifier container checks the answer data. The downloadable "
|
| 114 |
+
"main.py can additionally be independently executed by EvalArc; "
|
| 115 |
+
"Harbor reward alone does not prove that the program produced the answers.\n"
|
| 116 |
+
+ (
|
| 117 |
+
"\nThis task version reports weighted partial credit for the answer data. "
|
| 118 |
+
"Full completion still requires every check to pass. Weights: provenance "
|
| 119 |
+
"0.10, coordinates 0.25, clock 0.15, metrics 0.25, completeness 0.15, "
|
| 120 |
+
"protocol 0.10. The independent program acceptance threshold is 1.0.\n"
|
| 121 |
+
if partial_credit
|
| 122 |
+
else ""
|
| 123 |
+
)
|
| 124 |
+
)
|
| 125 |
+
(environment / "main.py").write_text(asset("robot_starter.py"))
|
| 126 |
+
requests = [json.dumps(case.request) for seed in (41, 97) for case in generate_cases(seed)]
|
| 127 |
+
(environment / "requests.jsonl").write_text("\n".join(requests) + "\n")
|
| 128 |
+
(environment / "Dockerfile").write_text(
|
| 129 |
+
"FROM python:3.12-slim\n"
|
| 130 |
+
"RUN mkdir /workspace && chown 65534:65534 /workspace\n"
|
| 131 |
+
"WORKDIR /workspace\n"
|
| 132 |
+
"COPY --chown=65534:65534 main.py requests.jsonl ./\n"
|
| 133 |
+
"USER 65534:65534\n"
|
| 134 |
+
)
|
| 135 |
+
# Only the separate verifier's build context receives the grader package.
|
| 136 |
+
shutil.copytree(
|
| 137 |
+
Path(evalarc.__file__).parent,
|
| 138 |
+
tests / "evalarc",
|
| 139 |
+
ignore=shutil.ignore_patterns("__pycache__", "*.pyc"),
|
| 140 |
+
)
|
| 141 |
+
(tests / "check.py").write_text(f"PARTIAL_CREDIT = {partial_credit!r}\n" + VERIFIER)
|
| 142 |
+
(tests / "test.sh").write_text("#!/bin/sh\nset -eu\npython3 -B /tests/check.py\n")
|
| 143 |
+
(tests / "Dockerfile").write_text("FROM python:3.12-slim\nCOPY . /tests\nWORKDIR /tests\n")
|
| 144 |
+
(solution / "main.py").write_text(asset("robot_reference.py"))
|
| 145 |
+
(solution / "solve.sh").write_text(
|
| 146 |
+
"#!/bin/sh\nset -eu\ncp /solution/main.py /workspace/main.py\n"
|
| 147 |
+
"python3 -I -B /workspace/main.py < /workspace/requests.jsonl "
|
| 148 |
+
"> /workspace/answers.jsonl\n"
|
| 149 |
+
)
|
| 150 |
+
for path in (tests / "test.sh", solution / "solve.sh"):
|
| 151 |
+
path.chmod(0o755)
|
| 152 |
+
inventory = {
|
| 153 |
+
path.relative_to(destination).as_posix(): hashlib.sha256(path.read_bytes()).hexdigest()
|
| 154 |
+
for path in sorted(destination.rglob("*"))
|
| 155 |
+
if path.is_file()
|
| 156 |
+
}
|
| 157 |
+
(destination / "export-manifest.json").write_text(
|
| 158 |
+
json.dumps(
|
| 159 |
+
{
|
| 160 |
+
"schema": "evalarc.harbor-task-export.v1",
|
| 161 |
+
"harbor_version": "0.23.0",
|
| 162 |
+
"task": "robot-evidence-review",
|
| 163 |
+
"task_version": "0.2.0" if partial_credit else "0.1.0",
|
| 164 |
+
"reward_mode": "weighted-answer-checks" if partial_credit else "all-answer-checks",
|
| 165 |
+
"files": inventory,
|
| 166 |
+
"authorship": "AI-assisted task adaptation; not submitted as human-authored work.",
|
| 167 |
+
},
|
| 168 |
+
indent=2,
|
| 169 |
+
)
|
| 170 |
+
+ "\n"
|
| 171 |
+
)
|
| 172 |
+
return inventory
|
| 173 |
+
|
| 174 |
+
|
| 175 |
+
def main() -> None:
|
| 176 |
+
parser = argparse.ArgumentParser(description=__doc__)
|
| 177 |
+
parser.add_argument("destination", type=Path)
|
| 178 |
+
parser.add_argument("--partial-credit", action="store_true")
|
| 179 |
+
args = parser.parse_args()
|
| 180 |
+
inventory = export(args.destination, partial_credit=args.partial_credit)
|
| 181 |
+
print(json.dumps({"path": str(args.destination), "files": len(inventory)}))
|
| 182 |
+
|
| 183 |
+
|
| 184 |
+
if __name__ == "__main__":
|
| 185 |
+
main()
|
harbor-controls/harness/harbor_control_agent.py
ADDED
|
@@ -0,0 +1,136 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Scripted Harbor controls with native ATIF; no model inference or model score."""
|
| 2 |
+
|
| 3 |
+
from __future__ import annotations
|
| 4 |
+
|
| 5 |
+
import hashlib
|
| 6 |
+
import json
|
| 7 |
+
import shlex
|
| 8 |
+
from datetime import datetime, timezone
|
| 9 |
+
from typing import Literal
|
| 10 |
+
|
| 11 |
+
from harbor.agents.base import BaseAgent
|
| 12 |
+
from harbor.agents.capabilities import AgentCapabilities
|
| 13 |
+
from harbor.agents.options import AgentOptions
|
| 14 |
+
from harbor.models.trajectories.trajectory import Trajectory
|
| 15 |
+
|
| 16 |
+
from evalarc.templates import asset
|
| 17 |
+
|
| 18 |
+
CONTROLS = ("reference", "clock-fault", "detached-answers")
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
def control_commands(control: str) -> list[str]:
|
| 22 |
+
"""Create fully recorded commands; all paths and program bytes are fixed."""
|
| 23 |
+
if control not in CONTROLS:
|
| 24 |
+
raise ValueError("unknown scripted control")
|
| 25 |
+
reference = asset("robot_reference.py")
|
| 26 |
+
fault = reference.replace("USE_CLOCK = True", "USE_CLOCK = False")
|
| 27 |
+
if fault == reference:
|
| 28 |
+
raise ValueError("reference no longer exposes the declared clock control")
|
| 29 |
+
initial = fault if control == "clock-fault" else reference
|
| 30 |
+
|
| 31 |
+
def write_program(text: str) -> str:
|
| 32 |
+
script = "from pathlib import Path; Path('main.py').write_text(" + repr(text) + ")"
|
| 33 |
+
return "python3 -c " + shlex.quote(script)
|
| 34 |
+
|
| 35 |
+
commands = [
|
| 36 |
+
"python3 -c "
|
| 37 |
+
+ shlex.quote(
|
| 38 |
+
"import json, os; from pathlib import Path; "
|
| 39 |
+
"print(json.dumps({'uid': os.getuid(), 'cwd': os.getcwd(), "
|
| 40 |
+
"'network_interfaces': sorted(p.name for p in Path('/sys/class/net').iterdir())})); "
|
| 41 |
+
"assert os.getuid() != 0"
|
| 42 |
+
),
|
| 43 |
+
write_program(initial),
|
| 44 |
+
"python3 -I -B /workspace/main.py < /workspace/requests.jsonl > /workspace/answers.jsonl",
|
| 45 |
+
]
|
| 46 |
+
if control == "detached-answers":
|
| 47 |
+
commands.append(write_program(fault))
|
| 48 |
+
commands.append(
|
| 49 |
+
"python3 -c "
|
| 50 |
+
+ shlex.quote(
|
| 51 |
+
"import hashlib, json; from pathlib import Path; "
|
| 52 |
+
"print(json.dumps({name: hashlib.sha256(Path(name).read_bytes()).hexdigest() "
|
| 53 |
+
"for name in ('main.py', 'answers.jsonl')}))"
|
| 54 |
+
)
|
| 55 |
+
)
|
| 56 |
+
return commands
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
class ControlOptions(AgentOptions):
|
| 60 |
+
control: Literal["reference", "clock-fault", "detached-answers"] = "reference"
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
class ControlAgent(BaseAgent):
|
| 64 |
+
capabilities = AgentCapabilities(atif=True)
|
| 65 |
+
options_model = ControlOptions
|
| 66 |
+
|
| 67 |
+
@staticmethod
|
| 68 |
+
def name() -> str:
|
| 69 |
+
return "evalarc-scripted-control"
|
| 70 |
+
|
| 71 |
+
def version(self) -> str:
|
| 72 |
+
return "1.0.0"
|
| 73 |
+
|
| 74 |
+
async def setup(self, environment) -> None:
|
| 75 |
+
pass
|
| 76 |
+
|
| 77 |
+
async def run(self, instruction, environment, context) -> None:
|
| 78 |
+
control = self.options.control
|
| 79 |
+
record = {
|
| 80 |
+
"schema_version": "ATIF-v1.8",
|
| 81 |
+
"session_id": self.session_id,
|
| 82 |
+
"agent": {
|
| 83 |
+
"name": self.name(),
|
| 84 |
+
"version": self.version(),
|
| 85 |
+
"extra": {"control": control, "model_inference": False},
|
| 86 |
+
},
|
| 87 |
+
"steps": [{"step_id": 1, "source": "user", "message": instruction}],
|
| 88 |
+
"notes": (
|
| 89 |
+
"Actual Harbor container executions of a declared scripted control. "
|
| 90 |
+
"Programs are provided fixtures, not model-generated solutions."
|
| 91 |
+
),
|
| 92 |
+
"extra": {
|
| 93 |
+
"control": control,
|
| 94 |
+
"reference_sha256": hashlib.sha256(asset("robot_reference.py").encode()).hexdigest(),
|
| 95 |
+
},
|
| 96 |
+
}
|
| 97 |
+
self.logs_dir.mkdir(parents=True, exist_ok=True)
|
| 98 |
+
for index, command in enumerate(control_commands(control), 2):
|
| 99 |
+
started = datetime.now(timezone.utc).isoformat()
|
| 100 |
+
result = await environment.exec(command=command, cwd="/workspace", timeout_sec=30)
|
| 101 |
+
call = f"exec-{index}"
|
| 102 |
+
record["steps"].append(
|
| 103 |
+
{
|
| 104 |
+
"step_id": index,
|
| 105 |
+
"source": "agent",
|
| 106 |
+
"timestamp": started,
|
| 107 |
+
"message": f"Execute scripted {control} control step.",
|
| 108 |
+
"tool_calls": [
|
| 109 |
+
{
|
| 110 |
+
"tool_call_id": call,
|
| 111 |
+
"function_name": "environment.exec",
|
| 112 |
+
"arguments": {"command": command, "cwd": "/workspace", "timeout_sec": 30},
|
| 113 |
+
}
|
| 114 |
+
],
|
| 115 |
+
"observation": {
|
| 116 |
+
"results": [
|
| 117 |
+
{
|
| 118 |
+
"source_call_id": call,
|
| 119 |
+
"content": json.dumps(
|
| 120 |
+
{
|
| 121 |
+
"return_code": result.return_code,
|
| 122 |
+
"stdout": result.stdout,
|
| 123 |
+
"stderr": result.stderr,
|
| 124 |
+
}
|
| 125 |
+
),
|
| 126 |
+
}
|
| 127 |
+
]
|
| 128 |
+
},
|
| 129 |
+
}
|
| 130 |
+
)
|
| 131 |
+
# Use the installed upstream model, including its reference/link checks.
|
| 132 |
+
Trajectory.model_validate(record)
|
| 133 |
+
(self.logs_dir / "trajectory.json").write_text(json.dumps(record, indent=2) + "\n")
|
| 134 |
+
if result.return_code:
|
| 135 |
+
raise RuntimeError(f"scripted control command failed: {result.return_code}")
|
| 136 |
+
context.metadata = {"control": control, "scripted": True, "model_inference": False}
|
harbor-controls/harness/record_harbor_controls.py
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Run native Harbor controls and independently execute the collected programs.
|
| 2 |
+
|
| 3 |
+
Run with the Harbor 0.23.0 environment's Python and this checkout on PYTHONPATH.
|
| 4 |
+
The output is an immutable experiment directory. Every attempted job is retained.
|
| 5 |
+
"""
|
| 6 |
+
|
| 7 |
+
from __future__ import annotations
|
| 8 |
+
|
| 9 |
+
import argparse
|
| 10 |
+
import hashlib
|
| 11 |
+
import json
|
| 12 |
+
import os
|
| 13 |
+
import shutil
|
| 14 |
+
import subprocess
|
| 15 |
+
from importlib.metadata import version
|
| 16 |
+
from pathlib import Path
|
| 17 |
+
|
| 18 |
+
from export_harbor_task import export
|
| 19 |
+
from harbor_control_agent import CONTROLS
|
| 20 |
+
|
| 21 |
+
from evalarc.evaluate import write_json
|
| 22 |
+
from evalarc.interop import import_harbor
|
| 23 |
+
from evalarc.runner import Runtime
|
| 24 |
+
|
| 25 |
+
ROOT = Path(__file__).resolve().parents[1]
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
def digest(path: Path) -> str:
|
| 29 |
+
return hashlib.sha256(path.read_bytes()).hexdigest()
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
def record(output: Path, harbor: str, docker: str) -> dict:
|
| 33 |
+
if version("harbor") != "0.23.0":
|
| 34 |
+
raise ValueError("this experiment requires Harbor 0.23.0")
|
| 35 |
+
output = output.resolve()
|
| 36 |
+
output.mkdir(parents=True, exist_ok=False)
|
| 37 |
+
task = output / "task"
|
| 38 |
+
export(task, partial_credit=True)
|
| 39 |
+
harness = output / "harness"
|
| 40 |
+
harness.mkdir()
|
| 41 |
+
for name in ("record_harbor_controls.py", "harbor_control_agent.py", "export_harbor_task.py"):
|
| 42 |
+
shutil.copyfile(ROOT / "scripts" / name, harness / name)
|
| 43 |
+
plan = {
|
| 44 |
+
"schema": "evalarc.harbor-controls-plan.v1",
|
| 45 |
+
"harbor_version": version("harbor"),
|
| 46 |
+
"task_version": "0.2.0",
|
| 47 |
+
"controls": list(CONTROLS),
|
| 48 |
+
"evaluation_seeds": [41, 97],
|
| 49 |
+
"minimum_independent_score": 1.0,
|
| 50 |
+
"source_commit": subprocess.check_output(
|
| 51 |
+
["git", "rev-parse", "HEAD"], cwd=ROOT, text=True
|
| 52 |
+
).strip(),
|
| 53 |
+
"source_dirty": bool(
|
| 54 |
+
subprocess.check_output(["git", "status", "--porcelain"], cwd=ROOT, text=True).strip()
|
| 55 |
+
),
|
| 56 |
+
"harness_files": {p.name: digest(p) for p in harness.iterdir()},
|
| 57 |
+
"scope": (
|
| 58 |
+
"One task, three scripted controls, no model inference. "
|
| 59 |
+
"Answer-file reward and independently executed program correctness are separate. "
|
| 60 |
+
"All attempted jobs, including errors, must be retained."
|
| 61 |
+
),
|
| 62 |
+
}
|
| 63 |
+
write_json(output / "plan.json", plan)
|
| 64 |
+
runtime = Runtime(docker_command=docker)
|
| 65 |
+
runtime.prepare()
|
| 66 |
+
env = os.environ.copy()
|
| 67 |
+
env["PYTHONPATH"] = os.pathsep.join((str(ROOT), str(ROOT / "src")))
|
| 68 |
+
rows = []
|
| 69 |
+
for control in CONTROLS:
|
| 70 |
+
command = [
|
| 71 |
+
harbor, "run", "--path", str(task),
|
| 72 |
+
"--agent", "scripts.harbor_control_agent:ControlAgent",
|
| 73 |
+
"--agent-kwarg", f"control={control}", "--env", "docker",
|
| 74 |
+
"--jobs-dir", str(output / "jobs"), "--job-name", control,
|
| 75 |
+
"--n-concurrent", "1", "--max-retries", "0",
|
| 76 |
+
]
|
| 77 |
+
row = {"control": control, "command": command}
|
| 78 |
+
with (output / f"{control}.log").open("w") as log:
|
| 79 |
+
process = subprocess.run(command, cwd=ROOT, env=env, stdout=log, stderr=subprocess.STDOUT)
|
| 80 |
+
row["return_code"] = process.returncode
|
| 81 |
+
rows.append(row)
|
| 82 |
+
write_json(output / "progress.json", {"runs": rows})
|
| 83 |
+
results = list((output / "jobs" / control).glob("*/result.json"))
|
| 84 |
+
if process.returncode or len(results) != 1:
|
| 85 |
+
raise RuntimeError(f"{control}: Harbor failed; retained job and process log")
|
| 86 |
+
trial = results[0].parent
|
| 87 |
+
raw = json.loads(results[0].read_text())
|
| 88 |
+
if raw["exception_info"] or raw["finished_at"] is None:
|
| 89 |
+
raise RuntimeError(f"{control}: Harbor has no completed valid trial")
|
| 90 |
+
from harbor.models.trajectories.trajectory import Trajectory
|
| 91 |
+
|
| 92 |
+
trajectory = trial / "agent/trajectory.json"
|
| 93 |
+
Trajectory.model_validate_json(trajectory.read_text())
|
| 94 |
+
candidate = trial / "artifacts/candidate"
|
| 95 |
+
report = import_harbor(
|
| 96 |
+
trial, candidate, output / "imports" / control, runtime, plan["evaluation_seeds"]
|
| 97 |
+
)
|
| 98 |
+
observed = json.loads(
|
| 99 |
+
json.loads(trajectory.read_text())["steps"][-1]["observation"]["results"][0]["content"]
|
| 100 |
+
)
|
| 101 |
+
produced = json.loads(observed["stdout"])
|
| 102 |
+
if (
|
| 103 |
+
produced["main.py"] != digest(candidate / "main.py")
|
| 104 |
+
or produced["answers.jsonl"] != digest(trial / "artifacts/answers.jsonl")
|
| 105 |
+
):
|
| 106 |
+
raise ValueError("collected artifacts differ from the container's final file hashes")
|
| 107 |
+
row["candidate_file_sha256"] = digest(candidate / "main.py")
|
| 108 |
+
row.update(
|
| 109 |
+
trial_path=trial.relative_to(output).as_posix(),
|
| 110 |
+
import_path=f"imports/{control}",
|
| 111 |
+
answers_sha256=digest(trial / "artifacts/answers.jsonl"),
|
| 112 |
+
source_result_sha256=digest(results[0]),
|
| 113 |
+
source_trajectory_sha256=digest(trajectory),
|
| 114 |
+
full_upstream_schema_validated=True,
|
| 115 |
+
upstream_rewards=report["upstream"]["rewards"],
|
| 116 |
+
independent=report["independent"],
|
| 117 |
+
acceptance=report["acceptance"],
|
| 118 |
+
)
|
| 119 |
+
write_json(output / "progress.json", {"runs": rows})
|
| 120 |
+
print(json.dumps({"control": control, "reward": row["upstream_rewards"],
|
| 121 |
+
"score": row["independent"]["score"],
|
| 122 |
+
"accepted": row["acceptance"]["accepted"]}), flush=True)
|
| 123 |
+
summary = {"schema": "evalarc.harbor-controls.v1", "plan": "plan.json", "runs": rows}
|
| 124 |
+
write_json(output / "summary.json", summary)
|
| 125 |
+
return summary
|
| 126 |
+
|
| 127 |
+
|
| 128 |
+
if __name__ == "__main__":
|
| 129 |
+
parser = argparse.ArgumentParser(description=__doc__)
|
| 130 |
+
parser.add_argument("--output", type=Path, required=True)
|
| 131 |
+
parser.add_argument("--harbor-command", default="harbor")
|
| 132 |
+
parser.add_argument("--docker-command", default="docker")
|
| 133 |
+
args = parser.parse_args()
|
| 134 |
+
record(args.output, args.harbor_command, args.docker_command)
|
harbor-controls/imports/clock-fault/evaluation.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
harbor-controls/imports/clock-fault/harbor-import.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "evalarc.harbor-import.v1",
|
| 3 |
+
"source": {
|
| 4 |
+
"result_sha256": "63b48e1cd63d24da71408c4820113fa874641739932695fa62fe6b8dbe556d90",
|
| 5 |
+
"trajectory_sha256": "1b3071d515c5ce465059d55909572904460beebf33ad9e0248c1eee8ba1fc41d",
|
| 6 |
+
"trial_name": "task__vMuY9HA",
|
| 7 |
+
"task_name": "noteflowai/robot-evidence-review"
|
| 8 |
+
},
|
| 9 |
+
"upstream": {
|
| 10 |
+
"rewards": {
|
| 11 |
+
"reward": 0.8
|
| 12 |
+
},
|
| 13 |
+
"exception": null,
|
| 14 |
+
"workflow_finished_at": "2026-09-19T02:59:42.658412Z",
|
| 15 |
+
"agent_completion": null
|
| 16 |
+
},
|
| 17 |
+
"trajectory": {
|
| 18 |
+
"version": "ATIF-v1.8",
|
| 19 |
+
"agent": "evalarc-scripted-control",
|
| 20 |
+
"steps": 5,
|
| 21 |
+
"tool_calls": 4,
|
| 22 |
+
"validation": "bounded-envelope-and-tool-linkage",
|
| 23 |
+
"full_upstream_schema_validated": false
|
| 24 |
+
},
|
| 25 |
+
"independent": {
|
| 26 |
+
"evaluation": "evaluation.json",
|
| 27 |
+
"candidate_sha256": "cd010948f452fd7c835911291502258fc93dcc3d8b039a7be73e335635ee776a",
|
| 28 |
+
"candidate_selection": "explicit caller-supplied directory",
|
| 29 |
+
"valid": true,
|
| 30 |
+
"resolved": false,
|
| 31 |
+
"score": 0.8,
|
| 32 |
+
"status": "failed"
|
| 33 |
+
},
|
| 34 |
+
"acceptance": {
|
| 35 |
+
"minimum_independent_score": 1.0,
|
| 36 |
+
"requires_valid_independent_evaluation": true,
|
| 37 |
+
"requires_upstream_reward": false,
|
| 38 |
+
"accepted": false
|
| 39 |
+
},
|
| 40 |
+
"scope": "Upstream rewards are imported claims. Acceptance uses the explicitly configured independent score threshold; resolved means every independent case passed. A finished Harbor workflow does not establish agent completion. ATIF inspection validates envelope and tool linkage, not the full upstream schema. The caller selects the candidate; source report metadata cannot establish that it is the same program used in the upstream run."
|
| 41 |
+
}
|
harbor-controls/imports/clock-fault/source-result.json
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"id": "d709b9c2-64f8-4267-9cc5-2bf13be383b1",
|
| 3 |
+
"task_name": "noteflowai/robot-evidence-review",
|
| 4 |
+
"trial_name": "task__vMuY9HA",
|
| 5 |
+
"trial_uri": "file:///home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-20260919/harbor-controls-2/jobs/clock-fault/task__vMuY9HA",
|
| 6 |
+
"task_id": {
|
| 7 |
+
"path": "/home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-20260919/harbor-controls-2/task"
|
| 8 |
+
},
|
| 9 |
+
"source": null,
|
| 10 |
+
"task_checksum": "756d31d68583c134bb94069b1b8383aa23e8a861669a0a5b8c2f4488016a8556",
|
| 11 |
+
"config": {
|
| 12 |
+
"task": {
|
| 13 |
+
"path": "/home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-20260919/harbor-controls-2/task",
|
| 14 |
+
"git_url": null,
|
| 15 |
+
"git_commit_id": null,
|
| 16 |
+
"name": null,
|
| 17 |
+
"ref": null,
|
| 18 |
+
"overwrite": false,
|
| 19 |
+
"download_dir": null,
|
| 20 |
+
"source": null
|
| 21 |
+
},
|
| 22 |
+
"trial_name": "task__vMuY9HA",
|
| 23 |
+
"trials_dir": "/home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-20260919/harbor-controls-2/jobs/clock-fault",
|
| 24 |
+
"install_only": false,
|
| 25 |
+
"timeout_multiplier": 1.0,
|
| 26 |
+
"agent_timeout_multiplier": null,
|
| 27 |
+
"verifier_timeout_multiplier": null,
|
| 28 |
+
"agent_setup_timeout_multiplier": null,
|
| 29 |
+
"environment_build_timeout_multiplier": null,
|
| 30 |
+
"agent": {
|
| 31 |
+
"name": "scripts.harbor_control_agent:ControlAgent",
|
| 32 |
+
"import_path": null,
|
| 33 |
+
"model_name": null,
|
| 34 |
+
"n_concurrent": null,
|
| 35 |
+
"concurrency_group": null,
|
| 36 |
+
"skills": [],
|
| 37 |
+
"override_timeout_sec": null,
|
| 38 |
+
"override_setup_timeout_sec": null,
|
| 39 |
+
"max_timeout_sec": null,
|
| 40 |
+
"resume_trajectory": false,
|
| 41 |
+
"load_trajectory": null,
|
| 42 |
+
"extra_allowed_hosts": [],
|
| 43 |
+
"kwargs": {
|
| 44 |
+
"control": "clock-fault"
|
| 45 |
+
},
|
| 46 |
+
"mcp_servers": []
|
| 47 |
+
},
|
| 48 |
+
"user_agent": null,
|
| 49 |
+
"environment": {
|
| 50 |
+
"type": "docker",
|
| 51 |
+
"import_path": null,
|
| 52 |
+
"force_build": false,
|
| 53 |
+
"delete": true,
|
| 54 |
+
"cpu_enforcement_policy": "auto",
|
| 55 |
+
"memory_enforcement_policy": "auto",
|
| 56 |
+
"override_cpus": null,
|
| 57 |
+
"override_memory_mb": null,
|
| 58 |
+
"override_storage_mb": null,
|
| 59 |
+
"override_gpus": null,
|
| 60 |
+
"override_tpu": null,
|
| 61 |
+
"mounts": null,
|
| 62 |
+
"extra_docker_compose": [],
|
| 63 |
+
"kwargs": {},
|
| 64 |
+
"extra_allowed_hosts": []
|
| 65 |
+
},
|
| 66 |
+
"verifier": {
|
| 67 |
+
"override_timeout_sec": null,
|
| 68 |
+
"max_timeout_sec": null,
|
| 69 |
+
"disable": false
|
| 70 |
+
},
|
| 71 |
+
"artifacts": [],
|
| 72 |
+
"extra_instruction_paths": [],
|
| 73 |
+
"extra_instructions": [],
|
| 74 |
+
"job_id": "e129c33c-d32f-45f6-bbf3-11ce10465e14",
|
| 75 |
+
"source_trial": null
|
| 76 |
+
},
|
| 77 |
+
"agent_info": {
|
| 78 |
+
"name": "evalarc-scripted-control",
|
| 79 |
+
"version": "1.0.0",
|
| 80 |
+
"model_info": null
|
| 81 |
+
},
|
| 82 |
+
"agent_result": {
|
| 83 |
+
"n_input_tokens": null,
|
| 84 |
+
"n_cache_tokens": null,
|
| 85 |
+
"n_output_tokens": null,
|
| 86 |
+
"cost_usd": null,
|
| 87 |
+
"model_usage": null,
|
| 88 |
+
"rollout_details": null,
|
| 89 |
+
"metadata": {
|
| 90 |
+
"control": "clock-fault",
|
| 91 |
+
"scripted": true,
|
| 92 |
+
"model_inference": false
|
| 93 |
+
}
|
| 94 |
+
},
|
| 95 |
+
"verifier_result": {
|
| 96 |
+
"rewards": {
|
| 97 |
+
"reward": 0.8
|
| 98 |
+
}
|
| 99 |
+
},
|
| 100 |
+
"verifier_environment_mode": "separate",
|
| 101 |
+
"exception_info": null,
|
| 102 |
+
"started_at": "2026-09-19T02:59:07.723782Z",
|
| 103 |
+
"finished_at": "2026-09-19T02:59:42.658412Z",
|
| 104 |
+
"environment_setup": {
|
| 105 |
+
"started_at": "2026-09-19T02:59:07.768749Z",
|
| 106 |
+
"finished_at": "2026-09-19T02:59:12.826240Z"
|
| 107 |
+
},
|
| 108 |
+
"agent_setup": {
|
| 109 |
+
"started_at": "2026-09-19T02:59:12.826295Z",
|
| 110 |
+
"finished_at": "2026-09-19T02:59:12.826356Z"
|
| 111 |
+
},
|
| 112 |
+
"agent_execution": {
|
| 113 |
+
"started_at": "2026-09-19T02:59:12.826434Z",
|
| 114 |
+
"finished_at": "2026-09-19T02:59:13.728455Z"
|
| 115 |
+
},
|
| 116 |
+
"verifier": {
|
| 117 |
+
"started_at": "2026-09-19T02:59:25.522962Z",
|
| 118 |
+
"finished_at": "2026-09-19T02:59:42.658398Z"
|
| 119 |
+
},
|
| 120 |
+
"step_results": null
|
| 121 |
+
}
|
harbor-controls/imports/clock-fault/source-trajectory.json
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "ATIF-v1.8",
|
| 3 |
+
"session_id": "task__vMuY9HA__agent",
|
| 4 |
+
"agent": {
|
| 5 |
+
"name": "evalarc-scripted-control",
|
| 6 |
+
"version": "1.0.0",
|
| 7 |
+
"extra": {
|
| 8 |
+
"control": "clock-fault",
|
| 9 |
+
"model_inference": false
|
| 10 |
+
}
|
| 11 |
+
},
|
| 12 |
+
"steps": [
|
| 13 |
+
{
|
| 14 |
+
"step_id": 1,
|
| 15 |
+
"source": "user",
|
| 16 |
+
"message": "# Robot recording evidence review\n\nImplement a JSON-lines service that reviews recorded positions and velocities.\nEach stdin line is one request. Write exactly one JSON response per request to\nstdout; diagnostics belong on stderr. Exit cleanly when stdin reaches EOF.\n\nThe input contains an `op` of `review`, a `query_frame`, and a `recording`:\n\n- `source.sha256` identifies the original recorded file. Preserve it in the report.\n- `metadata.expected_frames` lists every frame that should be present.\n- `metadata.world_from_sensor` describes the coordinate convention.\n For world component `j`, take sensor component `axes[j]`, multiply by\n `signs[j]` and `meters_per_unit`, then add `origin_m[j]` for positions.\n Velocities use the same axis/sign/unit mapping without translation.\n- `metadata.clock` defines elapsed seconds as\n `(tick - origin_tick) * seconds_per_tick`.\n- `metadata.analytic` gives initial position, initial velocity and constant\n acceleration in world metres and seconds.\n- `observations` contains objects with `frame`, `tick`, `position`, and `velocity`.\n Input order is arbitrary. Some expected frames may be absent. The queried frame\n is present. Do not interpolate absent observations.\n\nReturn exactly `{\"ok\": true, \"report\": {...}}`. The report contains these fields:\n\n| Field | Required value |\n| --- | --- |\n| `source_sha256` | The provided original source digest |\n| `frame` | The requested integer frame |\n| `time_seconds` | Its elapsed time, after clock conversion |\n| `position_m` | Its three world-coordinate position components |\n| `speed_m_s` | Euclidean magnitude of its world velocity |\n| `max_position_error_m` | Maximum Euclidean position error across **available** observations against `p0 + v0*t + 0.5*g*t*t` |\n| `peak_frame` | Available frame with greatest world z; choose the lowest frame number on an exact tie |\n| `peak_height_m` | That frame's world z position |\n| `missing_frames` | Sorted list of expected but absent integer frames |\n\nUse JSON numbers for numerical values, never Boolean substitutes, NaN or Infinity.\nChecks allow absolute numerical error up to 1e-6 or relative error up to 1e-7.\nDo not infer metres, seconds, axis order, or completeness from filenames.\n\nThese inputs are derived representations of six real CUDA recordings published\nby Robot Reel. Unit, coordinate, clock and omission variants are generated for this\npublic development task. They are not new physical experiments or hidden test data.\nReporting a source digest provides attribution; it does not authenticate the\noriginal recording's producer.\n\n## Deliverables\n\nImplement `/workspace/main.py`. Run it on `/workspace/requests.jsonl` and write exactly one answer per request, in input order, to `/workspace/answers.jsonl`. Deliver both files. Python's standard library is available and the environment has no network.\n\nA fresh verifier container checks the answer data. The downloadable main.py can additionally be independently executed by EvalArc; Harbor reward alone does not prove that the program produced the answers.\n\nThis task version reports weighted partial credit for the answer data. Full completion still requires every check to pass. Weights: provenance 0.10, coordinates 0.25, clock 0.15, metrics 0.25, completeness 0.15, protocol 0.10. The independent program acceptance threshold is 1.0.\n"
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"step_id": 2,
|
| 20 |
+
"source": "agent",
|
| 21 |
+
"timestamp": "2026-09-19T02:59:12.827402+00:00",
|
| 22 |
+
"message": "Execute scripted clock-fault control step.",
|
| 23 |
+
"tool_calls": [
|
| 24 |
+
{
|
| 25 |
+
"tool_call_id": "exec-2",
|
| 26 |
+
"function_name": "environment.exec",
|
| 27 |
+
"arguments": {
|
| 28 |
+
"command": "python3 -c 'import json, os; from pathlib import Path; print(json.dumps({'\"'\"'uid'\"'\"': os.getuid(), '\"'\"'cwd'\"'\"': os.getcwd(), '\"'\"'network_interfaces'\"'\"': sorted(p.name for p in Path('\"'\"'/sys/class/net'\"'\"').iterdir())})); assert os.getuid() != 0'",
|
| 29 |
+
"cwd": "/workspace",
|
| 30 |
+
"timeout_sec": 30
|
| 31 |
+
}
|
| 32 |
+
}
|
| 33 |
+
],
|
| 34 |
+
"observation": {
|
| 35 |
+
"results": [
|
| 36 |
+
{
|
| 37 |
+
"source_call_id": "exec-2",
|
| 38 |
+
"content": "{\"return_code\": 0, \"stdout\": \"{\\\"uid\\\": 65534, \\\"cwd\\\": \\\"/workspace\\\", \\\"network_interfaces\\\": [\\\"eth0\\\", \\\"lo\\\"]}\\n\", \"stderr\": null}"
|
| 39 |
+
}
|
| 40 |
+
]
|
| 41 |
+
}
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"step_id": 3,
|
| 45 |
+
"source": "agent",
|
| 46 |
+
"timestamp": "2026-09-19T02:59:13.055482+00:00",
|
| 47 |
+
"message": "Execute scripted clock-fault control step.",
|
| 48 |
+
"tool_calls": [
|
| 49 |
+
{
|
| 50 |
+
"tool_call_id": "exec-3",
|
| 51 |
+
"function_name": "environment.exec",
|
| 52 |
+
"arguments": {
|
| 53 |
+
"command": "python3 -c 'from pathlib import Path; Path('\"'\"'main.py'\"'\"').write_text('\"'\"'\"\"\"Independent Python implementation of the public recording-review contract.\"\"\"\\n\\nimport json\\nimport math\\nimport sys\\n\\nUSE_UNITS = True\\nUSE_ORIGIN = True\\nUSE_CLOCK = False\\nCHECK_MISSING = True\\nFIND_PEAK = True\\nPRESERVE_SOURCE = True\\n\\n\\ndef review(request):\\n recording = request[\"recording\"]\\n metadata = recording[\"metadata\"]\\n mapping = metadata[\"world_from_sensor\"]\\n clock = metadata[\"clock\"]\\n scale = mapping[\"meters_per_unit\"] if USE_UNITS else 1\\n converted = []\\n for sample in recording[\"observations\"]:\\n p, v = [], []\\n for axis, sign, origin in zip(mapping[\"axes\"], mapping[\"signs\"], mapping[\"origin_m\"]):\\n p.append(sample[\"position\"][axis] * sign * scale + (origin if USE_ORIGIN else 0))\\n v.append(sample[\"velocity\"][axis] * sign * scale)\\n t = (sample[\"tick\"] - clock[\"origin_tick\"]) * clock[\"seconds_per_tick\"]\\n if not USE_CLOCK:\\n t = sample[\"tick\"]\\n converted.append({\"frame\": sample[\"frame\"], \"position\": p, \"velocity\": v, \"time\": t})\\n query = next(row for row in converted if row[\"frame\"] == request[\"query_frame\"])\\n analytic = metadata[\"analytic\"]\\n errors = []\\n for row in converted:\\n ideal = [\\n analytic[\"position0_m\"][axis]\\n + analytic[\"velocity0_m_s\"][axis] * row[\"time\"]\\n + analytic[\"gravity_m_s2\"][axis] * row[\"time\"] ** 2 / 2\\n for axis in range(3)\\n ]\\n errors.append(math.sqrt(sum((a - b) ** 2 for a, b in zip(ideal, row[\"position\"]))))\\n peak = sorted(converted, key=lambda row: (-row[\"position\"][2], row[\"frame\"]))[0]\\n if not FIND_PEAK:\\n peak = max(converted, key=lambda row: row[\"frame\"])\\n seen = {row[\"frame\"] for row in converted}\\n return {\\n \"source_sha256\": recording[\"source\"][\"sha256\"] if PRESERVE_SOURCE else \"0\" * 64,\\n \"frame\": query[\"frame\"],\\n \"time_seconds\": query[\"time\"],\\n \"position_m\": query[\"position\"],\\n \"speed_m_s\": math.sqrt(sum(value * value for value in query[\"velocity\"])),\\n \"max_position_error_m\": max(errors),\\n \"peak_frame\": peak[\"frame\"],\\n \"peak_height_m\": peak[\"position\"][2],\\n \"missing_frames\": sorted(set(metadata[\"expected_frames\"]) - seen) if CHECK_MISSING else [],\\n }\\n\\n\\nfor line in sys.stdin:\\n print(json.dumps({\"ok\": True, \"report\": review(json.loads(line))}, allow_nan=False), flush=True)\\n'\"'\"')'",
|
| 54 |
+
"cwd": "/workspace",
|
| 55 |
+
"timeout_sec": 30
|
| 56 |
+
}
|
| 57 |
+
}
|
| 58 |
+
],
|
| 59 |
+
"observation": {
|
| 60 |
+
"results": [
|
| 61 |
+
{
|
| 62 |
+
"source_call_id": "exec-3",
|
| 63 |
+
"content": "{\"return_code\": 0, \"stdout\": null, \"stderr\": null}"
|
| 64 |
+
}
|
| 65 |
+
]
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"step_id": 4,
|
| 70 |
+
"source": "agent",
|
| 71 |
+
"timestamp": "2026-09-19T02:59:13.287351+00:00",
|
| 72 |
+
"message": "Execute scripted clock-fault control step.",
|
| 73 |
+
"tool_calls": [
|
| 74 |
+
{
|
| 75 |
+
"tool_call_id": "exec-4",
|
| 76 |
+
"function_name": "environment.exec",
|
| 77 |
+
"arguments": {
|
| 78 |
+
"command": "python3 -I -B /workspace/main.py < /workspace/requests.jsonl > /workspace/answers.jsonl",
|
| 79 |
+
"cwd": "/workspace",
|
| 80 |
+
"timeout_sec": 30
|
| 81 |
+
}
|
| 82 |
+
}
|
| 83 |
+
],
|
| 84 |
+
"observation": {
|
| 85 |
+
"results": [
|
| 86 |
+
{
|
| 87 |
+
"source_call_id": "exec-4",
|
| 88 |
+
"content": "{\"return_code\": 0, \"stdout\": null, \"stderr\": null}"
|
| 89 |
+
}
|
| 90 |
+
]
|
| 91 |
+
}
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"step_id": 5,
|
| 95 |
+
"source": "agent",
|
| 96 |
+
"timestamp": "2026-09-19T02:59:13.491172+00:00",
|
| 97 |
+
"message": "Execute scripted clock-fault control step.",
|
| 98 |
+
"tool_calls": [
|
| 99 |
+
{
|
| 100 |
+
"tool_call_id": "exec-5",
|
| 101 |
+
"function_name": "environment.exec",
|
| 102 |
+
"arguments": {
|
| 103 |
+
"command": "python3 -c 'import hashlib, json; from pathlib import Path; print(json.dumps({name: hashlib.sha256(Path(name).read_bytes()).hexdigest() for name in ('\"'\"'main.py'\"'\"', '\"'\"'answers.jsonl'\"'\"')}))'",
|
| 104 |
+
"cwd": "/workspace",
|
| 105 |
+
"timeout_sec": 30
|
| 106 |
+
}
|
| 107 |
+
}
|
| 108 |
+
],
|
| 109 |
+
"observation": {
|
| 110 |
+
"results": [
|
| 111 |
+
{
|
| 112 |
+
"source_call_id": "exec-5",
|
| 113 |
+
"content": "{\"return_code\": 0, \"stdout\": \"{\\\"main.py\\\": \\\"e384f31a3702185e69bd42fcca74e4e4a2557ba460984598376082fe5f5f3ee1\\\", \\\"answers.jsonl\\\": \\\"7983a4f7fb70d7efcbbbe4256925e8083ba57bb8b128e3d1dd77c5ae83f4221c\\\"}\\n\", \"stderr\": null}"
|
| 114 |
+
}
|
| 115 |
+
]
|
| 116 |
+
}
|
| 117 |
+
}
|
| 118 |
+
],
|
| 119 |
+
"notes": "Actual Harbor container executions of a declared scripted control. Programs are provided fixtures, not model-generated solutions.",
|
| 120 |
+
"extra": {
|
| 121 |
+
"control": "clock-fault",
|
| 122 |
+
"reference_sha256": "42ba09f8896bd11aae872d1f45bb240333bc577f19010bf0480106b0b73ff7af"
|
| 123 |
+
}
|
| 124 |
+
}
|
harbor-controls/imports/detached-answers/evaluation.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
harbor-controls/imports/detached-answers/harbor-import.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "evalarc.harbor-import.v1",
|
| 3 |
+
"source": {
|
| 4 |
+
"result_sha256": "84f92a6f75777f184a81c56b5ebcf42a84a8ecf2f6edf925fe0d39443cb471ec",
|
| 5 |
+
"trajectory_sha256": "2bd1f24b0c90a8bf6b4e456f352242c9c5bce4a4ee8f8eef2d1681235d528c14",
|
| 6 |
+
"trial_name": "task__v4kEuZQ",
|
| 7 |
+
"task_name": "noteflowai/robot-evidence-review"
|
| 8 |
+
},
|
| 9 |
+
"upstream": {
|
| 10 |
+
"rewards": {
|
| 11 |
+
"reward": 1.0
|
| 12 |
+
},
|
| 13 |
+
"exception": null,
|
| 14 |
+
"workflow_finished_at": "2026-09-19T03:00:26.351299Z",
|
| 15 |
+
"agent_completion": null
|
| 16 |
+
},
|
| 17 |
+
"trajectory": {
|
| 18 |
+
"version": "ATIF-v1.8",
|
| 19 |
+
"agent": "evalarc-scripted-control",
|
| 20 |
+
"steps": 6,
|
| 21 |
+
"tool_calls": 5,
|
| 22 |
+
"validation": "bounded-envelope-and-tool-linkage",
|
| 23 |
+
"full_upstream_schema_validated": false
|
| 24 |
+
},
|
| 25 |
+
"independent": {
|
| 26 |
+
"evaluation": "evaluation.json",
|
| 27 |
+
"candidate_sha256": "cd010948f452fd7c835911291502258fc93dcc3d8b039a7be73e335635ee776a",
|
| 28 |
+
"candidate_selection": "explicit caller-supplied directory",
|
| 29 |
+
"valid": true,
|
| 30 |
+
"resolved": false,
|
| 31 |
+
"score": 0.8,
|
| 32 |
+
"status": "failed"
|
| 33 |
+
},
|
| 34 |
+
"acceptance": {
|
| 35 |
+
"minimum_independent_score": 1.0,
|
| 36 |
+
"requires_valid_independent_evaluation": true,
|
| 37 |
+
"requires_upstream_reward": false,
|
| 38 |
+
"accepted": false
|
| 39 |
+
},
|
| 40 |
+
"scope": "Upstream rewards are imported claims. Acceptance uses the explicitly configured independent score threshold; resolved means every independent case passed. A finished Harbor workflow does not establish agent completion. ATIF inspection validates envelope and tool linkage, not the full upstream schema. The caller selects the candidate; source report metadata cannot establish that it is the same program used in the upstream run."
|
| 41 |
+
}
|
harbor-controls/imports/detached-answers/source-result.json
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"id": "75396829-d9a3-45ca-a4fb-417078c89787",
|
| 3 |
+
"task_name": "noteflowai/robot-evidence-review",
|
| 4 |
+
"trial_name": "task__v4kEuZQ",
|
| 5 |
+
"trial_uri": "file:///home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-20260919/harbor-controls-2/jobs/detached-answers/task__v4kEuZQ",
|
| 6 |
+
"task_id": {
|
| 7 |
+
"path": "/home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-20260919/harbor-controls-2/task"
|
| 8 |
+
},
|
| 9 |
+
"source": null,
|
| 10 |
+
"task_checksum": "756d31d68583c134bb94069b1b8383aa23e8a861669a0a5b8c2f4488016a8556",
|
| 11 |
+
"config": {
|
| 12 |
+
"task": {
|
| 13 |
+
"path": "/home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-20260919/harbor-controls-2/task",
|
| 14 |
+
"git_url": null,
|
| 15 |
+
"git_commit_id": null,
|
| 16 |
+
"name": null,
|
| 17 |
+
"ref": null,
|
| 18 |
+
"overwrite": false,
|
| 19 |
+
"download_dir": null,
|
| 20 |
+
"source": null
|
| 21 |
+
},
|
| 22 |
+
"trial_name": "task__v4kEuZQ",
|
| 23 |
+
"trials_dir": "/home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-20260919/harbor-controls-2/jobs/detached-answers",
|
| 24 |
+
"install_only": false,
|
| 25 |
+
"timeout_multiplier": 1.0,
|
| 26 |
+
"agent_timeout_multiplier": null,
|
| 27 |
+
"verifier_timeout_multiplier": null,
|
| 28 |
+
"agent_setup_timeout_multiplier": null,
|
| 29 |
+
"environment_build_timeout_multiplier": null,
|
| 30 |
+
"agent": {
|
| 31 |
+
"name": "scripts.harbor_control_agent:ControlAgent",
|
| 32 |
+
"import_path": null,
|
| 33 |
+
"model_name": null,
|
| 34 |
+
"n_concurrent": null,
|
| 35 |
+
"concurrency_group": null,
|
| 36 |
+
"skills": [],
|
| 37 |
+
"override_timeout_sec": null,
|
| 38 |
+
"override_setup_timeout_sec": null,
|
| 39 |
+
"max_timeout_sec": null,
|
| 40 |
+
"resume_trajectory": false,
|
| 41 |
+
"load_trajectory": null,
|
| 42 |
+
"extra_allowed_hosts": [],
|
| 43 |
+
"kwargs": {
|
| 44 |
+
"control": "detached-answers"
|
| 45 |
+
},
|
| 46 |
+
"mcp_servers": []
|
| 47 |
+
},
|
| 48 |
+
"user_agent": null,
|
| 49 |
+
"environment": {
|
| 50 |
+
"type": "docker",
|
| 51 |
+
"import_path": null,
|
| 52 |
+
"force_build": false,
|
| 53 |
+
"delete": true,
|
| 54 |
+
"cpu_enforcement_policy": "auto",
|
| 55 |
+
"memory_enforcement_policy": "auto",
|
| 56 |
+
"override_cpus": null,
|
| 57 |
+
"override_memory_mb": null,
|
| 58 |
+
"override_storage_mb": null,
|
| 59 |
+
"override_gpus": null,
|
| 60 |
+
"override_tpu": null,
|
| 61 |
+
"mounts": null,
|
| 62 |
+
"extra_docker_compose": [],
|
| 63 |
+
"kwargs": {},
|
| 64 |
+
"extra_allowed_hosts": []
|
| 65 |
+
},
|
| 66 |
+
"verifier": {
|
| 67 |
+
"override_timeout_sec": null,
|
| 68 |
+
"max_timeout_sec": null,
|
| 69 |
+
"disable": false
|
| 70 |
+
},
|
| 71 |
+
"artifacts": [],
|
| 72 |
+
"extra_instruction_paths": [],
|
| 73 |
+
"extra_instructions": [],
|
| 74 |
+
"job_id": "74326206-1df1-45e4-af06-327ffefdbb86",
|
| 75 |
+
"source_trial": null
|
| 76 |
+
},
|
| 77 |
+
"agent_info": {
|
| 78 |
+
"name": "evalarc-scripted-control",
|
| 79 |
+
"version": "1.0.0",
|
| 80 |
+
"model_info": null
|
| 81 |
+
},
|
| 82 |
+
"agent_result": {
|
| 83 |
+
"n_input_tokens": null,
|
| 84 |
+
"n_cache_tokens": null,
|
| 85 |
+
"n_output_tokens": null,
|
| 86 |
+
"cost_usd": null,
|
| 87 |
+
"model_usage": null,
|
| 88 |
+
"rollout_details": null,
|
| 89 |
+
"metadata": {
|
| 90 |
+
"control": "detached-answers",
|
| 91 |
+
"scripted": true,
|
| 92 |
+
"model_inference": false
|
| 93 |
+
}
|
| 94 |
+
},
|
| 95 |
+
"verifier_result": {
|
| 96 |
+
"rewards": {
|
| 97 |
+
"reward": 1.0
|
| 98 |
+
}
|
| 99 |
+
},
|
| 100 |
+
"verifier_environment_mode": "separate",
|
| 101 |
+
"exception_info": null,
|
| 102 |
+
"started_at": "2026-09-19T02:59:51.160397Z",
|
| 103 |
+
"finished_at": "2026-09-19T03:00:26.351299Z",
|
| 104 |
+
"environment_setup": {
|
| 105 |
+
"started_at": "2026-09-19T02:59:51.207390Z",
|
| 106 |
+
"finished_at": "2026-09-19T02:59:56.273344Z"
|
| 107 |
+
},
|
| 108 |
+
"agent_setup": {
|
| 109 |
+
"started_at": "2026-09-19T02:59:56.273398Z",
|
| 110 |
+
"finished_at": "2026-09-19T02:59:56.273457Z"
|
| 111 |
+
},
|
| 112 |
+
"agent_execution": {
|
| 113 |
+
"started_at": "2026-09-19T02:59:56.273544Z",
|
| 114 |
+
"finished_at": "2026-09-19T02:59:57.397994Z"
|
| 115 |
+
},
|
| 116 |
+
"verifier": {
|
| 117 |
+
"started_at": "2026-09-19T03:00:09.198292Z",
|
| 118 |
+
"finished_at": "2026-09-19T03:00:26.351285Z"
|
| 119 |
+
},
|
| 120 |
+
"step_results": null
|
| 121 |
+
}
|
harbor-controls/imports/detached-answers/source-trajectory.json
ADDED
|
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "ATIF-v1.8",
|
| 3 |
+
"session_id": "task__v4kEuZQ__agent",
|
| 4 |
+
"agent": {
|
| 5 |
+
"name": "evalarc-scripted-control",
|
| 6 |
+
"version": "1.0.0",
|
| 7 |
+
"extra": {
|
| 8 |
+
"control": "detached-answers",
|
| 9 |
+
"model_inference": false
|
| 10 |
+
}
|
| 11 |
+
},
|
| 12 |
+
"steps": [
|
| 13 |
+
{
|
| 14 |
+
"step_id": 1,
|
| 15 |
+
"source": "user",
|
| 16 |
+
"message": "# Robot recording evidence review\n\nImplement a JSON-lines service that reviews recorded positions and velocities.\nEach stdin line is one request. Write exactly one JSON response per request to\nstdout; diagnostics belong on stderr. Exit cleanly when stdin reaches EOF.\n\nThe input contains an `op` of `review`, a `query_frame`, and a `recording`:\n\n- `source.sha256` identifies the original recorded file. Preserve it in the report.\n- `metadata.expected_frames` lists every frame that should be present.\n- `metadata.world_from_sensor` describes the coordinate convention.\n For world component `j`, take sensor component `axes[j]`, multiply by\n `signs[j]` and `meters_per_unit`, then add `origin_m[j]` for positions.\n Velocities use the same axis/sign/unit mapping without translation.\n- `metadata.clock` defines elapsed seconds as\n `(tick - origin_tick) * seconds_per_tick`.\n- `metadata.analytic` gives initial position, initial velocity and constant\n acceleration in world metres and seconds.\n- `observations` contains objects with `frame`, `tick`, `position`, and `velocity`.\n Input order is arbitrary. Some expected frames may be absent. The queried frame\n is present. Do not interpolate absent observations.\n\nReturn exactly `{\"ok\": true, \"report\": {...}}`. The report contains these fields:\n\n| Field | Required value |\n| --- | --- |\n| `source_sha256` | The provided original source digest |\n| `frame` | The requested integer frame |\n| `time_seconds` | Its elapsed time, after clock conversion |\n| `position_m` | Its three world-coordinate position components |\n| `speed_m_s` | Euclidean magnitude of its world velocity |\n| `max_position_error_m` | Maximum Euclidean position error across **available** observations against `p0 + v0*t + 0.5*g*t*t` |\n| `peak_frame` | Available frame with greatest world z; choose the lowest frame number on an exact tie |\n| `peak_height_m` | That frame's world z position |\n| `missing_frames` | Sorted list of expected but absent integer frames |\n\nUse JSON numbers for numerical values, never Boolean substitutes, NaN or Infinity.\nChecks allow absolute numerical error up to 1e-6 or relative error up to 1e-7.\nDo not infer metres, seconds, axis order, or completeness from filenames.\n\nThese inputs are derived representations of six real CUDA recordings published\nby Robot Reel. Unit, coordinate, clock and omission variants are generated for this\npublic development task. They are not new physical experiments or hidden test data.\nReporting a source digest provides attribution; it does not authenticate the\noriginal recording's producer.\n\n## Deliverables\n\nImplement `/workspace/main.py`. Run it on `/workspace/requests.jsonl` and write exactly one answer per request, in input order, to `/workspace/answers.jsonl`. Deliver both files. Python's standard library is available and the environment has no network.\n\nA fresh verifier container checks the answer data. The downloadable main.py can additionally be independently executed by EvalArc; Harbor reward alone does not prove that the program produced the answers.\n\nThis task version reports weighted partial credit for the answer data. Full completion still requires every check to pass. Weights: provenance 0.10, coordinates 0.25, clock 0.15, metrics 0.25, completeness 0.15, protocol 0.10. The independent program acceptance threshold is 1.0.\n"
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"step_id": 2,
|
| 20 |
+
"source": "agent",
|
| 21 |
+
"timestamp": "2026-09-19T02:59:56.274551+00:00",
|
| 22 |
+
"message": "Execute scripted detached-answers control step.",
|
| 23 |
+
"tool_calls": [
|
| 24 |
+
{
|
| 25 |
+
"tool_call_id": "exec-2",
|
| 26 |
+
"function_name": "environment.exec",
|
| 27 |
+
"arguments": {
|
| 28 |
+
"command": "python3 -c 'import json, os; from pathlib import Path; print(json.dumps({'\"'\"'uid'\"'\"': os.getuid(), '\"'\"'cwd'\"'\"': os.getcwd(), '\"'\"'network_interfaces'\"'\"': sorted(p.name for p in Path('\"'\"'/sys/class/net'\"'\"').iterdir())})); assert os.getuid() != 0'",
|
| 29 |
+
"cwd": "/workspace",
|
| 30 |
+
"timeout_sec": 30
|
| 31 |
+
}
|
| 32 |
+
}
|
| 33 |
+
],
|
| 34 |
+
"observation": {
|
| 35 |
+
"results": [
|
| 36 |
+
{
|
| 37 |
+
"source_call_id": "exec-2",
|
| 38 |
+
"content": "{\"return_code\": 0, \"stdout\": \"{\\\"uid\\\": 65534, \\\"cwd\\\": \\\"/workspace\\\", \\\"network_interfaces\\\": [\\\"eth0\\\", \\\"lo\\\"]}\\n\", \"stderr\": null}"
|
| 39 |
+
}
|
| 40 |
+
]
|
| 41 |
+
}
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"step_id": 3,
|
| 45 |
+
"source": "agent",
|
| 46 |
+
"timestamp": "2026-09-19T02:59:56.496481+00:00",
|
| 47 |
+
"message": "Execute scripted detached-answers control step.",
|
| 48 |
+
"tool_calls": [
|
| 49 |
+
{
|
| 50 |
+
"tool_call_id": "exec-3",
|
| 51 |
+
"function_name": "environment.exec",
|
| 52 |
+
"arguments": {
|
| 53 |
+
"command": "python3 -c 'from pathlib import Path; Path('\"'\"'main.py'\"'\"').write_text('\"'\"'\"\"\"Independent Python implementation of the public recording-review contract.\"\"\"\\n\\nimport json\\nimport math\\nimport sys\\n\\nUSE_UNITS = True\\nUSE_ORIGIN = True\\nUSE_CLOCK = True\\nCHECK_MISSING = True\\nFIND_PEAK = True\\nPRESERVE_SOURCE = True\\n\\n\\ndef review(request):\\n recording = request[\"recording\"]\\n metadata = recording[\"metadata\"]\\n mapping = metadata[\"world_from_sensor\"]\\n clock = metadata[\"clock\"]\\n scale = mapping[\"meters_per_unit\"] if USE_UNITS else 1\\n converted = []\\n for sample in recording[\"observations\"]:\\n p, v = [], []\\n for axis, sign, origin in zip(mapping[\"axes\"], mapping[\"signs\"], mapping[\"origin_m\"]):\\n p.append(sample[\"position\"][axis] * sign * scale + (origin if USE_ORIGIN else 0))\\n v.append(sample[\"velocity\"][axis] * sign * scale)\\n t = (sample[\"tick\"] - clock[\"origin_tick\"]) * clock[\"seconds_per_tick\"]\\n if not USE_CLOCK:\\n t = sample[\"tick\"]\\n converted.append({\"frame\": sample[\"frame\"], \"position\": p, \"velocity\": v, \"time\": t})\\n query = next(row for row in converted if row[\"frame\"] == request[\"query_frame\"])\\n analytic = metadata[\"analytic\"]\\n errors = []\\n for row in converted:\\n ideal = [\\n analytic[\"position0_m\"][axis]\\n + analytic[\"velocity0_m_s\"][axis] * row[\"time\"]\\n + analytic[\"gravity_m_s2\"][axis] * row[\"time\"] ** 2 / 2\\n for axis in range(3)\\n ]\\n errors.append(math.sqrt(sum((a - b) ** 2 for a, b in zip(ideal, row[\"position\"]))))\\n peak = sorted(converted, key=lambda row: (-row[\"position\"][2], row[\"frame\"]))[0]\\n if not FIND_PEAK:\\n peak = max(converted, key=lambda row: row[\"frame\"])\\n seen = {row[\"frame\"] for row in converted}\\n return {\\n \"source_sha256\": recording[\"source\"][\"sha256\"] if PRESERVE_SOURCE else \"0\" * 64,\\n \"frame\": query[\"frame\"],\\n \"time_seconds\": query[\"time\"],\\n \"position_m\": query[\"position\"],\\n \"speed_m_s\": math.sqrt(sum(value * value for value in query[\"velocity\"])),\\n \"max_position_error_m\": max(errors),\\n \"peak_frame\": peak[\"frame\"],\\n \"peak_height_m\": peak[\"position\"][2],\\n \"missing_frames\": sorted(set(metadata[\"expected_frames\"]) - seen) if CHECK_MISSING else [],\\n }\\n\\n\\nfor line in sys.stdin:\\n print(json.dumps({\"ok\": True, \"report\": review(json.loads(line))}, allow_nan=False), flush=True)\\n'\"'\"')'",
|
| 54 |
+
"cwd": "/workspace",
|
| 55 |
+
"timeout_sec": 30
|
| 56 |
+
}
|
| 57 |
+
}
|
| 58 |
+
],
|
| 59 |
+
"observation": {
|
| 60 |
+
"results": [
|
| 61 |
+
{
|
| 62 |
+
"source_call_id": "exec-3",
|
| 63 |
+
"content": "{\"return_code\": 0, \"stdout\": null, \"stderr\": null}"
|
| 64 |
+
}
|
| 65 |
+
]
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"step_id": 4,
|
| 70 |
+
"source": "agent",
|
| 71 |
+
"timestamp": "2026-09-19T02:59:56.718490+00:00",
|
| 72 |
+
"message": "Execute scripted detached-answers control step.",
|
| 73 |
+
"tool_calls": [
|
| 74 |
+
{
|
| 75 |
+
"tool_call_id": "exec-4",
|
| 76 |
+
"function_name": "environment.exec",
|
| 77 |
+
"arguments": {
|
| 78 |
+
"command": "python3 -I -B /workspace/main.py < /workspace/requests.jsonl > /workspace/answers.jsonl",
|
| 79 |
+
"cwd": "/workspace",
|
| 80 |
+
"timeout_sec": 30
|
| 81 |
+
}
|
| 82 |
+
}
|
| 83 |
+
],
|
| 84 |
+
"observation": {
|
| 85 |
+
"results": [
|
| 86 |
+
{
|
| 87 |
+
"source_call_id": "exec-4",
|
| 88 |
+
"content": "{\"return_code\": 0, \"stdout\": null, \"stderr\": null}"
|
| 89 |
+
}
|
| 90 |
+
]
|
| 91 |
+
}
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"step_id": 5,
|
| 95 |
+
"source": "agent",
|
| 96 |
+
"timestamp": "2026-09-19T02:59:56.920001+00:00",
|
| 97 |
+
"message": "Execute scripted detached-answers control step.",
|
| 98 |
+
"tool_calls": [
|
| 99 |
+
{
|
| 100 |
+
"tool_call_id": "exec-5",
|
| 101 |
+
"function_name": "environment.exec",
|
| 102 |
+
"arguments": {
|
| 103 |
+
"command": "python3 -c 'from pathlib import Path; Path('\"'\"'main.py'\"'\"').write_text('\"'\"'\"\"\"Independent Python implementation of the public recording-review contract.\"\"\"\\n\\nimport json\\nimport math\\nimport sys\\n\\nUSE_UNITS = True\\nUSE_ORIGIN = True\\nUSE_CLOCK = False\\nCHECK_MISSING = True\\nFIND_PEAK = True\\nPRESERVE_SOURCE = True\\n\\n\\ndef review(request):\\n recording = request[\"recording\"]\\n metadata = recording[\"metadata\"]\\n mapping = metadata[\"world_from_sensor\"]\\n clock = metadata[\"clock\"]\\n scale = mapping[\"meters_per_unit\"] if USE_UNITS else 1\\n converted = []\\n for sample in recording[\"observations\"]:\\n p, v = [], []\\n for axis, sign, origin in zip(mapping[\"axes\"], mapping[\"signs\"], mapping[\"origin_m\"]):\\n p.append(sample[\"position\"][axis] * sign * scale + (origin if USE_ORIGIN else 0))\\n v.append(sample[\"velocity\"][axis] * sign * scale)\\n t = (sample[\"tick\"] - clock[\"origin_tick\"]) * clock[\"seconds_per_tick\"]\\n if not USE_CLOCK:\\n t = sample[\"tick\"]\\n converted.append({\"frame\": sample[\"frame\"], \"position\": p, \"velocity\": v, \"time\": t})\\n query = next(row for row in converted if row[\"frame\"] == request[\"query_frame\"])\\n analytic = metadata[\"analytic\"]\\n errors = []\\n for row in converted:\\n ideal = [\\n analytic[\"position0_m\"][axis]\\n + analytic[\"velocity0_m_s\"][axis] * row[\"time\"]\\n + analytic[\"gravity_m_s2\"][axis] * row[\"time\"] ** 2 / 2\\n for axis in range(3)\\n ]\\n errors.append(math.sqrt(sum((a - b) ** 2 for a, b in zip(ideal, row[\"position\"]))))\\n peak = sorted(converted, key=lambda row: (-row[\"position\"][2], row[\"frame\"]))[0]\\n if not FIND_PEAK:\\n peak = max(converted, key=lambda row: row[\"frame\"])\\n seen = {row[\"frame\"] for row in converted}\\n return {\\n \"source_sha256\": recording[\"source\"][\"sha256\"] if PRESERVE_SOURCE else \"0\" * 64,\\n \"frame\": query[\"frame\"],\\n \"time_seconds\": query[\"time\"],\\n \"position_m\": query[\"position\"],\\n \"speed_m_s\": math.sqrt(sum(value * value for value in query[\"velocity\"])),\\n \"max_position_error_m\": max(errors),\\n \"peak_frame\": peak[\"frame\"],\\n \"peak_height_m\": peak[\"position\"][2],\\n \"missing_frames\": sorted(set(metadata[\"expected_frames\"]) - seen) if CHECK_MISSING else [],\\n }\\n\\n\\nfor line in sys.stdin:\\n print(json.dumps({\"ok\": True, \"report\": review(json.loads(line))}, allow_nan=False), flush=True)\\n'\"'\"')'",
|
| 104 |
+
"cwd": "/workspace",
|
| 105 |
+
"timeout_sec": 30
|
| 106 |
+
}
|
| 107 |
+
}
|
| 108 |
+
],
|
| 109 |
+
"observation": {
|
| 110 |
+
"results": [
|
| 111 |
+
{
|
| 112 |
+
"source_call_id": "exec-5",
|
| 113 |
+
"content": "{\"return_code\": 0, \"stdout\": null, \"stderr\": null}"
|
| 114 |
+
}
|
| 115 |
+
]
|
| 116 |
+
}
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"step_id": 6,
|
| 120 |
+
"source": "agent",
|
| 121 |
+
"timestamp": "2026-09-19T02:59:57.153179+00:00",
|
| 122 |
+
"message": "Execute scripted detached-answers control step.",
|
| 123 |
+
"tool_calls": [
|
| 124 |
+
{
|
| 125 |
+
"tool_call_id": "exec-6",
|
| 126 |
+
"function_name": "environment.exec",
|
| 127 |
+
"arguments": {
|
| 128 |
+
"command": "python3 -c 'import hashlib, json; from pathlib import Path; print(json.dumps({name: hashlib.sha256(Path(name).read_bytes()).hexdigest() for name in ('\"'\"'main.py'\"'\"', '\"'\"'answers.jsonl'\"'\"')}))'",
|
| 129 |
+
"cwd": "/workspace",
|
| 130 |
+
"timeout_sec": 30
|
| 131 |
+
}
|
| 132 |
+
}
|
| 133 |
+
],
|
| 134 |
+
"observation": {
|
| 135 |
+
"results": [
|
| 136 |
+
{
|
| 137 |
+
"source_call_id": "exec-6",
|
| 138 |
+
"content": "{\"return_code\": 0, \"stdout\": \"{\\\"main.py\\\": \\\"e384f31a3702185e69bd42fcca74e4e4a2557ba460984598376082fe5f5f3ee1\\\", \\\"answers.jsonl\\\": \\\"86d5d68cf902e61f65af507be1066e0678bd038735e45ddf28128d7433d1bc73\\\"}\\n\", \"stderr\": null}"
|
| 139 |
+
}
|
| 140 |
+
]
|
| 141 |
+
}
|
| 142 |
+
}
|
| 143 |
+
],
|
| 144 |
+
"notes": "Actual Harbor container executions of a declared scripted control. Programs are provided fixtures, not model-generated solutions.",
|
| 145 |
+
"extra": {
|
| 146 |
+
"control": "detached-answers",
|
| 147 |
+
"reference_sha256": "42ba09f8896bd11aae872d1f45bb240333bc577f19010bf0480106b0b73ff7af"
|
| 148 |
+
}
|
| 149 |
+
}
|
harbor-controls/imports/reference/evaluation.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
harbor-controls/imports/reference/harbor-import.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "evalarc.harbor-import.v1",
|
| 3 |
+
"source": {
|
| 4 |
+
"result_sha256": "715e692ef74b5ef7e07b5fad41b5495800d79b76a0a20be6f83928e1f33cb086",
|
| 5 |
+
"trajectory_sha256": "5a824d6e9efc62cf6fdfc0b9afd67bc9fc62f6f1c9b69021cfb0851db587d72c",
|
| 6 |
+
"trial_name": "task__V4pJMVL",
|
| 7 |
+
"task_name": "noteflowai/robot-evidence-review"
|
| 8 |
+
},
|
| 9 |
+
"upstream": {
|
| 10 |
+
"rewards": {
|
| 11 |
+
"reward": 1.0
|
| 12 |
+
},
|
| 13 |
+
"exception": null,
|
| 14 |
+
"workflow_finished_at": "2026-09-19T02:58:57.282733Z",
|
| 15 |
+
"agent_completion": null
|
| 16 |
+
},
|
| 17 |
+
"trajectory": {
|
| 18 |
+
"version": "ATIF-v1.8",
|
| 19 |
+
"agent": "evalarc-scripted-control",
|
| 20 |
+
"steps": 5,
|
| 21 |
+
"tool_calls": 4,
|
| 22 |
+
"validation": "bounded-envelope-and-tool-linkage",
|
| 23 |
+
"full_upstream_schema_validated": false
|
| 24 |
+
},
|
| 25 |
+
"independent": {
|
| 26 |
+
"evaluation": "evaluation.json",
|
| 27 |
+
"candidate_sha256": "9a9922a8dfa396f483afd2228dfcd34a5ba78093dd6e14f1ab29422256cd09e1",
|
| 28 |
+
"candidate_selection": "explicit caller-supplied directory",
|
| 29 |
+
"valid": true,
|
| 30 |
+
"resolved": true,
|
| 31 |
+
"score": 1.0,
|
| 32 |
+
"status": "passed"
|
| 33 |
+
},
|
| 34 |
+
"acceptance": {
|
| 35 |
+
"minimum_independent_score": 1.0,
|
| 36 |
+
"requires_valid_independent_evaluation": true,
|
| 37 |
+
"requires_upstream_reward": false,
|
| 38 |
+
"accepted": true
|
| 39 |
+
},
|
| 40 |
+
"scope": "Upstream rewards are imported claims. Acceptance uses the explicitly configured independent score threshold; resolved means every independent case passed. A finished Harbor workflow does not establish agent completion. ATIF inspection validates envelope and tool linkage, not the full upstream schema. The caller selects the candidate; source report metadata cannot establish that it is the same program used in the upstream run."
|
| 41 |
+
}
|
harbor-controls/imports/reference/source-result.json
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"id": "c7da5985-8c09-4a0b-8dc5-a35557402371",
|
| 3 |
+
"task_name": "noteflowai/robot-evidence-review",
|
| 4 |
+
"trial_name": "task__V4pJMVL",
|
| 5 |
+
"trial_uri": "file:///home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-20260919/harbor-controls-2/jobs/reference/task__V4pJMVL",
|
| 6 |
+
"task_id": {
|
| 7 |
+
"path": "/home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-20260919/harbor-controls-2/task"
|
| 8 |
+
},
|
| 9 |
+
"source": null,
|
| 10 |
+
"task_checksum": "756d31d68583c134bb94069b1b8383aa23e8a861669a0a5b8c2f4488016a8556",
|
| 11 |
+
"config": {
|
| 12 |
+
"task": {
|
| 13 |
+
"path": "/home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-20260919/harbor-controls-2/task",
|
| 14 |
+
"git_url": null,
|
| 15 |
+
"git_commit_id": null,
|
| 16 |
+
"name": null,
|
| 17 |
+
"ref": null,
|
| 18 |
+
"overwrite": false,
|
| 19 |
+
"download_dir": null,
|
| 20 |
+
"source": null
|
| 21 |
+
},
|
| 22 |
+
"trial_name": "task__V4pJMVL",
|
| 23 |
+
"trials_dir": "/home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-20260919/harbor-controls-2/jobs/reference",
|
| 24 |
+
"install_only": false,
|
| 25 |
+
"timeout_multiplier": 1.0,
|
| 26 |
+
"agent_timeout_multiplier": null,
|
| 27 |
+
"verifier_timeout_multiplier": null,
|
| 28 |
+
"agent_setup_timeout_multiplier": null,
|
| 29 |
+
"environment_build_timeout_multiplier": null,
|
| 30 |
+
"agent": {
|
| 31 |
+
"name": "scripts.harbor_control_agent:ControlAgent",
|
| 32 |
+
"import_path": null,
|
| 33 |
+
"model_name": null,
|
| 34 |
+
"n_concurrent": null,
|
| 35 |
+
"concurrency_group": null,
|
| 36 |
+
"skills": [],
|
| 37 |
+
"override_timeout_sec": null,
|
| 38 |
+
"override_setup_timeout_sec": null,
|
| 39 |
+
"max_timeout_sec": null,
|
| 40 |
+
"resume_trajectory": false,
|
| 41 |
+
"load_trajectory": null,
|
| 42 |
+
"extra_allowed_hosts": [],
|
| 43 |
+
"kwargs": {
|
| 44 |
+
"control": "reference"
|
| 45 |
+
},
|
| 46 |
+
"mcp_servers": []
|
| 47 |
+
},
|
| 48 |
+
"user_agent": null,
|
| 49 |
+
"environment": {
|
| 50 |
+
"type": "docker",
|
| 51 |
+
"import_path": null,
|
| 52 |
+
"force_build": false,
|
| 53 |
+
"delete": true,
|
| 54 |
+
"cpu_enforcement_policy": "auto",
|
| 55 |
+
"memory_enforcement_policy": "auto",
|
| 56 |
+
"override_cpus": null,
|
| 57 |
+
"override_memory_mb": null,
|
| 58 |
+
"override_storage_mb": null,
|
| 59 |
+
"override_gpus": null,
|
| 60 |
+
"override_tpu": null,
|
| 61 |
+
"mounts": null,
|
| 62 |
+
"extra_docker_compose": [],
|
| 63 |
+
"kwargs": {},
|
| 64 |
+
"extra_allowed_hosts": []
|
| 65 |
+
},
|
| 66 |
+
"verifier": {
|
| 67 |
+
"override_timeout_sec": null,
|
| 68 |
+
"max_timeout_sec": null,
|
| 69 |
+
"disable": false
|
| 70 |
+
},
|
| 71 |
+
"artifacts": [],
|
| 72 |
+
"extra_instruction_paths": [],
|
| 73 |
+
"extra_instructions": [],
|
| 74 |
+
"job_id": "07bd3652-2356-4d49-bd67-f0861a33c508",
|
| 75 |
+
"source_trial": null
|
| 76 |
+
},
|
| 77 |
+
"agent_info": {
|
| 78 |
+
"name": "evalarc-scripted-control",
|
| 79 |
+
"version": "1.0.0",
|
| 80 |
+
"model_info": null
|
| 81 |
+
},
|
| 82 |
+
"agent_result": {
|
| 83 |
+
"n_input_tokens": null,
|
| 84 |
+
"n_cache_tokens": null,
|
| 85 |
+
"n_output_tokens": null,
|
| 86 |
+
"cost_usd": null,
|
| 87 |
+
"model_usage": null,
|
| 88 |
+
"rollout_details": null,
|
| 89 |
+
"metadata": {
|
| 90 |
+
"control": "reference",
|
| 91 |
+
"scripted": true,
|
| 92 |
+
"model_inference": false
|
| 93 |
+
}
|
| 94 |
+
},
|
| 95 |
+
"verifier_result": {
|
| 96 |
+
"rewards": {
|
| 97 |
+
"reward": 1.0
|
| 98 |
+
}
|
| 99 |
+
},
|
| 100 |
+
"verifier_environment_mode": "separate",
|
| 101 |
+
"exception_info": null,
|
| 102 |
+
"started_at": "2026-09-19T02:58:21.681698Z",
|
| 103 |
+
"finished_at": "2026-09-19T02:58:57.282733Z",
|
| 104 |
+
"environment_setup": {
|
| 105 |
+
"started_at": "2026-09-19T02:58:21.743828Z",
|
| 106 |
+
"finished_at": "2026-09-19T02:58:27.003049Z"
|
| 107 |
+
},
|
| 108 |
+
"agent_setup": {
|
| 109 |
+
"started_at": "2026-09-19T02:58:27.003105Z",
|
| 110 |
+
"finished_at": "2026-09-19T02:58:27.003172Z"
|
| 111 |
+
},
|
| 112 |
+
"agent_execution": {
|
| 113 |
+
"started_at": "2026-09-19T02:58:27.003273Z",
|
| 114 |
+
"finished_at": "2026-09-19T02:58:28.027024Z"
|
| 115 |
+
},
|
| 116 |
+
"verifier": {
|
| 117 |
+
"started_at": "2026-09-19T02:58:39.804458Z",
|
| 118 |
+
"finished_at": "2026-09-19T02:58:57.282722Z"
|
| 119 |
+
},
|
| 120 |
+
"step_results": null
|
| 121 |
+
}
|
harbor-controls/imports/reference/source-trajectory.json
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "ATIF-v1.8",
|
| 3 |
+
"session_id": "task__V4pJMVL__agent",
|
| 4 |
+
"agent": {
|
| 5 |
+
"name": "evalarc-scripted-control",
|
| 6 |
+
"version": "1.0.0",
|
| 7 |
+
"extra": {
|
| 8 |
+
"control": "reference",
|
| 9 |
+
"model_inference": false
|
| 10 |
+
}
|
| 11 |
+
},
|
| 12 |
+
"steps": [
|
| 13 |
+
{
|
| 14 |
+
"step_id": 1,
|
| 15 |
+
"source": "user",
|
| 16 |
+
"message": "# Robot recording evidence review\n\nImplement a JSON-lines service that reviews recorded positions and velocities.\nEach stdin line is one request. Write exactly one JSON response per request to\nstdout; diagnostics belong on stderr. Exit cleanly when stdin reaches EOF.\n\nThe input contains an `op` of `review`, a `query_frame`, and a `recording`:\n\n- `source.sha256` identifies the original recorded file. Preserve it in the report.\n- `metadata.expected_frames` lists every frame that should be present.\n- `metadata.world_from_sensor` describes the coordinate convention.\n For world component `j`, take sensor component `axes[j]`, multiply by\n `signs[j]` and `meters_per_unit`, then add `origin_m[j]` for positions.\n Velocities use the same axis/sign/unit mapping without translation.\n- `metadata.clock` defines elapsed seconds as\n `(tick - origin_tick) * seconds_per_tick`.\n- `metadata.analytic` gives initial position, initial velocity and constant\n acceleration in world metres and seconds.\n- `observations` contains objects with `frame`, `tick`, `position`, and `velocity`.\n Input order is arbitrary. Some expected frames may be absent. The queried frame\n is present. Do not interpolate absent observations.\n\nReturn exactly `{\"ok\": true, \"report\": {...}}`. The report contains these fields:\n\n| Field | Required value |\n| --- | --- |\n| `source_sha256` | The provided original source digest |\n| `frame` | The requested integer frame |\n| `time_seconds` | Its elapsed time, after clock conversion |\n| `position_m` | Its three world-coordinate position components |\n| `speed_m_s` | Euclidean magnitude of its world velocity |\n| `max_position_error_m` | Maximum Euclidean position error across **available** observations against `p0 + v0*t + 0.5*g*t*t` |\n| `peak_frame` | Available frame with greatest world z; choose the lowest frame number on an exact tie |\n| `peak_height_m` | That frame's world z position |\n| `missing_frames` | Sorted list of expected but absent integer frames |\n\nUse JSON numbers for numerical values, never Boolean substitutes, NaN or Infinity.\nChecks allow absolute numerical error up to 1e-6 or relative error up to 1e-7.\nDo not infer metres, seconds, axis order, or completeness from filenames.\n\nThese inputs are derived representations of six real CUDA recordings published\nby Robot Reel. Unit, coordinate, clock and omission variants are generated for this\npublic development task. They are not new physical experiments or hidden test data.\nReporting a source digest provides attribution; it does not authenticate the\noriginal recording's producer.\n\n## Deliverables\n\nImplement `/workspace/main.py`. Run it on `/workspace/requests.jsonl` and write exactly one answer per request, in input order, to `/workspace/answers.jsonl`. Deliver both files. Python's standard library is available and the environment has no network.\n\nA fresh verifier container checks the answer data. The downloadable main.py can additionally be independently executed by EvalArc; Harbor reward alone does not prove that the program produced the answers.\n\nThis task version reports weighted partial credit for the answer data. Full completion still requires every check to pass. Weights: provenance 0.10, coordinates 0.25, clock 0.15, metrics 0.25, completeness 0.15, protocol 0.10. The independent program acceptance threshold is 1.0.\n"
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"step_id": 2,
|
| 20 |
+
"source": "agent",
|
| 21 |
+
"timestamp": "2026-09-19T02:58:27.004593+00:00",
|
| 22 |
+
"message": "Execute scripted reference control step.",
|
| 23 |
+
"tool_calls": [
|
| 24 |
+
{
|
| 25 |
+
"tool_call_id": "exec-2",
|
| 26 |
+
"function_name": "environment.exec",
|
| 27 |
+
"arguments": {
|
| 28 |
+
"command": "python3 -c 'import json, os; from pathlib import Path; print(json.dumps({'\"'\"'uid'\"'\"': os.getuid(), '\"'\"'cwd'\"'\"': os.getcwd(), '\"'\"'network_interfaces'\"'\"': sorted(p.name for p in Path('\"'\"'/sys/class/net'\"'\"').iterdir())})); assert os.getuid() != 0'",
|
| 29 |
+
"cwd": "/workspace",
|
| 30 |
+
"timeout_sec": 30
|
| 31 |
+
}
|
| 32 |
+
}
|
| 33 |
+
],
|
| 34 |
+
"observation": {
|
| 35 |
+
"results": [
|
| 36 |
+
{
|
| 37 |
+
"source_call_id": "exec-2",
|
| 38 |
+
"content": "{\"return_code\": 0, \"stdout\": \"{\\\"uid\\\": 65534, \\\"cwd\\\": \\\"/workspace\\\", \\\"network_interfaces\\\": [\\\"eth0\\\", \\\"lo\\\"]}\\n\", \"stderr\": null}"
|
| 39 |
+
}
|
| 40 |
+
]
|
| 41 |
+
}
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"step_id": 3,
|
| 45 |
+
"source": "agent",
|
| 46 |
+
"timestamp": "2026-09-19T02:58:27.308272+00:00",
|
| 47 |
+
"message": "Execute scripted reference control step.",
|
| 48 |
+
"tool_calls": [
|
| 49 |
+
{
|
| 50 |
+
"tool_call_id": "exec-3",
|
| 51 |
+
"function_name": "environment.exec",
|
| 52 |
+
"arguments": {
|
| 53 |
+
"command": "python3 -c 'from pathlib import Path; Path('\"'\"'main.py'\"'\"').write_text('\"'\"'\"\"\"Independent Python implementation of the public recording-review contract.\"\"\"\\n\\nimport json\\nimport math\\nimport sys\\n\\nUSE_UNITS = True\\nUSE_ORIGIN = True\\nUSE_CLOCK = True\\nCHECK_MISSING = True\\nFIND_PEAK = True\\nPRESERVE_SOURCE = True\\n\\n\\ndef review(request):\\n recording = request[\"recording\"]\\n metadata = recording[\"metadata\"]\\n mapping = metadata[\"world_from_sensor\"]\\n clock = metadata[\"clock\"]\\n scale = mapping[\"meters_per_unit\"] if USE_UNITS else 1\\n converted = []\\n for sample in recording[\"observations\"]:\\n p, v = [], []\\n for axis, sign, origin in zip(mapping[\"axes\"], mapping[\"signs\"], mapping[\"origin_m\"]):\\n p.append(sample[\"position\"][axis] * sign * scale + (origin if USE_ORIGIN else 0))\\n v.append(sample[\"velocity\"][axis] * sign * scale)\\n t = (sample[\"tick\"] - clock[\"origin_tick\"]) * clock[\"seconds_per_tick\"]\\n if not USE_CLOCK:\\n t = sample[\"tick\"]\\n converted.append({\"frame\": sample[\"frame\"], \"position\": p, \"velocity\": v, \"time\": t})\\n query = next(row for row in converted if row[\"frame\"] == request[\"query_frame\"])\\n analytic = metadata[\"analytic\"]\\n errors = []\\n for row in converted:\\n ideal = [\\n analytic[\"position0_m\"][axis]\\n + analytic[\"velocity0_m_s\"][axis] * row[\"time\"]\\n + analytic[\"gravity_m_s2\"][axis] * row[\"time\"] ** 2 / 2\\n for axis in range(3)\\n ]\\n errors.append(math.sqrt(sum((a - b) ** 2 for a, b in zip(ideal, row[\"position\"]))))\\n peak = sorted(converted, key=lambda row: (-row[\"position\"][2], row[\"frame\"]))[0]\\n if not FIND_PEAK:\\n peak = max(converted, key=lambda row: row[\"frame\"])\\n seen = {row[\"frame\"] for row in converted}\\n return {\\n \"source_sha256\": recording[\"source\"][\"sha256\"] if PRESERVE_SOURCE else \"0\" * 64,\\n \"frame\": query[\"frame\"],\\n \"time_seconds\": query[\"time\"],\\n \"position_m\": query[\"position\"],\\n \"speed_m_s\": math.sqrt(sum(value * value for value in query[\"velocity\"])),\\n \"max_position_error_m\": max(errors),\\n \"peak_frame\": peak[\"frame\"],\\n \"peak_height_m\": peak[\"position\"][2],\\n \"missing_frames\": sorted(set(metadata[\"expected_frames\"]) - seen) if CHECK_MISSING else [],\\n }\\n\\n\\nfor line in sys.stdin:\\n print(json.dumps({\"ok\": True, \"report\": review(json.loads(line))}, allow_nan=False), flush=True)\\n'\"'\"')'",
|
| 54 |
+
"cwd": "/workspace",
|
| 55 |
+
"timeout_sec": 30
|
| 56 |
+
}
|
| 57 |
+
}
|
| 58 |
+
],
|
| 59 |
+
"observation": {
|
| 60 |
+
"results": [
|
| 61 |
+
{
|
| 62 |
+
"source_call_id": "exec-3",
|
| 63 |
+
"content": "{\"return_code\": 0, \"stdout\": null, \"stderr\": null}"
|
| 64 |
+
}
|
| 65 |
+
]
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"step_id": 4,
|
| 70 |
+
"source": "agent",
|
| 71 |
+
"timestamp": "2026-09-19T02:58:27.537000+00:00",
|
| 72 |
+
"message": "Execute scripted reference control step.",
|
| 73 |
+
"tool_calls": [
|
| 74 |
+
{
|
| 75 |
+
"tool_call_id": "exec-4",
|
| 76 |
+
"function_name": "environment.exec",
|
| 77 |
+
"arguments": {
|
| 78 |
+
"command": "python3 -I -B /workspace/main.py < /workspace/requests.jsonl > /workspace/answers.jsonl",
|
| 79 |
+
"cwd": "/workspace",
|
| 80 |
+
"timeout_sec": 30
|
| 81 |
+
}
|
| 82 |
+
}
|
| 83 |
+
],
|
| 84 |
+
"observation": {
|
| 85 |
+
"results": [
|
| 86 |
+
{
|
| 87 |
+
"source_call_id": "exec-4",
|
| 88 |
+
"content": "{\"return_code\": 0, \"stdout\": null, \"stderr\": null}"
|
| 89 |
+
}
|
| 90 |
+
]
|
| 91 |
+
}
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"step_id": 5,
|
| 95 |
+
"source": "agent",
|
| 96 |
+
"timestamp": "2026-09-19T02:58:27.733836+00:00",
|
| 97 |
+
"message": "Execute scripted reference control step.",
|
| 98 |
+
"tool_calls": [
|
| 99 |
+
{
|
| 100 |
+
"tool_call_id": "exec-5",
|
| 101 |
+
"function_name": "environment.exec",
|
| 102 |
+
"arguments": {
|
| 103 |
+
"command": "python3 -c 'import hashlib, json; from pathlib import Path; print(json.dumps({name: hashlib.sha256(Path(name).read_bytes()).hexdigest() for name in ('\"'\"'main.py'\"'\"', '\"'\"'answers.jsonl'\"'\"')}))'",
|
| 104 |
+
"cwd": "/workspace",
|
| 105 |
+
"timeout_sec": 30
|
| 106 |
+
}
|
| 107 |
+
}
|
| 108 |
+
],
|
| 109 |
+
"observation": {
|
| 110 |
+
"results": [
|
| 111 |
+
{
|
| 112 |
+
"source_call_id": "exec-5",
|
| 113 |
+
"content": "{\"return_code\": 0, \"stdout\": \"{\\\"main.py\\\": \\\"42ba09f8896bd11aae872d1f45bb240333bc577f19010bf0480106b0b73ff7af\\\", \\\"answers.jsonl\\\": \\\"86d5d68cf902e61f65af507be1066e0678bd038735e45ddf28128d7433d1bc73\\\"}\\n\", \"stderr\": null}"
|
| 114 |
+
}
|
| 115 |
+
]
|
| 116 |
+
}
|
| 117 |
+
}
|
| 118 |
+
],
|
| 119 |
+
"notes": "Actual Harbor container executions of a declared scripted control. Programs are provided fixtures, not model-generated solutions.",
|
| 120 |
+
"extra": {
|
| 121 |
+
"control": "reference",
|
| 122 |
+
"reference_sha256": "42ba09f8896bd11aae872d1f45bb240333bc577f19010bf0480106b0b73ff7af"
|
| 123 |
+
}
|
| 124 |
+
}
|
harbor-controls/index.html
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!doctype html>
|
| 2 |
+
<html lang="en"><head><meta charset="utf-8">
|
| 3 |
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
| 4 |
+
<title>Harbor reward and program acceptance · EvalArc</title>
|
| 5 |
+
<style>
|
| 6 |
+
:root{color-scheme:dark}body{font:17px/1.65 system-ui,sans-serif;background:#101725;color:#e6ecf5;
|
| 7 |
+
max-width:1040px;margin:auto;padding:32px 20px}a{color:#8ee1dc}
|
| 8 |
+
a:focus-visible{outline:3px solid #ffc87d}
|
| 9 |
+
h1{font-size:clamp(30px,5vw,48px);line-height:1.2}h2{font-size:23px}p{max-width:80ch}
|
| 10 |
+
table{border-collapse:collapse;width:100%;min-width:620px}
|
| 11 |
+
th,td{text-align:left;padding:14px;border-bottom:1px solid #3c4961}
|
| 12 |
+
th{color:#b1c4dd}.table{overflow-x:auto}code{overflow-wrap:anywhere}strong{color:#ffc87d}
|
| 13 |
+
.note{padding:16px 20px;background:#1c293c;border-left:4px solid #8ee1dc}li{margin:10px 0}
|
| 14 |
+
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
|
| 15 |
+
</style></head><body>
|
| 16 |
+
<nav><a href="../">EvalArc</a> ·
|
| 17 |
+
<a href="harbor-controls.zip" download>Complete offline evidence</a></nav>
|
| 18 |
+
<h1>Correct answers. Incorrect delivered program.</h1>
|
| 19 |
+
<p>Harbor checks the saved answer file. EvalArc separately runs the delivered program.
|
| 20 |
+
These three scripted controls show why the two results need distinct meanings.</p>
|
| 21 |
+
<p class="note"><strong>Declared controls, actual container executions.</strong>
|
| 22 |
+
Harbor 0.23.0; non-root agent; separate verifier container; eight public requests.
|
| 23 |
+
No model inference, hidden test, or model capability ranking.</p>
|
| 24 |
+
<div class="table" role="region" aria-label="Recorded control outcomes" tabindex="0">
|
| 25 |
+
<table><caption>Answer-file reward and independent program results</caption>
|
| 26 |
+
<thead><tr><th scope="col">Control</th><th scope="col">Harbor reward</th>
|
| 27 |
+
<th scope="col">Program score</th><th scope="col">All checks pass</th><th scope="col">Accepted</th>
|
| 28 |
+
<th scope="col">Evidence</th></tr></thead><tbody><tr><th scope="row">reference</th><td>100%</td><td>100%</td><td>Yes</td><td>Yes</td><td><a href="jobs/reference/task__V4pJMVL/agent/trajectory.json">ATIF</a> · <a href="jobs/reference/task__V4pJMVL/artifacts/candidate/main.py">Program</a> · <a href="jobs/reference/task__V4pJMVL/artifacts/answers.jsonl">Answers</a> · <a href="imports/reference/harbor-import.json">Import</a> · <a href="imports/reference/evaluation.json">Grade</a></td></tr><tr><th scope="row">clock-fault</th><td>80%</td><td>80%</td><td>No</td><td>No</td><td><a href="jobs/clock-fault/task__vMuY9HA/agent/trajectory.json">ATIF</a> · <a href="jobs/clock-fault/task__vMuY9HA/artifacts/candidate/main.py">Program</a> · <a href="jobs/clock-fault/task__vMuY9HA/artifacts/answers.jsonl">Answers</a> · <a href="imports/clock-fault/harbor-import.json">Import</a> · <a href="imports/clock-fault/evaluation.json">Grade</a></td></tr><tr><th scope="row">detached-answers</th><td>100%</td><td>80%</td><td>No</td><td>No</td><td><a href="jobs/detached-answers/task__v4kEuZQ/agent/trajectory.json">ATIF</a> · <a href="jobs/detached-answers/task__v4kEuZQ/artifacts/candidate/main.py">Program</a> · <a href="jobs/detached-answers/task__v4kEuZQ/artifacts/answers.jsonl">Answers</a> · <a href="imports/detached-answers/harbor-import.json">Import</a> · <a href="imports/detached-answers/evaluation.json">Grade</a></td></tr></tbody></table></div>
|
| 29 |
+
<h2>What changes between controls</h2>
|
| 30 |
+
<ol><li><b>Reference:</b> the correct program generates its own answer file.</li>
|
| 31 |
+
<li><b>Clock fault:</b> the program treats raw sensor ticks as seconds.
|
| 32 |
+
World-clock cases pass; offset-clock cases fail time and derived error checks.</li>
|
| 33 |
+
<li><b>Detached answers:</b> the correct program writes the answers, then the fixture
|
| 34 |
+
replaces the delivered program with the clock-fault version. The recorded commands
|
| 35 |
+
and final hashes show exactly when the files diverge.</li></ol>
|
| 36 |
+
<p>Partial credit uses the task's six published dimension weights. Version 0.2.0
|
| 37 |
+
introduces weighted answer scoring; the earlier 0.1.0 task retains its all-or-nothing reward.
|
| 38 |
+
Independent acceptance here requires a valid program evaluation with score 1.0.</p>
|
| 39 |
+
<h2>Inspect and reproduce</h2>
|
| 40 |
+
<p><a href="summary.json">Summary</a> · <a href="plan.json">Preselected plan</a> ·
|
| 41 |
+
<a href="manifest.json">File identities</a> · <a href="task/instruction.md">Task contract</a> ·
|
| 42 |
+
<a href="task/task.toml">Harbor task</a> · <a href="README.md">Commands and scope</a></p>
|
| 43 |
+
<p>The full upstream ATIF schema was checked in the recorded runtime. The offline
|
| 44 |
+
packager checks source identity, tool linkage, recorded commands, answer scoring
|
| 45 |
+
and evaluation consistency. It does not re-execute a program just by opening this page.</p>
|
| 46 |
+
<p>This demonstrates the stated task's answer-only verification boundary.
|
| 47 |
+
It is not an exploit of Harbor isolation or evidence about unseen reward hacking.</p>
|
| 48 |
+
</body></html>
|
harbor-controls/jobs/clock-fault/config.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"job_name": "clock-fault",
|
| 3 |
+
"jobs_dir": "/home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-20260919/harbor-controls-2/jobs",
|
| 4 |
+
"n_concurrent_trials": 1,
|
| 5 |
+
"agents": [
|
| 6 |
+
{
|
| 7 |
+
"name": "scripts.harbor_control_agent:ControlAgent",
|
| 8 |
+
"kwargs": {
|
| 9 |
+
"control": "clock-fault"
|
| 10 |
+
}
|
| 11 |
+
}
|
| 12 |
+
],
|
| 13 |
+
"tasks": [
|
| 14 |
+
{
|
| 15 |
+
"path": "/home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-20260919/harbor-controls-2/task"
|
| 16 |
+
}
|
| 17 |
+
]
|
| 18 |
+
}
|
harbor-controls/jobs/clock-fault/job.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Skipping image OS validation for hb__5f25271b7eeb650ae83c8d62078f0828: docker inspect returned 1
|
| 2 |
+
Collecting main service artifacts
|
| 3 |
+
Skipping image OS validation for hb__c81a516fa177f1a8a2936ab355962706: docker inspect returned 1
|
harbor-controls/jobs/clock-fault/lock.json
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 3,
|
| 3 |
+
"created_at": "2026-09-19T02:59:07.275887Z",
|
| 4 |
+
"harbor": {
|
| 5 |
+
"version": "0.23.0",
|
| 6 |
+
"is_editable": false
|
| 7 |
+
},
|
| 8 |
+
"n_concurrent_trials": 1,
|
| 9 |
+
"retry": {
|
| 10 |
+
"max_retries": 0,
|
| 11 |
+
"exclude_exceptions": [
|
| 12 |
+
"VerifierTimeoutError",
|
| 13 |
+
"RewardFileNotFoundError",
|
| 14 |
+
"VerifierOutputParseError",
|
| 15 |
+
"AgentTimeoutError",
|
| 16 |
+
"ModelNotFoundError",
|
| 17 |
+
"AgentSafetyRefusalError",
|
| 18 |
+
"RewardFileEmptyError",
|
| 19 |
+
"ApiUsageLimitError",
|
| 20 |
+
"AgentAuthenticationError"
|
| 21 |
+
],
|
| 22 |
+
"wait_multiplier": 1.0,
|
| 23 |
+
"min_wait_sec": 1.0,
|
| 24 |
+
"max_wait_sec": 60.0
|
| 25 |
+
},
|
| 26 |
+
"trials": [
|
| 27 |
+
{
|
| 28 |
+
"schema_version": 2,
|
| 29 |
+
"task": {
|
| 30 |
+
"name": "task",
|
| 31 |
+
"version": "0.2.0",
|
| 32 |
+
"type": "local",
|
| 33 |
+
"digest": "sha256:60bd6df362cd854c516dc6d4b315ca62dd5d748c52cf56b797c9446d1ff2669a",
|
| 34 |
+
"path": "/home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-20260919/harbor-controls-2/task"
|
| 35 |
+
},
|
| 36 |
+
"install_only": false,
|
| 37 |
+
"timeout_multiplier": 1.0,
|
| 38 |
+
"agent": {
|
| 39 |
+
"name": "scripts.harbor_control_agent:ControlAgent",
|
| 40 |
+
"skills": [],
|
| 41 |
+
"resume_trajectory": false,
|
| 42 |
+
"extra_allowed_hosts": [],
|
| 43 |
+
"kwargs": {
|
| 44 |
+
"control": "clock-fault"
|
| 45 |
+
},
|
| 46 |
+
"mcp_servers": []
|
| 47 |
+
},
|
| 48 |
+
"bridge_inputs": {},
|
| 49 |
+
"skills": [],
|
| 50 |
+
"environment": {
|
| 51 |
+
"type": "docker",
|
| 52 |
+
"force_build": false,
|
| 53 |
+
"delete": true,
|
| 54 |
+
"cpu_enforcement_policy": "auto",
|
| 55 |
+
"memory_enforcement_policy": "auto",
|
| 56 |
+
"extra_docker_compose": [],
|
| 57 |
+
"kwargs": {},
|
| 58 |
+
"extra_allowed_hosts": []
|
| 59 |
+
},
|
| 60 |
+
"verifier": {
|
| 61 |
+
"disable": false,
|
| 62 |
+
"environment_mode": "separate"
|
| 63 |
+
}
|
| 64 |
+
}
|
| 65 |
+
]
|
| 66 |
+
}
|
harbor-controls/jobs/clock-fault/result.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"id": "e129c33c-d32f-45f6-bbf3-11ce10465e14",
|
| 3 |
+
"started_at": "2026-09-19T10:59:07.252188",
|
| 4 |
+
"updated_at": "2026-09-19T10:59:42.661288",
|
| 5 |
+
"finished_at": "2026-09-19T10:59:42.661288",
|
| 6 |
+
"n_total_trials": 1,
|
| 7 |
+
"stats": {
|
| 8 |
+
"n_completed_trials": 1,
|
| 9 |
+
"n_errored_trials": 0,
|
| 10 |
+
"n_running_trials": 0,
|
| 11 |
+
"n_pending_trials": 0,
|
| 12 |
+
"n_cancelled_trials": 0,
|
| 13 |
+
"n_retries": 0,
|
| 14 |
+
"evals": {
|
| 15 |
+
"evalarc-scripted-control__adhoc": {
|
| 16 |
+
"n_trials": 1,
|
| 17 |
+
"n_errors": 0,
|
| 18 |
+
"metrics": [
|
| 19 |
+
{
|
| 20 |
+
"mean": 0.8
|
| 21 |
+
}
|
| 22 |
+
],
|
| 23 |
+
"pass_at_k": {},
|
| 24 |
+
"reward_stats": {
|
| 25 |
+
"reward": {
|
| 26 |
+
"0.8": [
|
| 27 |
+
"task__vMuY9HA"
|
| 28 |
+
]
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
"exception_stats": {}
|
| 32 |
+
}
|
| 33 |
+
},
|
| 34 |
+
"n_input_tokens": null,
|
| 35 |
+
"n_cache_tokens": null,
|
| 36 |
+
"n_output_tokens": null,
|
| 37 |
+
"cost_usd": null
|
| 38 |
+
}
|
| 39 |
+
}
|
harbor-controls/jobs/clock-fault/task__vMuY9HA/agent/trajectory.json
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "ATIF-v1.8",
|
| 3 |
+
"session_id": "task__vMuY9HA__agent",
|
| 4 |
+
"agent": {
|
| 5 |
+
"name": "evalarc-scripted-control",
|
| 6 |
+
"version": "1.0.0",
|
| 7 |
+
"extra": {
|
| 8 |
+
"control": "clock-fault",
|
| 9 |
+
"model_inference": false
|
| 10 |
+
}
|
| 11 |
+
},
|
| 12 |
+
"steps": [
|
| 13 |
+
{
|
| 14 |
+
"step_id": 1,
|
| 15 |
+
"source": "user",
|
| 16 |
+
"message": "# Robot recording evidence review\n\nImplement a JSON-lines service that reviews recorded positions and velocities.\nEach stdin line is one request. Write exactly one JSON response per request to\nstdout; diagnostics belong on stderr. Exit cleanly when stdin reaches EOF.\n\nThe input contains an `op` of `review`, a `query_frame`, and a `recording`:\n\n- `source.sha256` identifies the original recorded file. Preserve it in the report.\n- `metadata.expected_frames` lists every frame that should be present.\n- `metadata.world_from_sensor` describes the coordinate convention.\n For world component `j`, take sensor component `axes[j]`, multiply by\n `signs[j]` and `meters_per_unit`, then add `origin_m[j]` for positions.\n Velocities use the same axis/sign/unit mapping without translation.\n- `metadata.clock` defines elapsed seconds as\n `(tick - origin_tick) * seconds_per_tick`.\n- `metadata.analytic` gives initial position, initial velocity and constant\n acceleration in world metres and seconds.\n- `observations` contains objects with `frame`, `tick`, `position`, and `velocity`.\n Input order is arbitrary. Some expected frames may be absent. The queried frame\n is present. Do not interpolate absent observations.\n\nReturn exactly `{\"ok\": true, \"report\": {...}}`. The report contains these fields:\n\n| Field | Required value |\n| --- | --- |\n| `source_sha256` | The provided original source digest |\n| `frame` | The requested integer frame |\n| `time_seconds` | Its elapsed time, after clock conversion |\n| `position_m` | Its three world-coordinate position components |\n| `speed_m_s` | Euclidean magnitude of its world velocity |\n| `max_position_error_m` | Maximum Euclidean position error across **available** observations against `p0 + v0*t + 0.5*g*t*t` |\n| `peak_frame` | Available frame with greatest world z; choose the lowest frame number on an exact tie |\n| `peak_height_m` | That frame's world z position |\n| `missing_frames` | Sorted list of expected but absent integer frames |\n\nUse JSON numbers for numerical values, never Boolean substitutes, NaN or Infinity.\nChecks allow absolute numerical error up to 1e-6 or relative error up to 1e-7.\nDo not infer metres, seconds, axis order, or completeness from filenames.\n\nThese inputs are derived representations of six real CUDA recordings published\nby Robot Reel. Unit, coordinate, clock and omission variants are generated for this\npublic development task. They are not new physical experiments or hidden test data.\nReporting a source digest provides attribution; it does not authenticate the\noriginal recording's producer.\n\n## Deliverables\n\nImplement `/workspace/main.py`. Run it on `/workspace/requests.jsonl` and write exactly one answer per request, in input order, to `/workspace/answers.jsonl`. Deliver both files. Python's standard library is available and the environment has no network.\n\nA fresh verifier container checks the answer data. The downloadable main.py can additionally be independently executed by EvalArc; Harbor reward alone does not prove that the program produced the answers.\n\nThis task version reports weighted partial credit for the answer data. Full completion still requires every check to pass. Weights: provenance 0.10, coordinates 0.25, clock 0.15, metrics 0.25, completeness 0.15, protocol 0.10. The independent program acceptance threshold is 1.0.\n"
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"step_id": 2,
|
| 20 |
+
"source": "agent",
|
| 21 |
+
"timestamp": "2026-09-19T02:59:12.827402+00:00",
|
| 22 |
+
"message": "Execute scripted clock-fault control step.",
|
| 23 |
+
"tool_calls": [
|
| 24 |
+
{
|
| 25 |
+
"tool_call_id": "exec-2",
|
| 26 |
+
"function_name": "environment.exec",
|
| 27 |
+
"arguments": {
|
| 28 |
+
"command": "python3 -c 'import json, os; from pathlib import Path; print(json.dumps({'\"'\"'uid'\"'\"': os.getuid(), '\"'\"'cwd'\"'\"': os.getcwd(), '\"'\"'network_interfaces'\"'\"': sorted(p.name for p in Path('\"'\"'/sys/class/net'\"'\"').iterdir())})); assert os.getuid() != 0'",
|
| 29 |
+
"cwd": "/workspace",
|
| 30 |
+
"timeout_sec": 30
|
| 31 |
+
}
|
| 32 |
+
}
|
| 33 |
+
],
|
| 34 |
+
"observation": {
|
| 35 |
+
"results": [
|
| 36 |
+
{
|
| 37 |
+
"source_call_id": "exec-2",
|
| 38 |
+
"content": "{\"return_code\": 0, \"stdout\": \"{\\\"uid\\\": 65534, \\\"cwd\\\": \\\"/workspace\\\", \\\"network_interfaces\\\": [\\\"eth0\\\", \\\"lo\\\"]}\\n\", \"stderr\": null}"
|
| 39 |
+
}
|
| 40 |
+
]
|
| 41 |
+
}
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"step_id": 3,
|
| 45 |
+
"source": "agent",
|
| 46 |
+
"timestamp": "2026-09-19T02:59:13.055482+00:00",
|
| 47 |
+
"message": "Execute scripted clock-fault control step.",
|
| 48 |
+
"tool_calls": [
|
| 49 |
+
{
|
| 50 |
+
"tool_call_id": "exec-3",
|
| 51 |
+
"function_name": "environment.exec",
|
| 52 |
+
"arguments": {
|
| 53 |
+
"command": "python3 -c 'from pathlib import Path; Path('\"'\"'main.py'\"'\"').write_text('\"'\"'\"\"\"Independent Python implementation of the public recording-review contract.\"\"\"\\n\\nimport json\\nimport math\\nimport sys\\n\\nUSE_UNITS = True\\nUSE_ORIGIN = True\\nUSE_CLOCK = False\\nCHECK_MISSING = True\\nFIND_PEAK = True\\nPRESERVE_SOURCE = True\\n\\n\\ndef review(request):\\n recording = request[\"recording\"]\\n metadata = recording[\"metadata\"]\\n mapping = metadata[\"world_from_sensor\"]\\n clock = metadata[\"clock\"]\\n scale = mapping[\"meters_per_unit\"] if USE_UNITS else 1\\n converted = []\\n for sample in recording[\"observations\"]:\\n p, v = [], []\\n for axis, sign, origin in zip(mapping[\"axes\"], mapping[\"signs\"], mapping[\"origin_m\"]):\\n p.append(sample[\"position\"][axis] * sign * scale + (origin if USE_ORIGIN else 0))\\n v.append(sample[\"velocity\"][axis] * sign * scale)\\n t = (sample[\"tick\"] - clock[\"origin_tick\"]) * clock[\"seconds_per_tick\"]\\n if not USE_CLOCK:\\n t = sample[\"tick\"]\\n converted.append({\"frame\": sample[\"frame\"], \"position\": p, \"velocity\": v, \"time\": t})\\n query = next(row for row in converted if row[\"frame\"] == request[\"query_frame\"])\\n analytic = metadata[\"analytic\"]\\n errors = []\\n for row in converted:\\n ideal = [\\n analytic[\"position0_m\"][axis]\\n + analytic[\"velocity0_m_s\"][axis] * row[\"time\"]\\n + analytic[\"gravity_m_s2\"][axis] * row[\"time\"] ** 2 / 2\\n for axis in range(3)\\n ]\\n errors.append(math.sqrt(sum((a - b) ** 2 for a, b in zip(ideal, row[\"position\"]))))\\n peak = sorted(converted, key=lambda row: (-row[\"position\"][2], row[\"frame\"]))[0]\\n if not FIND_PEAK:\\n peak = max(converted, key=lambda row: row[\"frame\"])\\n seen = {row[\"frame\"] for row in converted}\\n return {\\n \"source_sha256\": recording[\"source\"][\"sha256\"] if PRESERVE_SOURCE else \"0\" * 64,\\n \"frame\": query[\"frame\"],\\n \"time_seconds\": query[\"time\"],\\n \"position_m\": query[\"position\"],\\n \"speed_m_s\": math.sqrt(sum(value * value for value in query[\"velocity\"])),\\n \"max_position_error_m\": max(errors),\\n \"peak_frame\": peak[\"frame\"],\\n \"peak_height_m\": peak[\"position\"][2],\\n \"missing_frames\": sorted(set(metadata[\"expected_frames\"]) - seen) if CHECK_MISSING else [],\\n }\\n\\n\\nfor line in sys.stdin:\\n print(json.dumps({\"ok\": True, \"report\": review(json.loads(line))}, allow_nan=False), flush=True)\\n'\"'\"')'",
|
| 54 |
+
"cwd": "/workspace",
|
| 55 |
+
"timeout_sec": 30
|
| 56 |
+
}
|
| 57 |
+
}
|
| 58 |
+
],
|
| 59 |
+
"observation": {
|
| 60 |
+
"results": [
|
| 61 |
+
{
|
| 62 |
+
"source_call_id": "exec-3",
|
| 63 |
+
"content": "{\"return_code\": 0, \"stdout\": null, \"stderr\": null}"
|
| 64 |
+
}
|
| 65 |
+
]
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"step_id": 4,
|
| 70 |
+
"source": "agent",
|
| 71 |
+
"timestamp": "2026-09-19T02:59:13.287351+00:00",
|
| 72 |
+
"message": "Execute scripted clock-fault control step.",
|
| 73 |
+
"tool_calls": [
|
| 74 |
+
{
|
| 75 |
+
"tool_call_id": "exec-4",
|
| 76 |
+
"function_name": "environment.exec",
|
| 77 |
+
"arguments": {
|
| 78 |
+
"command": "python3 -I -B /workspace/main.py < /workspace/requests.jsonl > /workspace/answers.jsonl",
|
| 79 |
+
"cwd": "/workspace",
|
| 80 |
+
"timeout_sec": 30
|
| 81 |
+
}
|
| 82 |
+
}
|
| 83 |
+
],
|
| 84 |
+
"observation": {
|
| 85 |
+
"results": [
|
| 86 |
+
{
|
| 87 |
+
"source_call_id": "exec-4",
|
| 88 |
+
"content": "{\"return_code\": 0, \"stdout\": null, \"stderr\": null}"
|
| 89 |
+
}
|
| 90 |
+
]
|
| 91 |
+
}
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"step_id": 5,
|
| 95 |
+
"source": "agent",
|
| 96 |
+
"timestamp": "2026-09-19T02:59:13.491172+00:00",
|
| 97 |
+
"message": "Execute scripted clock-fault control step.",
|
| 98 |
+
"tool_calls": [
|
| 99 |
+
{
|
| 100 |
+
"tool_call_id": "exec-5",
|
| 101 |
+
"function_name": "environment.exec",
|
| 102 |
+
"arguments": {
|
| 103 |
+
"command": "python3 -c 'import hashlib, json; from pathlib import Path; print(json.dumps({name: hashlib.sha256(Path(name).read_bytes()).hexdigest() for name in ('\"'\"'main.py'\"'\"', '\"'\"'answers.jsonl'\"'\"')}))'",
|
| 104 |
+
"cwd": "/workspace",
|
| 105 |
+
"timeout_sec": 30
|
| 106 |
+
}
|
| 107 |
+
}
|
| 108 |
+
],
|
| 109 |
+
"observation": {
|
| 110 |
+
"results": [
|
| 111 |
+
{
|
| 112 |
+
"source_call_id": "exec-5",
|
| 113 |
+
"content": "{\"return_code\": 0, \"stdout\": \"{\\\"main.py\\\": \\\"e384f31a3702185e69bd42fcca74e4e4a2557ba460984598376082fe5f5f3ee1\\\", \\\"answers.jsonl\\\": \\\"7983a4f7fb70d7efcbbbe4256925e8083ba57bb8b128e3d1dd77c5ae83f4221c\\\"}\\n\", \"stderr\": null}"
|
| 114 |
+
}
|
| 115 |
+
]
|
| 116 |
+
}
|
| 117 |
+
}
|
| 118 |
+
],
|
| 119 |
+
"notes": "Actual Harbor container executions of a declared scripted control. Programs are provided fixtures, not model-generated solutions.",
|
| 120 |
+
"extra": {
|
| 121 |
+
"control": "clock-fault",
|
| 122 |
+
"reference_sha256": "42ba09f8896bd11aae872d1f45bb240333bc577f19010bf0480106b0b73ff7af"
|
| 123 |
+
}
|
| 124 |
+
}
|
harbor-controls/jobs/clock-fault/task__vMuY9HA/artifacts/answers.jsonl
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"ok": true, "report": {"source_sha256": "31a20c5c4c16174c4431e4a65ce7777862076108b9916fc388360d70077a53b3", "frame": 28, "time_seconds": 0.9333333333333333, "position_m": [1.86666738986969, 0.0, 5.907934188842773], "speed_m_s": 2.170791321911835, "max_position_error_m": 0.32700288772800196, "peak_frame": 30, "peak_height_m": 5.9315009117126465, "missing_frames": []}}
|
| 2 |
+
{"ok": true, "report": {"source_sha256": "31a20c5c4c16174c4431e4a65ce7777862076108b9916fc388360d70077a53b3", "frame": 28, "time_seconds": 1000933.3333333334, "position_m": [1.86666738986969, 0.0, 5.907934188842773], "speed_m_s": 2.170791321911835, "max_position_error_m": 4924629600000.46, "peak_frame": 30, "peak_height_m": 5.9315009117126465, "missing_frames": []}}
|
| 3 |
+
{"ok": true, "report": {"source_sha256": "31a20c5c4c16174c4431e4a65ce7777862076108b9916fc388360d70077a53b3", "frame": 28, "time_seconds": 28800933.333333332, "position_m": [1.86666738986969, 0.0, 5.907934188842773], "speed_m_s": 2.170791321911835, "max_position_error_m": 4068967987600000.5, "peak_frame": 30, "peak_height_m": 5.9315009117126465, "missing_frames": []}}
|
| 4 |
+
{"ok": true, "report": {"source_sha256": "31a20c5c4c16174c4431e4a65ce7777862076108b9916fc388360d70077a53b3", "frame": 28, "time_seconds": 0.9333333333333333, "position_m": [1.86666738986969, 0.0, 5.907934188842773], "speed_m_s": 2.170791321911835, "max_position_error_m": 0.32700288772800196, "peak_frame": 30, "peak_height_m": 5.9315009117126465, "missing_frames": [8, 43]}}
|
| 5 |
+
{"ok": true, "report": {"source_sha256": "3a88a8f8902e367684d7bf8a613569c24ccc8cd1f086c38fbd1b62ae96777a1e", "frame": 31, "time_seconds": 1.0333333333333334, "position_m": [2.066678047180176, 0.0, 6.085323333740234], "speed_m_s": 2.0046877195638113, "max_position_error_m": 0.02046407548115492, "peak_frame": 31, "peak_height_m": 6.085323333740234, "missing_frames": []}}
|
| 6 |
+
{"ok": true, "report": {"source_sha256": "3a88a8f8902e367684d7bf8a613569c24ccc8cd1f086c38fbd1b62ae96777a1e", "frame": 31, "time_seconds": 1001033.3333333334, "position_m": [2.066678047180176, 0.0, 6.085323333740234], "speed_m_s": 2.0046877195638113, "max_position_error_m": 4924629600000.767, "peak_frame": 31, "peak_height_m": 6.085323333740234, "missing_frames": []}}
|
| 7 |
+
{"ok": true, "report": {"source_sha256": "3a88a8f8902e367684d7bf8a613569c24ccc8cd1f086c38fbd1b62ae96777a1e", "frame": 31, "time_seconds": 28801033.333333332, "position_m": [2.066678047180176, 0.0, 6.085323333740234], "speed_m_s": 2.0046877195638113, "max_position_error_m": 4068967987600001.0, "peak_frame": 31, "peak_height_m": 6.085323333740234, "missing_frames": []}}
|
| 8 |
+
{"ok": true, "report": {"source_sha256": "3a88a8f8902e367684d7bf8a613569c24ccc8cd1f086c38fbd1b62ae96777a1e", "frame": 31, "time_seconds": 1.0333333333333334, "position_m": [2.066678047180176, 0.0, 6.085323333740234], "speed_m_s": 2.0046877195638113, "max_position_error_m": 0.02046407548115492, "peak_frame": 31, "peak_height_m": 6.085323333740234, "missing_frames": [8, 43]}}
|
harbor-controls/jobs/clock-fault/task__vMuY9HA/artifacts/candidate/main.py
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Independent Python implementation of the public recording-review contract."""
|
| 2 |
+
|
| 3 |
+
import json
|
| 4 |
+
import math
|
| 5 |
+
import sys
|
| 6 |
+
|
| 7 |
+
USE_UNITS = True
|
| 8 |
+
USE_ORIGIN = True
|
| 9 |
+
USE_CLOCK = False
|
| 10 |
+
CHECK_MISSING = True
|
| 11 |
+
FIND_PEAK = True
|
| 12 |
+
PRESERVE_SOURCE = True
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
def review(request):
|
| 16 |
+
recording = request["recording"]
|
| 17 |
+
metadata = recording["metadata"]
|
| 18 |
+
mapping = metadata["world_from_sensor"]
|
| 19 |
+
clock = metadata["clock"]
|
| 20 |
+
scale = mapping["meters_per_unit"] if USE_UNITS else 1
|
| 21 |
+
converted = []
|
| 22 |
+
for sample in recording["observations"]:
|
| 23 |
+
p, v = [], []
|
| 24 |
+
for axis, sign, origin in zip(mapping["axes"], mapping["signs"], mapping["origin_m"]):
|
| 25 |
+
p.append(sample["position"][axis] * sign * scale + (origin if USE_ORIGIN else 0))
|
| 26 |
+
v.append(sample["velocity"][axis] * sign * scale)
|
| 27 |
+
t = (sample["tick"] - clock["origin_tick"]) * clock["seconds_per_tick"]
|
| 28 |
+
if not USE_CLOCK:
|
| 29 |
+
t = sample["tick"]
|
| 30 |
+
converted.append({"frame": sample["frame"], "position": p, "velocity": v, "time": t})
|
| 31 |
+
query = next(row for row in converted if row["frame"] == request["query_frame"])
|
| 32 |
+
analytic = metadata["analytic"]
|
| 33 |
+
errors = []
|
| 34 |
+
for row in converted:
|
| 35 |
+
ideal = [
|
| 36 |
+
analytic["position0_m"][axis]
|
| 37 |
+
+ analytic["velocity0_m_s"][axis] * row["time"]
|
| 38 |
+
+ analytic["gravity_m_s2"][axis] * row["time"] ** 2 / 2
|
| 39 |
+
for axis in range(3)
|
| 40 |
+
]
|
| 41 |
+
errors.append(math.sqrt(sum((a - b) ** 2 for a, b in zip(ideal, row["position"]))))
|
| 42 |
+
peak = sorted(converted, key=lambda row: (-row["position"][2], row["frame"]))[0]
|
| 43 |
+
if not FIND_PEAK:
|
| 44 |
+
peak = max(converted, key=lambda row: row["frame"])
|
| 45 |
+
seen = {row["frame"] for row in converted}
|
| 46 |
+
return {
|
| 47 |
+
"source_sha256": recording["source"]["sha256"] if PRESERVE_SOURCE else "0" * 64,
|
| 48 |
+
"frame": query["frame"],
|
| 49 |
+
"time_seconds": query["time"],
|
| 50 |
+
"position_m": query["position"],
|
| 51 |
+
"speed_m_s": math.sqrt(sum(value * value for value in query["velocity"])),
|
| 52 |
+
"max_position_error_m": max(errors),
|
| 53 |
+
"peak_frame": peak["frame"],
|
| 54 |
+
"peak_height_m": peak["position"][2],
|
| 55 |
+
"missing_frames": sorted(set(metadata["expected_frames"]) - seen) if CHECK_MISSING else [],
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
for line in sys.stdin:
|
| 60 |
+
print(json.dumps({"ok": True, "report": review(json.loads(line))}, allow_nan=False), flush=True)
|
harbor-controls/jobs/clock-fault/task__vMuY9HA/artifacts/manifest.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"source": "/logs/artifacts",
|
| 4 |
+
"destination": "artifacts/logs/artifacts",
|
| 5 |
+
"type": "directory",
|
| 6 |
+
"status": "empty",
|
| 7 |
+
"service": null,
|
| 8 |
+
"exclude": []
|
| 9 |
+
},
|
| 10 |
+
{
|
| 11 |
+
"source": "/workspace/answers.jsonl",
|
| 12 |
+
"destination": "artifacts/answers.jsonl",
|
| 13 |
+
"type": "file",
|
| 14 |
+
"status": "ok",
|
| 15 |
+
"service": null,
|
| 16 |
+
"exclude": []
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"source": "/workspace/main.py",
|
| 20 |
+
"destination": "artifacts/candidate/main.py",
|
| 21 |
+
"type": "file",
|
| 22 |
+
"status": "ok",
|
| 23 |
+
"service": null,
|
| 24 |
+
"exclude": []
|
| 25 |
+
}
|
| 26 |
+
]
|
harbor-controls/jobs/clock-fault/task__vMuY9HA/config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"task": {
|
| 3 |
+
"path": "/home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-20260919/harbor-controls-2/task"
|
| 4 |
+
},
|
| 5 |
+
"trial_name": "task__vMuY9HA",
|
| 6 |
+
"trials_dir": "/home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-20260919/harbor-controls-2/jobs/clock-fault",
|
| 7 |
+
"agent": {
|
| 8 |
+
"name": "scripts.harbor_control_agent:ControlAgent",
|
| 9 |
+
"kwargs": {
|
| 10 |
+
"control": "clock-fault"
|
| 11 |
+
}
|
| 12 |
+
},
|
| 13 |
+
"job_id": "e129c33c-d32f-45f6-bbf3-11ce10465e14"
|
| 14 |
+
}
|
harbor-controls/jobs/clock-fault/task__vMuY9HA/lock.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 2,
|
| 3 |
+
"task": {
|
| 4 |
+
"name": "task",
|
| 5 |
+
"version": "0.2.0",
|
| 6 |
+
"type": "local",
|
| 7 |
+
"digest": "sha256:60bd6df362cd854c516dc6d4b315ca62dd5d748c52cf56b797c9446d1ff2669a",
|
| 8 |
+
"path": "/home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-20260919/harbor-controls-2/task"
|
| 9 |
+
},
|
| 10 |
+
"install_only": false,
|
| 11 |
+
"timeout_multiplier": 1.0,
|
| 12 |
+
"agent": {
|
| 13 |
+
"name": "scripts.harbor_control_agent:ControlAgent",
|
| 14 |
+
"skills": [],
|
| 15 |
+
"resume_trajectory": false,
|
| 16 |
+
"extra_allowed_hosts": [],
|
| 17 |
+
"kwargs": {
|
| 18 |
+
"control": "clock-fault"
|
| 19 |
+
},
|
| 20 |
+
"mcp_servers": []
|
| 21 |
+
},
|
| 22 |
+
"bridge_inputs": {},
|
| 23 |
+
"skills": [],
|
| 24 |
+
"environment": {
|
| 25 |
+
"type": "docker",
|
| 26 |
+
"force_build": false,
|
| 27 |
+
"delete": true,
|
| 28 |
+
"cpu_enforcement_policy": "auto",
|
| 29 |
+
"memory_enforcement_policy": "auto",
|
| 30 |
+
"extra_docker_compose": [],
|
| 31 |
+
"kwargs": {},
|
| 32 |
+
"extra_allowed_hosts": []
|
| 33 |
+
},
|
| 34 |
+
"verifier": {
|
| 35 |
+
"disable": false,
|
| 36 |
+
"environment_mode": "separate"
|
| 37 |
+
}
|
| 38 |
+
}
|
harbor-controls/jobs/clock-fault/task__vMuY9HA/result.json
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"id": "d709b9c2-64f8-4267-9cc5-2bf13be383b1",
|
| 3 |
+
"task_name": "noteflowai/robot-evidence-review",
|
| 4 |
+
"trial_name": "task__vMuY9HA",
|
| 5 |
+
"trial_uri": "file:///home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-20260919/harbor-controls-2/jobs/clock-fault/task__vMuY9HA",
|
| 6 |
+
"task_id": {
|
| 7 |
+
"path": "/home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-20260919/harbor-controls-2/task"
|
| 8 |
+
},
|
| 9 |
+
"source": null,
|
| 10 |
+
"task_checksum": "756d31d68583c134bb94069b1b8383aa23e8a861669a0a5b8c2f4488016a8556",
|
| 11 |
+
"config": {
|
| 12 |
+
"task": {
|
| 13 |
+
"path": "/home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-20260919/harbor-controls-2/task",
|
| 14 |
+
"git_url": null,
|
| 15 |
+
"git_commit_id": null,
|
| 16 |
+
"name": null,
|
| 17 |
+
"ref": null,
|
| 18 |
+
"overwrite": false,
|
| 19 |
+
"download_dir": null,
|
| 20 |
+
"source": null
|
| 21 |
+
},
|
| 22 |
+
"trial_name": "task__vMuY9HA",
|
| 23 |
+
"trials_dir": "/home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-20260919/harbor-controls-2/jobs/clock-fault",
|
| 24 |
+
"install_only": false,
|
| 25 |
+
"timeout_multiplier": 1.0,
|
| 26 |
+
"agent_timeout_multiplier": null,
|
| 27 |
+
"verifier_timeout_multiplier": null,
|
| 28 |
+
"agent_setup_timeout_multiplier": null,
|
| 29 |
+
"environment_build_timeout_multiplier": null,
|
| 30 |
+
"agent": {
|
| 31 |
+
"name": "scripts.harbor_control_agent:ControlAgent",
|
| 32 |
+
"import_path": null,
|
| 33 |
+
"model_name": null,
|
| 34 |
+
"n_concurrent": null,
|
| 35 |
+
"concurrency_group": null,
|
| 36 |
+
"skills": [],
|
| 37 |
+
"override_timeout_sec": null,
|
| 38 |
+
"override_setup_timeout_sec": null,
|
| 39 |
+
"max_timeout_sec": null,
|
| 40 |
+
"resume_trajectory": false,
|
| 41 |
+
"load_trajectory": null,
|
| 42 |
+
"extra_allowed_hosts": [],
|
| 43 |
+
"kwargs": {
|
| 44 |
+
"control": "clock-fault"
|
| 45 |
+
},
|
| 46 |
+
"mcp_servers": []
|
| 47 |
+
},
|
| 48 |
+
"user_agent": null,
|
| 49 |
+
"environment": {
|
| 50 |
+
"type": "docker",
|
| 51 |
+
"import_path": null,
|
| 52 |
+
"force_build": false,
|
| 53 |
+
"delete": true,
|
| 54 |
+
"cpu_enforcement_policy": "auto",
|
| 55 |
+
"memory_enforcement_policy": "auto",
|
| 56 |
+
"override_cpus": null,
|
| 57 |
+
"override_memory_mb": null,
|
| 58 |
+
"override_storage_mb": null,
|
| 59 |
+
"override_gpus": null,
|
| 60 |
+
"override_tpu": null,
|
| 61 |
+
"mounts": null,
|
| 62 |
+
"extra_docker_compose": [],
|
| 63 |
+
"kwargs": {},
|
| 64 |
+
"extra_allowed_hosts": []
|
| 65 |
+
},
|
| 66 |
+
"verifier": {
|
| 67 |
+
"override_timeout_sec": null,
|
| 68 |
+
"max_timeout_sec": null,
|
| 69 |
+
"disable": false
|
| 70 |
+
},
|
| 71 |
+
"artifacts": [],
|
| 72 |
+
"extra_instruction_paths": [],
|
| 73 |
+
"extra_instructions": [],
|
| 74 |
+
"job_id": "e129c33c-d32f-45f6-bbf3-11ce10465e14",
|
| 75 |
+
"source_trial": null
|
| 76 |
+
},
|
| 77 |
+
"agent_info": {
|
| 78 |
+
"name": "evalarc-scripted-control",
|
| 79 |
+
"version": "1.0.0",
|
| 80 |
+
"model_info": null
|
| 81 |
+
},
|
| 82 |
+
"agent_result": {
|
| 83 |
+
"n_input_tokens": null,
|
| 84 |
+
"n_cache_tokens": null,
|
| 85 |
+
"n_output_tokens": null,
|
| 86 |
+
"cost_usd": null,
|
| 87 |
+
"model_usage": null,
|
| 88 |
+
"rollout_details": null,
|
| 89 |
+
"metadata": {
|
| 90 |
+
"control": "clock-fault",
|
| 91 |
+
"scripted": true,
|
| 92 |
+
"model_inference": false
|
| 93 |
+
}
|
| 94 |
+
},
|
| 95 |
+
"verifier_result": {
|
| 96 |
+
"rewards": {
|
| 97 |
+
"reward": 0.8
|
| 98 |
+
}
|
| 99 |
+
},
|
| 100 |
+
"verifier_environment_mode": "separate",
|
| 101 |
+
"exception_info": null,
|
| 102 |
+
"started_at": "2026-09-19T02:59:07.723782Z",
|
| 103 |
+
"finished_at": "2026-09-19T02:59:42.658412Z",
|
| 104 |
+
"environment_setup": {
|
| 105 |
+
"started_at": "2026-09-19T02:59:07.768749Z",
|
| 106 |
+
"finished_at": "2026-09-19T02:59:12.826240Z"
|
| 107 |
+
},
|
| 108 |
+
"agent_setup": {
|
| 109 |
+
"started_at": "2026-09-19T02:59:12.826295Z",
|
| 110 |
+
"finished_at": "2026-09-19T02:59:12.826356Z"
|
| 111 |
+
},
|
| 112 |
+
"agent_execution": {
|
| 113 |
+
"started_at": "2026-09-19T02:59:12.826434Z",
|
| 114 |
+
"finished_at": "2026-09-19T02:59:13.728455Z"
|
| 115 |
+
},
|
| 116 |
+
"verifier": {
|
| 117 |
+
"started_at": "2026-09-19T02:59:25.522962Z",
|
| 118 |
+
"finished_at": "2026-09-19T02:59:42.658398Z"
|
| 119 |
+
},
|
| 120 |
+
"step_results": null
|
| 121 |
+
}
|
harbor-controls/jobs/clock-fault/task__vMuY9HA/trial.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Skipping image OS validation for hb__5f25271b7eeb650ae83c8d62078f0828: docker inspect returned 1
|
| 2 |
+
Collecting main service artifacts
|
| 3 |
+
Skipping image OS validation for hb__c81a516fa177f1a8a2936ab355962706: docker inspect returned 1
|
harbor-controls/jobs/clock-fault/task__vMuY9HA/verifier/evidence.json
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"scope": "Answers checked in a fresh verifier container; submitted code is not executed here.",
|
| 3 |
+
"passed": false,
|
| 4 |
+
"error": null,
|
| 5 |
+
"findings": [
|
| 6 |
+
{
|
| 7 |
+
"case_id": "world-meters",
|
| 8 |
+
"checks": {
|
| 9 |
+
"provenance": true,
|
| 10 |
+
"coordinates": true,
|
| 11 |
+
"clock": true,
|
| 12 |
+
"metrics": true,
|
| 13 |
+
"completeness": true,
|
| 14 |
+
"protocol": true
|
| 15 |
+
},
|
| 16 |
+
"passed": true
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"case_id": "millimeters-sensor-frame",
|
| 20 |
+
"checks": {
|
| 21 |
+
"provenance": true,
|
| 22 |
+
"coordinates": true,
|
| 23 |
+
"clock": false,
|
| 24 |
+
"metrics": false,
|
| 25 |
+
"completeness": true,
|
| 26 |
+
"protocol": true
|
| 27 |
+
},
|
| 28 |
+
"passed": false
|
| 29 |
+
},
|
| 30 |
+
{
|
| 31 |
+
"case_id": "centimeters-offset-clock",
|
| 32 |
+
"checks": {
|
| 33 |
+
"provenance": true,
|
| 34 |
+
"coordinates": true,
|
| 35 |
+
"clock": false,
|
| 36 |
+
"metrics": false,
|
| 37 |
+
"completeness": true,
|
| 38 |
+
"protocol": true
|
| 39 |
+
},
|
| 40 |
+
"passed": false
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"case_id": "incomplete-recording",
|
| 44 |
+
"checks": {
|
| 45 |
+
"provenance": true,
|
| 46 |
+
"coordinates": true,
|
| 47 |
+
"clock": true,
|
| 48 |
+
"metrics": true,
|
| 49 |
+
"completeness": true,
|
| 50 |
+
"protocol": true
|
| 51 |
+
},
|
| 52 |
+
"passed": true
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"case_id": "world-meters",
|
| 56 |
+
"checks": {
|
| 57 |
+
"provenance": true,
|
| 58 |
+
"coordinates": true,
|
| 59 |
+
"clock": true,
|
| 60 |
+
"metrics": true,
|
| 61 |
+
"completeness": true,
|
| 62 |
+
"protocol": true
|
| 63 |
+
},
|
| 64 |
+
"passed": true
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"case_id": "millimeters-sensor-frame",
|
| 68 |
+
"checks": {
|
| 69 |
+
"provenance": true,
|
| 70 |
+
"coordinates": true,
|
| 71 |
+
"clock": false,
|
| 72 |
+
"metrics": false,
|
| 73 |
+
"completeness": true,
|
| 74 |
+
"protocol": true
|
| 75 |
+
},
|
| 76 |
+
"passed": false
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"case_id": "centimeters-offset-clock",
|
| 80 |
+
"checks": {
|
| 81 |
+
"provenance": true,
|
| 82 |
+
"coordinates": true,
|
| 83 |
+
"clock": false,
|
| 84 |
+
"metrics": false,
|
| 85 |
+
"completeness": true,
|
| 86 |
+
"protocol": true
|
| 87 |
+
},
|
| 88 |
+
"passed": false
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"case_id": "incomplete-recording",
|
| 92 |
+
"checks": {
|
| 93 |
+
"provenance": true,
|
| 94 |
+
"coordinates": true,
|
| 95 |
+
"clock": true,
|
| 96 |
+
"metrics": true,
|
| 97 |
+
"completeness": true,
|
| 98 |
+
"protocol": true
|
| 99 |
+
},
|
| 100 |
+
"passed": true
|
| 101 |
+
}
|
| 102 |
+
],
|
| 103 |
+
"weighted_score": 0.8,
|
| 104 |
+
"partial_credit": true
|
| 105 |
+
}
|
harbor-controls/jobs/clock-fault/task__vMuY9HA/verifier/reward.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
0.8
|
harbor-controls/jobs/clock-fault/task__vMuY9HA/verifier/test-stdout.txt
ADDED
|
File without changes
|
harbor-controls/jobs/detached-answers/config.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"job_name": "detached-answers",
|
| 3 |
+
"jobs_dir": "/home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-20260919/harbor-controls-2/jobs",
|
| 4 |
+
"n_concurrent_trials": 1,
|
| 5 |
+
"agents": [
|
| 6 |
+
{
|
| 7 |
+
"name": "scripts.harbor_control_agent:ControlAgent",
|
| 8 |
+
"kwargs": {
|
| 9 |
+
"control": "detached-answers"
|
| 10 |
+
}
|
| 11 |
+
}
|
| 12 |
+
],
|
| 13 |
+
"tasks": [
|
| 14 |
+
{
|
| 15 |
+
"path": "/home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-20260919/harbor-controls-2/task"
|
| 16 |
+
}
|
| 17 |
+
]
|
| 18 |
+
}
|
harbor-controls/jobs/detached-answers/job.log
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Skipping image OS validation for hb__5f25271b7eeb650ae83c8d62078f0828: docker inspect returned 1
|
| 2 |
+
Collecting main service artifacts
|
| 3 |
+
Skipping image OS validation for hb__c81a516fa177f1a8a2936ab355962706: docker inspect returned 1
|
harbor-controls/jobs/detached-answers/lock.json
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 3,
|
| 3 |
+
"created_at": "2026-09-19T02:59:50.696677Z",
|
| 4 |
+
"harbor": {
|
| 5 |
+
"version": "0.23.0",
|
| 6 |
+
"is_editable": false
|
| 7 |
+
},
|
| 8 |
+
"n_concurrent_trials": 1,
|
| 9 |
+
"retry": {
|
| 10 |
+
"max_retries": 0,
|
| 11 |
+
"exclude_exceptions": [
|
| 12 |
+
"AgentAuthenticationError",
|
| 13 |
+
"RewardFileNotFoundError",
|
| 14 |
+
"AgentTimeoutError",
|
| 15 |
+
"ModelNotFoundError",
|
| 16 |
+
"RewardFileEmptyError",
|
| 17 |
+
"AgentSafetyRefusalError",
|
| 18 |
+
"ApiUsageLimitError",
|
| 19 |
+
"VerifierOutputParseError",
|
| 20 |
+
"VerifierTimeoutError"
|
| 21 |
+
],
|
| 22 |
+
"wait_multiplier": 1.0,
|
| 23 |
+
"min_wait_sec": 1.0,
|
| 24 |
+
"max_wait_sec": 60.0
|
| 25 |
+
},
|
| 26 |
+
"trials": [
|
| 27 |
+
{
|
| 28 |
+
"schema_version": 2,
|
| 29 |
+
"task": {
|
| 30 |
+
"name": "task",
|
| 31 |
+
"version": "0.2.0",
|
| 32 |
+
"type": "local",
|
| 33 |
+
"digest": "sha256:60bd6df362cd854c516dc6d4b315ca62dd5d748c52cf56b797c9446d1ff2669a",
|
| 34 |
+
"path": "/home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-20260919/harbor-controls-2/task"
|
| 35 |
+
},
|
| 36 |
+
"install_only": false,
|
| 37 |
+
"timeout_multiplier": 1.0,
|
| 38 |
+
"agent": {
|
| 39 |
+
"name": "scripts.harbor_control_agent:ControlAgent",
|
| 40 |
+
"skills": [],
|
| 41 |
+
"resume_trajectory": false,
|
| 42 |
+
"extra_allowed_hosts": [],
|
| 43 |
+
"kwargs": {
|
| 44 |
+
"control": "detached-answers"
|
| 45 |
+
},
|
| 46 |
+
"mcp_servers": []
|
| 47 |
+
},
|
| 48 |
+
"bridge_inputs": {},
|
| 49 |
+
"skills": [],
|
| 50 |
+
"environment": {
|
| 51 |
+
"type": "docker",
|
| 52 |
+
"force_build": false,
|
| 53 |
+
"delete": true,
|
| 54 |
+
"cpu_enforcement_policy": "auto",
|
| 55 |
+
"memory_enforcement_policy": "auto",
|
| 56 |
+
"extra_docker_compose": [],
|
| 57 |
+
"kwargs": {},
|
| 58 |
+
"extra_allowed_hosts": []
|
| 59 |
+
},
|
| 60 |
+
"verifier": {
|
| 61 |
+
"disable": false,
|
| 62 |
+
"environment_mode": "separate"
|
| 63 |
+
}
|
| 64 |
+
}
|
| 65 |
+
]
|
| 66 |
+
}
|
harbor-controls/jobs/detached-answers/result.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"id": "74326206-1df1-45e4-af06-327ffefdbb86",
|
| 3 |
+
"started_at": "2026-09-19T10:59:50.673706",
|
| 4 |
+
"updated_at": "2026-09-19T11:00:26.353894",
|
| 5 |
+
"finished_at": "2026-09-19T11:00:26.353894",
|
| 6 |
+
"n_total_trials": 1,
|
| 7 |
+
"stats": {
|
| 8 |
+
"n_completed_trials": 1,
|
| 9 |
+
"n_errored_trials": 0,
|
| 10 |
+
"n_running_trials": 0,
|
| 11 |
+
"n_pending_trials": 0,
|
| 12 |
+
"n_cancelled_trials": 0,
|
| 13 |
+
"n_retries": 0,
|
| 14 |
+
"evals": {
|
| 15 |
+
"evalarc-scripted-control__adhoc": {
|
| 16 |
+
"n_trials": 1,
|
| 17 |
+
"n_errors": 0,
|
| 18 |
+
"metrics": [
|
| 19 |
+
{
|
| 20 |
+
"mean": 1.0
|
| 21 |
+
}
|
| 22 |
+
],
|
| 23 |
+
"pass_at_k": {},
|
| 24 |
+
"reward_stats": {
|
| 25 |
+
"reward": {
|
| 26 |
+
"1.0": [
|
| 27 |
+
"task__v4kEuZQ"
|
| 28 |
+
]
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
"exception_stats": {}
|
| 32 |
+
}
|
| 33 |
+
},
|
| 34 |
+
"n_input_tokens": null,
|
| 35 |
+
"n_cache_tokens": null,
|
| 36 |
+
"n_output_tokens": null,
|
| 37 |
+
"cost_usd": null
|
| 38 |
+
}
|
| 39 |
+
}
|
harbor-controls/jobs/detached-answers/task__v4kEuZQ/agent/trajectory.json
ADDED
|
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "ATIF-v1.8",
|
| 3 |
+
"session_id": "task__v4kEuZQ__agent",
|
| 4 |
+
"agent": {
|
| 5 |
+
"name": "evalarc-scripted-control",
|
| 6 |
+
"version": "1.0.0",
|
| 7 |
+
"extra": {
|
| 8 |
+
"control": "detached-answers",
|
| 9 |
+
"model_inference": false
|
| 10 |
+
}
|
| 11 |
+
},
|
| 12 |
+
"steps": [
|
| 13 |
+
{
|
| 14 |
+
"step_id": 1,
|
| 15 |
+
"source": "user",
|
| 16 |
+
"message": "# Robot recording evidence review\n\nImplement a JSON-lines service that reviews recorded positions and velocities.\nEach stdin line is one request. Write exactly one JSON response per request to\nstdout; diagnostics belong on stderr. Exit cleanly when stdin reaches EOF.\n\nThe input contains an `op` of `review`, a `query_frame`, and a `recording`:\n\n- `source.sha256` identifies the original recorded file. Preserve it in the report.\n- `metadata.expected_frames` lists every frame that should be present.\n- `metadata.world_from_sensor` describes the coordinate convention.\n For world component `j`, take sensor component `axes[j]`, multiply by\n `signs[j]` and `meters_per_unit`, then add `origin_m[j]` for positions.\n Velocities use the same axis/sign/unit mapping without translation.\n- `metadata.clock` defines elapsed seconds as\n `(tick - origin_tick) * seconds_per_tick`.\n- `metadata.analytic` gives initial position, initial velocity and constant\n acceleration in world metres and seconds.\n- `observations` contains objects with `frame`, `tick`, `position`, and `velocity`.\n Input order is arbitrary. Some expected frames may be absent. The queried frame\n is present. Do not interpolate absent observations.\n\nReturn exactly `{\"ok\": true, \"report\": {...}}`. The report contains these fields:\n\n| Field | Required value |\n| --- | --- |\n| `source_sha256` | The provided original source digest |\n| `frame` | The requested integer frame |\n| `time_seconds` | Its elapsed time, after clock conversion |\n| `position_m` | Its three world-coordinate position components |\n| `speed_m_s` | Euclidean magnitude of its world velocity |\n| `max_position_error_m` | Maximum Euclidean position error across **available** observations against `p0 + v0*t + 0.5*g*t*t` |\n| `peak_frame` | Available frame with greatest world z; choose the lowest frame number on an exact tie |\n| `peak_height_m` | That frame's world z position |\n| `missing_frames` | Sorted list of expected but absent integer frames |\n\nUse JSON numbers for numerical values, never Boolean substitutes, NaN or Infinity.\nChecks allow absolute numerical error up to 1e-6 or relative error up to 1e-7.\nDo not infer metres, seconds, axis order, or completeness from filenames.\n\nThese inputs are derived representations of six real CUDA recordings published\nby Robot Reel. Unit, coordinate, clock and omission variants are generated for this\npublic development task. They are not new physical experiments or hidden test data.\nReporting a source digest provides attribution; it does not authenticate the\noriginal recording's producer.\n\n## Deliverables\n\nImplement `/workspace/main.py`. Run it on `/workspace/requests.jsonl` and write exactly one answer per request, in input order, to `/workspace/answers.jsonl`. Deliver both files. Python's standard library is available and the environment has no network.\n\nA fresh verifier container checks the answer data. The downloadable main.py can additionally be independently executed by EvalArc; Harbor reward alone does not prove that the program produced the answers.\n\nThis task version reports weighted partial credit for the answer data. Full completion still requires every check to pass. Weights: provenance 0.10, coordinates 0.25, clock 0.15, metrics 0.25, completeness 0.15, protocol 0.10. The independent program acceptance threshold is 1.0.\n"
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"step_id": 2,
|
| 20 |
+
"source": "agent",
|
| 21 |
+
"timestamp": "2026-09-19T02:59:56.274551+00:00",
|
| 22 |
+
"message": "Execute scripted detached-answers control step.",
|
| 23 |
+
"tool_calls": [
|
| 24 |
+
{
|
| 25 |
+
"tool_call_id": "exec-2",
|
| 26 |
+
"function_name": "environment.exec",
|
| 27 |
+
"arguments": {
|
| 28 |
+
"command": "python3 -c 'import json, os; from pathlib import Path; print(json.dumps({'\"'\"'uid'\"'\"': os.getuid(), '\"'\"'cwd'\"'\"': os.getcwd(), '\"'\"'network_interfaces'\"'\"': sorted(p.name for p in Path('\"'\"'/sys/class/net'\"'\"').iterdir())})); assert os.getuid() != 0'",
|
| 29 |
+
"cwd": "/workspace",
|
| 30 |
+
"timeout_sec": 30
|
| 31 |
+
}
|
| 32 |
+
}
|
| 33 |
+
],
|
| 34 |
+
"observation": {
|
| 35 |
+
"results": [
|
| 36 |
+
{
|
| 37 |
+
"source_call_id": "exec-2",
|
| 38 |
+
"content": "{\"return_code\": 0, \"stdout\": \"{\\\"uid\\\": 65534, \\\"cwd\\\": \\\"/workspace\\\", \\\"network_interfaces\\\": [\\\"eth0\\\", \\\"lo\\\"]}\\n\", \"stderr\": null}"
|
| 39 |
+
}
|
| 40 |
+
]
|
| 41 |
+
}
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"step_id": 3,
|
| 45 |
+
"source": "agent",
|
| 46 |
+
"timestamp": "2026-09-19T02:59:56.496481+00:00",
|
| 47 |
+
"message": "Execute scripted detached-answers control step.",
|
| 48 |
+
"tool_calls": [
|
| 49 |
+
{
|
| 50 |
+
"tool_call_id": "exec-3",
|
| 51 |
+
"function_name": "environment.exec",
|
| 52 |
+
"arguments": {
|
| 53 |
+
"command": "python3 -c 'from pathlib import Path; Path('\"'\"'main.py'\"'\"').write_text('\"'\"'\"\"\"Independent Python implementation of the public recording-review contract.\"\"\"\\n\\nimport json\\nimport math\\nimport sys\\n\\nUSE_UNITS = True\\nUSE_ORIGIN = True\\nUSE_CLOCK = True\\nCHECK_MISSING = True\\nFIND_PEAK = True\\nPRESERVE_SOURCE = True\\n\\n\\ndef review(request):\\n recording = request[\"recording\"]\\n metadata = recording[\"metadata\"]\\n mapping = metadata[\"world_from_sensor\"]\\n clock = metadata[\"clock\"]\\n scale = mapping[\"meters_per_unit\"] if USE_UNITS else 1\\n converted = []\\n for sample in recording[\"observations\"]:\\n p, v = [], []\\n for axis, sign, origin in zip(mapping[\"axes\"], mapping[\"signs\"], mapping[\"origin_m\"]):\\n p.append(sample[\"position\"][axis] * sign * scale + (origin if USE_ORIGIN else 0))\\n v.append(sample[\"velocity\"][axis] * sign * scale)\\n t = (sample[\"tick\"] - clock[\"origin_tick\"]) * clock[\"seconds_per_tick\"]\\n if not USE_CLOCK:\\n t = sample[\"tick\"]\\n converted.append({\"frame\": sample[\"frame\"], \"position\": p, \"velocity\": v, \"time\": t})\\n query = next(row for row in converted if row[\"frame\"] == request[\"query_frame\"])\\n analytic = metadata[\"analytic\"]\\n errors = []\\n for row in converted:\\n ideal = [\\n analytic[\"position0_m\"][axis]\\n + analytic[\"velocity0_m_s\"][axis] * row[\"time\"]\\n + analytic[\"gravity_m_s2\"][axis] * row[\"time\"] ** 2 / 2\\n for axis in range(3)\\n ]\\n errors.append(math.sqrt(sum((a - b) ** 2 for a, b in zip(ideal, row[\"position\"]))))\\n peak = sorted(converted, key=lambda row: (-row[\"position\"][2], row[\"frame\"]))[0]\\n if not FIND_PEAK:\\n peak = max(converted, key=lambda row: row[\"frame\"])\\n seen = {row[\"frame\"] for row in converted}\\n return {\\n \"source_sha256\": recording[\"source\"][\"sha256\"] if PRESERVE_SOURCE else \"0\" * 64,\\n \"frame\": query[\"frame\"],\\n \"time_seconds\": query[\"time\"],\\n \"position_m\": query[\"position\"],\\n \"speed_m_s\": math.sqrt(sum(value * value for value in query[\"velocity\"])),\\n \"max_position_error_m\": max(errors),\\n \"peak_frame\": peak[\"frame\"],\\n \"peak_height_m\": peak[\"position\"][2],\\n \"missing_frames\": sorted(set(metadata[\"expected_frames\"]) - seen) if CHECK_MISSING else [],\\n }\\n\\n\\nfor line in sys.stdin:\\n print(json.dumps({\"ok\": True, \"report\": review(json.loads(line))}, allow_nan=False), flush=True)\\n'\"'\"')'",
|
| 54 |
+
"cwd": "/workspace",
|
| 55 |
+
"timeout_sec": 30
|
| 56 |
+
}
|
| 57 |
+
}
|
| 58 |
+
],
|
| 59 |
+
"observation": {
|
| 60 |
+
"results": [
|
| 61 |
+
{
|
| 62 |
+
"source_call_id": "exec-3",
|
| 63 |
+
"content": "{\"return_code\": 0, \"stdout\": null, \"stderr\": null}"
|
| 64 |
+
}
|
| 65 |
+
]
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"step_id": 4,
|
| 70 |
+
"source": "agent",
|
| 71 |
+
"timestamp": "2026-09-19T02:59:56.718490+00:00",
|
| 72 |
+
"message": "Execute scripted detached-answers control step.",
|
| 73 |
+
"tool_calls": [
|
| 74 |
+
{
|
| 75 |
+
"tool_call_id": "exec-4",
|
| 76 |
+
"function_name": "environment.exec",
|
| 77 |
+
"arguments": {
|
| 78 |
+
"command": "python3 -I -B /workspace/main.py < /workspace/requests.jsonl > /workspace/answers.jsonl",
|
| 79 |
+
"cwd": "/workspace",
|
| 80 |
+
"timeout_sec": 30
|
| 81 |
+
}
|
| 82 |
+
}
|
| 83 |
+
],
|
| 84 |
+
"observation": {
|
| 85 |
+
"results": [
|
| 86 |
+
{
|
| 87 |
+
"source_call_id": "exec-4",
|
| 88 |
+
"content": "{\"return_code\": 0, \"stdout\": null, \"stderr\": null}"
|
| 89 |
+
}
|
| 90 |
+
]
|
| 91 |
+
}
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"step_id": 5,
|
| 95 |
+
"source": "agent",
|
| 96 |
+
"timestamp": "2026-09-19T02:59:56.920001+00:00",
|
| 97 |
+
"message": "Execute scripted detached-answers control step.",
|
| 98 |
+
"tool_calls": [
|
| 99 |
+
{
|
| 100 |
+
"tool_call_id": "exec-5",
|
| 101 |
+
"function_name": "environment.exec",
|
| 102 |
+
"arguments": {
|
| 103 |
+
"command": "python3 -c 'from pathlib import Path; Path('\"'\"'main.py'\"'\"').write_text('\"'\"'\"\"\"Independent Python implementation of the public recording-review contract.\"\"\"\\n\\nimport json\\nimport math\\nimport sys\\n\\nUSE_UNITS = True\\nUSE_ORIGIN = True\\nUSE_CLOCK = False\\nCHECK_MISSING = True\\nFIND_PEAK = True\\nPRESERVE_SOURCE = True\\n\\n\\ndef review(request):\\n recording = request[\"recording\"]\\n metadata = recording[\"metadata\"]\\n mapping = metadata[\"world_from_sensor\"]\\n clock = metadata[\"clock\"]\\n scale = mapping[\"meters_per_unit\"] if USE_UNITS else 1\\n converted = []\\n for sample in recording[\"observations\"]:\\n p, v = [], []\\n for axis, sign, origin in zip(mapping[\"axes\"], mapping[\"signs\"], mapping[\"origin_m\"]):\\n p.append(sample[\"position\"][axis] * sign * scale + (origin if USE_ORIGIN else 0))\\n v.append(sample[\"velocity\"][axis] * sign * scale)\\n t = (sample[\"tick\"] - clock[\"origin_tick\"]) * clock[\"seconds_per_tick\"]\\n if not USE_CLOCK:\\n t = sample[\"tick\"]\\n converted.append({\"frame\": sample[\"frame\"], \"position\": p, \"velocity\": v, \"time\": t})\\n query = next(row for row in converted if row[\"frame\"] == request[\"query_frame\"])\\n analytic = metadata[\"analytic\"]\\n errors = []\\n for row in converted:\\n ideal = [\\n analytic[\"position0_m\"][axis]\\n + analytic[\"velocity0_m_s\"][axis] * row[\"time\"]\\n + analytic[\"gravity_m_s2\"][axis] * row[\"time\"] ** 2 / 2\\n for axis in range(3)\\n ]\\n errors.append(math.sqrt(sum((a - b) ** 2 for a, b in zip(ideal, row[\"position\"]))))\\n peak = sorted(converted, key=lambda row: (-row[\"position\"][2], row[\"frame\"]))[0]\\n if not FIND_PEAK:\\n peak = max(converted, key=lambda row: row[\"frame\"])\\n seen = {row[\"frame\"] for row in converted}\\n return {\\n \"source_sha256\": recording[\"source\"][\"sha256\"] if PRESERVE_SOURCE else \"0\" * 64,\\n \"frame\": query[\"frame\"],\\n \"time_seconds\": query[\"time\"],\\n \"position_m\": query[\"position\"],\\n \"speed_m_s\": math.sqrt(sum(value * value for value in query[\"velocity\"])),\\n \"max_position_error_m\": max(errors),\\n \"peak_frame\": peak[\"frame\"],\\n \"peak_height_m\": peak[\"position\"][2],\\n \"missing_frames\": sorted(set(metadata[\"expected_frames\"]) - seen) if CHECK_MISSING else [],\\n }\\n\\n\\nfor line in sys.stdin:\\n print(json.dumps({\"ok\": True, \"report\": review(json.loads(line))}, allow_nan=False), flush=True)\\n'\"'\"')'",
|
| 104 |
+
"cwd": "/workspace",
|
| 105 |
+
"timeout_sec": 30
|
| 106 |
+
}
|
| 107 |
+
}
|
| 108 |
+
],
|
| 109 |
+
"observation": {
|
| 110 |
+
"results": [
|
| 111 |
+
{
|
| 112 |
+
"source_call_id": "exec-5",
|
| 113 |
+
"content": "{\"return_code\": 0, \"stdout\": null, \"stderr\": null}"
|
| 114 |
+
}
|
| 115 |
+
]
|
| 116 |
+
}
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"step_id": 6,
|
| 120 |
+
"source": "agent",
|
| 121 |
+
"timestamp": "2026-09-19T02:59:57.153179+00:00",
|
| 122 |
+
"message": "Execute scripted detached-answers control step.",
|
| 123 |
+
"tool_calls": [
|
| 124 |
+
{
|
| 125 |
+
"tool_call_id": "exec-6",
|
| 126 |
+
"function_name": "environment.exec",
|
| 127 |
+
"arguments": {
|
| 128 |
+
"command": "python3 -c 'import hashlib, json; from pathlib import Path; print(json.dumps({name: hashlib.sha256(Path(name).read_bytes()).hexdigest() for name in ('\"'\"'main.py'\"'\"', '\"'\"'answers.jsonl'\"'\"')}))'",
|
| 129 |
+
"cwd": "/workspace",
|
| 130 |
+
"timeout_sec": 30
|
| 131 |
+
}
|
| 132 |
+
}
|
| 133 |
+
],
|
| 134 |
+
"observation": {
|
| 135 |
+
"results": [
|
| 136 |
+
{
|
| 137 |
+
"source_call_id": "exec-6",
|
| 138 |
+
"content": "{\"return_code\": 0, \"stdout\": \"{\\\"main.py\\\": \\\"e384f31a3702185e69bd42fcca74e4e4a2557ba460984598376082fe5f5f3ee1\\\", \\\"answers.jsonl\\\": \\\"86d5d68cf902e61f65af507be1066e0678bd038735e45ddf28128d7433d1bc73\\\"}\\n\", \"stderr\": null}"
|
| 139 |
+
}
|
| 140 |
+
]
|
| 141 |
+
}
|
| 142 |
+
}
|
| 143 |
+
],
|
| 144 |
+
"notes": "Actual Harbor container executions of a declared scripted control. Programs are provided fixtures, not model-generated solutions.",
|
| 145 |
+
"extra": {
|
| 146 |
+
"control": "detached-answers",
|
| 147 |
+
"reference_sha256": "42ba09f8896bd11aae872d1f45bb240333bc577f19010bf0480106b0b73ff7af"
|
| 148 |
+
}
|
| 149 |
+
}
|
harbor-controls/jobs/detached-answers/task__v4kEuZQ/artifacts/answers.jsonl
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"ok": true, "report": {"source_sha256": "31a20c5c4c16174c4431e4a65ce7777862076108b9916fc388360d70077a53b3", "frame": 28, "time_seconds": 0.9333333333333333, "position_m": [1.86666738986969, 0.0, 5.907934188842773], "speed_m_s": 2.170791321911835, "max_position_error_m": 0.32700288772800196, "peak_frame": 30, "peak_height_m": 5.9315009117126465, "missing_frames": []}}
|
| 2 |
+
{"ok": true, "report": {"source_sha256": "31a20c5c4c16174c4431e4a65ce7777862076108b9916fc388360d70077a53b3", "frame": 28, "time_seconds": 0.9333333333333722, "position_m": [1.86666738986969, 0.0, 5.907934188842773], "speed_m_s": 2.170791321911835, "max_position_error_m": 0.32700288772800196, "peak_frame": 30, "peak_height_m": 5.9315009117126465, "missing_frames": []}}
|
| 3 |
+
{"ok": true, "report": {"source_sha256": "31a20c5c4c16174c4431e4a65ce7777862076108b9916fc388360d70077a53b3", "frame": 28, "time_seconds": 0.9333333333320916, "position_m": [1.86666738986969, 0.0, 5.907934188842773], "speed_m_s": 2.170791321911835, "max_position_error_m": 0.32700288772800196, "peak_frame": 30, "peak_height_m": 5.9315009117126465, "missing_frames": []}}
|
| 4 |
+
{"ok": true, "report": {"source_sha256": "31a20c5c4c16174c4431e4a65ce7777862076108b9916fc388360d70077a53b3", "frame": 28, "time_seconds": 0.9333333333333333, "position_m": [1.86666738986969, 0.0, 5.907934188842773], "speed_m_s": 2.170791321911835, "max_position_error_m": 0.32700288772800196, "peak_frame": 30, "peak_height_m": 5.9315009117126465, "missing_frames": [8, 43]}}
|
| 5 |
+
{"ok": true, "report": {"source_sha256": "3a88a8f8902e367684d7bf8a613569c24ccc8cd1f086c38fbd1b62ae96777a1e", "frame": 31, "time_seconds": 1.0333333333333334, "position_m": [2.066678047180176, 0.0, 6.085323333740234], "speed_m_s": 2.0046877195638113, "max_position_error_m": 0.02046407548115492, "peak_frame": 31, "peak_height_m": 6.085323333740234, "missing_frames": []}}
|
| 6 |
+
{"ok": true, "report": {"source_sha256": "3a88a8f8902e367684d7bf8a613569c24ccc8cd1f086c38fbd1b62ae96777a1e", "frame": 31, "time_seconds": 1.033333333333372, "position_m": [2.066678047180176, 0.0, 6.085323333740234], "speed_m_s": 2.0046877195638113, "max_position_error_m": 0.02046407548115492, "peak_frame": 31, "peak_height_m": 6.085323333740234, "missing_frames": []}}
|
| 7 |
+
{"ok": true, "report": {"source_sha256": "3a88a8f8902e367684d7bf8a613569c24ccc8cd1f086c38fbd1b62ae96777a1e", "frame": 31, "time_seconds": 1.0333333333320915, "position_m": [2.066678047180176, 0.0, 6.085323333740234], "speed_m_s": 2.0046877195638113, "max_position_error_m": 0.02046407548115492, "peak_frame": 31, "peak_height_m": 6.085323333740234, "missing_frames": []}}
|
| 8 |
+
{"ok": true, "report": {"source_sha256": "3a88a8f8902e367684d7bf8a613569c24ccc8cd1f086c38fbd1b62ae96777a1e", "frame": 31, "time_seconds": 1.0333333333333334, "position_m": [2.066678047180176, 0.0, 6.085323333740234], "speed_m_s": 2.0046877195638113, "max_position_error_m": 0.02046407548115492, "peak_frame": 31, "peak_height_m": 6.085323333740234, "missing_frames": [8, 43]}}
|
harbor-controls/jobs/detached-answers/task__v4kEuZQ/artifacts/candidate/main.py
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Independent Python implementation of the public recording-review contract."""
|
| 2 |
+
|
| 3 |
+
import json
|
| 4 |
+
import math
|
| 5 |
+
import sys
|
| 6 |
+
|
| 7 |
+
USE_UNITS = True
|
| 8 |
+
USE_ORIGIN = True
|
| 9 |
+
USE_CLOCK = False
|
| 10 |
+
CHECK_MISSING = True
|
| 11 |
+
FIND_PEAK = True
|
| 12 |
+
PRESERVE_SOURCE = True
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
def review(request):
|
| 16 |
+
recording = request["recording"]
|
| 17 |
+
metadata = recording["metadata"]
|
| 18 |
+
mapping = metadata["world_from_sensor"]
|
| 19 |
+
clock = metadata["clock"]
|
| 20 |
+
scale = mapping["meters_per_unit"] if USE_UNITS else 1
|
| 21 |
+
converted = []
|
| 22 |
+
for sample in recording["observations"]:
|
| 23 |
+
p, v = [], []
|
| 24 |
+
for axis, sign, origin in zip(mapping["axes"], mapping["signs"], mapping["origin_m"]):
|
| 25 |
+
p.append(sample["position"][axis] * sign * scale + (origin if USE_ORIGIN else 0))
|
| 26 |
+
v.append(sample["velocity"][axis] * sign * scale)
|
| 27 |
+
t = (sample["tick"] - clock["origin_tick"]) * clock["seconds_per_tick"]
|
| 28 |
+
if not USE_CLOCK:
|
| 29 |
+
t = sample["tick"]
|
| 30 |
+
converted.append({"frame": sample["frame"], "position": p, "velocity": v, "time": t})
|
| 31 |
+
query = next(row for row in converted if row["frame"] == request["query_frame"])
|
| 32 |
+
analytic = metadata["analytic"]
|
| 33 |
+
errors = []
|
| 34 |
+
for row in converted:
|
| 35 |
+
ideal = [
|
| 36 |
+
analytic["position0_m"][axis]
|
| 37 |
+
+ analytic["velocity0_m_s"][axis] * row["time"]
|
| 38 |
+
+ analytic["gravity_m_s2"][axis] * row["time"] ** 2 / 2
|
| 39 |
+
for axis in range(3)
|
| 40 |
+
]
|
| 41 |
+
errors.append(math.sqrt(sum((a - b) ** 2 for a, b in zip(ideal, row["position"]))))
|
| 42 |
+
peak = sorted(converted, key=lambda row: (-row["position"][2], row["frame"]))[0]
|
| 43 |
+
if not FIND_PEAK:
|
| 44 |
+
peak = max(converted, key=lambda row: row["frame"])
|
| 45 |
+
seen = {row["frame"] for row in converted}
|
| 46 |
+
return {
|
| 47 |
+
"source_sha256": recording["source"]["sha256"] if PRESERVE_SOURCE else "0" * 64,
|
| 48 |
+
"frame": query["frame"],
|
| 49 |
+
"time_seconds": query["time"],
|
| 50 |
+
"position_m": query["position"],
|
| 51 |
+
"speed_m_s": math.sqrt(sum(value * value for value in query["velocity"])),
|
| 52 |
+
"max_position_error_m": max(errors),
|
| 53 |
+
"peak_frame": peak["frame"],
|
| 54 |
+
"peak_height_m": peak["position"][2],
|
| 55 |
+
"missing_frames": sorted(set(metadata["expected_frames"]) - seen) if CHECK_MISSING else [],
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
for line in sys.stdin:
|
| 60 |
+
print(json.dumps({"ok": True, "report": review(json.loads(line))}, allow_nan=False), flush=True)
|
harbor-controls/jobs/detached-answers/task__v4kEuZQ/artifacts/manifest.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"source": "/logs/artifacts",
|
| 4 |
+
"destination": "artifacts/logs/artifacts",
|
| 5 |
+
"type": "directory",
|
| 6 |
+
"status": "empty",
|
| 7 |
+
"service": null,
|
| 8 |
+
"exclude": []
|
| 9 |
+
},
|
| 10 |
+
{
|
| 11 |
+
"source": "/workspace/answers.jsonl",
|
| 12 |
+
"destination": "artifacts/answers.jsonl",
|
| 13 |
+
"type": "file",
|
| 14 |
+
"status": "ok",
|
| 15 |
+
"service": null,
|
| 16 |
+
"exclude": []
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"source": "/workspace/main.py",
|
| 20 |
+
"destination": "artifacts/candidate/main.py",
|
| 21 |
+
"type": "file",
|
| 22 |
+
"status": "ok",
|
| 23 |
+
"service": null,
|
| 24 |
+
"exclude": []
|
| 25 |
+
}
|
| 26 |
+
]
|
harbor-controls/jobs/detached-answers/task__v4kEuZQ/config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"task": {
|
| 3 |
+
"path": "/home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-20260919/harbor-controls-2/task"
|
| 4 |
+
},
|
| 5 |
+
"trial_name": "task__v4kEuZQ",
|
| 6 |
+
"trials_dir": "/home/dcvuser/work/robot-reel-agents/codex/artifacts/research-completion-20260919/harbor-controls-2/jobs/detached-answers",
|
| 7 |
+
"agent": {
|
| 8 |
+
"name": "scripts.harbor_control_agent:ControlAgent",
|
| 9 |
+
"kwargs": {
|
| 10 |
+
"control": "detached-answers"
|
| 11 |
+
}
|
| 12 |
+
},
|
| 13 |
+
"job_id": "74326206-1df1-45e4-af06-327ffefdbb86"
|
| 14 |
+
}
|