Repository navigation
docs: measured findings on invocation, verifiers and path stability - #1398
Conversation
Add what the skill-evaluation experiments measured to the two guides: - evaluating-treatments: report invocation and split done-right by invoked / not invoked; pointer placement (CLAUDE.md vs README); trigger-heavy descriptions; Stop-hook gates, and checking the hook fired before crediting it. - run-consistency: the harness result is not a verdict (use a verifier for --outcomes); path distances at n = 6 are noisy and the paraphrase effect did not replicate on real tasks. Numbers are haiku-4-5 on one toy task and two real tasks, directional. Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
|
✅ OpenCodeReview: Review complete: 0 finding(s) across 2 selected item(s). CI at Review limit reached. This PR has had 6 reviews, so it will only be reviewed again when you ask. Review details
|
Thread: PRRT_kwDOVBg7g869LCA1 Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1398 +/- ##
==========================================
- Coverage 96.34% 96.33% -0.01%
==========================================
Files 517 519 +2
Lines 69116 69426 +310
Branches 11971 12037 +66
==========================================
+ Hits 66587 66882 +295
- Misses 1557 1567 +10
- Partials 972 977 +5 🚀 New features to boost your workflow:
|
…esults The degrade-task hook arm is now valid: hook 5/6 vs none 0/7 (p = 0.005), vs prose 3/6 (p = 0.55). Pooled over both real tasks, hook 10/18 vs none 0/19 (p < 0.001) and vs prose 5/18 (p = 0.18). The hook beats no guidance on both tasks; a hook vs prose skill difference is not shown. Replaces the untested-arm note with the detection point: dokimi reads stop-hook errors (intel#1405), and a relative hook path fails silently. Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRRT_kwDOVBg7g869Li0E Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
|
vchamarthi
left a comment
There was a problem hiding this comment.
@napetrov, could you fix the 3 small things I've marked fix before merge (in the line comments) and answer my question below? I'll approve once that's done.
I'll approve once that's done.
My question before I approve:
- Which runs gave 5 of 6 against 0 of 7 on the degrade task: a rerun with the hook path fixed, or the first run where the hook failed silently in 4 of 6 runs. State in the doc which runs those were and that the hook path was fixed for them, and update the PR description to match; or drop the degrade and pooled figures from that paragraph.
What I checked on f4cdcfc: the full test suite passes with main merged in (32,123 tests), apart from failures main has too; it merges cleanly onto main.
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRRT_kwDOVBg7g86-G2OF Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRRT_kwDOVBg7g86-G2Oe Thread: IC_kwDOVBg7g88AAAABs3UqIA Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
Thread: PRRT_kwDOVBg7g86-G2O1 Thread: PRR_kwDOVBg7g88AAAABbZXZrw Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
|
|
There was a problem hiding this comment.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Copilot review overview
2 open issues
What changed in this PR
Adds measured findings from skill/gate evaluation experiments to the two relevant docs so readers know what to measure (invocation, verifiers vs harness results, and small-sample path stability) before interpreting treatment effects.
Changes:
- Add guidance to measure skill invocation and split outcomes by invoked/not-invoked, plus notes on pointer placement and gate firing verification.
- Clarify that harness “success” is not a verdict; recommend verifier-based outcomes.
- Add guidance on small-sample noise in path distances and reporting intervals for small n.
| File | Description |
|---|---|
| dokimi/docs/run-consistency.md | Adds verifier-vs-harness guidance and small-sample considerations for path-distance stats. |
| dokimi/docs/evaluating-treatments.md | Adds a new section centered on measuring invocation and interpreting skill/gate treatment effects. |
Review effort: Lite
| of 12 runs, against 0 of 12 with no guidance (p = 0.037). In the degrade rerun with the hook path fixed, it was | ||
| 5 of 6 against 0 of 7 (p = 0.005). Pooling the rename runs with that rerun gives 10 of 18 against 0 of 19 | ||
| (p < 0.001). Against the prose skill the hook was not clearly better: rename 5 of 12 | ||
| against 2 of 12 (p = 0.37), degrade 5 of 6 against 3 of 6 (p = 0.55), pooled 10 of 18 | ||
| against 5 of 18 (p = 0.18). So the hook beats no guidance on both real tasks, and a |
There was a problem hiding this comment.
The current PR description identifies both runs. The initial hook failed silently in four of six runs. The fixed-path rerun supplied 5/6 versus 0/7 and contributed those counts to the pooled 10/18 versus 0/19.
Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>
PRRT_kwDOVBg7g86-K44r Signed-off-by: Nikolay Petrov <nikolay.a.petrov@intel.com>

Summary
Adds the measured findings from the skill-evaluation experiments to the two guides that cover them, so a reader who evaluates a skill or a gate knows what to measure first:
Docs only. No code, no changelog fragment.
Changes
docs/evaluating-treatments.md: new section "Measure invocation before the effect", after "How to measure tool choice".docs/run-consistency.md: a paragraph under "Where the outcome comes from" (verifier vs harness result), and a paragraph at the end of "Designing the experiment" (small-sample path distances, Wilson intervals).Evidence
Every number was checked against the experiment report (sections B, C, D) by a fresh-context review pass. Statistics as reported there: permutation tests (toy), Fisher exact (real tasks), bootstrap per cell.
successin 96/96 runs; 40/96 done rightCaveats are in the text: haiku-4-5 on one toy task and two real tasks, 6 runs per toy cell, at most 12 per real cell, not corrected for multiple comparisons, directional. The first degrade hook used a cwd-relative path and failed silently in 4 of 6 runs. The fixed-path rerun gave 5/6 done right against 0/7 with no guidance (p = 0.005) and 3/6 with the prose skill (p = 0.55). Pooling that rerun with rename gives 10/18 against 0/19 with no guidance (p < 0.001) and 5/18 with prose (p = 0.18).
Checks reported before the review fixes: strict
mkdocs build;tests/test_docs_links.pyandtests/test_docs_review_triggers.py(54 passed); mypy clean; full pytest 31,061 passed, 28 skipped, 3 failed (see Merge danger); ruff in the CI scope (dokimi/) clean via the pre-pushci-localstatic job.The review round also ran the focused documentation and Stop-hook checks on the synced branch (58 passed).
Merge danger
Nothing in this PR changes behaviour. Two things a reviewer should know:
-n auto:test_process.py::test_sighup_kills_the_live_groups_too,test_docker_cmd.py::test_interrupt_while_stdout_waits_for_a_reader_kills_nothing,test_repo_host.py::test_ctrl_c_in_a_threaded_batch_kills_each_container_a_worker_started. All three pass when run serially on this branch and on the merge base. These signal and process-group failures did not reproduce serially. Their cause under parallel execution is unconfirmed.ruff check .at the repo root reports 21 findings (scripts under.agent-eval/), identical on the merge base. CI runs ruff fromdokimi/, where it is clean.Revert
Revert the commit. No stored records, schema versions or generated artifacts are involved.
🤖 Generated with Claude Code