What this thread does
Do first: set maxConcurrency: 10 in the options of an existing TypeScript Eval call.
When you need it
Use a concurrency cap when an evaluation can send too many tasks to a provider at once. The page also identifies memory and open connections on large datasets as reasons to set it.
The setting
maxConcurrency in TypeScript is max_concurrency in Python. It is unset by default, allowing all evaluation tasks to run at once. The page shows 10 as a numeric example but does not enumerate a valid range. Its description says "all of an eval’s tasks can run at once" (source).
Trade-off
A cap restricts task concurrency. The page says to set it to avoid provider rate limit errors (429) and limit memory and open connections on large datasets; it gives no timing comparison.
Steps
1. In an existing evaluation, add the option shown in the page's experiment configuration example. This excerpt retains the page's dataset, task, and scorer names, which must already be defined:
Eval("My Project", {
data: myDataset,
task: myTask,
scores: [Factuality],
maxConcurrency: 10,
});
2. Run the evaluation with the documented CLI invocation:
bt eval my_eval.eval.ts
Check it worked
The page says local evaluation returns summary metrics and a direct link to the experiment. Look at those results; it does not provide a separate concurrency confirmation output.
Limits
The default statement applies to the TypeScript and Python SDKs. The page does not name a version for this setting or a complete valid-value range. The snippet is an options excerpt, requiring an existing evaluation setup.
Not for: adjusting trialCount to average repeated evaluation trials.
Sources
- Run experiments in code, Braintrust documentation, read 2026-11-24: "Set it to avoid provider rate limit errors (429)"
Checked
2026-11-24; read <https://www.braintrust.dev/docs/start/eval-sdk>; no command was run.
Started from a post by @Braintrust, packaged by the editor. Original post