Repository navigation
test(conformance): add Claude Code, Terminus and Mini-SWE to CI - #5376
Conversation
svcnvidia-nemo-ci
left a comment
There was a problem hiding this comment.
SHIP WITH CARE — two RISK findings: Terminus’s root-owned output prevents CI result publication, and echoed terminal commands can satisfy the output witness without exposing actual stdout.
All changed files and directly affected contracts were inspected. One child’s detailed checker report was unavailable; that topic was completed directly by the parent. Review was source-only: tests and suggested corrections were not executed. The existing adapter conformance failures described in the PR are not reported as regressions.
Review generated by codex. This was a full review. Request a full review with /review reset=true.
703470a to
7d7bbda
Compare
2769d90 to
5375617
Compare
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
…e model sacrebleu downloads the FLORES-200 SentencePiece model from dl.fbaipublicfiles.com the first time it builds a flores200 tokenizer. That host's TLS certificate expired on 2026-11-11, so 21 tests in TestVerify, TestScoreMissingComet and TestComputeMetrics failed with CERTIFICATE_VERIFY_FAILED on every CI run that includes this server. The tests now train a small SentencePiece model from the sentences they score, point sacrebleu's model directory at it, and fail any test that would still download a model. spBLEU keeps running the real sacrebleu BLEU and SentencePiece code; app.py is unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: yaoyu-33 <[email protected]> (cherry picked from commit b41a69e) Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
Signed-off-by: Giulio Lovisotto <[email protected]>
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/44573781181 |
Stacked on #6005. Merge order will be handled separately; auto-merge remains disabled.
Add Claude Code, Terminus 2 and Mini-SWE to the conformance CI matrix using their existing agent-session adapters. The shared nine-scenario suite includes P1 compaction. Fixtures supply Messages streaming, terminal JSON, submission commands, and a local workspace with tmux for Terminus. Model-response expectations reuse
build_model_call_record. Probe configuration helpers describe per-harness overrides, omitted fields, workspace requirements, and session/legacy settings. The shared builder has no harness-name branches. Base and compaction settings are separate data-only OmegaConf configs, with one conditional deep merge for compaction. Required imports are declared in config and loaded through one common loop; the NOOA module registers its observer-path resolver. Probe classes are resolved lazily from the merged harness settings; config types come from the agent’s Pydantic metadata.Conformance requirements and optional CI gating remain unchanged. Tool evidence must preserve independently witnessed IDs. Existing adapter evidence and retry failures remain visible; this PR does not change production adapters or benchmark scores. A separate issue is unnecessary for this bounded coverage addition.
Validation:
pre-commit run --all-filesandgit diff --check: passed.Configuration cleanup validation: all 144 before/after configurations and workspace-creation effects match across every registered harness, session/legacy interfaces, integer/fractional timeouts, and optional judge wiring. Fixture suite: 216 passed, 14 skipped; all pre-commit checks passed.
Scenario-configuration validation: 528 before/after configurations match across all harnesses and scenarios, including a compaction-disabled control. Fixture suite: 218 passed, 14 skipped; pre-commit passed. Nested overrides preserve Mini-SWE’s tool timeout.
Carries the existing test-only fix from #6036 to unblock shared server CI after the upstream FLORES tokenizer host certificate expired. The original author is retained; production translation scoring is unchanged. All 118 WMT server tests pass locally.