Skip to content

fix(tau2): enable ng_perf reporting - #4283

Closed
giuliolovisotto wants to merge 2 commits into
mainfrom
codex/tau-ng-perf
Closed

giuliolovisotto wants to merge 2 commits into
mainfrom
codex/tau-ng-perf

Conversation

@giuliolovisotto

Copy link
Copy Markdown
Contributor

Tau retains native model responses, but the shared ng_perf builder needs invocation references and explicit decision turns to report their usage. Export that evidence for policy and user-simulator messages, excluding scripted greetings and tool outputs from the turn count. Preserve the tool observations already on main from #4238.

Split from #4239 (now SciCode-only); both PRs independently target main. This implements the Tau producer-reporting portion of FEA-450. The conformance scenario remains outstanding. FEA-435 time-breakdown work is separate.

The source observation bundle includes model-only participants too, so the collector does not mark simulator calls unowned merely because the simulator used no tools. Shared aggregation, execution, scoring and model configuration are unchanged. Rollout-wide ng_perf totals include both participants, with invocation/model references retaining their identity. Rejected responses and internal retries are not reconstructed; this is not complete attempt-accounting certification.

Validation on f3c57c6f402472edccc352815df222623c2c61d0 (base main 8908cb24dccb1d97411f32bc1dee541ad5961dce):

  • python -m pytest responses_api_agents/tau2/tests -q in the Tau environment against this checkout: 36 passed.
  • uvx pre-commit run --all-files: passed.
  • Fresh native Tau3 Banking BM25+grep controlled run: 6 turns, 3 tools, 72 completion tokens, coverage 1.0 and reward 1.0.
  • Fresh live GPT-4.1 Banking run through the production collector: 7 turns, 2 tools, 532 completion tokens, coverage 1.0 and reward 1.0. Saved totals match captured usage; no model-call ownership-unavailable gaps.
  • Regression tests cover a simulator with no tools and a missing model capture. Remaining full-context/timing gaps and unobserved aggregate-token reconciliation are outside this reporting change.

@copy-pr-bot

copy-pr-bot Bot commented Oct 9, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@giuliolovisotto giuliolovisotto added the area:agent Agent harnesses and Responses API agent behavior label Oct 9, 2026
@svcnvidia-nemo-ci svcnvidia-nemo-ci added the bug Something isn't working label Oct 20, 2026
@giuliolovisotto

Copy link
Copy Markdown
Contributor Author

Closing for now to defer this work. We can revisit it later; the branch is retained.

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 bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants