@m4trix/evals 0.30.0 → 0.31.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
@@ -279,6 +279,8 @@ interface EvaluateMeta {
279
279
  * `runDatasetWith` / `runDatasetJobsWithSharedConcurrency` was invoked). Shared across all jobs in a batch.
280
280
  */
281
281
  triggerTimestamp: number;
282
+ /** Same instant as {@link triggerTimestamp}, as an ISO 8601 string (`toISOString()`). */
283
+ triggeredAt: string;
282
284
  /**
283
285
  * Identifier of the current test-case execution shared across all evaluators
284
286
  * for this specific test-case run.
package/dist/index.js CHANGED
@@ -1567,6 +1567,7 @@ function processOneEvaluation(task, unit, totalEvaluations, publishEvent, persis
1567
1567
  meta: {
1568
1568
  triggerId: task.triggerId,
1569
1569
  triggerTimestamp: task.triggerTimestamp,
1570
+ triggeredAt: new Date(task.triggerTimestamp).toISOString(),
1570
1571
  runId: evaluatorRunId,
1571
1572
  datasetName: task.dataset.getDisplayLabel(),
1572
1573
  testCaseId: testCaseItem.id,