Skip to content

dokimi eval

usage: dokimi eval [-h]
                   {coverage,graph,score,judge,native-import,headroom,redteam,skill-coverage,leak,personas,questions,import,tasks,inspect,triggers,check} ...

positional arguments:
  {coverage,graph,score,judge,native-import,headroom,redteam,skill-coverage,leak,personas,questions,import,tasks,inspect,triggers,check}
    coverage            Coverage of a frozen need graph by an eval set's `needs` labels (no model
                        call) [free]
    graph               Build the need graph for `eval coverage` from a skill's name and
                        description (one model call) [paid]
    score               Score answers: pointwise, pairwise, panel, checklist, grounding, ragas,
                        reference [paid]
    judge               Judge calibration: validate, wording, agreement [paid]
    native-import       Read an `inspect eval --log-format json` log or `promptfoo eval -o
                        out.json` output as answers + eval [free]
    headroom            Flag arms items with no headroom: no-skill ceiling, all-zero floor,
                        provisional reps [free]
    redteam             Check grading blocks reject wrong, empty and hedged answers and accept a
                        canary [paid]
    skill-coverage      Which checks of an eval set exercise each SKILL.md requirement; uncovered
                        ones are candidate checks [paid]
    leak                Check a skill for held-out answers and lock the dev/val/test split [free]
    personas            Persona discovery and management [paid]
    questions           Question generation [paid]
    import              Import an answer-only eval (Inspect samples/@task, OpenAI evals, skill-
                        creator, promptfoo) as questions with grading checks [free]
    tasks               Eval tasks: list them, generate repository tasks [free]
    inspect             Detect the eval-task format of a file or directory tree and report its
                        structure (no run) [free]
    triggers            Trigger sets: build them from question sets [paid]
    check               Per task: grade on the untouched workspace must fail the gate, oracle then
                        grade must pass it (score-only: reach score.max), and the agent's
                        container must not see tasks or source; --schema-only: the manifest and
                        task.json checks of `repo validate` [free]

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

dokimi eval coverage

usage: dokimi eval coverage [-h] --graph GRAPH [--out OUT] [--min [METRIC=]X] evals

positional arguments:
  evals             evals.json, a skill directory (evals/evals.json) or a tasks root

options:
  -h, --help        show this help message and exit
  --graph GRAPH     need_graph.v1 file (a novelty need graph is valid as written)
  --out OUT         Write the eval_coverage.v1 artifact here
  --min [METRIC=]X  Exit 1 when a coverage figure is below X (0-1) or n/a (the graph has no node
                    of that class); METRIC is weighted (default), core_rare_critical or
                    rare_critical. Repeatable

dokimi eval graph

usage: dokimi eval graph [-h] --out OUT [--json] [--extract-model PROVIDER/MODEL] [--max-usd X]
                         skill

positional arguments:
  skill                 Skill directory or SKILL.md; only its name and description are sent

options:
  -h, --help            show this help message and exit
  --out OUT             need_graph.v1 file to write; refused when it exists (the graph is frozen)
  --json                Print cli_output.v1 with the published graph under data
  --extract-model PROVIDER/MODEL
                        Graph author (default: anthropic/claude-sonnet-5-5)
  --max-usd X           Stop the run once its model calls have cost this much (USD, all roles
                        together; calls in flight can overshoot it). A call with no known price
                        also stops it; a reply replayed from DOKIMI_RESPONSE_CACHE counts $0, so a
                        stopped run can be resumed under the same cap. Default: no cap

dokimi eval score

usage: dokimi eval score [-h] {pointwise,ragas,grounding,checklist,pairwise,reference,panel} ...

positional arguments:
  {pointwise,ragas,grounding,checklist,pairwise,reference,panel}
    pointwise           Score answers using LLM-as-judge [paid]
    ragas               Run RAGAS meta-evaluation on answers [paid]
    grounding           Reference-free grounding/citation metrics with confidence intervals [free]
    checklist           Required-point coverage per arm: is each expected_topic in the answer?
                        (both polarities) [paid]
    pairwise            Every arm vs the baseline, both answers shown together in both orders;
                        optional escalation [paid]
    reference           Score answers against imported grading checks (match/exact/choice/...
                        deterministic, judge checks via the judge) [paid]
    panel               Score answers using a multi-judge panel [paid]

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

dokimi eval score pointwise

usage: dokimi eval score pointwise [-h] --product PRODUCT --answers ANSWERS [--name NAME]
                                   [--out OUTPUT] [--judge-model JUDGE_MODEL]
                                   [--judge-provider {openai,anthropic,google,google-vertex,openrouter,amazon-bedrock,claude-cli,codex-cli,copilot-cli}]
                                   [--concurrency CONCURRENCY]
                                   [--judge-temperature JUDGE_TEMPERATURE] [--judge-placeholder]

options:
  -h, --help            show this help message and exit
  --product PRODUCT     Product name (e.g., oneTBB)
  --answers ANSWERS     Path to answers JSON file
  --name NAME           Run name (e.g. gpt4o). Sets output to
                        results/{product}_{name}/eval/{product}.json
  --out OUTPUT          Output file (default: eval/{product}.json)
  --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}
  --concurrency CONCURRENCY
                        Parallel judge calls (default: 5)
  --judge-temperature JUDGE_TEMPERATURE
                        Judge sampling temperature, recorded as judge_temperature in the output
  --judge-placeholder   Judge the no-retrieval placeholder answers too (default: they are not
                        scored)

dokimi eval score ragas

usage: dokimi eval score ragas [-h] --answers ANSWERS [--ragas-model RAGAS_MODEL]
                               [--ragas-provider {openai,anthropic}]

options:
  -h, --help            show this help message and exit
  --answers ANSWERS     Path to answers JSON file
  --ragas-model RAGAS_MODEL
                        LLM for RAGAS judge (default: claude-sonnet-5-5)
  --ragas-provider {openai,anthropic}
                        Provider for RAGAS judge LLM (default: anthropic)

dokimi eval score grounding

usage: dokimi eval score grounding [-h] --answers ANSWERS [--out OUTPUT] [--threshold THRESHOLD]

options:
  -h, --help            show this help message and exit
  --answers ANSWERS     Path to answers JSON file
  --out OUTPUT          Output JSON report path
  --threshold THRESHOLD
                        Grounding score above which an answer counts as grounded (default: 0.5)

dokimi eval score checklist

usage: dokimi eval score checklist [-h] --answers ANSWERS --questions QUESTIONS
                                   [--baseline-arm BASELINE_ARM] [--arms ARMS]
                                   [--judge-model JUDGE_MODEL]
                                   [--judge-provider {openai,anthropic,google,google-vertex,openrouter,amazon-bedrock,claude-cli,codex-cli,copilot-cli}]
                                   [--judge-temperature JUDGE_TEMPERATURE]
                                   [--concurrency CONCURRENCY] [--out OUTPUT]

options:
  -h, --help            show this help message and exit
  --answers ANSWERS     Arms output JSON (arms run --out)
  --questions QUESTIONS
                        Questions JSON whose expected_topics are the points
  --baseline-arm BASELINE_ARM
                        Arm the others are compared to (default: the run's baseline_arm)
  --arms ARMS           Comma-separated arms to check (default: all)
  --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 output
  --concurrency CONCURRENCY
  --out OUTPUT          Output JSON (default: <answers>_checklist.json); Markdown written next to
                        it

dokimi eval score pairwise

usage: dokimi eval score pairwise [-h] --answers ANSWERS [--product PRODUCT]
                                  [--baseline-arm BASELINE_ARM] [--arms ARMS]
                                  [--judge-model JUDGE_MODEL]
                                  [--judge-provider {openai,anthropic,google,google-vertex,openrouter,amazon-bedrock,claude-cli,codex-cli,copilot-cli}]
                                  [--judge-temperature JUDGE_TEMPERATURE]
                                  [--escalate-model ESCALATE_MODEL]
                                  [--escalate-provider {openai,anthropic,google,google-vertex,openrouter,amazon-bedrock,claude-cli,codex-cli,copilot-cli}]
                                  [--escalate-ties] [--concurrency CONCURRENCY] [--out OUTPUT]

options:
  -h, --help            show this help message and exit
  --answers ANSWERS     Arms output JSON (arms run --out)
  --product PRODUCT     Library name (default: read from answers file)
  --baseline-arm BASELINE_ARM
  --arms ARMS           Comma-separated arms to compare (default: all)
  --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 output
  --escalate-model ESCALATE_MODEL
                        Re-ask questions the judge left undecided (tie or order-inconsistent) with
                        this model
  --escalate-provider {openai,anthropic,google,google-vertex,openrouter,amazon-bedrock,claude-cli,codex-cli,copilot-cli}
  --escalate-ties       Also escalate questions the judge called TIE in both orders (default: only
                        order-inconsistent ones)
  --concurrency CONCURRENCY
  --out OUTPUT          Output JSON (default: <answers>_pairwise.json); Markdown written next to
                        it

dokimi eval score reference

usage: dokimi eval score reference [-h] --answers ANSWERS --questions QUESTIONS -o OUTPUT
                                   [--judge-model JUDGE_MODEL]
                                   [--judge-provider {openai,anthropic,google,google-vertex,openrouter,amazon-bedrock,claude-cli,codex-cli,copilot-cli}]
                                   [--no-judge] [--concurrency CONCURRENCY]

options:
  -h, --help            show this help message and exit
  --answers ANSWERS     answers.v1 or arms output JSON
  --questions QUESTIONS
                        Questions JSON from `eval import`
  -o, --out OUTPUT      eval.v1 (answers) or arms (arms run) JSON to write
  --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}
  --no-judge            Leave judge checks unscored (no model calls)
  --concurrency CONCURRENCY

dokimi eval score panel

usage: dokimi eval score panel [-h] --answers ANSWERS --product PRODUCT [--out OUTPUT]
                               [--model MODEL]
                               [--provider {openai,openai-codex,anthropic,amazon-bedrock,google-vertex,openrouter,claude-cli,codex-cli,copilot-cli}]
                               [--roles ROLES] [--judge-configs JUDGE_CONFIGS]
                               [--concurrency CONCURRENCY] [--limit LIMIT]
                               [--judge-temperature JUDGE_TEMPERATURE]

options:
  -h, --help            show this help message and exit
  --answers ANSWERS     Path to answers JSON file
  --product PRODUCT     Product name (e.g., oneTBB)
  --out OUTPUT          Output file (default: eval/{product}_panel.json)
  --model MODEL         Default LLM model for all judges
  --provider {openai,openai-codex,anthropic,amazon-bedrock,google-vertex,openrouter,claude-cli,codex-cli,copilot-cli}
  --roles ROLES         Comma-separated judge roles (default:
                        technical_expert,developer_advocate,doc_reviewer)
  --judge-configs JUDGE_CONFIGS
                        Per-role model config (overrides --model/--provider/--roles). Format:
                        'role:model:provider,...' e.g. 'technical_expert:claude-
                        sonnet-5-5:anthropic,developer_advocate:claude-
                        opus-5-5:anthropic,doc_reviewer:gemini-2.0-flash:google'
  --concurrency CONCURRENCY
                        Parallel judge API calls (default: 6)
  --limit LIMIT         Evaluate only first N answers (useful for testing)
  --judge-temperature JUDGE_TEMPERATURE
                        Sampling temperature for every panel judge, recorded as judge_temperature

dokimi eval judge

usage: dokimi eval judge [-h] {validate,wording,agreement} ...

positional arguments:
  {validate,wording,agreement}
    validate            Measure judge discriminative validity on deterministic degradations (exits
                        1 on FAIL) [paid]
    wording             Judge-validity under rewrites of the judge prompt, paired against the
                        original on the same pairs [paid]
    agreement           Each arm's delta under several judges and axes, labelled CONSISTENT /
                        JUDGE-DEPENDENT / ... [paid]

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

dokimi eval judge validate

usage: dokimi eval judge validate [-h] --answers ANSWERS [--product PRODUCT] [--bases BASES]
                                  [--variants VARIANTS] [--seed SEED]
                                  [--min-accuracy MIN_ACCURACY] [--strict] [--sequential]
                                  [--max-bases MAX_BASES] [--context {none,stored}]
                                  [--mode {absolute,pairwise}] [--escalate-model ESCALATE_MODEL]
                                  [--escalate-provider {openai,anthropic,google,google-vertex,openrouter,amazon-bedrock,claude-cli,codex-cli,copilot-cli}]
                                  [--escalate-ties] [--concurrency CONCURRENCY]
                                  [--judge-model JUDGE_MODEL]
                                  [--judge-provider {openai,anthropic,google,google-vertex,openrouter,amazon-bedrock,claude-cli,codex-cli,copilot-cli}]
                                  [--judge-temperature JUDGE_TEMPERATURE] [--scorer SCORER]
                                  [--typed-max-len TYPED_MAX_LEN] [--typed-threads TYPED_THREADS]
                                  [--out OUTPUT]

options:
  -h, --help            show this help message and exit
  --answers ANSWERS     Path to answers JSON file
  --product PRODUCT     Library name (default: read from answers file)
  --bases BASES         Number of base answers to degrade (default: 20)
  --variants VARIANTS   Comma-separated degradations (default: all)
  --seed SEED           Seed for the degradations (default: 0)
  --min-accuracy MIN_ACCURACY
                        Pairwise accuracy gate, per degradation (default: 0.8); with --sequential
                        it must lie in 0.03-0.97
  --strict              Also exit 1 when an above-threshold result is INCONCLUSIVE — its 95% CI
                        straddles the gate, so the run cannot tell it from a FAIL
  --sequential          Add bases in rounds and stop each degradation once an SPRT can call it
                        PASS or FAIL (ignores --bases; see --max-bases)
  --max-bases MAX_BASES
                        Cap on base answers in --sequential mode (default: 120)
  --context {none,stored}
                        What the judge sees with each answer: none (default), or 'stored' — the
                        arm's treatment material from the artifact's judge_materials, the setting
                        an arms run scores skill and docs arms in. Exits 2 with a typed scorer or
                        --mode pairwise, with no verified material, when an arm loses all its
                        bases, has only padding pairs or gets none sampled, when a --sequential
                        run would pass with none of an arm's bases scored, or when no pair is
                        usable
  --mode {absolute,pairwise}
                        absolute: score each member 0-100 (the shipped judge); pairwise: show the
                        judge both members, in both orders, and ask which is better
  --escalate-model ESCALATE_MODEL
                        With --mode pairwise: re-ask pairs the judge answered inconsistently
                        across the two orders with this model
  --escalate-provider {openai,anthropic,google,google-vertex,openrouter,amazon-bedrock,claude-cli,codex-cli,copilot-cli}
                        Provider for --escalate-model (default: --judge-provider)
  --escalate-ties       Also escalate pairs called TIE in both orders (default: only order-
                        inconsistent)
  --concurrency CONCURRENCY
                        Parallel judge calls (default: 5)
  --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; match arms run --judge-temperature to certify
                        the same judge
  --scorer SCORER       Arm to grade: 'judge' (default, the shipped LLM judge) or
                        'typed:<backend>[:<repo>]' for a local typed-decision baseline arm — needs
                        the [typed-scorer] extra
  --typed-max-len TYPED_MAX_LEN
                        Token budget for a typed arm's state (default: the checkpoint's own, 512
                        for laya English — answers are longer than that and get truncated)
  --typed-threads TYPED_THREADS
                        CPU threads for a typed arm (default: torch's own)
  --out OUTPUT          Output JSON report path

dokimi eval judge wording

usage: dokimi eval judge wording [-h] --answers ANSWERS [--product PRODUCT] [--bases BASES]
                                 [--variants VARIANTS] [--wordings WORDINGS] [--redraws REDRAWS]
                                 [--seed SEED] [--min-accuracy MIN_ACCURACY] [--strict]
                                 [--judge-model JUDGE_MODEL]
                                 [--judge-provider {openai,anthropic,google,google-vertex,openrouter,amazon-bedrock,claude-cli,codex-cli,copilot-cli}]
                                 [--judge-temperature JUDGE_TEMPERATURE]
                                 [--concurrency CONCURRENCY] [--out OUTPUT]

options:
  -h, --help            show this help message and exit
  --answers ANSWERS     Path to answers JSON file
  --product PRODUCT     Library name (default: read from answers file)
  --bases BASES         Base answers to degrade (default: 20)
  --variants VARIANTS   Comma-separated degradations (default: all)
  --wordings WORDINGS   Comma-separated rewrites (default: all)
  --redraws REDRAWS     Re-draws of the original prompt, shown as a noise floor; the FRAGILE flag
                        is a paired test against the original and does not use them (default: 1)
  --seed SEED
  --min-accuracy MIN_ACCURACY
  --strict              Exit 1 when any variant is FRAGILE or a condition has no scored pair
  --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 output
  --concurrency CONCURRENCY
  --out OUTPUT          Output JSON report path

dokimi eval judge agreement

usage: dokimi eval judge agreement [-h] --answers ANSWERS [--judges JUDGES]
                                   [--checklist CHECKLIST] [--pairwise PAIRWISE]
                                   [--validity VALIDITY] [--require-validated]
                                   [--questions QUESTIONS] [--grounded] [--both] [--no-stored]
                                   [--product PRODUCT] [--baseline-arm BASELINE_ARM]
                                   [--judge-temperature JUDGE_TEMPERATURE]
                                   [--concurrency CONCURRENCY] [--strict] [--out OUTPUT]

options:
  -h, --help            show this help message and exit
  --answers ANSWERS     Arms output JSON (arms run --out)
  --judges JUDGES       Comma-separated provider/model judges to re-score with, e.g. amazon-
                        bedrock/us.anthropic.claude-haiku-5-5,amazon-bedrock/openai.gpt-
                        oss-120b-1:0
  --checklist CHECKLIST
                        An `eval score checklist` JSON to include as a coverage measure
                        (repeatable)
  --pairwise PAIRWISE   An `eval score pairwise` JSON to include as a measure (repeatable)
  --validity VALIDITY   An `eval judge validate` JSON; that judge's measures are marked PASS/FAIL
                        and a FAILed judge does not vote in the verdict (repeatable)
  --require-validated   Only judges that PASSED a --validity gate vote in the verdict
  --questions QUESTIONS
                        Questions JSON; needed for --grounded
  --grounded            Re-score against each question's expected_topics as ground truth
  --both                With --grounded, keep the ungrounded score as a measure too
  --no-stored           Leave out the scores the arms run itself recorded
  --product PRODUCT     Library name (default: read from answers file)
  --baseline-arm BASELINE_ARM
  --judge-temperature JUDGE_TEMPERATURE
                        Judge sampling temperature, recorded as judge_temperature in the output
  --concurrency CONCURRENCY
  --strict              Exit 4 when an arm is JUDGE-DEPENDENT; exit 3 when an arm is NOT MEASURED
                        or no arm was compared
  --out OUTPUT          Output JSON (default: <answers>_crossjudge.json); Markdown written next to
                        it

dokimi eval native-import

usage: dokimi eval native-import [-h] --answers-out ANSWERS_OUT [--eval-out EVAL_OUT] log

positional arguments:
  log                   Native log JSON

options:
  -h, --help            show this help message and exit
  --answers-out ANSWERS_OUT
                        answers.v1 JSON to write (completions)
  --eval-out EVAL_OUT   eval.v1 JSON to write (the native verdicts)

dokimi eval headroom

usage: dokimi eval headroom [-h] [--baseline-arm NO_SKILL_ARM] [--ceiling CEILING] [--floor FLOOR]
                            [--min-reps MIN_REPS] [--out OUTPUT]
                            arms [arms ...]

positional arguments:
  arms                  arms.v1 JSON, one per repetition of the question set

options:
  -h, --help            show this help message and exit
  --baseline-arm NO_SKILL_ARM
                        Arm read as the no-skill control (default: the baseline the runs declare)
  --ceiling CEILING     Flag an item when the no-skill arm scores at least this, 0-1 (default 0.9)
  --floor FLOOR         Flag an item when every arm scores at most this, 0-1 (default 0.0)
  --min-reps MIN_REPS   Items with fewer runs than this are provisional (default 3)
  --out OUTPUT          headroom.v1 JSON to write

dokimi eval redteam

usage: dokimi eval redteam [-h] [--judge PROVIDER/MODEL] [--out FILE] questions

positional arguments:
  questions             questions JSON with grading blocks (from `eval import`)

options:
  -h, --help            show this help message and exit
  --judge PROVIDER/MODEL
                        Grade judge checks with this judge model (model calls); default leaves
                        them unscored
  --out FILE            redteam.v1 JSON to write

dokimi eval skill-coverage

usage: dokimi eval skill-coverage [-h] [--model PROVIDER/MODEL] [--max-usd X] [--out FILE]
                                  skill evals

positional arguments:
  skill                 SKILL.md, or a skill directory holding one
  evals                 evals.json, a skill directory (evals/evals.json) or a tasks root, as for
                        eval coverage

options:
  -h, --help            show this help message and exit
  --model PROVIDER/MODEL
                        Model that lists and maps the requirements (default anthropic/claude-
                        sonnet-5-5)
  --max-usd X           Stop before a model call once this much has been spent (exit 1)
  --out FILE            skill_coverage.v1 JSON to write

dokimi eval leak

usage: dokimi eval leak [-h] [--allow TERM] [--allow-file FILE] [--min-fraction F]
                        [--verbatim-words N] [--split FILE] [--lock FILE] [--relock]
                        [--proposer FILE] [--out FILE]
                        skill questions

positional arguments:
  skill               skill directory, or its SKILL.md
  questions           questions JSON with grading blocks (from `eval import`)

options:
  -h, --help          show this help message and exit
  --allow TERM        a term that may appear in both the skill and the answers (repeatable)
  --allow-file FILE   allowlist, one term per line; blank lines and lines starting with # are
                      skipped
  --min-fraction F    flag an item when this share of its answer n-grams is in the skill, in (0,
                      1] (default 0.1)
  --verbatim-words N  flag an item on any run of this many words copied from its expected text,
                      whatever the share (default 12)
  --split FILE        split JSON {"dev": [ids], "val": [ids], "test": [ids]}; checked against the
                      lock
  --lock FILE         split lock JSON (default: the split file's name with .lock.json; created at
                      first use)
  --relock            overwrite the split's lock with this split when it differs; the report keeps
                      the old digest
  --proposer FILE     JSON list of the question ids the proposer sees; a test id here blocks the
                      run
  --out FILE          leak.v1 JSON to write

dokimi eval personas

usage: dokimi eval personas [-h] {discover,validate} ...

positional arguments:
  {discover,validate}
    discover           Discover personas from a GitHub repo or product description [paid]
    validate           Validate and approve persona file [free]

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

dokimi eval personas discover

usage: dokimi eval personas discover [-h] --product PRODUCT [--repo REPO]
                                     [--description DESCRIPTION] [--out OUTPUT] [--count COUNT]
                                     [--model MODEL]
                                     [--provider {openai,anthropic,amazon-bedrock,google-vertex,openrouter,claude-cli,codex-cli,copilot-cli}]
                                     [--github-token GITHUB_TOKEN] [--save-analysis] [--dry-run]
                                     [--max-usd X]

options:
  -h, --help            show this help message and exit
  --product PRODUCT     Product name (e.g., oneTBB)
  --repo REPO           GitHub repo (e.g., uxlfoundation/oneTBB). Optional if --description is
                        given.
  --description DESCRIPTION
                        Plain-text product description (used when --repo is not available).
  --out OUTPUT          Output file (default: personas/{product}.json)
  --count COUNT         Target number of personas (5-8)
  --model MODEL         LLM model for generation
  --provider {openai,anthropic,amazon-bedrock,google-vertex,openrouter,claude-cli,codex-cli,copilot-cli}
  --github-token GITHUB_TOKEN
                        GitHub token (or set GITHUB_TOKEN env)
  --save-analysis       Save intermediate analysis JSON
  --dry-run             Read the repo and price the one generation call at list prices; call no
                        model, build no client, write nothing. Output paths are checked when
                        writing files
  --max-usd X           Refuse before any call when the estimated list-price cost exceeds this
                        (USD). Not a metered cap yet: metering comes with #1183. Above it, or for
                        a model with no list price, no call is made and the command exits 3. The
                        estimate is not the bill (default: no cap)

dokimi eval personas validate

usage: dokimi eval personas validate [-h] --file FILE

options:
  -h, --help   show this help message and exit
  --file FILE  Persona JSON file to approve

dokimi eval questions

usage: dokimi eval questions [-h] {generate,analyze,refine,review} ...

positional arguments:
  {generate,analyze,refine,review}
    generate            Generate questions from personas and topics [paid]
    analyze             Analyze question quality (difficulty + triviality) [paid]
    refine              Refine question set: normalise, deduplicate, filter trivial, report gaps
                        [paid]
    review              Multi-agent panel review of question quality [paid]

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

dokimi eval questions generate

usage: dokimi eval questions generate [-h] --product PRODUCT --personas PERSONAS [--out OUTPUT]
                                      [--topics TOPICS] [--top-k TOP_K] [--count COUNT]
                                      [--validate] [--embeddings {auto,openai,local}]
                                      [--model MODEL]
                                      [--provider {openai,anthropic,amazon-bedrock,google-vertex,openrouter,claude-cli,codex-cli,copilot-cli}]
                                      [--doc-source DOC_SOURCE] [--context7-id CONTEXT7_ID]

options:
  -h, --help            show this help message and exit
  --product PRODUCT     Product name (e.g., oneTBB)
  --personas PERSONAS   Path to personas JSON file
  --out OUTPUT          Output file (default: questions/{product}.json)
  --topics TOPICS       Optional: path to topics JSON (auto-extracted if not provided)
  --top-k TOP_K         Docs to retrieve per topic (default from config)
  --count COUNT         Questions per topic per persona
  --validate            Enable validation and deduplication
  --embeddings {auto,openai,local}
                        Embedding backend for deduplication: openai, local (sentence-transformers,
                        no API key), or auto (openai when a key is set, else local)
  --model MODEL         LLM model for generation
  --provider {openai,anthropic,amazon-bedrock,google-vertex,openrouter,claude-cli,codex-cli,copilot-cli}
  --doc-source DOC_SOURCE
                        Documentation source for topic extraction: 'context7', 'local:<path>',
                        'url:<url>'
  --context7-id CONTEXT7_ID
                        Explicit Context7 library ID. Overrides auto-resolution.

dokimi eval questions analyze

usage: dokimi eval questions analyze [-h] --questions QUESTIONS --product PRODUCT [--out OUTPUT]
                                     [--model MODEL]
                                     [--provider {openai,openai-codex,anthropic,amazon-bedrock,google-vertex,openrouter,claude-cli,codex-cli,copilot-cli}]
                                     [--concurrency CONCURRENCY]

options:
  -h, --help            show this help message and exit
  --questions QUESTIONS
                        Path to questions JSON file
  --product PRODUCT     Product name (e.g., oneTBB)
  --out OUTPUT          Output report JSON (default: reports/{product}_question_quality.json)
  --model MODEL         LLM model for classification
  --provider {openai,openai-codex,anthropic,amazon-bedrock,google-vertex,openrouter,claude-cli,codex-cli,copilot-cli}
  --concurrency CONCURRENCY
                        Parallel classification requests

dokimi eval questions refine

usage: dokimi eval questions refine [-h] --questions QUESTIONS --product PRODUCT [--out OUTPUT]
                                    [--target-beginner TARGET_BEGINNER]
                                    [--target-intermediate TARGET_INTERMEDIATE]
                                    [--target-advanced TARGET_ADVANCED]
                                    [--sim-threshold SIM_THRESHOLD] [--dry-run] [--fill-gaps]
                                    [--fill-model FILL_MODEL]
                                    [--fill-provider {openai,anthropic,google}]

options:
  -h, --help            show this help message and exit
  --questions QUESTIONS
                        Path to questions JSON file
  --product PRODUCT     Product name (e.g., oneTBB)
  --out OUTPUT          Output refined JSON (default: questions/{product}_refined.json)
  --target-beginner TARGET_BEGINNER
  --target-intermediate TARGET_INTERMEDIATE
  --target-advanced TARGET_ADVANCED
  --sim-threshold SIM_THRESHOLD
                        Edit-distance similarity threshold for deduplication (default: 0.82, range
                        0-1)
  --dry-run             Print report only, do not write output file
  --fill-gaps           Use LLM to generate questions for under-represented difficulty levels
  --fill-model FILL_MODEL
  --fill-provider {openai,anthropic,google}

dokimi eval questions review

usage: dokimi eval questions review [-h] --questions QUESTIONS --product PRODUCT [--out OUTPUT]
                                    [--model MODEL]
                                    [--provider {openai,openai-codex,anthropic,amazon-bedrock,google-vertex,openrouter,claude-cli,codex-cli,copilot-cli}]
                                    [--reviewers REVIEWERS] [--concurrency CONCURRENCY]
                                    [--limit LIMIT]

options:
  -h, --help            show this help message and exit
  --questions QUESTIONS
                        Path to questions JSON file
  --product PRODUCT     Product name (e.g., oneDAL)
  --out OUTPUT          Output report JSON (default: reports/{product}_question_panel.json)
  --model MODEL
  --provider {openai,openai-codex,anthropic,amazon-bedrock,google-vertex,openrouter,claude-cli,codex-cli,copilot-cli}
  --reviewers REVIEWERS
                        Comma-separated reviewers (default:
                        domain_expert,user_advocate,qa_engineer)
  --concurrency CONCURRENCY
  --limit LIMIT         Review only first N questions

dokimi eval import

usage: dokimi eval import [-h] [--format FORMAT] [--scorer SCORER] [--task TASK] [--grader GRADER]
                          -o OUTPUT
                          path

positional arguments:
  path              Eval file (format detected as by `eval inspect`)

options:
  -h, --help        show this help message and exit
  --format FORMAT   Force a format name (default: detected)
  --scorer SCORER   Inspect samples: scorer to translate (match, choice, ...)
  --task TASK       Inspect @task file: which task function
  --grader GRADER   OpenAI evals: registry YAML, or
                    match|includes|fuzzy_match|json_match|modelgraded:<spec>
  -o, --out OUTPUT  questions.v2 JSON to write

dokimi eval tasks

usage: dokimi eval tasks [-h] {list,generate} ...

positional arguments:
  {list,generate}
    list           List task metadata (terminal-bench, or exploration tasks) [free]
    generate       Write repository tasks from a source, no LLM: --from graph writes
                   dokimi:graph_enum tasks (which files or functions reference a function, which
                   classes derive from a class) with gold from a SCIP code index; --from replay
                   writes one dokimi:review_replay task per merged pull request of a threads file;
                   --from prs writes one dokimi:hidden_tests task per merged pull request of a
                   pull request file (its description as the prompt, its test files hidden until
                   grading, the rest of its diff as the oracle); --from history writes the same
                   tasks from the bug-fix commits of the revision's first-parent history, no pull
                   request file needed. Exits 2 on a usage error, among them a malformed source,
                   an unpinned remote, a local source that is not a directory or a --cache-dir
                   that is not a usable directory (so is a $DOKIMI_REPO_CACHE, without the flag).
                   With graph, also 2 on an index that does not read or matches no file of the
                   source, and 1 when no target of the index gave a task, the tasks cannot be
                   written or the source cannot be resolved at the revision. With replay or prs, 1
                   when no pull request gave a task, a task cannot be written, the source cannot
                   be opened, or the threads or pull request file, the manifest or the prompt file
                   cannot be used. With history, 2 on an unpinned source or a --subject that is
                   empty or not a regular expression, and 1 when no commit gave a task, a task
                   cannot be written, the source is a shallow clone, or the source's history, the
                   manifest or the prompt file cannot be used [free]

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

dokimi eval tasks list

usage: dokimi eval tasks list [-h] [--tasks-root TASKS_ROOT]
                              [--format {terminal-bench,localization}] [--repo-root REPO_ROOT]

options:
  -h, --help            show this help message and exit
  --tasks-root TASKS_ROOT
                        Directory holding one sub-directory per task (each with task.toml or
                        task.md). Required for bare task names and for --all; the tasks live in a
                        separate evaluation-content checkout, e.g. --tasks-root /path/to/content-
                        repo/evaluation/harbor/tasks
  --format {terminal-bench,localization}
                        terminal-bench: the task directories under --tasks-root; localization: the
                        exploration task YAMLs (--tasks-root and --repo-root, as `explore list`
                        took them)
  --repo-root REPO_ROOT
                        --format localization: the tree a task is scored against when its YAML
                        omits repo_root

dokimi eval tasks generate

usage: dokimi eval tasks generate [-h] --from {graph,history,prs,replay} [--threads FILE]
                                  [--prs FILE] [--manifest MANIFEST]
                                  [--manifest-file MANIFEST_FILE] [--window WINDOW]
                                  [--max-lines MAX_LINES] [--commits N] [--subject REGEX]
                                  [--prompt-file PROMPT_FILE] [--index FILE] --out-dir OUT
                                  [--references N] [--derives N] [--seed SEED]
                                  [--max-turns MAX_TURNS] [--force] [--dry-run]
                                  [--cache-dir CACHE_DIR]
                                  source

positional arguments:
  source                Repository source: a local directory, <dir>@<rev> or <https-or-ssh-
                        url>@<rev> (cloned bare into the cache). --from graph needs <rev>, the
                        revision the index was built from, and its full SHA is the base of every
                        graph task; history reads the first-parent commits of <rev>, each task's
                        base the commit's parent; replay and prs read the pull requests' commits
                        from the source's git history, and a task's base is the merge base of a
                        revision of its pull request with the base branch as it merged
                        (mergeCommit^1)

options:
  -h, --help            show this help message and exit
  --from {graph,history,prs,replay}
                        What the tasks are built from: graph (a code index), history (the source's
                        commits), prs (a pull request file) or replay (a threads file)
  --threads FILE        --from replay: JSON holding the merged pull requests with their
                        reviewThreads, as the query in the contract (§4.6) returns them; pages of
                        --paginate --slurp are read too
  --prs FILE            --from prs: JSON holding the merged pull requests, as the query in the
                        contract (§4.8) returns them; pages of --paginate --slurp are read too
  --manifest MANIFEST   --from replay, prs or history: manifest path relative to the repository
                        root (default .agent-eval/repo-eval.yaml): its guidance globs and eval_dir
                        are left out of every task
  --manifest-file MANIFEST_FILE
                        --from replay, prs or history: read the manifest from this local file
                        instead of from the tree
  --window WINDOW       --from replay: task.json `window`, and how near a thread's line a later
                        commit of the PR must change the file for `addressed` (default 5)
  --max-lines MAX_LINES
                        --from prs or history: skip a pull request or commit whose diff outside
                        its tests and the left-out files adds and removes more lines than this
                        (default 400)
  --commits N           --from history: read the newest N first-parent commits of the revision,
                        merges left out (default 300)
  --subject REGEX       --from history: the commits whose subject this matches, case-insensitive
                        (default: fix, bug, regress, crash, wrong, ... ; '.' takes every commit);
                        a revert, fixup!, squash! or amend! commit is never one
  --prompt-file PROMPT_FILE
                        --from replay: the agent's prompt (default: a review prompt asking for the
                        findings JSON); --from prs: the instruction after the PR's title and
                        description (default: implement the change; its tests are hidden); --from
                        history: the same, after the commit's subject and message
  --index FILE          A SCIP code index of the source at its revision (scip-python, scip-clang,
                        ...); dokimi never builds one
  --out-dir OUT         Directory that gets one <task id>/ per task, usually the manifest's
                        `tasks`
  --references N        Reference tasks to write (default 9); about half with a name other symbols
                        share
  --derives N           Direct-subclass tasks to write (default 3)
  --seed SEED           Seed of the choice among the candidates (default 7)
  --max-turns MAX_TURNS
                        task.json max_turns (default 40)
  --force               Rewrite a task directory that has a task.json (default: keep it and its
                        edits); with prs or history, a pull request's task from the other source
                        is kept even so
  --dry-run             --from graph or history: print the chosen tasks without writing them
  --cache-dir CACHE_DIR
                        Clone cache directory (default: $DOKIMI_REPO_CACHE or
                        ~/.cache/dokimi/repos)

dokimi eval inspect

usage: dokimi eval inspect [-h] [--json] [--out OUT] path

positional arguments:
  path        A task directory, a dataset file, or a tree holding either

options:
  -h, --help  show this help message and exit
  --json      Print cli_output.v1 on stdout (the task_inspect.v1 report under data)
  --out OUT   Write the task_inspect.v1 report to this file

dokimi eval triggers

usage: dokimi eval triggers [-h] {generate} ...

positional arguments:
  {generate}
    generate  Build a skill-selection query set (labels + leakage/framing lint) from question sets
              [paid]

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

dokimi eval triggers generate

usage: dokimi eval triggers generate [-h] --catalog CATALOG [--questions PATH=LABEL]
                                     [--trigger-set PATH[=TARGET]]
                                     [--format {reach,skill-creator,questions}] [--target TARGET]
                                     [--rewrite] [--model MODEL] [--provider PROVIDER]
                                     [--fail-on {warn}] --out OUT

options:
  -h, --help            show this help message and exit
  --catalog CATALOG     Directory of the skills the agent will see
  --questions PATH=LABEL
                        Question file and its label: a skill name, 'none' (no skill should load),
                        or '@field.path' read per question (e.g. @metadata.skill_under_test).
                        Repeatable.
  --trigger-set PATH[=TARGET]
                        An existing trigger set to read back: a skill-reach QuerySet, a skill-
                        creator / agentskills.io [{query, should_trigger}] set (=TARGET names its
                        skill), or questions with expected_skill. Repeatable; combines with
                        --questions.
  --format {reach,skill-creator,questions}
                        reach: google/skill-reach QuerySet; skill-creator: one target's eval set;
                        questions: a questions artifact for the skill-catalog: arm
  --target TARGET       Target skill for --format skill-creator
  --rewrite             Rewrite each question into first-person user voice (model sees only the
                        question)
  --model MODEL         Model for --rewrite
  --provider PROVIDER   Provider for --rewrite (default: openai)
  --fail-on {warn}      warn: exit 1 if any query names a skill, keeps exam framing, or has an
                        unresolved @field label
  --out OUT             Output JSON path

dokimi eval check

usage: dokimi eval check [-h] [--manifest MANIFEST] [--suite SUITE] [--allow-floating-suite-revs]
                         [--manifest-file MANIFEST_FILE] [--task TASK] [--image IMAGE]
                         [--rebuild-image] [--build-network BUILD_NETWORK] [--timeout [PHASE=]SEC]
                         [--cache NAME=DIR] [--cache-root CACHE_ROOT] [--source-dir SOURCE_DIR]
                         [--concurrency N] [--docker DOCKER] [--cache-dir CACHE_DIR]
                         [--schema-only] [--json] [--fail-on {warn,fail}] [--warm] [--arm ARM]
                         [--allow-unsupported] [--out-dir OUT]
                         source

Exit 2 for a source that does not parse (a path that is not a directory, an unpinned remote), a
pinned local path inside a repository (give its root) or a --cache-dir that is not a usable
directory (so is a $DOKIMI_REPO_CACHE, without the flag), or a --cache-root or --cache that is not
one; exit 1 for a source that cannot be opened (clone, fetch, revision) and for a task that fails
the check, or when no task was checked (every one a suite gap).

positional arguments:
  source                Repository source: a local directory (read as it is; in a git working
                        tree, files git ignores are left out), <dir>@<rev>, or <https-or-ssh-
                        url>@<rev> (cloned bare into the cache)

options:
  -h, --help            show this help message and exit
  --manifest MANIFEST   Manifest path relative to the repository root
  --suite SUITE         Suite manifest (suite_manifest.v1) path relative to the repository root:
                        tasks whose base is a commit of another repository, named as <url>@<sha>
                        (contract §2.1)
  --allow-floating-suite-revs
                        Let --suite name a branch or tag: it is resolved once, when the run
                        starts, and the batch pins the commit it resolved to
  --manifest-file MANIFEST_FILE
                        Read the manifest from this local file instead of from the tree
  --task TASK           Only this task id; repeatable (default: all)
  --image IMAGE         Use this image instead of building one from the eval tree
  --rebuild-image       Build the image even if the tag exists
  --build-network BUILD_NETWORK
                        docker build --network (for example host, behind a local proxy)
  --timeout [PHASE=]SEC
                        Seconds per phase: build=SEC the image build (default 10800, 3 hours);
                        verify=SEC each grade or oracle run (default 3600)
  --cache NAME=DIR      Host directory for the manifest cache NAME; repeatable
  --cache-root CACHE_ROOT
                        Parent of cache directories without --cache (default:
                        ~/.cache/dokimi/caches/<repo id>)
  --source-dir SOURCE_DIR
                        Full-history clone mounted as {source_dir} (default: the source's own git
                        dir)
  --concurrency, -j N   Parallel tasks or cells (default 1)
  --docker DOCKER       docker CLI (default: docker)
  --cache-dir CACHE_DIR
                        Clone cache directory (default: $DOKIMI_REPO_CACHE or
                        ~/.cache/dokimi/repos)
  --schema-only         Check the manifest and every task.json against one snapshot, with no self-
                        check run (what `repo validate` did); --json and --fail-on apply to it
  --json                Print cli_output.v1 on stdout (--schema-only: the full report under data)
  --fail-on {warn,fail}
                        --schema-only: warn exits 1 on a warning or error, fail on an error
  --warm                Run null and oracle with network to fill the caches before offline runs
  --arm ARM             Also check this `repo run` arm: its skill paths exist and a skill-catalog
                        holds each task's expected_skill; repeatable or comma-separated
  --allow-unsupported   Exit 0 when the only tasks that are not ok are unsupported because this
                        host misses their task.json `host` requirements (still printed with the
                        reason; with --warm the host is judged too). Broken tasks, tasks that need
                        egress and tasks whose host probe failed still exit 1, and so does a check
                        in which no task is ok
  --out-dir OUT         Work directory (default: repo-check)