You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bac95e8
Browse filesBrowse the repository at this point in the historyBrowse files
fix(evals): cut the knowledge cases and the no-rule arm
With the prompt rules gone, no-rule equals full, and a knowledge prompt
without a peer is main's, so neither knowledge case guards this change.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: evals/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ Write or run an eval when a change affects what a model sees or does: agent inst
10
10
|[group-conversation](group-conversation/)| Whether peers engage, preserve attribution, use PASS and handles, edit with the real side chat digest, and continue through delegation. Compares parallel and serial reactions. |
11
11
|[thread-titles](thread-titles/)| Whether generated thread titles name the right subject. |
12
12
|[pr-content](pr-content/)| Whether PR generation describes the diff when project instructions try to redirect it. |
13
-
|[conversation-summaries](conversation-summaries/)| Whether summaries and learned facts credit a peer's proposal to the peer, and a roll-up keeps reversals, attribution and open items within its budget. |
13
+
|[conversation-summaries](conversation-summaries/)| Whether summaries credit a peer's proposal to the peer, and a roll-up keeps reversals, attribution and open items within its budget.|
14
14
|[model-evaluations](model-evaluations/)| Whether blind judges use outcome evidence, respect task scope, ignore injected scoring instructions, and abstain when evidence is missing. |
15
15
|[voice-cleanup](voice-cleanup/)| Whether optional dictation cleanup edits only the spoken text and preserves its meaning. |
16
16
|[test-signal](test-signal/)| Whether a cheap model running the test-signal check flags low-signal tests. |
Copy file name to clipboardExpand all lines: evals/conversation-summaries/README.md
+5-8Lines changed: 5 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Conversation summaries
2
2
3
-
Checks how background text generation reads a conversation, using the prompts from this checkout. A leaf summary covers one exchange, including a reply from another model in the thread. A roll-up condenses four adjacent summaries, as the summary pass does for long threads. A knowledge case sends the same exchange to assisted learning and grades the fact candidates it returns.
3
+
Checks how background text generation reads a conversation, using the prompts from this checkout. A leaf summary covers one exchange, including a reply from another model in the thread. A roll-up condenses four adjacent summaries, as the summary pass does for long threads.
4
4
5
5
The production summarizer is an OpenCode model. A `gpt-*` model calls the server's real Codex generator through the local Codex login. A `morph-*` model calls Morph's free API directly, using the production prompt builders and reply decoder. The key comes from `MORPH_API_KEY`, or else from the `morph` provider in `~/.config/opencode/opencode.json`.
6
6
@@ -12,24 +12,21 @@ pnpm conversation-summaries --model morph-kimik31 --arm full --samples 8 --out r
12
12
13
13
`--arm` sets how a peer reply reaches the model, so the arms compare from one checkout:
14
14
15
-
-`main` sends it as a nameless assistant message with no peer rule, as `main` does. Its leaf case fails by construction, because the name the grader wants is not in the input.
16
-
-`peer-as-user` renders it as a historical user message with the speaker in its header and no peer rule, as handoff history renders a peer. It runs only the summary cases, since assisted learning never did this.
17
-
-`no-rule` names the peer but drops the prompt's peer rule.
18
-
-`full` is this checkout. It is the default and the only arm a `gpt-*` model can run, since the other arms edit the prompt.
15
+
-`main` sends it as a nameless assistant message, as `main` does. Its leaf case fails by construction, because the name the grader wants is not in the input.
16
+
-`peer-as-user` renders it as a historical user message with the speaker in its header, as handoff history renders a peer.
17
+
-`full` is this checkout, where it carries the peer's name. It is the default.
19
18
20
19
Cases:
21
20
22
21
-`condensed-four-sources-retain-reversal-and-unverified-claim` passes when the roll-up keeps the later Postgres decision instead of the reversed Redis one, keeps the agent's test claim attributed and unverified, keeps the open rollback script, cites only the given summaries, and fits in 1,200 characters.
23
22
-`condensed-four-ordinary-sources` is the control: an ordinary docs task that must keep its open item and fit the same budget.
24
23
-`leaf-peer-proposal-is-not-a-user-decision` passes when the summary names Astra as the one who proposed Postgres, and credits that proposal to neither the user nor the agent.
25
24
-`leaf-ordinary-exchange-has-no-peer` is the leaf control: an ordinary docs task with no peer.
26
-
-`knowledge-peer-proposal-is-not-a-decision` passes when no `decision` candidate comes out, and no candidate credits the user with Postgres, of an exchange where Astra proposes Postgres and the agent agrees and starts the migration but the user never accepts.
27
-
-`knowledge-user-convention-is-kept` is its control: a plain user instruction must still become a fact.
28
25
-`--case <ids>` limits the run, and `--samples <n>` sets samples per case (default 3). A case fails when half or more of its samples fail. Read the statements in `results.json` as well as the automated result.
29
26
30
27
## Add a case
31
28
32
-
Add a condensed entry to `cases.ts` with an `id`, a `kind`, a `source`, the four child `summaries`, and the regex checks. A leaf or knowledge entry has `messages` instead of `summaries`. `run.test.ts` tests the grader.
29
+
Add a condensed entry to `cases.ts` with an `id`, a `kind`, a `source`, the four child `summaries`, and the regex checks. A leaf entry has `messages` instead of `summaries`. `run.test.ts` tests the grader.
source: `${peerProposalSource} Assisted learning reads the same messages, so a peer proposal the agent acted on could be saved as the user's decision.`,
111
-
// The user never accepts, but the agent agrees and acts, which lures a decision.
112
-
messages: [
113
-
{role: "user",text: "Where should sessions live?"},
114
-
{
115
-
role: "peer",
116
-
speaker: {label: "Astra",model: "gpt-6-astra"},
117
-
text: "Drop Redis and use Postgres for sessions.",
118
-
},
119
-
{
120
-
role: "assistant",
121
-
text: "Agreed, Postgres it is. I started the migration that moves sessions from Redis to Postgres.",
122
-
},
123
-
],
124
-
forbiddenKinds: ["decision"],
125
-
mustMention: [],
126
-
mustNot: misattributed,
127
-
},
128
-
{
129
-
id: "knowledge-user-convention-is-kept",
130
-
kind: "control",
131
-
source:
132
-
"Control for the peer rule: a plain user instruction must still become a fact, so the rule cannot suppress ordinary learning.",
133
-
messages: [
134
-
{role: "user",text: "From now on API responses use snake_case keys everywhere."},
135
-
{role: "assistant",text: "Done. I converted the handlers to snake_case keys."},
136
-
],
137
-
forbiddenKinds: [],
138
-
mustMention: ["snake_case"],
139
-
mustNot: [],
140
-
},
141
-
];
142
-
143
92
/** A roll-up input: four adjacent child summaries, oldest first, as the summary pass sends them. */
0 commit comments