@m4trix/evals 0.28.0 → 0.29.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/README.md +1 -1
- package/dist/cli-simple.cjs +2 -0
- package/dist/cli-simple.cjs.map +1 -1
- package/dist/cli-simple.js +2 -0
- package/dist/cli-simple.js.map +1 -1
- package/dist/cli.cjs +2 -0
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +2 -0
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -281,6 +281,10 @@ interface EvaluateMeta {
|
|
|
281
281
|
runId: string;
|
|
282
282
|
/** Display label for the dataset (`Dataset.getDisplayLabel()`, i.e. `displayName ?? name`). */
|
|
283
283
|
datasetName: string;
|
|
284
|
+
/** Discovery id for the current test case (same as runner events’ `testCaseId`). */
|
|
285
|
+
testCaseId: string;
|
|
286
|
+
/** Display label for the test case (`TestCase.getDisplayLabel()`, i.e. `displayName ?? name`). */
|
|
287
|
+
testCaseName: string;
|
|
284
288
|
/** Canonical `RunConfig` name (or `programmatic` for API/TUI-only runs). */
|
|
285
289
|
runConfigName: string;
|
|
286
290
|
/**
|
package/dist/index.js
CHANGED
|
@@ -1568,6 +1568,8 @@ function processOneEvaluation(task, unit, totalEvaluations, publishEvent, persis
|
|
|
1568
1568
|
triggerId: task.triggerId,
|
|
1569
1569
|
runId: evaluatorRunId,
|
|
1570
1570
|
datasetName: task.dataset.getDisplayLabel(),
|
|
1571
|
+
testCaseId: testCaseItem.id,
|
|
1572
|
+
testCaseName: getTestCaseDisplayLabel(testCaseItem.testCase),
|
|
1571
1573
|
repetitionId,
|
|
1572
1574
|
repetitionIndex,
|
|
1573
1575
|
repetitionCount,
|