Repository navigation
Conversation
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
CLI interface change detectedThis PR changes dokimi's user-facing CLI surface (commands and/or options): ~ `dokimi arms run` parameters changed:
+ added option `--resume-from`Updated on every push; the |
There was a problem hiding this comment.
🟢 Approval recommended
No actionable issues were found in the reviewed changes.
No open issues 🎉
What changed in this PR
0 new findings; nothing to fix.
Adds checkpoint resume support to arms run, reusing completed answers and judge material while preserving the source checkpoint.
Changes:
- Validates questions, settings, and local treatment contents before restoring answers.
- Generates remaining answers and judges the full set when requested.
- Adds resume tests, artifact metadata, and CLI documentation.
| File | Description |
|---|---|
dokimi/tests/test_run_wide_stop.py |
Updates the preparation mock for checkpoint arguments. |
dokimi/tests/test_arm_runner_incremental.py |
Tests restoration, compatibility checks, and checkpoint preservation. |
dokimi/dokimi/schemas/arms.v1.json |
Adds resume metadata fields. |
dokimi/dokimi/eval/arms_run.py |
Integrates checkpoint preparation and restored answers. |
dokimi/dokimi/eval/arms_checkpoint.py |
Implements fingerprinting, validation, and recovery. |
dokimi/dokimi/eval/arm_runner.py |
Skips generation for restored questions. |
dokimi/dokimi/commands/arms.py |
Adds resume handling and output-path safeguards. |
dokimi/dokimi/cli_flags.py |
Registers the checkpoint flag concept. |
dokimi/docs/reference/cli-interface.json |
Records the new CLI option. |
dokimi/docs/evaluating-treatments.md |
Documents resume usage and limitations. |
dokimi/changelog.d/20261202_210000_arms-resume.md |
Announces checkpoint resume support. |
Review effort: Balanced
|
✅ OpenCodeReview: Review complete: 0 finding(s) across 11 selected item(s). CI at Review details
|
Thread: PRRT_kwDOVBg7g87AQtrg Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1659 +/- ##
==========================================
- Coverage 96.44% 96.42% -0.02%
==========================================
Files 585 586 +1
Lines 76600 76749 +149
Branches 13175 13209 +34
==========================================
+ Hits 73876 74005 +129
- Misses 1671 1680 +9
- Partials 1053 1064 +11
🚀 New features to boost your workflow:
|
Mutation of changed linesAt 1d4a8ff: 37 caught · 13 missed · 30 not tried in time 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 the whole picture:
Warning only: a missed break does not fail the job. Updated on every push; the full report is in the ci run summary. |
Summary
The resume flag covers single runs with baseline, profile and local skill arms.
Evidence
Merge Danger
Door — Two-way
Blast Radius — Arms