Skip to content

feat(weave): allow score tracing to be disabled in imperative evals - #7700

Draft
domphan-wandb wants to merge 1 commit into
masterfrom
dom/imper-eval-disable-score-tracing
Draft

feat(weave): allow score tracing to be disabled in imperative evals#7700
domphan-wandb wants to merge 1 commit into
masterfrom
dom/imper-eval-disable-score-tracing

Conversation

@domphan-wandb

@domphan-wandb domphan-wandb commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Description

Fixes WB-37813

This PR adds an argument that disables score tracing for imperative evals. The score tracing was adding additional overhead that we didn't need for eval tables.

Testing

  • unit tests

@codecov

codecov Bot commented Aug 6, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 90.47619% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
weave/evaluation/eval_imperative.py 90.47% 1 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@domphan-wandb
domphan-wandb force-pushed the dom/imper-eval-disable-score-tracing branch from f4754a7 to 2d6aa7a Compare August 7, 2026 20:01

@kelu-wandb kelu-wandb 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.

approving with suggestion

"""Internal-only: Merge potential caller-provided fields into the eval meta."""
self._score_meta = {**eval_meta, **IMPERATIVE_SCORE_META_MARKER}

def _scores_untraced(self) -> bool:

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.

I would lean toward calling this _scores_traced and using a not at the caller. Positive names are less confusing than negative ones.

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