Skip to content

dokimi benchmark

usage: dokimi benchmark [-h] {run,preflight,batch} ...

positional arguments:
  {run,preflight,batch}
    run                 Run full benchmark for a registered target [paid]
    preflight           Validate resolved benchmark plan without running LLM calls [free]
    batch               Run pipeline for multiple libraries [paid]

options:
  -h, --help            show this help message and exit

dokimi benchmark run

usage: dokimi benchmark run [-h] --library LIBRARY [--doc-source DOC_SOURCE]
                            [--out-dir OUTPUT_DIR] [--model MODEL]
                            [--provider {openai,anthropic,amazon-bedrock,google-vertex,openrouter,claude-cli,codex-cli,copilot-cli}]
                            [--judge-model JUDGE_MODEL]
                            [--judge-provider {openai,anthropic,google,google-vertex,openrouter,amazon-bedrock,claude-cli,codex-cli,copilot-cli}]
                            [--judge-temperature JUDGE_TEMPERATURE] [--judge-placeholder]
                            [--registry REGISTRY] [--retrieval-tokens N]
                            [--concurrency CONCURRENCY] [--force]
                            [--questions-from QUESTIONS_FROM] [--questions-root QUESTIONS_ROOT]
                            [--reps N]

options:
  -h, --help            show this help message and exit
  --library, --target LIBRARY
                        Target key from registry (e.g., onetbb). --library kept as compatibility
                        alias
  --doc-source DOC_SOURCE
                        Override doc/context source (default: first in registry entry)
  --out-dir OUTPUT_DIR  Output directory (default: results/{target}_final)
  --model MODEL
  --provider {openai,anthropic,amazon-bedrock,google-vertex,openrouter,claude-cli,codex-cli,copilot-cli}
  --judge-model JUDGE_MODEL
                        Judge model (default: the default judge for --judge-provider that is not
                        the answerer's family: claude-sonnet-5-5 on anthropic and amazon-bedrock,
                        opus on claude-cli (sonnet when the answerer is opus), gpt-6.1-sol on
                        openai; other providers need this flag)
  --judge-provider {openai,anthropic,google,google-vertex,openrouter,amazon-bedrock,claude-cli,codex-cli,copilot-cli}
  --judge-temperature JUDGE_TEMPERATURE
                        Judge sampling temperature, recorded as judge_temperature in the eval
                        output (default: provider default)
  --judge-placeholder   Judge the no-retrieval placeholder answers too (default: they are not
                        scored)
  --registry REGISTRY   Path to custom products.yaml
  --retrieval-tokens N  Max tokens to retrieve per question from doc source (default: 4000)
  --concurrency CONCURRENCY
                        Parallel API calls for answering and judging (default: 5)
  --force               Do not reuse the personas and questions cached in the output directory:
                        discover and generate them again, or re-read the golden set under
                        --questions-root. A run with a golden set or --questions-from discovers no
                        personas
  --questions-from QUESTIONS_FROM
                        Reuse questions from another run's output directory or JSON file. Skips
                        question generation entirely — essential for fair multi-model comparisons
                        (all models evaluated on the same question set). Example: --questions-from
                        results/onedal_gpt51
  --questions-root QUESTIONS_ROOT
                        Directory where the golden question set <target>_golden.json is looked up,
                        for example a checkout of the evaluation-content repository: --questions-
                        root /path/to/content-repo/questions. Without it the run has no golden
                        question set.
  --reps N              Run answer generation + evaluation N times (default: 1). N>=3 enables
                        variance check in the trust gate. Results are averaged; variance is
                        measured for stability.

dokimi benchmark preflight

usage: dokimi benchmark preflight [-h] --library LIBRARY [--doc-source DOC_SOURCE]
                                  [--out-dir OUTPUT_DIR] [--model MODEL]
                                  [--provider {openai,anthropic,amazon-bedrock,google-vertex,openrouter,claude-cli,codex-cli,copilot-cli}]
                                  [--judge-model JUDGE_MODEL]
                                  [--judge-provider {openai,anthropic,google,google-vertex,openrouter,amazon-bedrock,claude-cli,codex-cli,copilot-cli}]
                                  [--registry REGISTRY] [--retrieval-tokens N]
                                  [--concurrency CONCURRENCY] [--questions-from QUESTIONS_FROM]
                                  [--questions-root QUESTIONS_ROOT]

options:
  -h, --help            show this help message and exit
  --library, --target LIBRARY
                        Target key from registry (e.g., onetbb)
  --doc-source DOC_SOURCE
                        Override doc/context source
  --out-dir OUTPUT_DIR  Output directory (default: results/{target}_final)
  --model MODEL
  --provider {openai,anthropic,amazon-bedrock,google-vertex,openrouter,claude-cli,codex-cli,copilot-cli}
  --judge-model JUDGE_MODEL
                        Judge model (default: the default judge for --judge-provider that is not
                        the answerer's family: claude-sonnet-5-5 on anthropic and amazon-bedrock,
                        opus on claude-cli (sonnet when the answerer is opus), gpt-6.1-sol on
                        openai; other providers need this flag)
  --judge-provider {openai,anthropic,google,google-vertex,openrouter,amazon-bedrock,claude-cli,codex-cli,copilot-cli}
  --registry REGISTRY   Path to custom products.yaml
  --retrieval-tokens N
  --concurrency CONCURRENCY
  --questions-from QUESTIONS_FROM
                        Question-set source for fair comparison
  --questions-root QUESTIONS_ROOT
                        Directory where <target>_golden.json is looked up (e.g. /path/to/content-
                        repo/questions)

dokimi benchmark batch

usage: dokimi benchmark batch [-h] [--libraries LIBRARIES] [--all] [--out-dir OUTPUT_DIR]
                              [--model MODEL]
                              [--provider {openai,anthropic,amazon-bedrock,google-vertex,openrouter,claude-cli,codex-cli,copilot-cli}]
                              [--judge-model JUDGE_MODEL]
                              [--judge-provider {openai,anthropic,google,google-vertex,openrouter,amazon-bedrock,claude-cli,codex-cli,copilot-cli}]
                              [--retrieval-tokens N] [--force] [--registry REGISTRY]
                              [--questions-root QUESTIONS_ROOT] [--fail-fast]

options:
  -h, --help            show this help message and exit
  --libraries LIBRARIES
                        Comma-separated library keys (e.g., onetbb,onemkl). Omit or use --all for
                        all registered libraries.
  --all                 Run for all libraries in registry
  --out-dir OUTPUT_DIR
  --model MODEL
  --provider {openai,anthropic,amazon-bedrock,google-vertex,openrouter,claude-cli,codex-cli,copilot-cli}
  --judge-model JUDGE_MODEL
                        Judge model (default: the default judge for --judge-provider that is not
                        the answerer's family: claude-sonnet-5-5 on anthropic and amazon-bedrock,
                        opus on claude-cli (sonnet when the answerer is opus), gpt-6.1-sol on
                        openai; other providers need this flag)
  --judge-provider {openai,anthropic,google,google-vertex,openrouter,amazon-bedrock,claude-cli,codex-cli,copilot-cli}
  --retrieval-tokens N  Max tokens to retrieve per question from doc source (default: 4000)
  --force               Do not reuse the personas and questions cached in the output directory:
                        discover and generate them again, or re-read the golden set under
                        --questions-root. A run with a golden set or --questions-from discovers no
                        personas
  --registry REGISTRY   Path to custom products.yaml
  --questions-root QUESTIONS_ROOT
                        Directory where each <target>_golden.json is looked up (e.g.
                        /path/to/content-repo/questions)
  --fail-fast           Stop on first failure (default: continue all)