@plune-ai/cli 0.39.12 → 0.39.13

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/README.md CHANGED
@@ -5,6 +5,7 @@
5
5
  [![npm](https://img.shields.io/npm/v/@plune-ai/cli)](https://www.npmjs.com/package/@plune-ai/cli)
6
6
  [![CI](https://github.com/plune-ai/cli/actions/workflows/ci.yml/badge.svg)](https://github.com/plune-ai/cli/actions/workflows/ci.yml)
7
7
  [![license](https://img.shields.io/npm/l/@plune-ai/cli)](./LICENSE)
8
+ [![plune-ai/cli MCP server](https://glama.ai/mcp/servers/plune-ai/cli/badges/score.svg)](https://glama.ai/mcp/servers/plune-ai/cli)
8
9
 
9
10
  Plune runs an assertion suite against an LLM provider and gives you a pass/fail report —
10
11
  locally, in CI, or as a regression diff between two runs. You describe the checks in one
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plune-ai/cli",
3
- "version": "0.39.12",
3
+ "version": "0.39.13",
4
4
  "mcpName": "ai.plune/cli",
5
5
  "description": "AI-powered assertion testing for LLM apps — write assertions, run them against any provider, get a pass/fail report (local, CI, or diff).",
6
6
  "keywords": [
@@ -14,8 +14,9 @@ file.
14
14
  twice; it runs on each pull request with eval-action.
15
15
  - **Risks**: an answer that invents facts not in its context, an answer off the question, an answer
16
16
  that breaks a rule the product states (tone, a topic it must refuse).
17
- - **Out of scope**: judge calibration (how far the judging model agrees with a person). Write it as
18
- an out-of-scope item; it is a separate task.
17
+ - **Out of scope**: judge calibration (how far the judging model agrees with a person) is not part
18
+ of the eval set. Write it as a follow-up for the user, as described in "Judge calibration" below;
19
+ it needs a person's labels, which you do not write.
19
20
 
20
21
  ## The eval set
21
22
 
@@ -90,6 +91,18 @@ evals:
90
91
  The eval's `pass_threshold` (beside `runs`) is the share of passing runs; the one inside
91
92
  `llm-judge` is the lowest judge score one answer needs. They are different numbers.
92
93
 
94
+ ## Judge calibration
95
+
96
+ A judge's pass is worth only as much as its agreement with a person. Propose a golden set to the
97
+ user as a follow-up: 30 to 50 rows of a real run, each labelled pass or fail by a person, and
98
+ `plune judge-check` to measure the judge against them (agreement, TPR, TNR, Cohen's kappa with a
99
+ 95% interval). `plune judge-check labels/<eval>.jsonl --init` writes the file to fill in. Leave
100
+ every `human` field to the person: a label you wrote would measure the judge against a model.
101
+
102
+ Tell the user to keep two labels files, a dev set to read while changing `criteria` and a test set
103
+ held aside for the figure, and to give the judge a model other than the one that answers (a
104
+ `provider` on the `llm-judge`). The steps are in the CLI guide, `plune judge-check`.
105
+
93
106
  ## The pull request
94
107
 
95
108
  The eval set is a proposal like the cases: a person reviews it in a pull request, and nothing in it