Skip to content

feat: add per-input trial_count support to Eval()#274

Merged
Abhijeet Prasad (AbhiPrasad) merged 2 commits intomainfrom
feat/per-input-trial-count
Apr 14, 2026
Merged

feat: add per-input trial_count support to Eval()#274
Abhijeet Prasad (AbhiPrasad) merged 2 commits intomainfrom
feat/per-input-trial-count

Conversation

@AbhiPrasad
Copy link
Copy Markdown
Member

Allow each EvalCase to specify its own trial_count that overrides the global evaluator-level trial_count. Resolution order: datum.trial_count > evaluator.trial_count > 1 (default).

python implementation of braintrustdata/braintrust-sdk-javascript#1814

Allow each EvalCase to specify its own trial_count that overrides
the global evaluator-level trial_count. Resolution order:
datum.trial_count > evaluator.trial_count > 1 (default).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@lforst
Copy link
Copy Markdown
Member

ty for being attentive

Exercises the dict.get("trial_count") branch that was untested
when data items are plain dicts instead of EvalCase dataclasses.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@AbhiPrasad Abhijeet Prasad (AbhiPrasad) merged commit ea26237 into main Apr 14, 2026
64 checks passed
@AbhiPrasad Abhijeet Prasad (AbhiPrasad) deleted the feat/per-input-trial-count branch April 14, 2026 15:25
Abhijeet Prasad (AbhiPrasad) added a commit that referenced this pull request Apr 14, 2026
Includes:
- #247
- #258
- #255
- #253
- #252
- #261
- #265
- #264
- #267
- #268
- #270
- #271
- #275
- #274
- #79

Maybe Includes:
- #276
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