Repository navigation
docs(cli): help text for the 18 options DEFERRED still listed - #1570
Conversation
…the list The renames that intel#1420 waited on have landed, so the options that the DEFERRED list still covered get their help text here. DEFERRED is now empty, and the option-help test fails on any visible option without help. Part of intel#94 (Q15: help strings). Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
There was a problem hiding this comment.
🟡 Changes recommended
The --out-md help text incorrectly states “default: none,” although omitting it still writes a Markdown copy derived from --out.
1 open issue
What changed in this PR
1 new finding.
Completes the CLI help follow-up to #1420 under #94, documenting the 18 remaining deferred options without changing flags or runtime behavior.
Changes:
- Adds help for model, provider, output, and other options.
- Empties
DEFERRED, enforcing help coverage for all visible options. - Records the user-visible documentation update.
| File | Description |
|---|---|
dokimi/tests/test_cli_option_help.py |
Removes all deferred help exceptions. |
dokimi/dokimi/commands/subjects.py |
Documents scorecard, judge, and work-model options. |
dokimi/dokimi/commands/run.py |
Documents repository root and Markdown outputs. |
dokimi/dokimi/commands/questions.py |
Documents generation and review models. |
dokimi/dokimi/commands/judge_reliability.py |
Documents the escalation provider. |
dokimi/dokimi/commands/explore.py |
Documents the runner model. |
dokimi/dokimi/commands/benchmark.py |
Documents model options on three commands. |
dokimi/dokimi/commands/arms.py |
Documents judge providers and Markdown output. |
dokimi/changelog.d/20261202_120000_napetrov_cli-help-deferred.md |
Records the added CLI help. |
Review effort: Balanced
| help="Subject scorecard JSON path (default: subject-scorecard.json in --out-dir)") | ||
| run_p.add_argument("--out-md", default=None, dest="out_md") | ||
| run_p.add_argument("--out-md", default=None, dest="out_md", | ||
| help="Subject scorecard Markdown path (default: none)") |
|
✅ OpenCodeReview: Review complete: 0 finding(s) across 9 selected item(s). CI at Review details
|
Mutation of changed linesAt f63a540: 8 caught · 5 missed Each row is a small deliberate break (a mutant) of a line this PR changes that every test reaching that line still passes. Add a test that fails on it or, if it cannot change behaviour, put
Not checked:
Warning only: a missed break does not fail the job. Updated on every push; the full report is in the ci run summary. |
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1570 +/- ##
==========================================
+ Coverage 96.48% 96.50% +0.02%
==========================================
Files 537 540 +3
Lines 72051 72237 +186
Branches 12438 12451 +13
==========================================
+ Hits 69516 69710 +194
+ Misses 1551 1547 -4
+ Partials 984 980 -4
🚀 New features to boost your workflow:
|
Signed-off-by: Vladislav Perevezentsev <vladislav.perevezentsev@intel.com>
vlad-perevezentsev
left a comment
There was a problem hiding this comment.
🟢 LGTM · re-checked f63a540 · nothing required from @napetrov
🔀 Merge: safe now · no open PR conflicts with it · open PRs that add an option without help= (e.g. #1576, #1565) will now fail test_cli_option_help until they add one
✅ make ci-local --offline: 34,117 passed · test_cli_fault_contract[eval score ragas] fails on the base too, not from this PR · ✅ test_cli_option_help passes at f63a540
Every visible option now has help that matches its default in the code, and the empty DEFERRED keeps it so.
Fixed in this branch, up to f63a540:
subjects run --out-mdhelp named the wrong default: f63a540 says it defaults to--outwith.md.

Part of #94 (Q15: help strings; follow-up to #1420).
Summary
DEFERREDintests/test_cli_option_help.pystill listed. The renames they waited on have landed.DEFERREDis now empty, so the test has no escape hatch: any visible option without help fails.Table (leaf, option, new help)
arms matrix-run--judge-providerarms plugin-delta--out-mdarms run--judge-providerbenchmark batch--modelbenchmark preflight--modelbenchmark run--modeldocs check--out-mddocs check--rootdocs compare--out-mdeval questions refine--fill-modeleval questions refine--fill-providereval questions review--modeleval score pairwise--escalate-providerexplore run--modelsubjects run--judgesubjects run--judge-providersubjects run--out-mdsubjects run--work-modelChangelog
Fragment
dokimi/changelog.d/20261202_120000_napetrov_cli-help-deferred.md(Documentation): the help text is user-visible.Kept rows
None. Every row that
DEFERREDlisted now has help.Not in this PR
subjects run --modelstaysargparse.SUPPRESS(hidden on purpose); the walk skips suppressed options.Evidence
pytest tests/test_cli_option_help.pypasses 4 of 4. Full suitepytest -n 16: 34213 passed, 29 skipped.make ci-local CI_LOCAL_ARGS='--offline --jobs static,typecheck': 0 failed, 17 passed, 3 skipped.🤖 Generated with Claude Code