vieval 0.0.11 → 0.0.12

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.
Files changed (45) hide show
  1. package/README.md +31 -31
  2. package/dist/bin/vieval.mjs +1 -1
  3. package/dist/cli/index.d.mts +1 -1
  4. package/dist/cli/index.mjs +1 -1
  5. package/dist/{cli-CHFCF8UR.mjs → cli-uzS81IPd.mjs} +1529 -1529
  6. package/dist/cli-uzS81IPd.mjs.map +1 -0
  7. package/dist/config.d.mts +1 -1
  8. package/dist/core/assertions/index.d.mts +156 -156
  9. package/dist/core/assertions/index.mjs +82 -82
  10. package/dist/core/assertions/index.mjs.map +1 -1
  11. package/dist/core/inference-executors/index.d.mts +37 -37
  12. package/dist/core/inference-executors/index.mjs +53 -52
  13. package/dist/core/inference-executors/index.mjs.map +1 -1
  14. package/dist/core/processors/results/index.d.mts +18 -18
  15. package/dist/core/processors/results/index.mjs.map +1 -1
  16. package/dist/core/runner/index.d.mts +2 -2
  17. package/dist/core/runner/index.mjs +258 -258
  18. package/dist/core/runner/index.mjs.map +1 -1
  19. package/dist/core/scheduler/index.d.mts +1 -1
  20. package/dist/core/scheduler/index.mjs +64 -64
  21. package/dist/core/scheduler/index.mjs.map +1 -1
  22. package/dist/{env-bRH0K6fU.d.mts → env-Br6jaWGL.d.mts} +9 -9
  23. package/dist/{env-BVYeJhGA.mjs → env-egxaJtNn.mjs} +8 -8
  24. package/dist/env-egxaJtNn.mjs.map +1 -0
  25. package/dist/{expect-extensions-Mf1sMNBv.mjs → expect-extensions-BKdEPt3h.mjs} +46 -46
  26. package/dist/expect-extensions-BKdEPt3h.mjs.map +1 -0
  27. package/dist/expect.mjs +1 -1
  28. package/dist/{index-CwKBlCG9.d.mts → index-BLIlhiWT.d.mts} +565 -565
  29. package/dist/{index-Be5I1ZJL.d.mts → index-CIaJClcC.d.mts} +48 -48
  30. package/dist/index.d.mts +207 -195
  31. package/dist/index.mjs +147 -147
  32. package/dist/index.mjs.map +1 -1
  33. package/dist/models-CaCOUPZw.mjs.map +1 -1
  34. package/dist/plugins/chat-models/index.d.mts +279 -279
  35. package/dist/plugins/chat-models/index.mjs +359 -359
  36. package/dist/plugins/chat-models/index.mjs.map +1 -1
  37. package/dist/{registry-BSyjwZFx.mjs → registry-BK7k6X81.mjs} +293 -293
  38. package/dist/registry-BK7k6X81.mjs.map +1 -0
  39. package/dist/testing/expect-extensions.d.mts +27 -27
  40. package/dist/testing/expect-extensions.mjs +1 -1
  41. package/package.json +3 -3
  42. package/dist/cli-CHFCF8UR.mjs.map +0 -1
  43. package/dist/env-BVYeJhGA.mjs.map +0 -1
  44. package/dist/expect-extensions-Mf1sMNBv.mjs.map +0 -1
  45. package/dist/registry-BSyjwZFx.mjs.map +0 -1
@@ -4,25 +4,27 @@ import { ASYMMETRIC_MATCHERS_OBJECT, ChaiStyleAssertions, GLOBAL_EXPECT, JestAsy
4
4
  let isPluginInstalled = false;
5
5
  let runtimeExpectInstance;
6
6
  /**
7
- * Installs Vitest expect plugins once for process-local runtime assertions.
7
+ * Returns process-local runtime `expect` instance used by Vieval.
8
8
  *
9
9
  * Use when:
10
- * - running eval tasks outside Vitest worker runtime
11
- * - building an `expect` instance that does not rely on Vitest internal state
10
+ * - you need matcher assertions in eval files and CLI runtime
11
+ * - importing from `vitest` would crash outside Vitest worker contexts
12
12
  *
13
13
  * Expects:
14
- * - `@vitest/expect` is available in runtime dependencies
14
+ * - single-process usage (instance is memoized per process)
15
15
  *
16
16
  * Returns:
17
- * - nothing; side-effects are applied to `chai`
17
+ * - memoized runtime `expect` instance
18
18
  */
19
- function ensureRuntimeExpectPluginsInstalled() {
20
- if (isPluginInstalled) return;
21
- chai.use(JestExtend);
22
- chai.use(JestChaiExpect);
23
- chai.use(ChaiStyleAssertions);
24
- chai.use(JestAsymmetricMatchers);
25
- isPluginInstalled = true;
19
+ function getRuntimeExpect() {
20
+ if (runtimeExpectInstance != null) return runtimeExpectInstance;
21
+ runtimeExpectInstance = createRuntimeExpect();
22
+ Object.defineProperty(globalThis, GLOBAL_EXPECT, {
23
+ configurable: true,
24
+ value: runtimeExpectInstance,
25
+ writable: true
26
+ });
27
+ return runtimeExpectInstance;
26
28
  }
27
29
  /**
28
30
  * Creates a Vitest-compatible `expect` instance without worker-state coupling.
@@ -67,34 +69,28 @@ function createRuntimeExpect() {
67
69
  return runtimeExpect;
68
70
  }
69
71
  /**
70
- * Returns process-local runtime `expect` instance used by Vieval.
72
+ * Installs Vitest expect plugins once for process-local runtime assertions.
71
73
  *
72
74
  * Use when:
73
- * - you need matcher assertions in eval files and CLI runtime
74
- * - importing from `vitest` would crash outside Vitest worker contexts
75
+ * - running eval tasks outside Vitest worker runtime
76
+ * - building an `expect` instance that does not rely on Vitest internal state
75
77
  *
76
78
  * Expects:
77
- * - single-process usage (instance is memoized per process)
79
+ * - `@vitest/expect` is available in runtime dependencies
78
80
  *
79
81
  * Returns:
80
- * - memoized runtime `expect` instance
82
+ * - nothing; side-effects are applied to `chai`
81
83
  */
82
- function getRuntimeExpect() {
83
- if (runtimeExpectInstance != null) return runtimeExpectInstance;
84
- runtimeExpectInstance = createRuntimeExpect();
85
- Object.defineProperty(globalThis, GLOBAL_EXPECT, {
86
- configurable: true,
87
- value: runtimeExpectInstance,
88
- writable: true
89
- });
90
- return runtimeExpectInstance;
84
+ function ensureRuntimeExpectPluginsInstalled() {
85
+ if (isPluginInstalled) return;
86
+ chai.use(JestExtend);
87
+ chai.use(JestChaiExpect);
88
+ chai.use(ChaiStyleAssertions);
89
+ chai.use(JestAsymmetricMatchers);
90
+ isPluginInstalled = true;
91
91
  }
92
92
  //#endregion
93
93
  //#region src/testing/expect-extensions.ts
94
- function toKeywordArray(keywords) {
95
- if (typeof keywords === "string") return [keywords];
96
- return keywords;
97
- }
98
94
  /**
99
95
  * Registers vieval custom matchers on Vitest `expect`.
100
96
  *
@@ -150,21 +146,6 @@ function installVievalExpectMatchers() {
150
146
  pass
151
147
  };
152
148
  },
153
- toScoreRubricGreaterThan(received, threshold) {
154
- const score = typeof received === "number" ? received : received?.score;
155
- if (typeof score !== "number") return {
156
- message: () => "Expected received value to be a number or RubricJudgeResult.",
157
- pass: false
158
- };
159
- const pass = score > threshold;
160
- return {
161
- message: () => {
162
- if (pass) return `Expected rubric score ${score} to be less than or equal to ${threshold}.`;
163
- return `Expected rubric score ${score} to be greater than ${threshold}.`;
164
- },
165
- pass
166
- };
167
- },
168
149
  toSatisfyStructuredOutput(received, validator) {
169
150
  const pass = validator(received);
170
151
  return {
@@ -188,10 +169,29 @@ function installVievalExpectMatchers() {
188
169
  message: () => pass ? `Expected tool call args for ${toolName} to fail validation.` : `Expected tool call args for ${toolName} to pass validation.`,
189
170
  pass
190
171
  };
172
+ },
173
+ toScoreRubricGreaterThan(received, threshold) {
174
+ const score = typeof received === "number" ? received : received?.score;
175
+ if (typeof score !== "number") return {
176
+ message: () => "Expected received value to be a number or RubricJudgeResult.",
177
+ pass: false
178
+ };
179
+ const pass = score > threshold;
180
+ return {
181
+ message: () => {
182
+ if (pass) return `Expected rubric score ${score} to be less than or equal to ${threshold}.`;
183
+ return `Expected rubric score ${score} to be greater than ${threshold}.`;
184
+ },
185
+ pass
186
+ };
191
187
  }
192
188
  });
193
189
  }
190
+ function toKeywordArray(keywords) {
191
+ if (typeof keywords === "string") return [keywords];
192
+ return keywords;
193
+ }
194
194
  //#endregion
195
195
  export { getRuntimeExpect as n, installVievalExpectMatchers as t };
196
196
 
197
- //# sourceMappingURL=expect-extensions-Mf1sMNBv.mjs.map
197
+ //# sourceMappingURL=expect-extensions-BKdEPt3h.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expect-extensions-BKdEPt3h.mjs","names":[],"sources":["../src/testing/runtime-expect.ts","../src/testing/expect-extensions.ts"],"sourcesContent":["import type { ExpectStatic, MatchersObject, MatcherState, Tester } from '@vitest/expect'\n\nimport {\n addCustomEqualityTesters,\n ASYMMETRIC_MATCHERS_OBJECT,\n chai,\n ChaiStyleAssertions,\n customMatchers,\n getState,\n GLOBAL_EXPECT,\n JestAsymmetricMatchers,\n JestChaiExpect,\n JestExtend,\n setState,\n} from '@vitest/expect'\n\nlet isPluginInstalled = false\nlet runtimeExpectInstance: ExpectStatic | undefined\n\n/**\n * Returns process-local runtime `expect` instance used by Vieval.\n *\n * Use when:\n * - you need matcher assertions in eval files and CLI runtime\n * - importing from `vitest` would crash outside Vitest worker contexts\n *\n * Expects:\n * - single-process usage (instance is memoized per process)\n *\n * Returns:\n * - memoized runtime `expect` instance\n */\nexport function getRuntimeExpect(): ExpectStatic {\n if (runtimeExpectInstance != null) {\n return runtimeExpectInstance\n }\n\n runtimeExpectInstance = createRuntimeExpect()\n Object.defineProperty(globalThis, GLOBAL_EXPECT, {\n configurable: true,\n value: runtimeExpectInstance,\n writable: true,\n })\n\n return runtimeExpectInstance\n}\n\n/**\n * Creates a Vitest-compatible `expect` instance without worker-state coupling.\n *\n * Use when:\n * - CLI runtime needs assertion helpers from `vieval/expect`\n * - code is executed outside `vitest run`\n *\n * Expects:\n * - plugins from {@link ensureRuntimeExpectPluginsInstalled} are installed\n * - callers do not depend on Vitest worker-only features (snapshot/poll internals)\n *\n * Returns:\n * - standalone expect instance with core matcher APIs and `extend`\n */\nfunction createRuntimeExpect(): ExpectStatic {\n ensureRuntimeExpectPluginsInstalled()\n\n const runtimeExpect = ((value: unknown, message?: string) => {\n const currentState = getState(runtimeExpect)\n setState({ assertionCalls: currentState.assertionCalls + 1 }, runtimeExpect)\n return chai.expect(value, message)\n }) as unknown as ExpectStatic\n\n Object.assign(runtimeExpect, chai.expect)\n Object.assign(runtimeExpect, (globalThis as Record<PropertyKey, unknown>)[ASYMMETRIC_MATCHERS_OBJECT] as object)\n\n runtimeExpect.getState = () => getState(runtimeExpect)\n runtimeExpect.setState = (state: Partial<MatcherState>) => setState(state, runtimeExpect)\n runtimeExpect.assert = chai.assert\n // NOTICE:\n // Chai's public `ExpectStatic` type does not expose Vitest's plugin-added `extend`.\n // Runtime `chai.expect.extend` exists after `JestExtend` plugin installation.\n // Source/context: `@vitest/expect` plugin pipeline in `dist/index.js`.\n // Removal condition: remove this cast if upstream exposes `extend` on Chai expect types.\n const chaiExpectWithExtend = chai.expect as unknown as {\n extend: (expect: ExpectStatic, matchers: MatchersObject) => void\n }\n runtimeExpect.extend = (matchers: MatchersObject) => chaiExpectWithExtend.extend(runtimeExpect, matchers)\n runtimeExpect.addEqualityTesters = (customTesters: Tester[]) => addCustomEqualityTesters(customTesters)\n runtimeExpect.unreachable = (message?: string) => {\n chai.assert.fail(`expected${message ? ` \"${message}\" ` : ' '}not to be reached`)\n }\n\n runtimeExpect.setState({\n assertionCalls: 0,\n currentTestName: '',\n expectedAssertionsNumber: null,\n expectedAssertionsNumberErrorGen: null,\n isExpectingAssertions: false,\n isExpectingAssertionsError: null,\n })\n\n runtimeExpect.extend(customMatchers)\n\n return runtimeExpect\n}\n\n/**\n * Installs Vitest expect plugins once for process-local runtime assertions.\n *\n * Use when:\n * - running eval tasks outside Vitest worker runtime\n * - building an `expect` instance that does not rely on Vitest internal state\n *\n * Expects:\n * - `@vitest/expect` is available in runtime dependencies\n *\n * Returns:\n * - nothing; side-effects are applied to `chai`\n */\nfunction ensureRuntimeExpectPluginsInstalled(): void {\n if (isPluginInstalled) {\n return\n }\n\n chai.use(JestExtend)\n chai.use(JestChaiExpect)\n chai.use(ChaiStyleAssertions)\n chai.use(JestAsymmetricMatchers)\n isPluginInstalled = true\n}\n","import type { RubricJudgeResult, ToolCall } from '../core/assertions'\n\nimport { normalizeMatchText } from '../core/assertions'\nimport { getRuntimeExpect } from './runtime-expect'\n\n/**\n * Options for keyword-based matcher behavior.\n */\nexport interface KeywordMatcherOptions {\n /**\n * Case-sensitive matching toggle.\n *\n * @default false\n */\n caseSensitive?: boolean\n /**\n * Match mode.\n *\n * @default 'all'\n */\n mode?: 'all' | 'any'\n}\n\n/**\n * Shape used by tool-call matchers.\n */\nexport interface ToolCallContainer {\n /**\n * Tool calls to inspect.\n */\n toolCalls?: readonly ToolCall[]\n}\n\ninterface VievalCustomMatchers {\n /**\n * Asserts that text excludes forbidden keywords.\n *\n * Example:\n * `expect('calm answer').toMustExclude(['bestmove'])`\n */\n toMustExclude: (keywords: readonly string[] | string, options?: KeywordMatcherOptions) => void\n /**\n * Asserts that text includes required keywords.\n *\n * Example:\n * `expect('calm answer').toMustInclude(['calm'])`\n */\n toMustInclude: (keywords: readonly string[] | string, options?: KeywordMatcherOptions) => void\n /**\n * Asserts structured output satisfies a validator.\n *\n * Example:\n * `expect(value).toSatisfyStructuredOutput(isMyShape)`\n */\n toSatisfyStructuredOutput: <TValue>(validator: (value: unknown) => value is TValue) => void\n /**\n * Asserts selected tool-call args satisfy validator.\n *\n * Example:\n * `expect({ toolCalls }).toSatisfyToolCallArgs('builtIn_sparkCommand', isSparkArgs)`\n */\n toSatisfyToolCallArgs: (toolName: string, validator: (args: unknown) => boolean) => void\n /**\n * Asserts rubric score is greater than a threshold.\n *\n * Example:\n * `expect({ score: 0.91 }).toScoreRubricGreaterThan(0.8)`\n */\n toScoreRubricGreaterThan: (threshold: number) => void\n}\n\n/**\n * Registers vieval custom matchers on Vitest `expect`.\n *\n * Call stack:\n *\n * {@link installVievalExpectMatchers}\n * -> `expect.extend(...)`\n * -> `expect(received).toMustInclude(...)`\n * -> `expect(received).toScoreRubricGreaterThan(...)`\n *\n * Use when:\n * - eval suites need domain assertions while preserving native Vitest ergonomics\n * - callers want native `.not` chaining with the same matchers\n */\nexport function installVievalExpectMatchers(): void {\n const expect = getRuntimeExpect()\n\n expect.extend({\n toMustExclude(received: unknown, keywords: readonly string[] | string, options: KeywordMatcherOptions = {}) {\n const keywordList = toKeywordArray(keywords)\n\n if (typeof received !== 'string') {\n return {\n message: () => 'Expected received value to be a string.',\n pass: false,\n }\n }\n\n const normalizedText = normalizeMatchText(received, options.caseSensitive ?? false)\n const forbiddenMatches = keywordList.filter((keyword) => {\n return normalizedText.includes(normalizeMatchText(keyword, options.caseSensitive ?? false))\n })\n\n const pass = forbiddenMatches.length === 0\n\n return {\n message: () => {\n if (pass) {\n return `Expected text to include forbidden keywords: ${keywordList.join(', ')}`\n }\n\n return `Expected text not to include forbidden keywords, but matched: ${forbiddenMatches.join(', ')}`\n },\n pass,\n }\n },\n\n toMustInclude(received: unknown, keywords: readonly string[] | string, options: KeywordMatcherOptions = {}) {\n const keywordList = toKeywordArray(keywords)\n\n if (typeof received !== 'string') {\n return {\n message: () => 'Expected received value to be a string.',\n pass: false,\n }\n }\n\n const normalizedText = normalizeMatchText(received, options.caseSensitive ?? false)\n const matches = keywordList.filter((keyword) => {\n return normalizedText.includes(normalizeMatchText(keyword, options.caseSensitive ?? false))\n })\n\n const mode = options.mode ?? 'all'\n const pass = mode === 'all' ? matches.length === keywordList.length : matches.length > 0\n\n return {\n message: () => {\n if (pass) {\n return `Expected text not to match required keywords, but matched: ${matches.join(', ')}`\n }\n\n return `Expected text to match required keywords (${mode}), but matched ${matches.length}/${keywordList.length}.`\n },\n pass,\n }\n },\n\n toSatisfyStructuredOutput<T>(received: unknown, validator: (value: unknown) => value is T) {\n const pass = validator(received)\n\n return {\n message: () => pass\n ? 'Expected structured output validator to fail.'\n : 'Expected structured output validator to pass.',\n pass,\n }\n },\n\n toSatisfyToolCallArgs(\n received: unknown,\n toolName: string,\n validator: (args: unknown) => boolean,\n ) {\n const toolCalls = (received as null | ToolCallContainer)?.toolCalls\n\n if (toolCalls == null) {\n return {\n message: () => 'Expected received value to provide toolCalls array.',\n pass: false,\n }\n }\n\n const targetCall = toolCalls.find(call => call.name === toolName)\n if (targetCall == null) {\n return {\n message: () => `Expected tool call ${toolName} to exist.`,\n pass: false,\n }\n }\n\n const pass = validator(targetCall.args)\n\n return {\n message: () => pass\n ? `Expected tool call args for ${toolName} to fail validation.`\n : `Expected tool call args for ${toolName} to pass validation.`,\n pass,\n }\n },\n\n toScoreRubricGreaterThan(received: unknown, threshold: number) {\n const score = typeof received === 'number'\n ? received\n : (received as null | RubricJudgeResult)?.score\n\n if (typeof score !== 'number') {\n return {\n message: () => 'Expected received value to be a number or RubricJudgeResult.',\n pass: false,\n }\n }\n\n const pass = score > threshold\n\n return {\n message: () => {\n if (pass) {\n return `Expected rubric score ${score} to be less than or equal to ${threshold}.`\n }\n\n return `Expected rubric score ${score} to be greater than ${threshold}.`\n },\n pass,\n }\n },\n })\n}\n\nfunction toKeywordArray(keywords: readonly string[] | string): readonly string[] {\n if (typeof keywords === 'string') {\n return [keywords]\n }\n\n return keywords\n}\n\n/* eslint-disable unused-imports/no-unused-vars */\ndeclare module '@vitest/expect' {\n interface Assertion<T = any> extends VievalCustomMatchers {}\n interface Matchers<T = any> extends VievalCustomMatchers {}\n}\n\ndeclare module 'vitest' {\n interface Assertion extends VievalCustomMatchers {}\n interface Matchers<T = any> extends VievalCustomMatchers {}\n}\n/* eslint-enable unused-imports/no-unused-vars */\n"],"mappings":";;;AAgBA,IAAI,oBAAoB;AACxB,IAAI;;;;;;;;;;;;;;AAeJ,SAAgB,mBAAiC;CAC/C,IAAI,yBAAyB,MAC3B,OAAO;CAGT,wBAAwB,oBAAoB;CAC5C,OAAO,eAAe,YAAY,eAAe;EAC/C,cAAc;EACd,OAAO;EACP,UAAU;CACZ,CAAC;CAED,OAAO;AACT;;;;;;;;;;;;;;;AAgBA,SAAS,sBAAoC;CAC3C,oCAAoC;CAEpC,MAAM,kBAAkB,OAAgB,YAAqB;EAE3D,SAAS,EAAE,gBADU,SAAS,aACQ,CAAC,CAAC,iBAAiB,EAAE,GAAG,aAAa;EAC3E,OAAO,KAAK,OAAO,OAAO,OAAO;CACnC;CAEA,OAAO,OAAO,eAAe,KAAK,MAAM;CACxC,OAAO,OAAO,eAAgB,WAA4C,2BAAqC;CAE/G,cAAc,iBAAiB,SAAS,aAAa;CACrD,cAAc,YAAY,UAAiC,SAAS,OAAO,aAAa;CACxF,cAAc,SAAS,KAAK;CAM5B,MAAM,uBAAuB,KAAK;CAGlC,cAAc,UAAU,aAA6B,qBAAq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AI,OAAO,aAAa,UACtB,OAAO,CAAC,QAAQ;CAGlB,OAAO;AACT"}
package/dist/expect.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { n as getRuntimeExpect, t as installVievalExpectMatchers } from "./expect-extensions-Mf1sMNBv.mjs";
1
+ import { n as getRuntimeExpect, t as installVievalExpectMatchers } from "./expect-extensions-BKdEPt3h.mjs";
2
2
  //#region src/expect.ts
3
3
  let isInstalled = false;
4
4
  function ensureExpectMatchersInstalled() {