Repository navigation
feat(claweval): run original ClawEval evaluations through Gym - #3997
ehosseiniasl wants to merge 14 commits into
Conversation
Signed-off-by: Ehsan Hosseini Asl <[email protected]>
Signed-off-by: Ehsan Hosseini Asl <[email protected]>
Signed-off-by: Ehsan Hosseini Asl <[email protected]>
Signed-off-by: Ehsan Hosseini Asl <[email protected]>
Signed-off-by: Ehsan Hosseini Asl <[email protected]>
…claweval-native-eval Signed-off-by: Ehsan Hosseini Asl <[email protected]> # Conflicts: # nemo_gym/orchestration/api.py # nemo_gym/orchestration/executors/slurm_script.py
Signed-off-by: Ehsan Hosseini Asl <[email protected]>
Signed-off-by: Ehsan Hosseini Asl <[email protected]>
…ation Signed-off-by: Ehsan Hosseini Asl <[email protected]>
yaoyu-33
left a comment
There was a problem hiding this comment.
Thanks for the detailed onboarding write-up. Wrapping the native ClawEval loop and graders so they report through Gym metrics is a nice approach, and the stdin credential handoff, digest checks and process-group cleanup on timeout are careful touches.
A few things to sort out before this is reviewable for merge:
- The pushed head isn't the validated code. The description and Factory MR !2018 both refer to
4d342451…, which isn't on GitHub (in this repo or the fork). The capture proxy, masking of failed executions, null token details and the prepare fix aren't in4317cc40. Could you push that commit so CI and the smoke evidence refer to the same SHA? Factory can then pin an NVIDIA-NeMo/Gym SHA instead of the personal fork. - Rebase: the branch is conflicting with
main(nemo_gym/orchestration/api.py,executors/slurm_script.py). - CI: two existing unit tests fail at this head (inline comments 1 and 2). Copy-pr-bot vetting is still pending; it's best requested on the final head.
- Baselining: the native 101×3 baseline is recorded, but the Gym side has only a 3-task smoke run on the unpublished commit. Could you add the full Gym mean score / Pass@1 / Pass@3 / Pass³ next to the native numbers once those jobs finish?
- Scope question: the host-driver change (
driver.container: null) is generic and touches a shared config contract. Would you consider splitting it into a small core PR with its docs and the Kubernetes guard? Also, could you point to the upstream Claw-Eval license backinglicense: MIT, given the harness comes from an internal fork?
|
@ehosseiniasl Can you please address the reviews? |
Signed-off-by: Ehsan Hosseini Asl <[email protected]>
Signed-off-by: Ehsan Hosseini Asl <[email protected]>
|
@yaoyu-33 @oyilmaz-nvidia The six inline findings are fixed and resolved on published head The final head passed 805 tests, full pre-commit, and a fresh live Slurm/Pyxis smoke (job For the scope question, I kept host-driver support here because native ClawEval needs to launch Pyxis scheduler steps from the allocated host; Slurm-only validation, mount checks, the Kubernetes regression and Fern docs bound the shared contract change. The README now links the upstream MIT license, retained by the supplied fork. Please vet this published head for copy-pr-bot and the normal target CI. Full Nano parity, remaining Nano P0/capability qualification, the post-merge Factory main-SHA pin, and SWQA/Evergreen certification remain draft gates. |
Signed-off-by: Ehsan Hosseini Asl <[email protected]>
Merge current main while retaining provider extension forwarding, task schemas, exact trial expansion and masked execution failures. Use private uv for host bootstrap and keep resumable admission checks on the host as well. Signed-off-by: Ehsan Hosseini Asl <[email protected]>
|
@yaoyu-33 @oyilmaz-nvidia Follow-up to the review:
The PR description now reflects the current head, validation and outstanding gates. I have returned #3997 to draft while full baselining and target CI remain incomplete. |
Signed-off-by: Ehsan Hosseini Asl <[email protected]>
Run ClawEval through Gym with its original agent loop, tools, multimodal inputs, sandbox lifecycle, mock services and graders. Bindings cover general (161 tasks), multimodal (101) and multi-turn (38) evaluation. This is requested benchmark onboarding; no separate issue is needed.
Published head:
882b2c1af6015b17873fed6f82afe52d4689086e. It includes the previously unpublished fixes and merges main atacb67734cc37d201e1350395ae422a771582ac21. The branch is mergeable.All six inline review findings are addressed and resolved:
TaskDataschema declares verifier metadata and is imported by the agent.ray_enabled = False.Generic host-driver support is split into prerequisite #4878, updated to
59f0654fd5e9e768761f3714dae08f2d1c87d7f4. This PR retains those changes until the prerequisite merges. The current update also preserves streaming-provider options through Gym's model-capture refactor, migrates imports to the current public APIs, reuses the private uv bootstrap, and fixes resumable admission checks for host execution.Pinned native harness revisions now require a clean checkout, including tracked, staged and untracked source files. Dirty pins fail before execution; development runs without a revision pin continue to retain content hashes. This addresses the paired Factory review's reproducibility finding.
The upstream Claw-Eval MIT license backs the dataset metadata; the supplied fork retains it.
November 9 validation
1900699b8: 357 orchestration/Slurm/Kubernetes tests passed (one skipped), 1,713 core/schema/Ray/public-API/import-compatibility tests passed, and Fern validation reported zero errors and one warning.Nano comparison — incomplete
Threshold: 75/100. Pass@3 means at least one passing trial; Pass³ means all three. The Gym values describe the 298 valid attempts only. Five earlier video attempts failed because the worker lacked
ffprobe; the worker PATH fix is published and regression-tested. A later five-task Nano smoke completed all five executions with matching native/Gym grades and no masked attempts; standard P0 fulfilled for four, while the fifth independently recorded a direct answer with no tool calls. That limitation remains recorded.The provenance audit checked 101 task definitions and Python files against 303 historical attempt contracts across 17 manifests. Current task YAML/Python matches the later baseline snapshot. Two historical first-trial records use earlier video regraders, so the historical native reference has heterogeneous grader provenance and is not a single fixed-grader parity reference.
Three full-suite Nano configs are prepared, pinned to the published head, and validated against the current Gym schema and Bash syntax. Their combined plan has exactly 303 distinct task/seed pairs, using seeds 1001/1002/1003. They have not been submitted because GPU execution access is not currently available to this session.
Remaining merge/onboarding gates: maintainer-authorized target CI; a complete 303-attempt comparison with a consistent grader reference and retained configuration; remaining Nano P0/capability qualification; exact-leaf Super 3.5 references; Frontier Eval/SWQA score bands and Evergreen certification. The paired Factory work remains pending until Gym merges and its development pin can be replaced with a full main SHA. No full-suite parity or certification is claimed.