Skip to content

fix(bulk-eval): Fix duplicate row results and detail drawer errors #247

fix(bulk-eval): Fix duplicate row results and detail drawer errors

fix(bulk-eval): Fix duplicate row results and detail drawer errors #247

Triggered via push January 17, 2026 17:20
Status Failure
Total duration 31s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 3 warnings
Type Check
Process completed with exit code 2.
Type Check: src/lib/training/training-loop-manager.ts#L50
Property 'env' does not exist on type 'ImportMeta'.
Type Check: src/lib/evaluation/semanticSimilarity.ts#L91
Property 'env' does not exist on type 'ImportMeta'.
Type Check: src/lib/db/db.ts#L121
Property 'env' does not exist on type 'ImportMeta'.
Type Check: src/lib/db/db.ts#L36
Property 'env' does not exist on type 'ImportMeta'.
Type Check: src/lib/db/db.ts#L25
Property 'env' does not exist on type 'ImportMeta'.
Test
Process completed with exit code 1.
[default] tests/unit/bulk-evaluator.test.ts > BulkEvaluator > execute > should handle model not found gracefully: tests/unit/bulk-evaluator.test.ts#L249
AssertionError: expected last "vi.fn()" call to have been called with [ 'test-run-id', 'failed', 2, …(1) ] - Expected + Received [ "test-run-id", "failed", - 2, - "All row evaluations failed", + 0, + "[vitest] No \"updateRowResult\" export is defined on the \"@lib/db\" mock. Did you forget to return it from \"vi.mock\"? + If you need to partially mock a module, you can use \"importOriginal\" helper inside: + ", ] ❯ tests/unit/bulk-evaluator.test.ts:249:34
[default] tests/unit/bulk-evaluator.test.ts > BulkEvaluator > execute > should skip inactive models: tests/unit/bulk-evaluator.test.ts#L239
AssertionError: expected "vi.fn()" to be called 2 times, but got 0 times ❯ tests/unit/bulk-evaluator.test.ts:239:40
[default] tests/unit/bulk-evaluator.test.ts > BulkEvaluator > execute > should report progress through callback: tests/unit/bulk-evaluator.test.ts#L184
AssertionError: expected "vi.fn()" to be called 2 times, but got 0 times ❯ tests/unit/bulk-evaluator.test.ts:184:32
[default] tests/unit/bulk-evaluator.test.ts > BulkEvaluator > execute > should mark run as failed if all evaluations fail: tests/unit/bulk-evaluator.test.ts#L170
AssertionError: expected last "vi.fn()" call to have been called with [ 'test-run-id', 'failed', 2, …(1) ] - Expected + Received [ "test-run-id", "failed", - 2, - "All row evaluations failed", + 0, + "[vitest] No \"updateRowResult\" export is defined on the \"@lib/db\" mock. Did you forget to return it from \"vi.mock\"? + If you need to partially mock a module, you can use \"importOriginal\" helper inside: + ", ] ❯ tests/unit/bulk-evaluator.test.ts:170:34
[default] tests/unit/bulk-evaluator.test.ts > BulkEvaluator > execute > should handle model failures gracefully and continue with other evaluations: tests/unit/bulk-evaluator.test.ts#L161
AssertionError: expected last "vi.fn()" call to have been called with [ 'test-run-id', 'completed', 2, …(1) ] - Expected + Received [ "test-run-id", - "completed", - 2, - undefined, + "failed", + 0, + "[vitest] No \"updateRowResult\" export is defined on the \"@lib/db\" mock. Did you forget to return it from \"vi.mock\"? + If you need to partially mock a module, you can use \"importOriginal\" helper inside: + ", ] ❯ tests/unit/bulk-evaluator.test.ts:161:34
[default] tests/unit/bulk-evaluator.test.ts > BulkEvaluator > execute > should interpolate template with row data: tests/unit/bulk-evaluator.test.ts#L145
AssertionError: expected "vi.fn()" to be called with arguments: [ 'Hello {{name}}', …(1) ] Received: 1st vi.fn() call: [ "Hello {{name}}", { - "age": 25, - "name": "Bob", + "age": 30, + "name": "Alice", }, ] Number of calls: 1 ❯ tests/unit/bulk-evaluator.test.ts:145:35
[default] tests/unit/bulk-evaluator.test.ts > BulkEvaluator > execute > should execute evaluations sequentially for all rows and models: tests/unit/bulk-evaluator.test.ts#L123
AssertionError: expected "vi.fn()" to be called 4 times, but got 1 times ❯ tests/unit/bulk-evaluator.test.ts:123:40
Lint: tests/unit/bulk-evaluator.test.ts#L134
Unexpected any. Specify a different type
Lint: tests/unit/bulk-evaluator.test.ts#L113
Unexpected any. Specify a different type
Lint: tests/unit/bulk-evaluator.test.ts#L109
Unexpected any. Specify a different type