Skip to content

test(conformance): add Claude Code, Terminus and Mini-SWE to CI - #5376

Merged
giuliolovisotto merged 16 commits into
mainfrom
glovisotto/conformance-p0-coverage
Nov 19, 2026
Merged

giuliolovisotto merged 16 commits into
mainfrom
glovisotto/conformance-p0-coverage

Conversation

@giuliolovisotto

@giuliolovisotto giuliolovisotto commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

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:

  • Conformance fixtures, capability checks, and model-call records: 544 passed, 14 skipped on the split head.
  • pre-commit run --all-files and git diff --check: passed.
  • The shared reporting fix and test cleanup are isolated in fix(ci): retain check artifacts across partial reruns #6005. Rebasing onto its smaller tests preserves this PR’s harness diff; all 139 reporting tests also pass on the rebased head.
  • Earlier runtime validation used real Claude Code 2.1.108, Terminus/Harbor 0.22.0 and Mini-SWE 2.4.6 against scripted local model endpoints across all nine scenarios. Fixture protocols completed; harness evidence/retry failures remain visible. These runs used no external model service or credentials. The split adds no runtime behavior changes.

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.

@giuliolovisotto giuliolovisotto added area:agent Agent harnesses and Responses API agent behavior area:ci CI workflows, test routing, and repository automation needs-review PR is ready for code review and waiting on a reviewer labels Oct 30, 2026
@giuliolovisotto
giuliolovisotto requested a review from a team as a code owner October 30, 2026 17:54
@nemo-automation-bot
nemo-automation-bot Bot requested review from a team October 30, 2026 17:55
@svcnvidia-nemo-ci svcnvidia-nemo-ci added the ci CI, automation, test queue, or workflow infrastructure work label Oct 30, 2026

@svcnvidia-nemo-ci svcnvidia-nemo-ci left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread scripts/harness_conformance/provider.py Resolved
giuliolovisotto and others added 15 commits November 18, 2026 12:09
…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]>
lafrancef
lafrancef previously approved these changes Nov 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/44573781181

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:agent Agent harnesses and Responses API agent behavior area:ci CI workflows, test routing, and repository automation ci CI, automation, test queue, or workflow infrastructure work needs-review PR is ready for code review and waiting on a reviewer risk:high Autobot PR risk: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants