Skip to content

feat(weave): add wandb.agent_monitor feedback type#6909

Open
nikumar1206 wants to merge 1 commit into
nikhil/scorer-feedback-columns-wiringfrom
nikhil/scorer-feedback-agent-monitor-type
Open

feat(weave): add wandb.agent_monitor feedback type#6909
nikumar1206 wants to merge 1 commit into
nikhil/scorer-feedback-columns-wiringfrom
nikhil/scorer-feedback-agent-monitor-type

Conversation

@nikumar1206
Copy link
Copy Markdown
Contributor

@nikumar1206 nikumar1206 commented May 20, 2026

Description

Adds the `wandb.agent_monitor` feedback_type. Scorer identity comes from `runnable_ref` (no `.` suffix like `wandb.runnable.*`).

Validation:

  • Requires `runnable_ref`.
  • Requires `call_ref` when `runnable_ref` is an op-ref.
  • Rejects `scorer_tags` / `scorer_ratings` / `scorer_reasons` / `scorer_confidences` on any other feedback_type, including explicit empty containers.

Testing

Unit tests.

Copy link
Copy Markdown
Contributor Author

nikumar1206 commented May 20, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@wandbot-3000
Copy link
Copy Markdown

wandbot-3000 Bot commented May 20, 2026

@codecov
Copy link
Copy Markdown

codecov Bot commented May 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@nikumar1206 nikumar1206 force-pushed the nikhil/scorer-feedback-agent-monitor-type branch 2 times, most recently from b9838f8 to 62f4c20 Compare May 20, 2026 18:58
@nikumar1206 nikumar1206 force-pushed the nikhil/scorer-feedback-columns-wiring branch from bb33ae8 to 33c36ec Compare May 20, 2026 18:58
@nikumar1206 nikumar1206 force-pushed the nikhil/scorer-feedback-agent-monitor-type branch from 62f4c20 to 8ec7e74 Compare May 20, 2026 19:17
@nikumar1206 nikumar1206 force-pushed the nikhil/scorer-feedback-columns-wiring branch from d80d70b to 39e2cad Compare May 20, 2026 19:17
@nikumar1206 nikumar1206 force-pushed the nikhil/scorer-feedback-agent-monitor-type branch 2 times, most recently from 76c285f to b002e37 Compare May 20, 2026 22:23
@nikumar1206 nikumar1206 force-pushed the nikhil/scorer-feedback-columns-wiring branch from 2ed81a6 to 1cb0e5e Compare May 20, 2026 23:37
@nikumar1206 nikumar1206 force-pushed the nikhil/scorer-feedback-agent-monitor-type branch from b002e37 to 042a0c0 Compare May 20, 2026 23:37
@nikumar1206 nikumar1206 force-pushed the nikhil/scorer-feedback-columns-wiring branch from 1cb0e5e to 63cb0b4 Compare May 20, 2026 23:47
@nikumar1206 nikumar1206 force-pushed the nikhil/scorer-feedback-agent-monitor-type branch 2 times, most recently from 1a857fa to 77c114c Compare May 21, 2026 14:46
@nikumar1206 nikumar1206 marked this pull request as ready for review May 21, 2026 15:44
@nikumar1206 nikumar1206 requested a review from a team as a code owner May 21, 2026 15:44
Copy link
Copy Markdown
Contributor

@jtschoonhoven jtschoonhoven left a comment

Choose a reason for hiding this comment

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

Requesting a few small changes before we merge

Comment thread weave/trace_server/interface/feedback_types.py Outdated
Comment thread weave/trace_server/clickhouse_trace_server_batched.py
Comment thread weave/trace_server/feedback.py Outdated
f"Invalid payload for feedback_type {req.feedback_type}: {e}"
) from e
elif feedback_type_is_agent_monitor(req.feedback_type):
if not req.runnable_ref:
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.

We should also require trigger_ref here

Comment thread weave/trace_server/feedback.py Outdated
@nikumar1206 nikumar1206 force-pushed the nikhil/scorer-feedback-columns-wiring branch from 63cb0b4 to dab1855 Compare May 21, 2026 20:36
@nikumar1206 nikumar1206 force-pushed the nikhil/scorer-feedback-agent-monitor-type branch 2 times, most recently from 893c8f7 to 577fcab Compare May 21, 2026 21:48
@nikumar1206 nikumar1206 force-pushed the nikhil/scorer-feedback-columns-wiring branch from dab1855 to 55dd6ab Compare May 21, 2026 21:48
@jtschoonhoven jtschoonhoven force-pushed the nikhil/scorer-feedback-columns-wiring branch from 55dd6ab to 7d46052 Compare May 22, 2026 17:22
@jtschoonhoven jtschoonhoven force-pushed the nikhil/scorer-feedback-columns-wiring branch from 7d46052 to 200a56f Compare May 22, 2026 17:23
@jtschoonhoven jtschoonhoven force-pushed the nikhil/scorer-feedback-agent-monitor-type branch from 577fcab to a4d6155 Compare May 22, 2026 17:23
@nikumar1206 nikumar1206 force-pushed the nikhil/scorer-feedback-agent-monitor-type branch from a4d6155 to 6f6503e Compare May 22, 2026 18:44
@nikumar1206 nikumar1206 force-pushed the nikhil/scorer-feedback-columns-wiring branch 2 times, most recently from b48e754 to 39a1b35 Compare May 22, 2026 19:06
@nikumar1206 nikumar1206 force-pushed the nikhil/scorer-feedback-agent-monitor-type branch 2 times, most recently from 9a478a2 to 35db1c8 Compare May 22, 2026 19:30
@nikumar1206 nikumar1206 force-pushed the nikhil/scorer-feedback-agent-monitor-type branch from 35db1c8 to 4b8dbc0 Compare May 22, 2026 22:18
@nikumar1206 nikumar1206 force-pushed the nikhil/scorer-feedback-columns-wiring branch from 39a1b35 to dd558dc Compare May 22, 2026 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants