dokimi arms
usage: dokimi arms [-h] {run,matrix-run,plugin-delta} ...
positional arguments:
{run,matrix-run,plugin-delta}
run Run an N-arm comparison and (optionally) judge it [paid]
matrix-run Run every cell from a matrix.cells descriptor and write a rollup [paid]
plugin-delta Compare paired arms artifacts that differ only by plugin set [free]
options:
-h, --help show this help message and exit
dokimi arms run
usage: dokimi arms run [-h] --product PRODUCT --questions QUESTIONS --arm SPEC [--model MODEL]
[--provider {openai,openai-codex,anthropic,amazon-bedrock,google-vertex,openrouter,claude-cli,codex-cli,copilot-cli}]
[--harness HARNESS] [--plugins PLUGINS] [--matrix-cells MATRIX_CELLS]
[--matrix-cell MATRIX_CELL] [--context7-id CONTEXT7_ID]
[--baseline-arm BASELINE_ARM] [--correction {holm,bh}] [--judge]
[--judge-model JUDGE_MODEL]
[--judge-provider {openai,anthropic,google,google-vertex,openrouter,amazon-bedrock,claude-cli,codex-cli,copilot-cli}]
[--judge-context {arm,baseline}] [--top-k TOP_K]
[--rerank-threshold RERANK_THRESHOLD] [--max-iterations MAX_ITERATIONS]
[--max-output-tokens N] [--grounded-from-topics]
[--judge-temperature JUDGE_TEMPERATURE] [--temperature TEMPERATURE]
[--seed SEED] [--judge-panel JUDGE_PANEL] [--session-turns SESSION_TURNS]
[--turn-reminder TURN_REMINDER] [--concurrency CONCURRENCY]
[--out OUT_JSON] [--out-md OUT_MD]
options:
-h, --help show this help message and exit
--product PRODUCT Product name (e.g., oneTBB)
--questions QUESTIONS
Path to questions JSON file
--arm SPEC Arm spec, repeatable or comma-separated. Examples: 'baseline,docs', 'basel
ine,docs:local:./docs,profile:data/agent_profiles/concise_expert.md',
'baseline,mcp:http=https://mcp.context7.com/mcp,skill:/path/to/skills-
repo/skills/<name>'
--model MODEL LLM for answering
--provider {openai,openai-codex,anthropic,amazon-bedrock,google-vertex,openrouter,claude-cli,codex-cli,copilot-cli}
--harness HARNESS Execution harness label stamped into output (default: arms-runner)
--plugins PLUGINS Comma-separated plugin refs, e.g. 'plugin:caveman:ultra' or
'plugin:truncate:800'
--matrix-cells MATRIX_CELLS
JSON file containing matrix.cells descriptors
--matrix-cell MATRIX_CELL
Named matrix cell to run from --matrix-cells
--context7-id CONTEXT7_ID
Explicit library id for doc/MCP arms (skips resolution)
--baseline-arm BASELINE_ARM
Arm name used as the delta baseline (default: baseline)
--correction {holm,bh}
Multiple-comparison correction across treatment arms: 'holm' (Holm-
Bonferroni, controls family-wise error, default) or 'bh' (Benjamini-
Hochberg, controls false discovery rate)
--judge Also score each arm with the LLM-as-judge
--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-context {arm,baseline}
What the judge is shown about each arm's treatment material. arm
(default): the arm's own material. baseline: no material on any arm, the
context a baseline arm's judge sees, so every arm is judged on one
context. Answers are unchanged. Needs --judge
--top-k TOP_K Docs to retrieve before reranking, for doc/MCP arms (default: 5)
--rerank-threshold RERANK_THRESHOLD
--max-iterations MAX_ITERATIONS
Max tool-call rounds for agentic arms (agent:/skill-agent:, default: 6)
--max-output-tokens N
Output-token ceiling per answer. Raise for reasoning models, which can
spend the provider default entirely on reasoning and return empty text
--grounded-from-topics
Let the judge use a question's expected_topics as ground truth when they
are substantive answer statements, enabling the factual_grounding
dimension for curated golden sets. Keyword-style topics are ignored
--judge-temperature JUDGE_TEMPERATURE
Sampling temperature for the JUDGE. Separate from --temperature, which
shapes answer generation; grading is its own sampled call and its own
noise source.
--temperature TEMPERATURE
Sampling temperature for answer generation. Omitted by default (provider
default applies). Pin it to reduce run-to-run score variance.
--seed SEED Sampling seed for answer generation, where the provider honours one. Best-
effort reproducibility.
--judge-panel JUDGE_PANEL
Comma-separated judge roles (e.g.
'technical_expert,developer_advocate,doc_reviewer'). When set, --judge
scores each answer with a panel and records grader spread and agreement
instead of one opinion.
--session-turns SESSION_TURNS
Measure multi-turn sessions: each question is asked as its question
followed by the first N-1 entries of its 'follow_ups' list, with the
history kept, and each turn's token and cache usage recorded. Non-agentic
arms only. Measurement only: refused with --judge
--turn-reminder TURN_REMINDER
With --session-turns, also run each arm as '<arm>+reminder', with this
text appended to every user turn in a <system-reminder> block
--concurrency CONCURRENCY
--out OUT_JSON Output JSON path (default: results/arms/{product}.json)
--out-md OUT_MD Output Markdown report path (default: results/arms/{product}.md)
dokimi arms matrix-run
usage: dokimi arms matrix-run [-h] --product PRODUCT --questions QUESTIONS --arm SPEC
[--model MODEL]
[--provider {openai,openai-codex,anthropic,amazon-bedrock,google-vertex,openrouter,claude-cli,codex-cli,copilot-cli}]
[--harness HARNESS] [--plugins PLUGINS] --matrix-cells MATRIX_CELLS
[--context7-id CONTEXT7_ID] [--baseline-arm BASELINE_ARM]
[--correction {holm,bh}] [--judge] [--judge-model JUDGE_MODEL]
[--judge-provider {openai,anthropic,google,google-vertex,openrouter,amazon-bedrock,claude-cli,codex-cli,copilot-cli}]
[--judge-context {arm,baseline}] [--top-k TOP_K]
[--rerank-threshold RERANK_THRESHOLD]
[--max-iterations MAX_ITERATIONS] [--max-output-tokens N]
[--grounded-from-topics] [--judge-temperature JUDGE_TEMPERATURE]
[--temperature TEMPERATURE] [--seed SEED]
[--judge-panel JUDGE_PANEL] [--concurrency CONCURRENCY]
[--out-dir OUT_DIR] [--out OUT_JSON] [--out-md OUT_MD]
[--no-plugin-deltas]
options:
-h, --help show this help message and exit
--product PRODUCT Product name (e.g., oneTBB)
--questions QUESTIONS
Path to questions JSON file
--arm SPEC Arm spec, repeatable or comma-separated. Examples: 'baseline,docs', 'basel
ine,docs:local:./docs,profile:data/agent_profiles/concise_expert.md',
'baseline,mcp:http=https://mcp.context7.com/mcp,skill:/path/to/skills-
repo/skills/<name>'
--model MODEL LLM for answering
--provider {openai,openai-codex,anthropic,amazon-bedrock,google-vertex,openrouter,claude-cli,codex-cli,copilot-cli}
--harness HARNESS Execution harness label stamped into output (default: arms-runner)
--plugins PLUGINS Comma-separated plugin refs, e.g. 'plugin:caveman:ultra' or
'plugin:truncate:800'
--matrix-cells MATRIX_CELLS
JSON file containing matrix.cells descriptors
--context7-id CONTEXT7_ID
Explicit library id for doc/MCP arms (skips resolution)
--baseline-arm BASELINE_ARM
Arm name used as the delta baseline (default: baseline)
--correction {holm,bh}
Multiple-comparison correction across treatment arms: 'holm' (Holm-
Bonferroni, controls family-wise error, default) or 'bh' (Benjamini-
Hochberg, controls false discovery rate)
--judge Also score each arm with the LLM-as-judge
--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-context {arm,baseline}
What the judge is shown about each arm's treatment material. arm
(default): the arm's own material. baseline: no material on any arm, the
context a baseline arm's judge sees, so every arm is judged on one
context. Answers are unchanged. Needs --judge
--top-k TOP_K Docs to retrieve before reranking, for doc/MCP arms (default: 5)
--rerank-threshold RERANK_THRESHOLD
--max-iterations MAX_ITERATIONS
Max tool-call rounds for agentic arms (agent:/skill-agent:, default: 6)
--max-output-tokens N
Output-token ceiling per answer. Raise for reasoning models, which can
spend the provider default entirely on reasoning and return empty text
--grounded-from-topics
Let the judge use a question's expected_topics as ground truth when they
are substantive answer statements, enabling the factual_grounding
dimension for curated golden sets. Keyword-style topics are ignored
--judge-temperature JUDGE_TEMPERATURE
Sampling temperature for the JUDGE. Separate from --temperature, which
shapes answer generation; grading is its own sampled call and its own
noise source.
--temperature TEMPERATURE
Sampling temperature for answer generation. Omitted by default (provider
default applies). Pin it to reduce run-to-run score variance.
--seed SEED Sampling seed for answer generation, where the provider honours one. Best-
effort reproducibility.
--judge-panel JUDGE_PANEL
Comma-separated judge roles (e.g.
'technical_expert,developer_advocate,doc_reviewer'). When set, --judge
scores each answer with a panel and records grader spread and agreement
instead of one opinion.
--concurrency CONCURRENCY
--out-dir OUT_DIR Directory for per-cell artifacts (default: results/arms/{product}-matrix)
--out OUT_JSON Matrix rollup JSON path
--out-md OUT_MD Matrix rollup Markdown path
--no-plugin-deltas Do not compute paired plugin_delta artifacts
dokimi arms plugin-delta
usage: dokimi arms plugin-delta [-h] --baseline FILE --plugin-json PLUGIN_JSON [--out OUT_JSON]
[--out-md OUT_MD]
options:
-h, --help show this help message and exit
--baseline FILE arms.v1 artifact for the baseline/no-plugin cell
--plugin-json PLUGIN_JSON
arms.v1 artifact for the plugin-enabled cell
--out OUT_JSON
--out-md OUT_MD