Forecast Job
forecast_jobEstimate a whole job's time, cost, accuracy, price-change risk, and break-even from a promptfoo sample when total test count is known.
Instructions
Estimate a whole job's time, cost and accuracy from a promptfoo run of a sample of it: for each model in the sample, the time as a usual time and a slow day, the cost at its cheapest listing next to the listing the sample used, the 90-day chance of a price change, how often it was right (95% range) and the break-even against the pick. Use when a promptfoo results file of a sample exists and the whole job's size is known. Not for a job with no sample (estimate_cost for money, estimate_time for time).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"promptfoo_results": "<promptfoo_results>",
"items": "<items>"
},
"name": "forecast_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| way | No | How the models are called (default: read from each provider) | |
| items | Yes | How many tests the whole job has | |
| thinking | No | Thinking turned on | |
| concurrency | No | Calls running at once in the whole job (default: as the sample ran) | |
| promptfoo_results | Yes | Path of a promptfoo results file from a sample of the job (promptfoo eval --filter-sample 20 -o sample.json) | |
| wrong_answer_cost | No | Dollars a wrong answer costs you to catch and fix; the pick then counts it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||