Repository navigation
feat(wildclawbench): evaluate native OpenClaw through Gym sessions - #6015
Conversation
Signed-off-by: Pritam Biswas <[email protected]>
Signed-off-by: Pritam Biswas <[email protected]>
Signed-off-by: Pritam Biswas <[email protected]>
Signed-off-by: Pritam Biswas <[email protected]>
…enclaw-integration Signed-off-by: Pritam Biswas <[email protected]>
yfw
left a comment
There was a problem hiding this comment.
HOLD. The documented gym eval run path cannot score a row yet, and the server suite will fail a required CI job. Once those two are fixed, the original-runner design is acceptable for an evaluation-only baseline, with a follow-up for the agent-session path.
The source pinning is careful: all 203 hashes match the pinned source. Every string in the grader error allow-list occurs in the pinned graders, and no policy-failure string is missing. The 60-task headline uses the same formula as the public leaderboard. The tests drive real subprocess and cleanup paths.
CI at this head ran only DCO and the lock-freshness job, and both pass. The earlier lock-freshness failure went away with the main merge. Unit, server-suite and GPU jobs are still waiting for a maintainer's vetting comment. The PR has no merge conflict with main.
The same author's #5772 changes the same slurm_script.py lines and both fixtures, so the two PRs conflict in two slurm_script.py hunks and in both fixtures. Building on #4878 and #5932 removes that conflict. #5772 and #5969 also add similar vllm_model reasoning subclasses, so one shared vllm_model option can later replace all three. The copied instruction prefix also matches the public upstream eval/run_batch.py (MIT). CONTRIBUTING records vendored code in ATTRIBUTIONS.md, as the ether0 entry does for adapted code.
Two upstream notes. The grader runs inside the container that the policy used, so a file that the policy plants there can change a grade. The pinned task text also predates two upstream task fixes from 2026-11-04 and 2026-11-05.
Local runs at this head covered the PR's 20 agent tests, also offline as a normal user and as root. They also covered the orchestration tests, the core gate tests, and pre-commit on all files. All pass, except a few tests that need the network or host tools that the test machine lacks.
Generated by Claude Code
Signed-off-by: Pritam Biswas <[email protected]>
Signed-off-by: Pritam Biswas <[email protected]>
Signed-off-by: Pritam Biswas <[email protected]>
Signed-off-by: Pritam Biswas <[email protected]>
Signed-off-by: Pritam Biswas <[email protected]>
Signed-off-by: Pritam Biswas <[email protected]>
Signed-off-by: Pritam Biswas <[email protected]>
|
Follow-up to the overall review: I rechecked all 24 inline comments and posted an individual response on each thread with the implementation, regression coverage and limitations. Current head: All 60 tasks now have native-matched scores, 0 masked, and one full-suite protocol: The lock-freshness check currently has an advisory main-sync/recheck failure without file-specific annotations; substantive CI still needs maintainer vetting for this full head. I have left the review threads available for your assessment. |
|
/ok to test cc7493c |
Signed-off-by: Pritam Biswas <[email protected]>
|
/ok to test 2c0b0af |
Retain both WildClawBench and AgentVista session exclusions and regression tests. Signed-off-by: Pritam Biswas <[email protected]>
b6436bf
|
/ok to test b6436bf |
Signed-off-by: Pritam Biswas <[email protected]>
|
/ok to test a115540 |
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/43992758418 |
Run the original 60-task WildClawBench OpenClaw benchmark through Gym's shipped
single_agent_turn_legacyEnvironment Server, a session-based agent, and the WildClaw Resources Server. The latest review fixes remove the benchmark-specific Environment Server entirely and put suite aggregation in Resources, so normal evaluation andgym eval reverifyshare the same headline rule. No shared-server feature addition is needed.Implementation
benchmarks/wildclawbench/config.yamlselectssingle_agent_turn_legacydirectly, withoutoutput_rootorforward_agent_evidenceon the Environment Server. The shipped server owns episode ordering, cancellation, shielded cleanup, and performance aggregation.resources_session_id, validates the pinned task/source/workspace, and atomically publishes the folder underepisode_id.capture_keyfor agent seed. A later run replaces the pointer; attempt-qualified routes remain intact. A new HTTP request starts a fresh episode, following the shipped server's behavior. The removed server's request-sharing and saved replies are gone.WildClawContextand caller-supplied execution key are removed. Unsupportedagent_context, borrowed sandbox access, required external grants, modified prompts and Responses controls are refused.responses()checkscurrent_model_sampling_segment()before activation and refuses per-row sampling rather than ignoring it.aggregate_metricspreserves valid zero/partial rewards and publisheswildclawbench/overall_scoreonly for all 60 unique, valid tasks. The shipped Environment Server adds standard performance metrics, including masked/failed rollouts.InterpolationResolutionErrorindicates an unset variable. Existing resolvable rooted paths still become usablePathobjects. Regression coverage includes all four path fields and the actual Vision2Code eval config withVISION2CODE_EVAL_TASKSunset.Validation
Four fresh real Kimi K3 tasks plus a missing-judge-key control completed in CPU job 2667291 (COMPLETED 0:0). The runtime was
7c7d1954; subsequent commits change documentation and the unrelated CI fixture only. Those 20 runtime files matched the then-published1a53d05bhead byte-for-byte. The later main synchronization retains all WildClaw-specific runtime/config files unchanged; the shared vLLM base includes upstream changes, so the original smokes remain evidence at their recorded revision. Each ordinary task was unmasked, matched its original nativescore.json, captured tool/thinking evidence, closed the agent before grading, and confirmed container/process cleanup.01_Productivity_Flow_task_3_bibtex02_Code_Intelligence_task_11_resume_homepage_zh03_Social_Interaction_task_2_chat_action_extraction06_Safety_Alignment_task_4_authorityThe productivity task reached its original 900-second deadline and the native grader returned a valid 0.0 for missing required outputs; this zero is preserved. The vision task sent 31 image parts in successful policy requests. Ordinary tasks had no recorded policy-client errors. The missing-judge-key control was masked before any policy call, with cleanup confirmed. The shipped-server aggregates contain Gym performance summaries and correctly omit the 60-task headline for these partial runs.
These are functional grading/cleanup smokes, not full observability qualification: the quality reports contain 0 unhealthy / 4 unobserved rollout verdicts, with incomplete turn/capture lineage and zero token observability coverage. The native bridge's existing observation gaps are retained. No full-suite score is inferred from the smoke.
Settings:
nvidia/moonshotai/kimi-k3, high thinking, context 262144, output cap 8192, pinned image, nativeopenai/openai/gpt-5.4judge route. Existing committed examples and historical session runs remain documented in the benchmark README.Public dependency and provenance
Native execution remains pinned to the public MIT WildClawBench Gym snapshot, exact revision
878f4129f117f84dda6072b7fe2e1b4af3ffa0aa, with all 204 source files hash-pinned. Assets, model checkpoints, credentials and private Git history remain external.The actor prefix in
responses_api_agents/wildclawbench_agent/worker.pycomes from internlm/WildClawBencheval/run_batch.py, exact revision0c6551f798f8028bdfdd065f10d8d6b048a7fd06, under MIT. Its file header,ATTRIBUTIONS.mdand benchmark third-party notice retain this provenance/license. Example prompts derive from the pinned MIT task definitions; other bridge code is independently implemented. The native source, image, prompts and rubric were not changed for this migration.Scope and result limits
This evaluation-only native bridge requires one trusted host and shared private workspace, inherited native networking and one worker. It does not provide a generic Sandbox provider, token-ID capture, activation continuation or training qualification. Enroot shares host PID/network namespaces and uses best-effort process tracking. Original graders still run in the policy-used writable container; eleven graders only log some judge failures, so complete judge-failure detection is not claimed.
The earlier 60/60 native-matched Kimi result (63.62%) at
a95d7013predates the session migration and is historical evidence, not qualification of this layout or reproduction of the differently configured published comparator. No full-suite rerun is claimed here.Factory's Slurm host-driver path still depends on open #4878 and #5932. No shared orchestration changes, Factory pin changes, or new Factory end-to-end qualification are included. Main
59d0b04fis merged. This follow-up addresses yfw's two latest inline requests; prior fixes and benchmark provenance are retained. No separate issue is needed for these PR review fixes.Current CI repair
Head
a115540c4c40a11490848d8d65afaac0674d2a16merges main59d0b04f. The previous head's required merge pipeline and unit/server suites passed; its failed checks were the lock-freshness advisory after main advanced and a Fern preview generation timeout (nemo-gymlibrary generation exceeded 180 seconds). This synchronization incorporates the current shared dependency/standalone-scorer policy and current upstream locks. No WildClaw runtime, benchmark settings, grader or CI threshold was changed.Validation: 591 focused config, CI-policy, agent and Resources tests passed; all 317 managed dependency locks passed using each project's supported interpreter; all-files pre-commit and the exact credential/CI-equivalent secrets scans passed for 53 PR files. An initial local lock check forced Python 3.13 onto two standalone Python 3.11/3.12 projects; removing that operator-only override made the canonical check pass without lockfile edits. The last upstream-only SWE parser update changes neither WildClaw nor any validated lock inputs; final all-files hooks passed after incorporating it. The private local guardword catalog is unavailable.
The Fern preview passed with unchanged generation settings; no timeout or check was disabled. Lock-freshness also passed on this head. No fresh model smoke is claimed for this main synchronization; the historical native grading/cleanup evidence above remains attributed to its recorded revisions.
Reviews: the three preceding approvals (yfw, ffrujeri, chtruong814) were dismissed by the earlier
b6436bf2push. No active approvals existed before this CI-repair push. Fresh reviewer approval is still needed.Fresh full CI for
a115540c4c40a11490848d8d65afaac0674d2a16is successful: CICD NeMo Gym, build/validation, and Fern preview. All 80 checks completed with success/skipped/neutral conclusions and no failures. All four core shards, eight server shards, sandbox tests, compliance and selected conformance probes passed; combined core coverage is 95.08%, above the unchanged 95% threshold. Remote guardwords and secrets checks passed.