@rulvar/evals 1.189.0 → 1.191.0

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/dist/index.d.ts CHANGED
@@ -838,8 +838,14 @@ declare const FAULT_SCENARIO_NAMES: readonly string[];
838
838
  declare function runFaultInjection(options?: RunFaultInjectionOptions): Promise<FaultInjectionReport>;
839
839
  //#endregion
840
840
  //#region src/claim-corpus.d.ts
841
- /** The failure classes the eighteenth benchmark shipped, plus the bound classes. */
842
- type ClaimCorpusClass = "live-fact" | "package-identity" | "inverted-default" | "numeric-range" | "negation" | "bounded-coverage";
841
+ /**
842
+ * The failure classes the eighteenth benchmark shipped, plus the bound
843
+ * classes, plus the nineteenth benchmark's pair (RV1809):
844
+ * 'modality-overclaim' is a mitigation stated as an unconditional
845
+ * guarantee, and 'scope-ambiguity' is a child-only total printed as a
846
+ * whole-workflow figure.
847
+ */
848
+ type ClaimCorpusClass = "live-fact" | "package-identity" | "inverted-default" | "numeric-range" | "negation" | "bounded-coverage" | "modality-overclaim" | "scope-ambiguity";
843
849
  /** One adversarial case: a draft, its contradicting evidence, and the mechanical expectations. */
844
850
  interface ClaimCorpusCase {
845
851
  id: string;
package/dist/index.js CHANGED
@@ -2748,6 +2748,40 @@ const CLAIM_CORPUS = [
2748
2748
  minPairs: 1,
2749
2749
  coverage: "partial"
2750
2750
  }
2751
+ },
2752
+ {
2753
+ id: "modality-overclaim-attestation-stop",
2754
+ class: "modality-overclaim",
2755
+ draft: "Any drift of an attested toolset, the executable body included, is stopped pre-wire unconditionally: a changed tool always refuses at spawn time (packages/core/src/tools/toolset-hash.ts:85).",
2756
+ pool: [{
2757
+ nodeId: "agent:3",
2758
+ text: "The attestation pin holds the resolved toolset to the attested CONTRACT hash, name, description, parameters, and version (packages/core/src/tools/toolset-hash.ts:85). An executable body edit under an unchanged contract does not move that hash by design; version is the drift lever, and the authority hash covers risk, needsApproval, executor, and executorSpec (packages/core/src/l0/spi/toolsource.ts:53)."
2759
+ }],
2760
+ critical: ["packages/core/src/tools/toolset-hash.ts"],
2761
+ expect: {
2762
+ minPairs: 1,
2763
+ anchors: ["packages/core/src/tools/toolset-hash.ts:85"],
2764
+ coverage: "full"
2765
+ }
2766
+ },
2767
+ {
2768
+ id: "scope-ambiguity-child-totals-as-workflow",
2769
+ class: "scope-ambiguity",
2770
+ draft: "The current workflow performed exactly 100 wire requests in total, 6126893 input tokens and 94555 output tokens end to end.",
2771
+ runFacts: {
2772
+ text: "RUN FACTS, scope settled-children-only: 100 wire requests, 6126893 input tokens and 94555 output tokens across the six settled children; the terminal workflow invoice additionally carries the orchestrator, the judges, and the synthesis at 118 wires, 6517187 input and 138947 output.",
2773
+ ids: ["comparison-run-aug04"],
2774
+ numbers: [
2775
+ 100,
2776
+ 6126893,
2777
+ 94555,
2778
+ 118,
2779
+ 6517187,
2780
+ 138947
2781
+ ]
2782
+ },
2783
+ runFactTerms: ["in total", "end to end"],
2784
+ expect: { minRunFactPairs: 1 }
2751
2785
  }
2752
2786
  ];
2753
2787
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rulvar/evals",
3
- "version": "1.189.0",
3
+ "version": "1.191.0",
4
4
  "description": "Rulvar evals: eval cases, golden outputs, rubric and judge graders, matrix sweeps, canary fingerprint.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -22,11 +22,11 @@
22
22
  "access": "public"
23
23
  },
24
24
  "dependencies": {
25
- "@rulvar/anthropic": "1.189.0",
26
- "@rulvar/openai": "1.189.0",
27
- "@rulvar/plan": "1.189.0",
28
- "@rulvar/core": "1.189.0",
29
- "@rulvar/testing": "1.189.0"
25
+ "@rulvar/core": "1.191.0",
26
+ "@rulvar/anthropic": "1.191.0",
27
+ "@rulvar/openai": "1.191.0",
28
+ "@rulvar/plan": "1.191.0",
29
+ "@rulvar/testing": "1.191.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/node": "^22.20.1",