Skip to content

Configuration

trialdesignbench.config

Workspace and environment configuration helpers.

TdbConfig dataclass

Runtime configuration loaded from a workspace .env file.

configure_workspace(workspace, *, mathpix_app_id, mathpix_app_key, codex_model=DEFAULT_CODEX_MODEL, codex_bin=None)

Write user configuration values into the workspace .env file.

create_workspace(path)

Create a local TrialDesignBench workspace.

load_config(workspace)

Load configuration from a workspace .env file.