Imported from forecastingresearch/forecastbench (
src/llm_forecaster/AGENTS.md). Install upstream withnpx skills add forecastingresearch/forecastbench --skill llm_forecaster. Copyright stays with the author.
LLM Forecaster Package
This package owns ForecastBench LLM baseline generation.
FB_MODEL_RUN_KEYSinfb_model_runs.pylists models runs that will forecast on the next weekly round.- Select model runs for
FB_MODEL_RUN_KEYSfromutils.llm.model_runsbymodel_run_key. Do not declare localModelRunregistries here. - Use
utils.llmfor provider calls; do not instantiate provider SDK clients directly here. - Keep runtime model options in the
ModelRun.optionsdeclaration, except the project-specific OpenAIsafety_identifier, which is injected at runtime from Secret Manager. - Keep model-run names lower-case and file-safe.
- OK any non-default runtime options with a human.
- Treat LLM forecasting prompts, parsing/extraction behavior, and output schema as explicit contracts. Update tests and docs when intentionally changing them.
- Keep Cloud Run entrypoints thin; put behavior in
src/llm_forecaster.