complexa-sweep
Installation
SKILL.md
complexa-sweep
Run cartesian-product parameter sweeps over Proteina-Complexa design pipelines. Pick or author a sweeper YAML in configs/sweeps/, expand it to N inference configs with script_utils/generate_inference_configs.py, loop complexa design over those configs, then aggregate per-config success metrics into a ranked summary CSV plus a manifest.
Important: The
complexa designCLI does NOT accept--sweeperdirectly. Sweeps are driven byscript_utils/generate_inference_configs.py, which writes oneconfigs/inference_configs/inf_{idx}_{run_name}.yamlper sweep combination. You then loopcomplexa designover those generated configs.
What this skill enables
- Pick an existing sweeper YAML from
configs/sweeps/(beam_width,bb_ca_temperature,search_replicas,example). - Author a new sweeper YAML with arbitrary dot-notation axes (cartesian product).
- Generate N inference + evaluation config pairs with
script_utils/generate_inference_configs.py. - Loop
complexa designover the generated configs (one at a time on a single GPU, or in parallel on a multi-GPU host by sharding the config list acrossCUDA_VISIBLE_DEVICES). - Walk per-config output directories and parse the analyze-step CSV from each.
- Emit
sweep_summary.csv(one row per config: axis values + success rate + mean iPAE + diversity) andsweep_manifest.json. - Identify the best config by success rate and the Pareto frontier (wall-clock vs success).