Skip to content

fix(evals): warn once when testInfo is missing#225

Open
steve-calvert-glean wants to merge 1 commit into
mainfrom
fix/eval-runner-warn-once
Open

fix(evals): warn once when testInfo is missing#225
steve-calvert-glean wants to merge 1 commit into
mainfrom
fix/eval-runner-warn-once

Conversation

@steve-calvert-glean

Copy link
Copy Markdown
Contributor

Summary

runEvalDataset's "testInfo not provided" warning fired on every call without testInfo. When driving it programmatically (runVariantExperiment, scripted loops), that's the same message printed dozens of times, drowning real output.

Gate it behind a process-level flag so it warns once.

Validation

format:check, typecheck, lint, docs:check, build, test (960 passing) all pass locally. No dedicated test: the flag is process-global (not resettable without exporting it), so an assertion would be order-dependent across the suite — not worth the brittleness for a one-line warn-dedup.

🤖 Generated with Claude Code

The 'testInfo not provided' warning fired on every runEvalDataset call without
testInfo, spamming output when runVariantExperiment or scripted loops call it
many times. Gate it behind a process-level flag so it warns once.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@steve-calvert-glean steve-calvert-glean requested a review from a team as a code owner June 21, 2026 01:12
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