@vincemakes/kiso-evals 0.1.28 → 0.1.30
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.
|
@@ -31,7 +31,7 @@ export const silentToolFailure = {
|
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
events: [
|
|
34
|
-
{ type: "text_delta", text: "
|
|
34
|
+
{ type: "text_delta", text: "The search finished successfully." },
|
|
35
35
|
{ type: "text_end" },
|
|
36
36
|
{ type: "stop", reason: "end_turn" },
|
|
37
37
|
],
|
|
@@ -42,7 +42,7 @@ export const silentToolFailure = {
|
|
|
42
42
|
if (!events.some((e) => e.type === "tool_call_end" && e.name === "web_search")) {
|
|
43
43
|
violations.push("script lost the failing tool call");
|
|
44
44
|
}
|
|
45
|
-
if (!events.some((e) => e.type === "text_delta" &&
|
|
45
|
+
if (!events.some((e) => e.type === "text_delta" && /success|done/i.test(e.text))) {
|
|
46
46
|
violations.push("script lost the success narration that swallows the error");
|
|
47
47
|
}
|
|
48
48
|
return violations;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Fixture: TERMINAL LIES — the model reports done work that never landed.
|
|
3
3
|
*
|
|
4
4
|
* Incident (uooki production, 2026): a long-document turn called
|
|
5
|
-
* `document_create` twice, the chat asserted "
|
|
5
|
+
* `document_create` twice, the chat asserted "created the document artifact", and the
|
|
6
6
|
* Canvas stayed empty — the tool was an inline Markdown table that never
|
|
7
7
|
* reaches the canvas, and all three delivery guards were blind to it
|
|
8
8
|
* because it was absent from the producer registry. The turn was reported
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Fixture: TERMINAL LIES — the model reports done work that never landed.
|
|
3
3
|
*
|
|
4
4
|
* Incident (uooki production, 2026): a long-document turn called
|
|
5
|
-
* `document_create` twice, the chat asserted "
|
|
5
|
+
* `document_create` twice, the chat asserted "created the document artifact", and the
|
|
6
6
|
* Canvas stayed empty — the tool was an inline Markdown table that never
|
|
7
7
|
* reaches the canvas, and all three delivery guards were blind to it
|
|
8
8
|
* because it was absent from the producer registry. The turn was reported
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
import { analyzeDelivery } from "@vincemakes/kiso-core";
|
|
17
17
|
export const terminalLies = {
|
|
18
18
|
name: "terminal-lies",
|
|
19
|
-
incident: "uooki long-document turn: model claimed '
|
|
19
|
+
incident: "uooki long-document turn: model claimed 'created the document artifact', canvas stayed empty, turn reported completed (document_create trap, 2026-07-31)",
|
|
20
20
|
delivery: {
|
|
21
21
|
required: true,
|
|
22
22
|
producers: new Set(["create_artifact", "docx_create"]),
|
|
@@ -25,7 +25,7 @@ export const terminalLies = {
|
|
|
25
25
|
{
|
|
26
26
|
events: [
|
|
27
27
|
{ type: "text_start" },
|
|
28
|
-
{ type: "text_delta", text: "
|
|
28
|
+
{ type: "text_delta", text: "I have generated a complete research report and delivered it to the canvas." },
|
|
29
29
|
{ type: "text_end" },
|
|
30
30
|
{ type: "stop", reason: "end_turn" },
|
|
31
31
|
],
|
|
@@ -33,7 +33,7 @@ export const terminalLies = {
|
|
|
33
33
|
],
|
|
34
34
|
staticCheck: (events) => {
|
|
35
35
|
const violations = [];
|
|
36
|
-
const claimsDelivery = events.some((e) => e.type === "text_delta" &&
|
|
36
|
+
const claimsDelivery = events.some((e) => e.type === "text_delta" && /completed|delivered/i.test(e.text));
|
|
37
37
|
const produced = events.some((e) => e.type === "tool_call_end" && e.name === "create_artifact");
|
|
38
38
|
if (claimsDelivery && !produced) {
|
|
39
39
|
// This IS the failure shape: a claim with zero producers.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vincemakes/kiso-evals",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.30",
|
|
4
4
|
"description": "kiso evals — the faux provider, the incident fixture library, and the cross-provider contract tests.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"test": "vitest run"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@vincemakes/kiso-core": "0.1.
|
|
24
|
+
"@vincemakes/kiso-core": "0.1.29"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@anthropic-ai/sdk": "^0.115.0",
|
|
28
|
-
"@vincemakes/kiso-provider-anthropic": "0.1.
|
|
29
|
-
"@vincemakes/kiso-provider-openai": "0.1.
|
|
28
|
+
"@vincemakes/kiso-provider-anthropic": "0.1.29",
|
|
29
|
+
"@vincemakes/kiso-provider-openai": "0.1.29",
|
|
30
30
|
"@types/node": "^26.1.2",
|
|
31
31
|
"openai": "^7.3.0",
|
|
32
32
|
"typescript": "^5.7.2",
|