@testmuai/rook-skill 0.1.14 → 0.1.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/skills/references/verdicts.md +16 -10
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@ criterion details, read `runs/<run-id>/scenarios/<scenario-id>/verdict.yaml`.
|
|
|
10
10
|
| Scenario verdict | `scenario_id`, `status`, `criteria[]`, `unverifiable_reason`, `compromised`, `forbidden_hits[]` |
|
|
11
11
|
| Criterion | `criterion_id`, `criterion`, `expected`, `achieved`, `status`, quoted `evidence`, `confidence` |
|
|
12
12
|
| Report | `run_id`, `agent_id`, `agent_version_id?`, `generated`, `headline`, optional `narrative` and `next[]`, `totals`, `metrics`, `clusters[]`, `credits` |
|
|
13
|
-
| Totals | `planned`, `executed`, `passed`, `failed`, `unverifiable`, `unjudged`, `not_run`, `unrunnable`, `decided`, `pass_rate`, `carried_forward` |
|
|
13
|
+
| Totals | `planned`, `executed`, `passed`, `failed`, `unverifiable`, `unjudged`, `not_run`, `unrunnable`, `decided`, `pass_rate`, `assurance_gap`, `unverified_criteria`, `total_criteria`, `carried_forward` |
|
|
14
14
|
| Cluster | `id`, `why`, `kind` (`failed`, `unverifiable`, `compromised`), `scenarios[]`; RCA may add `cause`, `remedy`, `confidence`, `fault`, `where`, `summary` |
|
|
15
15
|
|
|
16
16
|
Statuses are **Pass**, **Fail**, and **Unable to Verify**. Unverifiable reasons:
|
|
@@ -28,15 +28,21 @@ still passes at once, and a regex asserting that text is absent still fails
|
|
|
28
28
|
when the text appears. The judge call can add credits; if it fails, the
|
|
29
29
|
criterion is Unable to Verify, not Fail.
|
|
30
30
|
|
|
31
|
-
## Pass rate
|
|
32
|
-
|
|
33
|
-
Since 0.1.
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
never
|
|
37
|
-
`
|
|
38
|
-
|
|
39
|
-
|
|
31
|
+
## Pass rate and assurance gap
|
|
32
|
+
|
|
33
|
+
Since 0.1.21, `totals.pass_rate` is `Pass / (Pass + Fail)`, shown as "Verified
|
|
34
|
+
pass": Unable to Verify is left out of it, and `totals.decided` is its
|
|
35
|
+
denominator. If nothing passed or failed, `pass_rate` is `null` ("unavailable"),
|
|
36
|
+
never `0`. From 0.1.6 to 0.1.20 the denominator also counted Unable to Verify;
|
|
37
|
+
`rook report <run-id>` works out an older run's totals again under the current
|
|
38
|
+
rule. Unjudged, not-run and unrunnable work never enters the denominator.
|
|
39
|
+
|
|
40
|
+
`totals.assurance_gap` is `unverified_criteria / total_criteria`: the share of
|
|
41
|
+
the run's criteria the judge could not verify. It is `null` when the run has no
|
|
42
|
+
criteria, and all three are `null` when a verdict's criteria counts cannot be
|
|
43
|
+
read. Report the two together: a high pass rate with a large gap means
|
|
44
|
+
everything checkable passed, but little could be checked. Unable to Verify
|
|
45
|
+
remains a separate verdict; never describe it as Fail.
|
|
40
46
|
|
|
41
47
|
## Presenting results
|
|
42
48
|
|