expand_param_grid

expand_param_grid(param_grid)

Expand a parameter grid into concrete ExperimentSpec runs.

Parameters

Name Type Description Default
param_grid dict In-memory grid dictionary describing the Cartesian-product sweep. Expected keys include tasks, models, use_examples, prompt_types, temperatures, top_ps, process_textboxes, process_spans, chat_modes, reasoning, and country_iso_code. required

Returns

Name Type Description
list[ExperimentSpec] A list of experiment specifications, one per Cartesian-product combination.