Command line¶
Installing BLADE adds two commands: iohblade for experiments and
iohblade-webapp for browsing results. In a uv project, prefix them with
uv run.
Command |
What it does |
|---|---|
|
Create a starter experiment in |
|
Check a configuration: every mistake, with its line. Runs nothing. |
|
Smoke test: build the evaluation environments, evaluate a reference solution per problem, run each method briefly with an offline LLM. |
|
Run the experiment, or resume it. |
|
List the built-in problems, suites, methods, LLM providers and loggers. |
|
Print the JSON schema of the YAML format. |
|
Install the BLADE skill for coding agents. |
|
Show or delete the cached evaluation environments. |
|
Browse the experiments in |
Exit codes¶
Code |
Meaning |
|---|---|
|
Success. |
|
Runs (or checks) failed; the other runs were recorded. |
|
Invalid configuration, or an output folder that cannot be resumed. |
|
An evaluation environment could not be built. |
iohblade init¶
iohblade init [--template {builtin,custom-problem,custom-method}] [--force] [DIR]
--template,-tbuiltin(default): built-in methods and problem.custom-problem: addsmy_problem.pyfor your own benchmark.custom-method: addsmy_method.pyfor your own search method.--forceOverwrite existing files.
Every template also writes reference_solution.py (used by check) and
experiment.schema.json (editor completion).
iohblade validate¶
iohblade validate [--set KEY=VALUE] [-v] FILE
Prints the planned methods, problems, seeds and number of runs, or every issue with file, line and column. Nothing is run and no LLM is contacted.
iohblade check¶
iohblade check [--set KEY=VALUE] [-v] [--llm] [--no-methods] FILE
--llmAlso send one short prompt to every configured LLM, to test keys and model names.
--no-methodsOnly check the problems.
Each line reports OK, WARN, FAIL or SKIP for a problem,
method or LLM. See Checking an experiment for what is checked.
iohblade run¶
iohblade run [--set KEY=VALUE] [-v] [--dry-run] FILE
--dry-runOnly show the planned runs and what resuming would do.
Running the same command again resumes: finished runs are skipped. A folder that holds runs of a different setup is not resumed (exit code 2).
iohblade list¶
iohblade list [--check] [{llms,loggers,methods,problems,suites}]
--checkAlso check whether each component can be imported (optional dependencies).
iohblade schema¶
iohblade schema [-o OUTPUT]
The schema is also published at https://xai-liacs.github.io/BLADE/experiment.schema.json; see Editor support.
iohblade skill¶
iohblade skill [--force] [DIR]
Writes the skill to DIR/blade (default .claude/skills, where Claude
Code looks). See Coding agents.
iohblade cache¶
iohblade cache {list,clear}
Evaluation environments are cached and shared between problems with the
same dependencies, in $IOHBLADE_CACHE_DIR/envs or the user cache folder.
Environment variables¶
IOHBLADE_CACHE_DIRWhere the evaluation environments are cached.
IOHBLADE_ENV_CACHE0turns the cache off: every problem gets a temporary environment.IOHBLADE_USE_UV0installs evaluation environments with pip instead ofuv pip.
API keys (OPENAI_API_KEY, ANTHROPIC_API_KEY, …) are read where the
configuration refers to them with ${env:...}; a .env file next to
the experiment works too.