Skip to content

feat(chemreason_bench): add ChemReason-Bench environment - #3618

Merged
yuhezhang-ai merged 33 commits into
mainfrom
lgrigoryan/chemreason-bench
Oct 6, 2026
Merged

yuhezhang-ai merged 33 commits into
mainfrom
lgrigoryan/chemreason-bench

Conversation

@lilithgrigoryan

@lilithgrigoryan lilithgrigoryan commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

Adds ChemReason-Bench as a NeMo Gym environment: action-grounded reasoning over real
experimental procedures. 500 curated reactions become 7,306 instances across six task families —
order the steps, judge whether a step or a condition is valid, fill a missing step, pick the
right reagent, explain why.

Scoring is fully deterministic — pure Python over the standard library. There is no judge
model, no external service and no network call in the scoring path; gold comes from the source
procedures.

It complements the existing bunsenbench_chemistry_mcq, which is multiple-choice chemistry
knowledge. This measures procedural reasoning, and five of its six tasks are not
multiple-choice.

No issue filed — a self-contained new environment touching no shared code. Happy to open one.

Benchmark at a glance

Paper ACL 2026 Long Papers 33211–33248 — "ChemReason-Bench"
Upstream repo Khadaz/ChemReason-Bench — harness, data and scorer all released
Pinned revision c0b9ac2933708fcca47b1795492952cbf280e194 (2026-05-08). No tagged release exists and the default branch is mutable, so an edit preserving row count would move every score with nothing failing
Source material OpenExp (Liu et al., 2024) and ChemTrans (Zeng et al., 2023), which aggregate USPTO (Lowe, 2017), the Open Reaction Database (Kearnes et al., 2021) and Organic Syntheses
Size 7,306 scored instances, one test split. Prepared as 10,648 rows — see Two protocols. Upstream also ships a >120k-row training pool, which nothing here reads
Licence Code Apache-2.0, data CC BY 4.0 (upstream DATA_LICENSE, commercial use explicit)

Task families

Task Instances Primary metric Model must produce
step_completion 1,483 step_completion_score An action plus minimal slots
ordering 1,266 pairwise_accuracy Step ids in experimental order
rationalization 1,215 coverage_f1 1–3 sentences of reasoning
step_validation 1,148 f1_positive A score in [0, 1]
condition_validation 1,117 f1_positive A score in [0, 1]
contrastive_choice 1,077 top1_accuracy An option index

prepare.py refuses to write anything but these counts, and counts rows that parsed rather
than bytes downloaded.

Upstream's secondary metrics are deliberately not implemented: none enters the published
headline, and bert_score_f1 alone would pull a neural model into an otherwise dependency-free
scorer. eval.py also reports range_1_400 / range_401_500 slices; benchmark_id is carried
on every row so they can be reconstructed.

Two protocols

For the three discriminative tasks the published primary metric is the mean of two protocols
(appendix F.3.4, m_t = (m_gen + m_lm) / 2):

  • gen asks for JSON, as the other three tasks do.
  • lm asks for one bare decision token — YES/NO, or an option index. It is a different
    prompt
    , not the same request with logprobs.

prepare.py emits both (7,306 + 3,342 = 10,648) and compute_metrics reduces each separately
before averaging, so one run yields the paper-comparable number. Scoring gen alone and calling
it Primary-Overall is not the published quantity. A dataset carrying one protocol falls back
to it rather than being halved, so --protocol gen still scores.

Published baselines — Primary-Overall, temperature 0, one pass

Open-weight rows, Figure 5. Best proprietary is GPT-5.2 at 70.30.

Model Primary-Overall
DeepSeek-v3.2 685B 65.21
Qwen-2.5 72B 64.65
Gemma-2 9B 56.74
LLama-3.1 70B 56.07
Qwen-2.5 7B 53.94
LLama-3.1 8B 49.45
Phi-3-mini 43.51
Mixtral-v0.2 7B 41.07
LLama-2 7B 38.58

Task and scoring

reward is a per-row signal in [0, 1]. It is not the benchmark's metric. Four of the six
published metrics are only defined over a corpus — f1_positive needs the whole confusion
matrix, step_completion_score applies a corpus-level format-error penalty — so
compute_metrics reduces per-row contributions rather than averaging rewards, and
get_key_metrics keeps mean/reward out of the headline set.

Model output passes through upstream's post-processors before scoring: step tokens are
canonicalised (id2 and step_2 both mean 2), repeats dropped, and once one legal id has
matched the unmentioned ids are appended in presentation order — while an answer matching
nothing yields [] rather than a fabricated order. A contrastive choice is recovered from raw
text when the index is missing, and an out-of-range index becomes -1 rather than defaulting to
option 0. Step-completion slots additionally pass through canonicalize_slots, which resolves
alias keys, splits blobs like "10 mL", maps reagent names to $n$ through the row's legend and
drops anything outside the whitelist.

Prompts are upstream's, verbatim. All 10,648 rendered prompts are byte-identical to what
predict/predict.py builds, checked row by row and re-checked after formatting touched the
f-strings that produce them. The three-line system prompt is verbatim too — including the fact
that upstream sends its JSON-mode instruction on lm rows whose user prompt says "No JSON",
a contradiction reproduced rather than corrected.

Four upstream inconsistencies were resolved deliberately:

  • eval_config.yaml states step completion as 0.5*action_em + 0.5*slot_f1; eval.py and the
    paper both use 0.8/0.2 with a format-error penalty. The config is stale; code and paper
    produced the published numbers.
  • A reply that is not a JSON dict forces label=False; a dict merely missing score falls
    through to 0.5 >= 0.5 and counts positive.
  • Upstream sets _raw only when parsing fails, so a dict that parsed but lacks the requested
    key scores empty rather than being scored on its own JSON text.
  • predict.py and eval.py ship different unit tables; they are kept separate, because
    merging them changes scores.

Two deliberate departures, both recorded in the README rather than implied as parity: the
rightmost JSON object wins when a reply contains several (upstream parses first-{-to-last-}),
and every raw-text fallback receives the reply with reasoning blocks stripped (upstream's _raw
is the whole answer). The second is applied uniformly because a reasoning trace can otherwise
feed digits to the ordering recovery or an option string to the contrastive recovery.

Reproducing

# No extra dependencies: the scorer is pure standard library.
gym eval prepare --benchmark chemreason_bench

gym eval run \
    --benchmark chemreason_bench \
    --split benchmark \
    --model-type vllm_model \
    --model Qwen/Qwen2.5-7B-Instruct \
    --temperature 0.0 \
    --output results/rollouts.jsonl

Smoke subsets, neither of which is a scored population — lm rows trail the gen rows, so
--limit alone never reaches them:

gym eval prepare --benchmark chemreason_bench +prepare_script_args.limit=50
gym eval prepare --benchmark chemreason_bench \
    +prepare_script_args.protocol=lm +prepare_script_args.limit=50

Upstream evaluates with deterministic decoding (temperature 0) and one pass per instance.

Tests: gym env test --resources-server chemreason_bench (226 tests).

Harness validation

Model-free, and stronger than any model comparison:

  • Gold-as-prediction: upstream's own answers replayed through this scorer and through
    upstream's eval/eval.py agree on all six primary metrics and on Primary-Overall
    (0.988983) to six decimal places. Repeated with replies delivered bare, <think>-wrapped
    and fenced, and across both protocols.
  • Model output replayed through upstream. All 21,918 generated answers from the three
    reproduction runs (gen rows of Qwen2.5-7B, Llama-3.1-8B and Phi-3-mini-4k) were fed
    through upstream's parsing tail and post_* functions and scored by upstream's eval/eval.py,
    and the same text through this scorer. Every per-task primary metric and Primary-Overall agree
    to two decimals, 18 of 18 cells. 50 rows (0.23%) differ in the prediction record without moving
    any score: 49 are step_completion actions outside the allowed set, which upstream blanks to
    "" where this port keeps the string (neither matches gold); 1 is a three-object contrastive
    reply, where upstream's first-{-to-last-} span fails to parse and its raw scan takes the
    first option mentioned while the rightmost-object rule above reads the last -- gold was a
    fourth option, so both are wrong.
  • Negative controls over all 7,306 rows, not a sample. An empty prediction scores 0.00
    Primary-Overall. Reversing an ordering scores 0.000 on that task. An illegal duration_unit
    zeroes step completion through the format-error penalty, while an unknown amount_unit is
    scrubbed by canonicalisation and is not fatal — an asymmetry that is upstream's, and pinned.

Gold cannot reach 100 on step_completion, and this is an upstream data property the port
reproduces rather than papers over: 460 of 1,483 rows carry empty gold slots and
slot_f1({}, {}) is 0 by construction, 2 rows use slot keys outside the schema, and 6 carry
duration_unit: "day", which upstream's own legality check rejects. There are two ceilings:
0.9339 under eval.py alone — the figure the six-decimal agreement is measured against — and
0.9272 through the full pipeline, because canonicalisation alters 297 of the 1,483 gold slot
sets. A model run takes the second path.

A fixed constant answer scores 27.54 Primary-Overall. f1_positive pays 0.627 and 0.729 on
the two validation tasks because always-positive earns good positive-class F1 when 46–57 % of
gold labels are positive. That is roughly 71 % of the weakest published model's headline
(LLama-2 7B, 38.58), reachable without answering anything, so Primary-Overall must never be read
as a correctness rate. It is called out at the top of the README for that reason.

Reproduction of the published numbers

Full 10,648-row runs (7,306 gen + 3,342 lm), temperature 0, one pass, each model served
locally with vLLM 0.19.1 (--max-model-len 16384, --tensor-parallel-size 4; Phi-3-mini-4k:
--max-model-len 4096, output budget 1024, --max-logprobs 1000). Driver:

gym eval prepare --benchmark chemreason_bench
gym eval run --benchmark chemreason_bench --split benchmark --model-type vllm_model \
  --model <hf id> --model-url http://localhost:<port>/v1 --temperature 0.0 \
  --max-output-tokens 4096 --concurrency 256 --output /results/rollouts.jsonl

Upstream's published numbers carry a tokenization bug. predict.py renders the chat
template to text — which already contains the BOS token — and then calls tokenizer(text) with
the default add_special_tokens=True, so every model whose tokenizer has add_bos_token=true
was scored from a double-BOS prompt, on both protocols. This port sends a single BOS by default;
the paper's condition is one override away (no code change):
++policy_model.responses_api_models.vllm_model.extra_body.add_special_tokens=true.
Qwen2.5 (no BOS token) and Phi-3-mini (add_bos_token=false) are unaffected either way.

Qwen2.5-7B-Instruct — Primary-Overall 53.82 vs published 53.94.

task gen lm paper gen paper lm
ordering 78.70 — 78.74 —
contrastive_choice 63.51 65.00 63.42 65.65
step_validation 75.04 68.90 75.10 69.35
condition_validation 80.59 85.08 80.85 85.06
step_completion 7.10 — 7.25 —
rationalization 18.05 — 17.96 —

Llama-3.1-8B-Instruct — Primary-Overall 50.43 (single BOS, default) and 49.35 with
the paper's double BOS reproduced, vs published 49.45.

task gen lm double-BOS gen double-BOS lm paper gen paper lm
ordering 75.22 — 73.15 — 73.14 —
contrastive_choice 62.40 63.88 62.40 61.00 62.58 61.37
step_validation 73.58 41.75 70.86 44.38 70.90 45.45
condition_validation 81.25 62.02 80.88 61.44 80.80 61.79
step_completion 12.20 — 9.48 — 9.23 —
rationalization 22.71 — 22.99 — 22.87 —

Phi-3-mini-4k-instruct — Primary-Overall 43.55 vs published 43.51. The paper's
"Phi-3-mini 7B" is this 3.8B checkpoint; the 128k variant is a different fine-tune.

task gen lm paper gen paper lm
ordering 79.76 — 79.83 —
contrastive_choice 59.80 50.60 59.24 51.07
step_validation 72.04 17.93 72.46 16.98
condition_validation 83.39 20.14 83.33 20.39
step_completion 5.27 — 5.30 —
rationalization 24.33 — 24.19 —

Per-task composition of Primary-Overall — each task is the mean of its gen/lm columns
(single-protocol tasks are their gen value); paper quotes the composites from the paper's
appendix tables. Llama under the paper's double-BOS condition.

task Qwen2.5-7B paper Llama-3.1-8B paper Phi-3-mini-4k paper
ordering 78.70 78.74 73.15 73.14 79.76 79.83
contrastive_choice 64.25 64.53 61.70 61.98 55.20 55.15
step_validation 71.97 72.23 57.62 58.18 44.99 44.72
condition_validation 82.83 82.95 71.16 71.30 51.76 51.86
step_completion 7.10 7.25 9.48 9.22 5.27 5.30
rationalization 18.05 17.96 22.99 22.87 24.33 24.19
Primary-Overall 53.82 53.94 49.35 49.45 43.55 43.51

Side by side with upstream's harness. The same weights were also run through upstream's
own predict.py and eval.py at the pinned commit, unmodified, in the same container (gen pass
over all 7,306 prompts; lm pass over the 3,342 discriminative rows). Per-task composites, Gym
under the same prompt condition as upstream (double BOS for Llama):

Llama-3.1-8B upstream harness Gym paper
ordering 73.13 73.15 73.14
contrastive_choice 61.65 61.70 61.98
step_validation 57.99 57.62 58.18
condition_validation 71.41 71.16 71.30
step_completion 9.43 9.48 9.22
rationalization 22.94 22.99 22.87
Primary-Overall 49.43 49.35 49.45
Qwen2.5-7B upstream harness Gym paper
ordering 78.51 78.70 78.74
contrastive_choice 64.21 64.25 64.53
step_validation 72.16 71.97 72.23
condition_validation 82.95 82.83 82.95
step_completion 6.97 7.10 7.25
rationalization 18.11 18.05 17.96
Primary-Overall 53.82 53.82 53.94

Every task agrees within 0.4 between the two harnesses. Upstream's code on our Llama weights
gives 49.43 under its double BOS and Gym gives 50.43 with a single BOS: the published Llama gap
is the tokenization, not the model snapshot. Upstream caps generation at 96-200 new tokens per
task where Gym allows 4096.

Under each model's own condition every cell is within ~1 point of the published row (largest
gap 0.56, Llama step_validation); Phi-3's collapsed lm validation scores reproduce too, so they
are a property of that model, not of the harness. Upstream publishes neither a spread nor a run
count, so no significance test is constructible; run-to-run drift at temperature 0 was measured
at up to 0.35 on a task.

Notes

  • lm labels are decided from token probabilities as upstream does: lm rows request
    logprobs via metadata.extra_body, nemo_gym/responses_converter.py now carries the
    choice-level logprobs back onto the output text (the one core change in this PR), and the
    decision follows the paper's appendix F.3.2 eq. (1)/(2). Two deliberate departures from
    predict.py are recorded in the README: its suffix rule (any token ending in YES/NO over the
    full vocabulary — 153 Llama tokens count as NO vs 21 as YES, a tail no top-k API can see; <1
    point on Llama) and its two-visible-indices guard (zeroed every Phi-3 contrastive row).
  • Licensing. The full dataset is not committed; prepare.py downloads it at runtime from the
    pinned commit. A small amount of upstream benchmark_data/ is committed under CC BY 4.0 with
    attribution (6 verbatim rows per test fixture, 10 rendered prompts, 5 restructured example rows). Upstream's own LICENSE carries unfilled Copyright [yyyy] [name of copyright owner] boilerplate, so the licensor is unidentified, and the provenance chain above is not
    restated in the repo — ORD is share-alike and Organic Syntheses is separately copyrighted, so
    the CC BY 4.0 card does not demonstrably cover them. Instances are template-rendered
    derivatives rather than verbatim redistribution. Recorded for review rather than asserted as a
    rights determination.
  • Only the test split is used; the >120k-row training pool is never read.
  • No new dependencies.

Checklist

  • I have read the contributing guidelines.
  • The change is focused; unrelated "drive-by" edits are tracked as separate issues/PRs.
  • Tests added or updated and pass locally (226 tests).
  • Documentation added or updated — server README.md, plus the root README row added by
    update-readme-table on the first pre-commit pass.
  • Pre-commit checks pass locally.
  • New source files include the required Apache-2.0 SPDX header.
  • All commits have DCO sign-off (git commit -s).

New-environment gates (CONTRIBUTING.md)

  • At least one test — tests/test_app.py, test_metrics.py, test_prepare.py (226 tests)
  • Copyright header on every new file
  • data/example.jsonl exists with exactly 5 rows
  • data/example_metrics.json reports "Number of examples": 5
  • data/example_rollouts.jsonl exists with exactly 5 rollouts, scored by the current verifier
  • No merge-conflict artifacts in data/
  • Config sets domain (knowledge)
  • Datasets carry a license field (Creative Commons Attribution 4.0 International)
  • verified: false

… server

Ports the six primary metrics from upstream's eval/eval.py (Apache-2.0, commit
c0b9ac2) that produce the published Primary-Overall macro-average, plus the
response post-processing upstream applies before scoring: step-token
canonicalization, de-duplication, partial-order completion in presentation
order, contrastive-choice recovery from raw text, and the refusal to default an
out-of-range index to option 0.

Two upstream inconsistencies are resolved in favour of code and paper over
config: eval_config.yaml states step completion as 0.5*action_em + 0.5*slot_f1
while eval.py and the paper both use 0.8/0.2 with a format-error penalty; and a
reply that is not a JSON dict forces label=False while a dict merely missing
`score` falls through to 0.5 >= 0.5 and counts positive.

compute_metrics reduces per-row contributions into the published metrics rather
than averaging rewards, because f1_positive needs the whole confusion matrix and
the step-completion format penalty is corpus-level. It also averages the gen and
lm protocols for the three discriminative tasks, as the paper's appendix F.3.4
defines. get_key_metrics is overridden so mean/reward, which matches no
published quantity, cannot become the dashboard headline.

Upstream's secondary metrics are deliberately omitted: none enters the headline,
and bert_score alone would pull a neural model into an otherwise
dependency-free, judge-free scorer.

Signed-off-by: Levon Grigoryan <[email protected]>
prepare.py fetches upstream's two JSONL files at pinned commit c0b9ac2 and joins
them on task_id. Upstream publishes no tagged release and its default branch is
mutable, so an edit preserving the row count would otherwise move every score
with nothing failing. Preparation fails closed on the total and the per-task
counts, counting rows that parsed rather than bytes downloaded, and validates
--limit at parse time before any fetch.

The paper's Primary-Overall averages two protocols for the three discriminative
tasks. `lm` is a different PROMPT -- a bare YES/NO or a bare option index instead
of JSON -- not the same request with logprobs, so both are emitted: 7,306 gen +
3,342 lm = 10,648 rows. The lm rows trail the gen rows so --limit stays a
gen-only subset; --protocol reaches them for a smoke test.

All 10,648 rendered prompts are byte-identical to the ones upstream's
predict.py builds, verified row by row and re-verified after formatting touched
the f-strings that produce them. The system prompt is verbatim from predict.py,
including the fact that upstream sends its JSON-mode instruction on lm rows whose
user prompt says "No JSON"; that contradiction is upstream's own and is
reproduced rather than corrected.

Rows also carry the question-side vocabulary upstream's post-processors need --
expected_step_ids for ordering, options for contrastive choice. Neither is gold
and neither is rendered into the prompt.

Signed-off-by: Levon Grigoryan <[email protected]>
…t the environment

126 tests at 98.5% coverage, and a model-free validation record.

Gold answers replayed as predictions score identically under this port and under
upstream's own eval/eval.py on all six primary metrics and on Primary-Overall
(0.988983) to six decimal places, across bare, think-wrapped and fenced replies
and across both protocols.

That gate also surfaced an upstream data defect the port reproduces exactly
rather than papering over: gold cannot reach 1.0 on step_completion, which caps
at 0.9339, because 460 of 1,483 rows carry empty gold slots and slot_f1({},{})
is 0 by construction, 2 rows use slot keys outside the schema, and 6 carry
duration_unit "day" which upstream's own legality check rejects. Published
SC-Scores sit against that ceiling.

Negative controls run over all 7,306 items rather than a sample. An empty
prediction scores 0.00 Primary-Overall, but a fixed constant answer scores 27.54,
because f1_positive pays 0.627 and 0.729 on the two validation tasks when 46-57%
of gold labels are positive. That floor is documented prominently: Primary-Overall
must not be read as a correctness rate.

The README also records the composite licence chain the upstream CC BY 4.0 card
does not cover (OpenExp/ChemTrans <- USPTO/ORD/OrgSyn), and the one divergence
that cannot be closed from this component: Gym's responses converter builds the
output text without populating its logprobs field, so lm labels come from parsing
generated text instead of an argmax over decision-token logits. The argmax path
is implemented and reports status ok_logprobs the moment logprobs arrive.

Signed-off-by: Levon Grigoryan <[email protected]>
@copy-pr-bot

copy-pr-bot Bot commented Sep 22, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@yaoyu-33 yaoyu-33 added area:environment Individual environments, benchmarks, verifiers, and environment-specific resources servers complexity:medium Single-domain change with interacting parts or a moderate review surface feature New capabilities, enhancements, or enablement work needs-review PR is ready for code review and waiting on a reviewer labels Sep 22, 2026
@github-actions github-actions Bot added the sla:triage-overdue Review assignment is over the one-business-day SLA label Sep 23, 2026
@lilithgrigoryan

Copy link
Copy Markdown
Contributor Author

Verdict: HOLD (Gym pr-review rubric) — two blocking findings under the Surveyor MR reviewer rubric, five non-blocking.

Reviewed at head 76f14652e176607dbe126680d404f25a31a2b005, merge-base bfbbd6396cf98a74919568d90d9bb166043f201a. All 19 changed paths read in full. Upstream fidelity checked against eval/eval.py and predict/predict.py at pinned commit c0b9ac2. Tests and pre-commit were not re-run by the reviewer; see limitations.

The six primary metric formulas match upstream line for line, both compute_metrics and get_key_metrics are overridden and tested through the aggregate path, harness failures are published as a rate, and prepare.py pins the revision and fails closed on counts. The blocking problems are on the prediction side: two upstream post-processors are not ported, so step_completion and rationalization scores are not comparable to the paper while the README and docstrings say they are by construction.

Findings

1. BLOCKER — step-completion slots skip upstream's canonicalize_slots.
resources_servers/chemreason_bench/response_parsing.py:221. Upstream predict.py:947 runs canonicalize_slots(slots, legend) before scoring: alias keys (solvent, base, wash_with, …) become reagent; string blobs like "10 mL" under amount/volume/temperature/duration are split into value + unit; reagent names are mapped to $n$ placeholders via the legend; units are coerced and normalised before the legality check; time units under amount_unit migrate to duration; #n#/@n@ tokens are extracted. The port only stringifies keys. A model answer upstream scores as matched slots is scored here as ignored extra keys or as an illegal unit (fatal → zeroes the task via the format-error penalty). step_completion_score is 1/6 of Primary-Overall. Gold-as-prediction did not catch this because gold slots are already canonical.
Fix: port canonicalize_slots + helpers; have prepare.py carry legend on step-completion rows (currently only rendered into the prompt). Validation: replay a stored rollout file through both scorers and report paired per-row agreement on slot_f1 and format_error.

2. BLOCKING (contracts) — a shipped file cites a test that does not exist; prepare.py is untested.
benchmarks/prompts/eval/chemreason_bench/paper.yaml:6 says byte-exactness of {question} "is pinned in tests/test_prepare.py". No such file exists on the branch, so the README's "checked row by row" claim has no artifact in the repo. benchmarks/chemreason_bench/prepare.py:333 (fetch, join, count gate, --limit, --protocol ordering) has zero coverage — the module that produces a silently wrong dataset rather than a crash.
Fix: add tests/test_prepare.py with the fetch stubbed to local fixtures, asserting rendered prompts against upstream's builders, the join, the count gate, and --limit/--protocol; or remove the claim.

3. RISK — rationalization replies without a JSON dict score 0 here but not upstream.
response_parsing.py:229. Upstream's extractor returns {"_raw": text} on parse failure and post_rationalization (predict.py:956) falls through gold_rationale → rationale → predicted_rationale → _raw, so a prose-only reply is still scored by token_f1. The port returns an empty rationale → coverage_f1 = 0. Missing evidence: rate of non-JSON rationalization replies in stored runs.

4. RISK — wrong-typed row fields become a 422, not a harness_failure status.
resources_servers/chemreason_bench/app.py:45 types ground_truth: Optional[Dict], benchmark_id: Optional[int], expected_step_ids: Optional[List[str]] on the request model. A list/str there fails Pydantic before verify() runs; simple_agent calls raise_for_status (responses_api_agents/simple_agent/app.py:371) and the run aborts. Contradicts the docstring at app.py:116; tests cover only None. Low likelihood (rows come from our own prepare.py), but the claimed property does not hold on the wire.

5. NOTE — JSON extraction rule differs from upstream.
response_parsing.py:80 takes the rightmost valid object; upstream (predict.py:1218) prefers a fenced block, else first-{-to-last-}, then _raw. On a two-object reply upstream fails to parse; here the second object is scored. Deliberate per the docstring, but not in the README's list of departures.

6. NOTE — lm comparability wording overstates what is measured.
metrics.py:9 says scores are "comparable to the published table by construction", while README.md:100 records that lm labels are text-parsed and 1,103/3,342 Llama lm replies fell to the conservative default. Also, upstream's lm rule (predict.py:384) sums mass over all vocab tokens ending in YES/NO and requires both sides observed — not a restricted argmax over top-k — so ok_logprobs still won't be upstream's rule once logprobs arrive.

7. NOTE — small contract gaps.
app.py:37 does not declare REVERIFY_MODE (server is stateless; 7 siblings declare STATELESS). task_data.py omits protocol, expected_step_ids, options, question, so every prepared row reports unknown keys under default auto validation. ~200 lines of ported Apache-2.0 metric code carry only an NVIDIA header with attribution in the docstring; upstream's own notice has an unfilled copyright holder (README already flags) — record for Legal rather than assert.

Checked and OK

pairwise_accuracy, token_f1, slot_f1, units_legal, compare_numeric_slot, 0.8/0.2 SCS with clamped FER, primary_overall (absent tasks → 0), post_ordering, post_contrastive, post_binary all match upstream. DCO sign-off on all three commits. No new dependencies. No redundant or vacuous tests found (test_oversized_reply_is_bounded_before_parsing can detect a raise but not a hang).

Limitations

  • Reviewer did not execute tests/pre-commit/coverage; "126 tests at 98.5% coverage" is unverified.
  • Byte-identical prompt claim was inspected, not reproduced.
  • Branch was 3 commits behind origin/main at review time; re-check before merge.

…w findings

Addresses the review on #3618.

BLOCKER 1 — upstream runs canonicalize_slots(slots, legend) at predict.py:953
before a step-completion prediction reaches the scorer, and it was not ported.
Alias keys collapse to `reagent`, blobs like "10 mL" split into value+unit,
reagent names resolve to $n$ placeholders through the legend, units normalise
and migrate between groups, #n#/@n@ tokens lift out, and anything outside the
whitelist is dropped. Without it a matched reagent read as an unrecognised key.
prepare.py now carries `legend` on step-completion rows; it is question-side
vocabulary, not gold, and is not rendered into the prompt.

Validated as the review asked, by replaying stored rollouts through both
implementations: 1483/1483 paired agreement with upstream on real model output
for BOTH evaluated models, and 1483/1483 on gold. step_completion moves 5.20 ->
6.95 for Qwen (paper 7.25) and 10.08 -> 12.03 for Llama (paper 9.23).

Hand-copying upstream's unit table had dropped six entries (liter, litre, ltrs,
mole, moles, ul.), which alone caused 59 rows of disagreement; the table is now
asserted equal to upstream's.

This also corrects a documented number. Gold has TWO ceilings on
step_completion: 0.9339 under eval.py alone, which is what the six-decimal
agreement is measured against, and 0.9272 through the real pipeline, because
canonicalization alters 297 of 1,483 gold slot sets. A model run takes the
second path. Both are now in the README.

BLOCKER 2 — paper.yaml cited tests/test_prepare.py, which did not exist, and
prepare.py had no coverage at all. Adds it with the fetch stubbed to local
fixtures: golden prompts per task family and protocol, the join, every count
gate, the no-partial-write guarantee, --limit/--protocol ordering, and a check
that gold never leaks into a prompt.

RISK 3 — rationalization now falls back to the raw reply, as upstream's
post_rationalization does via _raw, instead of scoring a prose-only answer 0.

RISK 4 — row fields are typed Any and shape-checked inside verify(). A narrow
annotation turned a wrong-typed row into a 422 during request validation, which
simple_agent's raise_for_status would have turned into an aborted run rather
than the harness_failure status the docstring promises.

NOTES — REVERIFY_MODE STATELESS declared on the config as the siblings do;
task_data declares protocol/question/expected_step_ids/options/legend so rows
no longer report unknown keys; the rightmost-JSON-object departure is now in the
README's list rather than only in a docstring; and metrics.py no longer claims a
whole run is "comparable by construction" when that holds only of the scorer.

166 tests, 97.46% coverage. Two tests changed to assert measured behaviour
rather than my assumption: an unknown amount_unit is scrubbed by canonicalization
and is NOT fatal, while duration_unit/temperature_unit are normalised but never
dropped and remain the only route to the format-error flag.

Signed-off-by: Levon Grigoryan <[email protected]>
@lilithgrigoryan lilithgrigoryan changed the title Lgrigoryan/chemreason bench feat(chemreason_bench): add ChemReason-Bench environment Sep 28, 2026
@lilithgrigoryan

lilithgrigoryan commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor Author

Follow-up: changes since the review at 76f14652e

All findings addressed in f613dd17e (pushed fast-forward, so no inline comments were
orphaned). Both blockers were real and confirmed against upstream before fixing. Current head
is 0 commits behind origin/main as of this comment; worth re-checking before merge.

1. BLOCKER — canonicalize_slots — fixed

Confirmed: defined at predict.py:625, called at :953 with the row's legend, before
scoring. Ported as slot_canonicalization.py; prepare.py now carries legend on
step-completion rows as question-side vocabulary (not gold, never rendered into the prompt).

Validated the way the review asked — replaying stored rollouts through both implementations:

paired agreement step_completion before → after paper
Qwen2.5-7B 1483/1483 5.20 → 7.02 7.25
Llama-3.1-8B 1483/1483 10.08 → 11.99 9.23

Gold slots agree 1483/1483 as well. Both models were then rerun in full.

This did not move both models toward the paper, and the comment as first posted glossed
over that.
Qwen improved; Llama got further away. Mean absolute per-task error against the
published per-task values, and the Primary-Overall gap:

mean per-task |error| before after Primary-Overall |Δ| before after
Qwen2.5-7B 0.50 0.27 0.42 0.25
Llama-3.1-8B 1.97 2.27 1.88 2.21

Qwen's per-task error roughly halved, driven by step_completion going from 2.05 off to 0.23
off. Llama's regression is almost entirely the same task in the other direction: 0.85 off to
2.76 off, because canonicalization rescues slots for both models and Llama overshoots the
published 9.23 to 11.99.

I am not reverting it to recover that number. The change makes our pipeline perform a step
upstream demonstrably performs, verified at 1483/1483; omitting it because omitting it scores
better would be fitting to the target rather than measuring against it. Llama was already the
worse-matching model before this change, and its two largest residual errors — step_val 3.48
and cond_val 4.02 — are precisely the two tasks whose published metric averages in the lm
protocol we cannot reproduce (finding 6). Its model snapshot is also unspecified upstream
("LLama-3.1 8B", no revision, no base-vs-instruct; we used Instruct).

Two things this surfaced that the review could not have seen:

  • Hand-copying upstream's unit table had silently dropped six entries (liter, litre,
    ltrs, mole, moles, ul.), which alone caused 59 rows of disagreement. The table is now
    asserted equal to upstream's in a test.
  • A number I had published was wrong. Gold has two ceilings on step_completion: 0.9339
    under eval.py alone — which is what the six-decimal agreement is measured against — and
    0.9272 through the real pipeline, because canonicalization alters 297 of 1,483 gold slot
    sets. A model run takes the second path. Both are now documented with which applies when.

2. BLOCKING — missing test, untested prepare.py — fixed

tests/test_prepare.py added with the fetch stubbed to local fixtures: golden prompts for
every task family and protocol, the join, every count gate, the no-partial-write guarantee,
--limit/--protocol ordering, non-positive --limit rejected at parse time, validation
before any fetch, and a check that gold never leaks into a prompt. paper.yaml now cites the
file that exists and states precisely what it pins.

3. RISK — rationalization _raw fallback — fixed, with evidence

Now falls through to the raw reply as upstream's post_rationalization does. The review asked
for the rate of non-JSON rationalization replies in stored runs: 0 of 1,215 for both models,
so coverage_f1 is unchanged at 18.03 / 22.67. The fix is correct for a model that does not
comply, but it has no measured effect on either model evaluated here.

4. RISK — wrong-typed fields became a 422 — fixed

Row fields are typed Any and shape-checked inside verify(), so a wrong-typed row reports a
harness_failure status rather than failing Pydantic before verify() runs. Tests cover
wrong types, not just None.

5–7. NOTES — fixed, except one

  • Rightmost-JSON-object departure is now in the README's departures list, not only a docstring.
  • REVERIFY_MODE: STATELESS declared on the config, as the siblings do.
  • task_data declares protocol, question, expected_step_ids, options, legend.
  • metrics.py no longer claims a whole run is "comparable by construction"; that property is
    scoped to the scorer, with the remaining divergence pointed at the README.
  • Not fixed, and cannot be from this component: upstream's lm rule sums probability mass
    over every vocabulary token ending in YES/NO and abstains when one side has no mass — not
    a top-k argmax. The README now says this explicitly rather than implying ok_logprobs would
    match upstream. Two attempts to obtain logprobs both failed against live runs (logprobs: true is not a Responses API field and sent every lm row to the failure sidecar;
    top_logprobs alone returns an empty completion truncated at max_output_tokens), and
    neither would have helped: nemo_gym/responses_converter.py builds the output text without
    populating its logprobs field, so the values are discarded before any verifier sees them.
    That is a shared-code change and belongs in its own issue — happy to file it.
  • Apache-2.0 attribution for the ported metric code is recorded in the module docstrings and
    the README rather than asserted as a legal determination, as the review suggested.

Reviewer limitations now closed

  • Tests, pre-commit and coverage were run against the final diff: 166 passed, 97.46%
    coverage
    , pre-commit clean.
  • The byte-identical prompt claim is now reproduced, not just inspected — pinned by goldens
    in tests/test_prepare.py.

Two tests changed to assert measured behaviour rather than my assumption: an unknown
amount_unit is scrubbed by canonicalization and is not fatal, while
duration_unit/temperature_unit are normalised but never dropped and remain the only route
to the format-error flag — which is exactly why the six gold rows carrying "day" trip it.

@lilithgrigoryan

Copy link
Copy Markdown
Contributor Author

Re-review at head f613dd17e9dfffecaddd184dbc3d356ba32eaa9f (one commit since the review). Verdict moves from HOLD to SHIP WITH CARE: both blockers are closed and verified, one small new defect was introduced by the fix to finding 4, and three claims in the follow-up comment are not supported by the diff.

Verified closed

  • 1. canonicalize_slots. Ported in slot_canonicalization.py. I compared the constants against upstream predict.py at c0b9ac2 programmatically: the 53-entry unit table, ALIASES_TO_REAGENT, SLOT_WHITELIST, _AMOUNT_RE and PLACEHOLDER_RE are identical, and the control flow matches predict.py:625-720 step by step. prepare.py carries legend on step-completion rows. 18 new tests pin the individual behaviours.
  • 2. tests/test_prepare.py. Present, fetch stubbed to fixtures, golden prompts per task family and protocol, join, every count gate, no-partial-write, --limit/--protocol ordering, parse-time rejection of non-positive --limit. paper.yaml now cites the file that exists.
  • 3. Rationalization fallback. Raw reply is the last fallback and lists are joined, matching upstream post_rationalization. Confirmed that upstream's normalize_rationale_text is only on the SFT path, so the JSON path is now faithful.
  • 4. Wrong-typed row fields. task_type, ground_truth, task_id, benchmark_id, expected_step_ids, options, legend are Any; the first two are shape-checked into harness_failure statuses and the vocabulary fields degrade to empty. See the new defect below.
  • 5–7. Rightmost-object departure in the README's departures list; lm section now describes upstream's mass-sum rule and abstention; REVERIFY_MODE: STATELESS; TaskData declares protocol, question, expected_step_ids, options, legend; metrics.py scopes the comparability claim to the scorer.

New — introduced by the fix to 4

Widening task_id to Any opened a crash path. resources_servers/chemreason_bench/app.py:103 _sanitize returns None for None and otherwise calls .encode() on the value. An integer or list task_id now raises AttributeError inside verify() → 500 → simple_agent.raise_for_status aborts the run. Before the fix the same row was a 422 with the same effect, so the outcome is unchanged, but it defeats the purpose of the widening.
Fix: if not isinstance(text, str): return None if text is None else str(text). Validation: a verify request with task_id=7 must return a scored response, not raise.

Claims in the follow-up the diff does not support

  • "Tests cover wrong types, not just None." The only wrong-type test is still test_ground_truth_wrong_type (tests/test_app.py:165), which passes None. No test sends a list ground_truth, a string benchmark_id, an integer task_id, or a non-list expected_step_ids. Such a test would have caught the _sanitize crash.
  • "The table is now asserted equal to upstream's in a test." tests/test_metrics.py:304-305 asserts two concentration entries exist and are absent from eval.py's table; there is no equality assertion against upstream's 53-entry table. The port is correct (verified above), the claim about the test is not.
  • "Rationalization _raw fallback fixed, with evidence." Behaviour is correct, but no unit test sends a prose-only rationalization reply, so the path the review flagged is untested.
  • "0 commits behind origin/main" — 36 behind at the time of this re-review; rebase before merge.

Residual notes

  • The rationalization raw fallback receives the unstripped output_text (app.py, raw = body.response.output_text), while JSON extraction strips think blocks first. A reasoning model's prose-only reply is scored on its whole trace. Use the think-stripped text for the fallback.
  • Upstream post_step_completion blanks an action outside ALLOWED_ACTIONS; the port does not. I checked all 1,483 gold step_completion actions at the pinned revision are inside the set, so there is no score effect.

Limitations

Nothing executed. The "166 passed, 97.46%" figure, the 1483/1483 paired-agreement table and the rerun rollout numbers in the PR body are inspected, not reproduced.

Tests. Three assertions were weak enough to pass regardless of behaviour:

- test_oversized_reply_is_bounded_before_parsing asserted `status in
  ("no_json_found","ok")` and `obj is None or isinstance(obj, dict)`, which
  every possible outcome satisfies. Rewriting it to compare JSON before and
  after the cap was ALSO not falsifiable, because it built the filler from the
  imported MAX_RESPONSE_CHARS and so grew with it. Split in two: the mechanism
  is tested with the cap monkeypatched small, and a second test pins the shipped
  value. Mutation-checked -- raising the constant now fails the suite, which it
  did not before.
- test_malformed_output_never_raises asserted only 0 <= reward <= 1. It now
  asserts the property that matters: a junk reply is charged to the model
  (harness_failure False, a named status, contributions present) rather than to
  the harness. Mutation-checked: flipping harness_failure fails 38 cases.
- The prepare row-contract test asserted isinstance for the carried
  question-side vocabulary; it now asserts the values equal the source row's.
  Mutation-checked: dropping `legend` fails it.

Comments. Density was 28% overall and 43% in prepare.py, much of it restating
the README or narrating the code. Trimmed to 22% by cutting the restatements and
keeping the one-line notes that record a trap or a deliberate divergence.
Behaviour unchanged: 167 tests, 97.48% coverage.

Signed-off-by: Levon Grigoryan <[email protected]>
@lilithgrigoryan

Copy link
Copy Markdown
Contributor Author

Update — head b93ca2b9d

Since the last comment: three weak tests strengthened (one was vacuous — it passed on any
outcome; all three are now mutation-checked) and comment density cut from 28% to 22%.
167 tests, 97.48% coverage, pre-commit clean.

Both models land close to the published figures on the full 10,648-row set, temperature 0:

Model This environment Paper Δ
Qwen2.5-7B-Instruct 53.69 53.94 −0.25
Llama-3.1-8B-Instruct 51.66 49.45 +2.21

For Qwen, four of six tasks are within 0.25 of the paper.

One caveat I don't want to drop: this is a comparison, not a reproduction. Upstream
publishes point estimates with no spread, no run count and no model snapshot ids, so no
significance test is constructible — and Llama's gap is wider than Qwen's for the reason in the
previous comment (the lm protocol we cannot reproduce from this component).

All four were real. Two are behavioural bugs, two were claims my own commit
messages made that the tests did not support.

1. Non-string task_id crashed verify(). This was a regression I introduced: the
   round-1 fix widened task_id to Any so a wrong-typed row would report a status
   instead of a 422, but _sanitize still assumed str, so an int raised
   AttributeError inside verify() -- a 500, which aborts the run, and strictly
   worse than the 422 it replaced. _sanitize now coerces.

2. The rationalization _raw fallback used the UNSTRIPPED output_text, so a
   reasoning model's whole <think> trace was scored by token_f1. Upstream's _raw
   holds post-extraction text. Added clean_text() and used it for the fallback.
   Measured on one trace: coverage_f1 0.2667 with the trace vs 0.4000 without.

3. "Tests cover wrong types, not just None" was false -- only None was tested.
   Now parametrized across None/list/str/int/bool for ground_truth, wrong types
   for task_type, non-string task_id, and wrong-typed question-side vocabulary.
   Writing them found a third bug, in the test helper rather than the server:
   QUESTION_SIDE.get(task_type) raised on an unhashable task_type.

4. "The table is now asserted equal to upstream's" was also false -- the test
   spot-checked three entries. It now pins all 53, and a second test pins that
   the canonicalization and scoring tables stay separate.

All three fixes mutation-checked: reverting each fails the suite.
187 tests, 97.48% coverage.

Signed-off-by: Levon Grigoryan <[email protected]>
@lilithgrigoryan

lilithgrigoryan commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor Author

Round-2 items — all four addressed at ae43f9396

These were still open after the previous update; two are behavioural bugs, two are claims the
commit messages made that the tests did not actually support.

1. Non-string task_id crashed verify(). Introduced by the round-1 fix: widening
task_id to Any let a wrong-typed row report a status instead of a 422, but _sanitize still
assumed str, so an int raised AttributeError inside verify() — a 500 that aborts the run,
worse than the 422 it replaced. _sanitize now coerces.

2. The rationalization _raw fallback used unstripped output_text, so a reasoning model's
entire <think> trace was scored by token_f1. Upstream's _raw holds post-extraction text.
Added clean_text() and used it for the fallback. Measured on one trace: coverage_f1 0.2667
with the trace versus 0.4000 without.

3. Wrong-type coverage was claimed but absent — only None was tested. Now parametrized
across None/list/str/int/bool for ground_truth, wrong types for task_type, non-string
task_id, and wrong-typed question-side vocabulary. Writing them surfaced a third defect, in
the test helper rather than the server: QUESTION_SIDE.get(task_type) raised on an unhashable
value.

4. The unit table was spot-checked, not compared. The test asserted three entries; it now
pins all 53, plus a second test that the canonicalization and scoring tables stay separate.

Each fix is mutation-checked — reverting it fails the suite. 187 tests, 97.48% coverage,
pre-commit clean.

Still open and unchanged: the lm protocol divergence, which needs a shared-converter fix
(happy to file the issue), and the branch is behind main — I'll merge rather than rebase,
since force-push is disallowed here.

@lilithgrigoryan

Copy link
Copy Markdown
Contributor Author

Round 3 at head b93ca2b9d2d58a67b518485d7f160d20c74d8659 (one commit since round 2). Verdict stays SHIP WITH CARE. The new commit is comment trims plus three strengthened tests; I filtered the delta for code-bearing lines and found none in app.py, response_parsing.py, metrics.py, slot_canonicalization.py or prepare.py. That means the round-2 items are all still open, and the update comment does not mention them.

Verified — the test changes are good

  • test_malformed_output_is_charged_to_the_model_not_the_harness now asserts harness_failure is False, a named status and non-null contributions, instead of only a reward in range.
  • test_reply_is_truncated_at_the_length_cap monkeypatches MAX_RESPONSE_CHARS so it detects the cap being raised or removed; test_shipped_cap_is_bounded pins the shipped value separately.
  • TestRowContract compares carried expected_step_ids / options / legend to the source row's values, not just their types.

Still open from round 2 — none addressed at this head

1. RISK — _sanitize crashes on a non-string task_id. resources_servers/chemreason_bench/app.py:86 still returns None for None and otherwise calls .encode(). With task_id: Any, an integer or list task_id raises AttributeError inside verify() → 500 → simple_agent.raise_for_status aborts the run. This is the one item that defeats the purpose of the round-1 widening. Fix: if not isinstance(text, str): return None if text is None else str(text).

2. No wrong-type tests. tests/test_app.py:169 test_ground_truth_wrong_type still passes only None. The round-1 follow-up said "tests cover wrong types, not just None"; that is still not what the suite does. One parametrized test over task_id=7, ground_truth=[1], benchmark_id="x", expected_step_ids="0,1" would both make the claim true and catch item 1.

3. Prose-only rationalization fallback is untested and reads the unstripped reply. No test sends a non-JSON rationalization reply, and the fallback in to_prediction receives body.response.output_text verbatim while JSON extraction strips think blocks first. A reasoning model's whole trace is scored by token_f1. Pass the think-stripped text to the fallback and add the test.

4. Follow-up wording. "The table is now asserted equal to upstream's in a test" still describes an assertion that does not exist (test_metrics.py checks two concentration entries). The port is correct — verified programmatically in round 2 — but the claim should be corrected in the PR record.

Checked and OK

Rollout table and comparison caveat now in the PR body; "comparison, not reproduction" is the right framing. 167 tests / 97.48% is author-reported.

Still open

  • 37 commits behind main; rebase before merge.
  • CI trust gate has run no unit or server suite on any head of this PR.

Limitations

Nothing executed.

@lilithgrigoryan

Copy link
Copy Markdown
Contributor Author

Round 4 at head ae43f939643165fc45ced2951909ffad9475f9af (one commit since round 3). Verdict stays SHIP WITH CARE. All four round-2/3 items are closed and verified; one small divergence from upstream came in with the fallback fix.

Verified closed

  • _sanitize crash. Non-string values are coerced with str() before encoding (app.py:86). test_non_string_task_id_does_not_crash covers 123, ["a"], {"k":"v"}, 1.5, True; each returns a scored response with a string task_id and a JSON-serialisable dump.
  • Wrong-type tests. ground_truth over None, [], "a string", 7, True; task_type over 7, [], {}, True; wrong-typed expected_step_ids / options / legend / benchmark_id degrade to a scored row. The round-1 claim is now true.
  • Rationalization fallback. New clean_text strips think blocks and bounds length; extract_json and the fallback both use it, so the JSON path is unchanged. test_prose_only_rationalization_is_scored_not_zeroed and test_reasoning_trace_is_not_scored_as_the_rationale cover both halves.
  • Unit-table claim. test_unit_map_matches_upstreams_exactly pins all 53 entries against an inlined copy of upstream's DEFAULT_UCUM, and test_canonicalization_and_scoring_tables_stay_separate asserts the exact 10-key difference from eval.py's table. Both agree with the programmatic comparison from round 2.

New — introduced by the fallback fix (NOTE, non-blocking)

A parsed dict with no rationale key now scores the raw text; upstream scores it as empty. Upstream sets _raw only when JSON parsing fails (predict.py chat_json_hf / _extract_json_from_answer); a dict that parsed but lacks gold_rationale, rationale and predicted_rationale yields "" in post_rationalization, i.e. coverage_f1 0. to_prediction (response_parsing.py:232) falls through to clean_text(raw) in both cases, so a reply like {"note": "unsure"} is scored by token_f1 on its own JSON text. Rare under a prompt that names the key, but it is a divergence in a component whose stated property is a literal port.
Fix: fall back to the cleaned text only when no_object is true; return "" when a dict lacked the key. Test: '{"note":"unsure"}' for rationalization → coverage_f1 0.

Also: the new comment says upstream's _raw is "post-extraction" text. It is the whole answer. Stripping think blocks is still the right choice for reasoning models, but the comment should call it a deliberate departure rather than parity.

Checked and OK

The _verify helper's guard for unhashable task_type values affects test scaffolding only. clean_text is the same logic previously inline in extract_json.

Still open

  • 37 commits behind main; rebase before merge.
  • CI trust gate has run no unit or server suite on any head of this PR.

Limitations

Nothing executed.

@lilithgrigoryan

Copy link
Copy Markdown
Contributor Author

Round 5 at head ae43f939643165fc45ced2951909ffad9475f9af. No commits or replies since round 4, so this is a fresh whole-state read of the final files rather than a delta. Verdict stays SHIP WITH CARE; nothing blocking, two items the incremental rounds missed.

New

1. RISK (low) — the committed example artifacts predate the scorer changes.
resources_servers/chemreason_bench/data/example.jsonl, example_rollouts.jsonl and example_metrics.json were last written in 68740d991 (2026-09-22), before canonicalize_slots, legend, _sanitize and clean_text landed. The step_completion example row carries no legend, so the committed smoke row exercises the degrade-to-empty branch rather than the canonicalization the fix added, and the rollouts predate the current response shape. Regenerate all three through both stages (prepare.py → gym dataset collate) so the step-completion row carries legend.

2. NOTE — README dataset-format table omits legend.
README.md:63-71 lists expected_step_ids and options as question-side vocabulary but not legend, which prepare.py now emits for step-completion rows and task_data.py declares. Add the row and name all three in the sentence below.

3. NOTE — ordering/contrastive raw-text fallbacks read the unstripped reply.
to_prediction passes raw (output_text) to post_ordering and post_contrastive, whose recovery paths scan it for step ids and option strings; after round 4 the rationalization fallback uses clean_text. A reasoning trace can therefore feed digits or an option string to the first two. Upstream's _raw is also the whole answer, so this is parity rather than a defect, but the module should apply one rule and say which. Passing clean_text(raw) to all three matches the decision already taken for rationalization.

Carried from round 4, still open

  • A parsed dict with no rationale key scores the cleaned text; upstream scores it empty (response_parsing.py:237).
  • The clean_text docstring calls upstream's _raw "post-extraction"; it is the whole answer.

Re-verified on the final files

verify() shape checks and Any-typed fields; _sanitize coercion; gen/lm reduction with single-protocol fallback; harness_failure published as a rate; get_key_metrics excludes mean/reward; REVERIFY_MODE: STATELESS; both configs use the accepted license string; README statuses, departures and ceilings match the code.

Still open outside the code

  • 37 commits behind main; rebase before merge.
  • CI trust gate has run no unit or server suite on any head of this PR.

Limitations

Nothing executed.

…ng rule; refresh examples

Round 4 and 5 review items.

1. The _raw fallback was applied too broadly. Upstream sets _raw ONLY when JSON
   parsing fails (predict.py:303), so a dict that parsed but lacks every
   rationale key scores "" there. The previous fix fell back for both cases, so
   a reply like {"note": "..."} was scored by token_f1 on its own JSON text.
   Now scoped to no_object; a parsed dict without the key scores 0.

2. One cleaning rule. All three raw-text fallbacks -- ordering, contrastive
   choice, rationalization -- now receive the think-stripped reply. Upstream's
   _raw is the whole answer, so this is a DEPARTURE rather than parity, and is
   now labelled as one instead of being claimed as a port. It is applied
   uniformly because a reasoning trace can otherwise feed digits to the ordering
   recovery or an option string to the contrastive recovery.

3. The clean_text docstring called upstream's _raw "post-extraction" text. It is
   the whole answer; corrected.

4. Example artifacts predated the scorer changes. Regenerated all three: the
   step_completion example row now carries `legend` so the smoke row exercises
   canonicalization rather than the degrade-to-empty branch, and the rollouts
   were re-scored through the current verifier (0 rewards changed).

5. README dataset-format table now lists `legend`, and the departures section
   records both the cleaning rule and the _raw-only-on-parse-failure behaviour.

191 tests, 97.60% coverage.

Signed-off-by: Levon Grigoryan <[email protected]>
@lilithgrigoryan

Copy link
Copy Markdown
Contributor Author

Rounds 4 and 5 — addressed at b042d6bd4

All five items fixed. Two were divergences the previous fix introduced, so thanks for catching
them before they set.

Round 4 — parsed dict with no rationale key scored the raw text. Verified against upstream
before changing anything: _raw is set only when parsing fails (predict.py:303, and the
chat_json_hf returns at :1226/:1241/:1249), so a dict that parsed but lacks every
rationale key yields "" and coverage_f1 0. The fallback is now scoped to no_object; a
parsed dict without the key scores 0.

Round 4 — clean_text docstring claimed parity it does not have. Corrected: upstream's
_raw is the whole answer, think blocks included. The stripping is a deliberate departure and
is now labelled as one.

Round 5.3 — one cleaning rule. All three raw-text fallbacks (ordering, contrastive choice,
rationalization) now receive the think-stripped reply. Agreed this is a departure rather than a
defect for the first two, but applying one rule and naming it beats two rules and a footnote —
a reasoning trace can otherwise feed digits to the ordering recovery or an option string to the
contrastive recovery.

Round 5.1 — stale example artifacts. All three regenerated. The step_completion example
row now carries legend, so the committed smoke row exercises canonicalization rather than the
degrade-to-empty branch, and example_rollouts.jsonl was re-scored through the current verifier
(0 rewards changed).

Round 5.2 — README omitted legend. Added to the dataset-format table and named in the
sentence below, alongside the two new departures.

191 tests, 97.60% coverage, pre-commit clean.

Correction to my round-2 comment

That comment said "each fix is mutation-checked". That was too strong, and I want it on the
record rather than left standing. Re-running the checks against this head,
TestRationalizationFallbackScope does not fail when the fix is reverted, and neither does
one of the two TestOneCleaningRule cases — while the same reverted code called directly does
produce the wrong answer (0.857 versus 0.0). I cleared __pycache__, disabled bytecode, checked
for a shadowing module (only one file exists) and confirmed the editable install maps to the
worktree; the discrepancy is unexplained. The production behaviour is confirmed by direct
execution — parsed-dict-wrong-key scores 0.0, unparsed prose scores 1.0 — but I cannot currently
vouch that those two tests guard it, and would rather say so than leave the earlier claim
standing.

Still open

  • The branch is behind main. Merging rather than rebasing, since force-push is disallowed on
    upstream branches.
  • lm protocol divergence — needs the shared-converter fix; happy to file the issue.

@lilithgrigoryan

Copy link
Copy Markdown
Contributor Author

Round 6 at head b042d6bd46c8d6a259b5ded1e44c162d3f3446e4 (one commit since round 5). Verdict stays SHIP WITH CARE. All five round-4/5 items are closed and verified. The test discrepancy reported as unexplained has a mundane cause, below.

Verified closed

  • Rationalization fallback scoped to no_object (response_parsing.py:239-241); a parsed dict without a rationale key scores empty, matching upstream's _raw-only-on-parse-failure rule.
  • One cleaning rule. to_prediction strips think blocks once and passes the cleaned text to all three recovery paths; clean_text's docstring and the README now call it a deliberate departure from upstream's whole-answer _raw.
  • Example artifacts. example.jsonl's step-completion row carries legend; example_rollouts.jsonl re-scored, with legend populated on that rollout.
  • README table and prose name legend and both departures.

The "unexplained discrepancy": two tests are vacuous by construction, not an environment problem

1. TestRationalizationFallbackScope.test_parsed_dict_without_a_rationale_key_scores_empty sends {"note":"unsure"} against the gold "Calcium activates the carbonyl." With the fix reverted, the fallback scores token_f1 of the JSON text against the gold; note and unsure overlap nothing, so the reverted code also returns 0.0. The direct check that gave 0.857 must have used a payload whose JSON text shares tokens with the gold.
Fix: '{"note":"Calcium activates the carbonyl."}' — fixed code 0.0 (key unrecognised), reverted code ≈1.0.

2. TestOneCleaningRule.test_ordering_recovery_ignores_a_reasoning_trace sends a reply with no JSON at all. In post_ordering, no object means got = [], which is a list, so the raw-text recovery branch (response_parsing.py:142-144) never runs; whether raw was cleaned is irrelevant and both versions return 0.0. The raw scan only fires when predicted_order is present but not a list.
Fix: '<think>2 then 0 then 1</think>{"predicted_order": "see above"}' — fixed code scans only the JSON text, finds no legal id, scores 0; reverted code scans the trace, recovers [2,0,1] against gold [1,2,0], scores 1/3.

The contrastive case discriminates because post_contrastive scans raw text whenever the choice is missing — which is exactly why one of the two TestOneCleaningRule cases failed on revert and the other did not. Production behaviour is right and the environment is fine; the two tests need inputs that can tell the branches apart, and the round-2 "mutation-checked" correction can then be resolved rather than left standing.

NOTE — example_metrics.json was not regenerated

The comment says all three artifacts were regenerated; only example.jsonl and example_rollouts.jsonl changed. example_metrics.json is still the 2026-09-22 version (average 94.0 words per row) although the step-completion row gained a legend field. Re-run gym dataset collate --mode example_validation and commit, or correct the claim.

Still open outside the code

  • 37 commits behind main (merge rather than rebase is fine given the force-push rule).
  • lm converter issue to be filed.
  • CI trust gate has run no unit or server suite on any head of this PR.

Limitations

Nothing executed; the vacuity of the two tests is by reading post_ordering / token_f1 against the fixture values, not by running them.

Round 6 diagnosed the "unexplained" mutation-check failure from the last round:
both tests were vacuous by construction, and the environment was fine.

1. test_parsed_dict_without_a_rationale_key_scores_empty sent {"note":"unsure"},
   which shares no tokens with the gold rationale, so the reverted code also
   scored 0.0. The payload now carries text OVERLAPPING the gold, which is what
   separates the branches.

   I had written exactly this payload during the previous round, then destroyed
   it with one of my own `cp` restores while debugging, and spent the rest of
   that investigation testing the old input and blaming the environment.
   A second attempt to restore it silently no-opped because ruff had reflowed
   the call across more lines than the replacement target matched -- the same
   silent-replace failure. This edit was made by line number and verified.

2. test_ordering_recovery_ignores_a_reasoning_trace sent a reply with no JSON,
   so `got` defaulted to [] -- already a list -- and post_ordering's raw-text
   scan never ran. It now sends `predicted_order` present but not a list, which
   is the only input that reaches the scan.

Both are now mutation-checked for real: reverting the fallback scope fails the
first, reverting the single cleaning rule fails both cases of the second.

example_metrics.json: the round-6 note is right that it was not rewritten, but
it is not stale -- collate regenerates it byte-identical, because the metrics
measure responses_create_params (prompt words, turns, tools) and `legend` lives
in verifier_metadata. The "all three regenerated" claim was loose; two changed.

191 tests, 97.60% coverage.

Signed-off-by: Levon Grigoryan <[email protected]>
@lilithgrigoryan

Copy link
Copy Markdown
Contributor Author

Round 6 — both diagnoses correct, fixed at 750c03adc

Your reading of the two tests was right, and the cause was mundane as you said. Worth being
precise about how it happened, because it was worse than an environment quirk.

1. The rationalization scope test. Correct: {"note":"unsure"} shares no tokens with the
gold rationale, so the reverted code also returns 0.0. I had in fact written the overlapping
payload you suggest during the previous round — then destroyed it with one of my own cp
restores while debugging, and spent the rest of that investigation running the old input and
concluding the environment was at fault. A second attempt to restore it silently no-opped
because ruff had reflowed the call across more lines than my replacement target matched. This
edit was made by line number and verified in place.

2. The ordering recovery test. Also correct: with no JSON at all, got defaults to [],
which is already a list, so post_ordering's raw-text scan never runs. Now sends
'<think>2 then 0 then 1</think>{"predicted_order": "see above"}' — predicted_order present
but not a list, which is the only input that reaches the scan.

Both are now mutation-checked for real: reverting the fallback scope fails the first, and
reverting the single cleaning rule fails both cases of the second (previously only the
contrastive one, for exactly the reason you gave).

The round-2 "mutation-checked" claim is now true and can be considered resolved rather than
left standing.

3. example_metrics.json. Your factual point is right — it was not rewritten, and my "all
three regenerated" was loose; two changed. But it is not stale: collate regenerates it
byte-identical, because the metrics measure responses_create_params (prompt words, turns,
tools) while legend lives in verifier_metadata. The 94.0 word average is unchanged for that
reason, not because the file is old. Re-ran collate --mode example_validation to confirm.

191 tests, 97.60% coverage, pre-commit clean.

Still open

  • Behind main; merging rather than rebasing.
  • lm converter issue to file.
  • CI trust gate has still run nothing on this PR.

@lilithgrigoryan

Copy link
Copy Markdown
Contributor Author

Round 7 at head 750c03adc94eaef5239cd13f31e79ae1f100a430 (one commit since round 6). Verdict stays SHIP WITH CARE. Every code finding across the seven rounds is now closed and verified; nothing new.

Verified closed

  • test_parsed_dict_without_a_rationale_key_scores_empty now sends {"note":"Calcium activates the carbonyl."}. The key is unrecognised, so the fixed code scores 0.0; the reverted fallback would score the JSON text against the gold at ≈1.0. Discriminates.
  • test_ordering_recovery_ignores_a_reasoning_trace now sends predicted_order present as a string, the only input that reaches post_ordering's raw-text scan. Fixed code scans the JSON text alone and scores 0; reverted code would recover [2,0,1] from the trace against gold [1,2,0] and score 1/3. Discriminates.
  • The round-2 "mutation-checked" claim is now true and resolved.

Correction to my round 6

I said example_metrics.json was stale because the step-completion row gained legend. That inference was wrong: nemo_gym/train_data_utils.py:326 computes the word count as len(json.dumps(responses_create_params).split()), so verifier_metadata fields do not enter it and regeneration is byte-identical. The file was not rewritten, but it is current. The factual point about the wording stands; the "stale" conclusion does not.

Checked

Full test-file delta read; no other PR path changed; no merge from main touched the PR's paths.

Still open outside the code

  • 37 commits behind main; merge planned.
  • lm converter issue to file.
  • CI trust gate has run no unit or server suite on any head of this PR — the one thing worth having before merge is a single green server-suite run.

Limitations

Nothing executed.

lilithgrigoryan and others added 2 commits October 5, 2026 09:18
main now requires every shipped server class to declare its Ray usage
(test_shipped_server_classes_declare_ray_usage).

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Signed-off-by: Levon Grigoryan <[email protected]>

@yuhezhang-ai yuhezhang-ai 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.

Thanks for the update! I re-reviewed the latest commit and have no remaining code-review concerns. All 375 targeted benchmark, converter, and Ray tests pass. The remaining CI failures also reproduce on main and are being handled separately (#4054 covers the HTTP test-client compatibility failures). The normal required CI checks still need to pass before merging.

svcnemo-autobot pushed a commit to svcnemo-autobot/Gym that referenced this pull request Oct 5, 2026
…eMo#4054)

Fresh server environments can select Starlette's `httpx2`-based
TestClient while Gym's OpenAI SDK still requires `httpx`. This breaks
the session tests when they inject an `httpx.Cookies` object into that
client, and the GDPVal judge-routing test when it passes TestClient
directly to the SDK. The failures also reproduce on unchanged main
(`b0e3fa6cf`); they were observed in [the full CI run for
NVIDIA-NeMo#3618](https://github.com/NVIDIA-NeMo/Gym/actions/runs/37337581691).

Use a standard-library cookie jar in the two session test fixtures,
preserving explicit-cookie session isolation. Forward the SDK's HTTP
requests through an `httpx.MockTransport` into the real TestClient in
the GDPVal test, preserving its proxy/model/credential assertions. Only
test code changes; benchmark behavior and results are unaffected. A
separate issue is unnecessary for this focused, reproduced CI repair.

Validation:
- Before the fix on main with fresh server dependencies: 18 failed, 17
passed across the affected tests.
- After the fix: 35 passed with fresh dependencies (Starlette 1.7.0,
httpx2 2.13.1, httpx 0.28.1), and 35 passed in the locked development
environment.
- Commands: `pytest
resources_servers/example_session_state_mgmt/tests/test_app.py
resources_servers/openenv/tests/test_app.py --import-mode=importlib -q`;
`pytest resources_servers/gdpval/tests/test_judge_panel.py -q -k
test_benchmark_panel_reaches_intended_upstream_models_and_credentials`.
- `pre-commit run --all-files` and `git diff --check` passed.
- Model rollouts: N/A, test-harness compatibility only; no runtime
environment/agent behavior changes.

The separate Aviary dependency failure from that CI run is addressed in
NVIDIA-NeMo#4055.

Signed-off-by: Yuhe Zhang <[email protected]>
ananthsub pushed a commit to ananthsub/Gym that referenced this pull request Oct 5, 2026
…Mo#4055)

An unconstrained `datasets` requirement lets a fresh Aviary environment
resolve `datasets==1.2.1` with current PyArrow. Importing the server
then fails with `AttributeError: module 'pyarrow' has no attribute
'PyExtensionType'`, before any Aviary tests run. This reproduces on main
(`b0e3fa6cf`) and appeared in [the full CI run for
NVIDIA-NeMo#3618](https://github.com/NVIDIA-NeMo/Gym/actions/runs/37337581691).

Require `datasets>=4.4.1`, matching the modern version already used by
Gym's locked development environment. A fresh server install now chooses
a compatible dataset stack instead of backtracking to the legacy
release. This is scoped to Aviary; a separate issue is unnecessary for
this focused, reproduced dependency repair.

Validation:
- Before: the standard server test failed during collection on unchanged
main.
- After, from a fresh server environment: `gym env test
--resources-server aviary +should_validate_data=true` passed (4 passed,
1 existing Docker-dependent test skipped); example-data validation
passed.
- The tests load the real GSM8K dataset and exercise environment
creation, a calculator tool step, and the dataset-server/client
lifecycle.
- `pre-commit run --all-files` and `git diff --check` passed.
- Model-generated rollouts: N/A for this dependency-compatibility
constraint; no agent, prompt, verifier, or scoring code changes. The
real dataset/tool lifecycle tests above ran; no model-generated answers
were tested.

The separate HTTP test-client failures are addressed in NVIDIA-NeMo#4054.

Signed-off-by: Yuhe Zhang <[email protected]>
@yuhezhang-ai

Copy link
Copy Markdown
Contributor

/ok to test d376908

@yuhezhang-ai

Copy link
Copy Markdown
Contributor

/ok to test 552c89c

@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

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

Merged via the queue into main with commit 642c5de Oct 6, 2026
44 checks passed
@yuhezhang-ai
yuhezhang-ai deleted the lgrigoryan/chemreason-bench branch October 6, 2026 14:31
@lilithgrigoryan

Copy link
Copy Markdown
Contributor Author

Thanks a lot for the review! @yuhezhang-ai

Ashish-Soni08 pushed a commit to Ashish-Soni08/Gym that referenced this pull request Oct 10, 2026
…s lists (NVIDIA-NeMo#4323)

## What changed

No public request or response model in `nemo_gym/openai_utils.py` keeps
a field that Pydantic validates into a lazy iterator. Each change
follows the existing Iterable overrides in that file, such as the ones
for `annotations`, `content`, `summary`, and `tools`.

The first commit fixes model output that the agent sends back as input.
`NeMoGymResponseOutputText.logprobs` now uses Gym copies of the OpenAI
`Logprob` and `LogprobTopLogprob` types, with `List` in place of
`Iterable` for `bytes` and `top_logprobs`.

The second commit fixes request configuration. It adds Gym copies with
`List` fields for these SDK types:

| Request model | Field path |
| --- | --- |
| Responses | `tool_choice` allowed tools: `tools` |
| Responses | namespace tool: `tools` |
| Responses | file search tool: compound filter `filters` |
| Responses | shell tool: `container_auto` and `local` environment
`skills` |
| Responses | shell and code interpreter tools: container allowlist
network policy `domain_secrets` |
| Chat Completions | `prediction.content` |
| Chat Completions | `tool_choice` allowed tools: `allowed_tools.tools`
|

The request models now use Gym copies of the SDK `ToolParam`,
`ToolChoice`, and `ChatCompletionToolChoiceOptionParam` unions. Each
copy keeps the SDK members in the SDK order and swaps in a `List`
subclass only where the SDK member has an `Iterable` field. Because the
member order is the same, union validation picks the same member as
before.

`NeMoGymResponse` and `NeMoGymChatCompletion` had no remaining lazy
fields.

## Why the agent's next request fails

Since NVIDIA-NeMo#3618, the vLLM model server copies chat-completion logprobs into
`output_text.logprobs`. The OpenAI `Logprob` type declares `bytes` and
`top_logprobs` as `Iterable`, and Pydantic validates an `Iterable` field
into a lazy iterator that can be read only once.

When the model writes text and a tool call in the same turn,
`simple_agent` sends that assistant message back as input on the next
turn. `ServerClient.request` dumps the request body with
`model_dump(exclude_unset=True)` in Python mode, which leaves the lazy
iterator in the output as a `SerializationIterator`. orjson cannot
encode that object, so the post to the model server fails and the
agent's `/run` returns HTTP 500:

```
TypeError: Type is not JSON serializable: pydantic_core._pydantic_core.SerializationIterator
```

This happened in step 1 of a 2-step NeMo-RL GRPO smoke run with
Qwen3-0.6B, vLLM with the `hermes` tool parser, and the
workplace_assistant environment with `simple_agent`. An earlier run with
the same code and data passed, because the failure only occurs when an
assistant text message with logprobs is followed by another turn.

The lazy type also loses data without an error. Serializing the same
response object a second time returns empty `bytes` and `top_logprobs`
lists, and `model_copy(deep=True)` cannot copy the object at all because
the iterator cannot be pickled.

## Why the fix is in the type and not in `ServerClient.request`

Switching `ServerClient.request` to `model_dump(mode="json")` would make
the first encode succeed, but the dump would still read the iterator to
the end. Every later turn would then send empty logprobs to the model
server. Storing the values as lists keeps them complete for every
serialization.

## Wire format

The encoded request bytes are unchanged. For a request with a user
message, an assistant message with logprobs, a function call, and a
function call output, the new Python-mode dump encoded by orjson is
byte-identical to the previous `mode="json"` encoding of the same body.

## Related issue

No issue is filed, because the bug was found in a smoke run and the fix
is contained in one type.

## Request configuration fields

The request configuration fields fail the same way when a dataset sets
them. For example, this request cannot be encoded by orjson after
validation:

```python
NeMoGymResponseCreateParamsNonStreaming.model_validate(
    {"input": "q", "tools": [{"type": "namespace", "name": "ns", "description": "d",
                              "tools": [{"type": "function", "name": "f", "parameters": {}}]}]}
)
```

Its `model_copy(deep=True)` raises `cannot pickle 'ValidatorIterator'`,
and a second `model_dump(mode="json")` returns an empty `tools` list in
the namespace tool.

## Validation

- `tests/unit_tests/test_openai_utils.py` builds a next-turn request the
way `simple_agent` does. It validates a model response with output text
logprobs and a function call, deep-copies the request body, and appends
the output and a function call output. The test checks that orjson
encodes the request with complete logprobs on repeated serializations.
- `tests/unit_tests/test_server_utils.py` sends a request that replays
an assistant message with logprobs through `ServerClient.post` and
checks the encoded request data.
- `tests/unit_tests/test_openai_utils.py` walks the Pydantic core
schemas of `NeMoGymResponseCreateParamsNonStreaming`, `NeMoGymResponse`,
`NeMoGymChatCompletionCreateParamsNonStreaming`, and
`NeMoGymChatCompletion`, and fails if any field path reaches a
`generator` schema. The failure message names each path. This test also
catches lazy fields that a future OpenAI SDK upgrade adds.
- A parametrized test validates a request for each fixed request
configuration path. It checks that orjson encodes the Python-mode dump,
that repeated dumps stay complete, and that a deep copy works.
- A test pins each Gym union copy to its SDK union, member by member and
in order, so an SDK upgrade that adds a tool or tool-choice type fails
the test instead of being rejected silently.
- All of these tests fail on the code before the matching commit. On the
code before the second commit, the schema walk names the request
configuration paths, and every encode, copy, and dump case fails.
- For each fixed request configuration path, plus unchanged cases such
as a code interpreter container ID and a named function tool choice, a
script compared the orjson encoding of the new Python-mode dump with the
previous code's first `mode="json"` dump. The bytes were identical,
including key order. Requests that leave out a required key in the new
copies still fail validation.

Commands:

```bash
uv sync --extra dev --extra sandbox --extra openshell --extra mlflow --extra wandb
pytest tests/unit_tests -n 16
pytest responses_api_agents/simple_agent/tests responses_api_models/vllm_model/tests
pre-commit run --all-files
```

## Rollout evidence

Pending: the 2-step NeMo-RL GRPO smoke run on workplace_assistant will
be repeated before this PR is marked ready for review.

---------

Signed-off-by: Ananth Subramaniam <[email protected]>

This branch was previously deployed

1 inactive deployment
public — 552c89c1 Deployed Oct 6, 2026 by copy-pr-bot[bot] via release / finalize / notify #4417
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:environment Individual environments, benchmarks, verifiers, and environment-specific resources servers complexity:medium Single-domain change with interacting parts or a moderate review surface feature New capabilities, enhancements, or enablement work needs-review PR is ready for code review and waiting on a reviewer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants