@wix/evalforge-types 0.4.0 → 0.6.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/build/index.js +185 -180
- package/build/index.js.map +3 -3
- package/build/index.mjs +185 -180
- package/build/index.mjs.map +3 -3
- package/build/types/evaluation/eval-result.d.ts +14 -0
- package/build/types/evaluation/eval-run.d.ts +14 -0
- package/build/types/evaluation/live-trace.d.ts +3 -1
- package/package.json +2 -2
package/build/index.mjs
CHANGED
|
@@ -516,128 +516,46 @@ var LLMTraceSchema = z21.object({
|
|
|
516
516
|
});
|
|
517
517
|
|
|
518
518
|
// src/evaluation/eval-result.ts
|
|
519
|
-
import { z as
|
|
520
|
-
var AssertionResultStatus = /* @__PURE__ */ ((AssertionResultStatus2) => {
|
|
521
|
-
AssertionResultStatus2["PASSED"] = "passed";
|
|
522
|
-
AssertionResultStatus2["FAILED"] = "failed";
|
|
523
|
-
AssertionResultStatus2["SKIPPED"] = "skipped";
|
|
524
|
-
AssertionResultStatus2["ERROR"] = "error";
|
|
525
|
-
return AssertionResultStatus2;
|
|
526
|
-
})(AssertionResultStatus || {});
|
|
527
|
-
var AssertionResultSchema = z22.object({
|
|
528
|
-
id: z22.string(),
|
|
529
|
-
assertionId: z22.string(),
|
|
530
|
-
assertionType: z22.string(),
|
|
531
|
-
assertionName: z22.string(),
|
|
532
|
-
status: z22.enum(AssertionResultStatus),
|
|
533
|
-
message: z22.string().optional(),
|
|
534
|
-
expected: z22.string().optional(),
|
|
535
|
-
actual: z22.string().optional(),
|
|
536
|
-
duration: z22.number().optional(),
|
|
537
|
-
details: z22.record(z22.string(), z22.unknown()).optional(),
|
|
538
|
-
llmTraceSteps: z22.array(LLMTraceStepSchema).optional()
|
|
539
|
-
});
|
|
540
|
-
var EvalRunResultSchema = z22.object({
|
|
541
|
-
id: z22.string(),
|
|
542
|
-
targetId: z22.string(),
|
|
543
|
-
targetName: z22.string().optional(),
|
|
544
|
-
scenarioId: z22.string(),
|
|
545
|
-
scenarioName: z22.string(),
|
|
546
|
-
modelConfig: ModelConfigSchema.optional(),
|
|
547
|
-
assertionResults: z22.array(AssertionResultSchema),
|
|
548
|
-
metrics: EvalMetricsSchema.optional(),
|
|
549
|
-
passed: z22.number(),
|
|
550
|
-
failed: z22.number(),
|
|
551
|
-
passRate: z22.number(),
|
|
552
|
-
duration: z22.number(),
|
|
553
|
-
outputText: z22.string().optional(),
|
|
554
|
-
files: z22.array(ExpectedFileSchema).optional(),
|
|
555
|
-
startedAt: z22.string().optional(),
|
|
556
|
-
completedAt: z22.string().optional(),
|
|
557
|
-
llmTrace: LLMTraceSchema.optional()
|
|
558
|
-
});
|
|
559
|
-
var PromptResultSchema = z22.object({
|
|
560
|
-
text: z22.string(),
|
|
561
|
-
files: z22.array(z22.unknown()).optional(),
|
|
562
|
-
finishReason: z22.string().optional(),
|
|
563
|
-
reasoning: z22.string().optional(),
|
|
564
|
-
reasoningDetails: z22.unknown().optional(),
|
|
565
|
-
toolCalls: z22.array(z22.unknown()).optional(),
|
|
566
|
-
toolResults: z22.array(z22.unknown()).optional(),
|
|
567
|
-
warnings: z22.array(z22.unknown()).optional(),
|
|
568
|
-
sources: z22.array(z22.unknown()).optional(),
|
|
569
|
-
steps: z22.array(z22.unknown()),
|
|
570
|
-
generationTimeMs: z22.number(),
|
|
571
|
-
prompt: z22.string(),
|
|
572
|
-
systemPrompt: z22.string(),
|
|
573
|
-
usage: z22.object({
|
|
574
|
-
totalTokens: z22.number().optional(),
|
|
575
|
-
totalMicrocentsSpent: z22.number().optional()
|
|
576
|
-
})
|
|
577
|
-
});
|
|
578
|
-
var EvaluationResultSchema = z22.object({
|
|
579
|
-
id: z22.string(),
|
|
580
|
-
runId: z22.string(),
|
|
581
|
-
timestamp: z22.number(),
|
|
582
|
-
promptResult: PromptResultSchema,
|
|
583
|
-
testResults: z22.array(z22.unknown()),
|
|
584
|
-
tags: z22.array(z22.string()).optional(),
|
|
585
|
-
feedback: z22.string().optional(),
|
|
586
|
-
score: z22.number(),
|
|
587
|
-
suiteId: z22.string().optional()
|
|
588
|
-
});
|
|
589
|
-
var LeanEvaluationResultSchema = z22.object({
|
|
590
|
-
id: z22.string(),
|
|
591
|
-
runId: z22.string(),
|
|
592
|
-
timestamp: z22.number(),
|
|
593
|
-
tags: z22.array(z22.string()).optional(),
|
|
594
|
-
scenarioId: z22.string(),
|
|
595
|
-
scenarioVersion: z22.number().optional(),
|
|
596
|
-
targetId: z22.string(),
|
|
597
|
-
targetVersion: z22.number().optional(),
|
|
598
|
-
suiteId: z22.string().optional(),
|
|
599
|
-
score: z22.number(),
|
|
600
|
-
time: z22.number().optional(),
|
|
601
|
-
microcentsSpent: z22.number().optional()
|
|
602
|
-
});
|
|
519
|
+
import { z as z24 } from "zod";
|
|
603
520
|
|
|
604
521
|
// src/evaluation/eval-run.ts
|
|
605
|
-
import { z as
|
|
522
|
+
import { z as z23 } from "zod";
|
|
606
523
|
|
|
607
524
|
// src/evaluation/live-trace.ts
|
|
608
|
-
import { z as
|
|
525
|
+
import { z as z22 } from "zod";
|
|
609
526
|
var LiveTraceEventType = /* @__PURE__ */ ((LiveTraceEventType2) => {
|
|
610
527
|
LiveTraceEventType2["THINKING"] = "thinking";
|
|
611
528
|
LiveTraceEventType2["TOOL_USE"] = "tool_use";
|
|
612
529
|
LiveTraceEventType2["COMPLETION"] = "completion";
|
|
613
530
|
LiveTraceEventType2["TOOL_RESULT"] = "tool_result";
|
|
531
|
+
LiveTraceEventType2["DIAGNOSTIC"] = "diagnostic";
|
|
614
532
|
return LiveTraceEventType2;
|
|
615
533
|
})(LiveTraceEventType || {});
|
|
616
|
-
var LiveTraceEventSchema =
|
|
534
|
+
var LiveTraceEventSchema = z22.object({
|
|
617
535
|
/** The evaluation run ID */
|
|
618
|
-
evalRunId:
|
|
536
|
+
evalRunId: z22.string(),
|
|
619
537
|
/** The scenario ID being executed */
|
|
620
|
-
scenarioId:
|
|
538
|
+
scenarioId: z22.string(),
|
|
621
539
|
/** The scenario name for display */
|
|
622
|
-
scenarioName:
|
|
540
|
+
scenarioName: z22.string(),
|
|
623
541
|
/** The target ID (skill, agent, etc.) */
|
|
624
|
-
targetId:
|
|
542
|
+
targetId: z22.string(),
|
|
625
543
|
/** The target name for display */
|
|
626
|
-
targetName:
|
|
544
|
+
targetName: z22.string(),
|
|
627
545
|
/** Step number in the current scenario execution */
|
|
628
|
-
stepNumber:
|
|
546
|
+
stepNumber: z22.number(),
|
|
629
547
|
/** Type of trace event */
|
|
630
|
-
type:
|
|
548
|
+
type: z22.enum(LiveTraceEventType),
|
|
631
549
|
/** Tool name if this is a tool_use event */
|
|
632
|
-
toolName:
|
|
550
|
+
toolName: z22.string().optional(),
|
|
633
551
|
/** Tool arguments preview (truncated JSON) */
|
|
634
|
-
toolArgs:
|
|
552
|
+
toolArgs: z22.string().optional(),
|
|
635
553
|
/** Output preview (truncated text) */
|
|
636
|
-
outputPreview:
|
|
554
|
+
outputPreview: z22.string().optional(),
|
|
637
555
|
/** Timestamp when this event occurred */
|
|
638
|
-
timestamp:
|
|
556
|
+
timestamp: z22.string(),
|
|
639
557
|
/** Whether this is the final event for this scenario */
|
|
640
|
-
isComplete:
|
|
558
|
+
isComplete: z22.boolean()
|
|
641
559
|
});
|
|
642
560
|
var TRACE_EVENT_PREFIX = "TRACE_EVENT:";
|
|
643
561
|
function parseTraceEventLine(line) {
|
|
@@ -665,14 +583,14 @@ var TriggerType = /* @__PURE__ */ ((TriggerType2) => {
|
|
|
665
583
|
TriggerType2["MANUAL"] = "MANUAL";
|
|
666
584
|
return TriggerType2;
|
|
667
585
|
})(TriggerType || {});
|
|
668
|
-
var TriggerMetadataSchema =
|
|
669
|
-
version:
|
|
670
|
-
resourceUpdated:
|
|
586
|
+
var TriggerMetadataSchema = z23.object({
|
|
587
|
+
version: z23.string().optional(),
|
|
588
|
+
resourceUpdated: z23.array(z23.string()).optional()
|
|
671
589
|
});
|
|
672
|
-
var TriggerSchema =
|
|
673
|
-
id:
|
|
590
|
+
var TriggerSchema = z23.object({
|
|
591
|
+
id: z23.string(),
|
|
674
592
|
metadata: TriggerMetadataSchema.optional(),
|
|
675
|
-
type:
|
|
593
|
+
type: z23.enum(TriggerType)
|
|
676
594
|
});
|
|
677
595
|
var FailureCategory = /* @__PURE__ */ ((FailureCategory2) => {
|
|
678
596
|
FailureCategory2["MISSING_FILE"] = "missing_file";
|
|
@@ -690,89 +608,89 @@ var FailureSeverity = /* @__PURE__ */ ((FailureSeverity2) => {
|
|
|
690
608
|
FailureSeverity2["LOW"] = "low";
|
|
691
609
|
return FailureSeverity2;
|
|
692
610
|
})(FailureSeverity || {});
|
|
693
|
-
var DiffLineTypeSchema =
|
|
694
|
-
var DiffLineSchema =
|
|
611
|
+
var DiffLineTypeSchema = z23.enum(["added", "removed", "unchanged"]);
|
|
612
|
+
var DiffLineSchema = z23.object({
|
|
695
613
|
type: DiffLineTypeSchema,
|
|
696
|
-
content:
|
|
697
|
-
lineNumber:
|
|
698
|
-
});
|
|
699
|
-
var DiffContentSchema =
|
|
700
|
-
path:
|
|
701
|
-
expected:
|
|
702
|
-
actual:
|
|
703
|
-
diffLines:
|
|
704
|
-
});
|
|
705
|
-
var CommandExecutionSchema =
|
|
706
|
-
command:
|
|
707
|
-
exitCode:
|
|
708
|
-
output:
|
|
709
|
-
duration:
|
|
710
|
-
});
|
|
711
|
-
var FileModificationSchema =
|
|
712
|
-
path:
|
|
713
|
-
action:
|
|
714
|
-
});
|
|
715
|
-
var ApiCallSchema =
|
|
716
|
-
endpoint:
|
|
717
|
-
tokensUsed:
|
|
718
|
-
duration:
|
|
719
|
-
});
|
|
720
|
-
var ExecutionTraceSchema =
|
|
721
|
-
commands:
|
|
722
|
-
filesModified:
|
|
723
|
-
apiCalls:
|
|
724
|
-
totalDuration:
|
|
725
|
-
});
|
|
726
|
-
var FailureAnalysisSchema =
|
|
727
|
-
category:
|
|
728
|
-
severity:
|
|
729
|
-
summary:
|
|
730
|
-
details:
|
|
731
|
-
rootCause:
|
|
732
|
-
suggestedFix:
|
|
733
|
-
relatedAssertions:
|
|
734
|
-
codeSnippet:
|
|
735
|
-
similarIssues:
|
|
736
|
-
patternId:
|
|
614
|
+
content: z23.string(),
|
|
615
|
+
lineNumber: z23.number()
|
|
616
|
+
});
|
|
617
|
+
var DiffContentSchema = z23.object({
|
|
618
|
+
path: z23.string(),
|
|
619
|
+
expected: z23.string(),
|
|
620
|
+
actual: z23.string(),
|
|
621
|
+
diffLines: z23.array(DiffLineSchema)
|
|
622
|
+
});
|
|
623
|
+
var CommandExecutionSchema = z23.object({
|
|
624
|
+
command: z23.string(),
|
|
625
|
+
exitCode: z23.number(),
|
|
626
|
+
output: z23.string().optional(),
|
|
627
|
+
duration: z23.number()
|
|
628
|
+
});
|
|
629
|
+
var FileModificationSchema = z23.object({
|
|
630
|
+
path: z23.string(),
|
|
631
|
+
action: z23.enum(["created", "modified", "deleted"])
|
|
632
|
+
});
|
|
633
|
+
var ApiCallSchema = z23.object({
|
|
634
|
+
endpoint: z23.string(),
|
|
635
|
+
tokensUsed: z23.number(),
|
|
636
|
+
duration: z23.number()
|
|
637
|
+
});
|
|
638
|
+
var ExecutionTraceSchema = z23.object({
|
|
639
|
+
commands: z23.array(CommandExecutionSchema),
|
|
640
|
+
filesModified: z23.array(FileModificationSchema),
|
|
641
|
+
apiCalls: z23.array(ApiCallSchema),
|
|
642
|
+
totalDuration: z23.number()
|
|
643
|
+
});
|
|
644
|
+
var FailureAnalysisSchema = z23.object({
|
|
645
|
+
category: z23.enum(FailureCategory),
|
|
646
|
+
severity: z23.enum(FailureSeverity),
|
|
647
|
+
summary: z23.string(),
|
|
648
|
+
details: z23.string(),
|
|
649
|
+
rootCause: z23.string(),
|
|
650
|
+
suggestedFix: z23.string(),
|
|
651
|
+
relatedAssertions: z23.array(z23.string()),
|
|
652
|
+
codeSnippet: z23.string().optional(),
|
|
653
|
+
similarIssues: z23.array(z23.string()).optional(),
|
|
654
|
+
patternId: z23.string().optional(),
|
|
737
655
|
// Extended fields for detailed debugging
|
|
738
656
|
diff: DiffContentSchema.optional(),
|
|
739
657
|
executionTrace: ExecutionTraceSchema.optional()
|
|
740
658
|
});
|
|
741
659
|
var EvalRunSchema = TenantEntitySchema.extend({
|
|
742
660
|
/** Agent ID for this run */
|
|
743
|
-
agentId:
|
|
661
|
+
agentId: z23.string().optional(),
|
|
744
662
|
/** Skills group ID for this run */
|
|
745
|
-
skillsGroupId:
|
|
663
|
+
skillsGroupId: z23.string().optional(),
|
|
746
664
|
/** Scenario IDs to run */
|
|
747
|
-
scenarioIds:
|
|
665
|
+
scenarioIds: z23.array(z23.string()),
|
|
748
666
|
/** Current status */
|
|
749
667
|
status: EvalStatusSchema,
|
|
750
668
|
/** Progress percentage (0-100) */
|
|
751
|
-
progress:
|
|
669
|
+
progress: z23.number(),
|
|
752
670
|
/** Results for each scenario/target combination */
|
|
753
|
-
results:
|
|
671
|
+
results: z23.array(EvalRunResultSchema),
|
|
754
672
|
/** Aggregated metrics across all results */
|
|
755
673
|
aggregateMetrics: EvalMetricsSchema,
|
|
756
674
|
/** Failure analyses */
|
|
757
|
-
failureAnalyses:
|
|
675
|
+
failureAnalyses: z23.array(FailureAnalysisSchema).optional(),
|
|
758
676
|
/** Aggregated LLM trace summary */
|
|
759
677
|
llmTraceSummary: LLMTraceSummarySchema.optional(),
|
|
760
678
|
/** What triggered this run */
|
|
761
679
|
trigger: TriggerSchema.optional(),
|
|
762
680
|
/** When the run started (set when evaluation is triggered) */
|
|
763
|
-
startedAt:
|
|
681
|
+
startedAt: z23.string().optional(),
|
|
764
682
|
/** When the run completed */
|
|
765
|
-
completedAt:
|
|
683
|
+
completedAt: z23.string().optional(),
|
|
766
684
|
/** Live trace events captured during execution (for playback on results page) */
|
|
767
|
-
liveTraceEvents:
|
|
685
|
+
liveTraceEvents: z23.array(LiveTraceEventSchema).optional(),
|
|
768
686
|
/** Remote job ID for tracking execution in Dev Machines */
|
|
769
|
-
jobId:
|
|
687
|
+
jobId: z23.string().optional(),
|
|
770
688
|
/** Remote job status from the Dev Machine API (PENDING, RUNNING, COMPLETED, FAILED, CANCELLED) */
|
|
771
|
-
jobStatus:
|
|
689
|
+
jobStatus: z23.string().optional(),
|
|
772
690
|
/** Remote job error message if the job failed */
|
|
773
|
-
jobError:
|
|
691
|
+
jobError: z23.string().optional(),
|
|
774
692
|
/** Timestamp of the last job status check */
|
|
775
|
-
jobStatusCheckedAt:
|
|
693
|
+
jobStatusCheckedAt: z23.string().optional()
|
|
776
694
|
});
|
|
777
695
|
var CreateEvalRunInputSchema = EvalRunSchema.omit({
|
|
778
696
|
id: true,
|
|
@@ -785,32 +703,119 @@ var CreateEvalRunInputSchema = EvalRunSchema.omit({
|
|
|
785
703
|
startedAt: true,
|
|
786
704
|
completedAt: true
|
|
787
705
|
});
|
|
788
|
-
var EvaluationProgressSchema =
|
|
789
|
-
runId:
|
|
790
|
-
targetId:
|
|
791
|
-
totalScenarios:
|
|
792
|
-
completedScenarios:
|
|
793
|
-
scenarioProgress:
|
|
794
|
-
|
|
795
|
-
scenarioId:
|
|
796
|
-
currentStep:
|
|
797
|
-
error:
|
|
706
|
+
var EvaluationProgressSchema = z23.object({
|
|
707
|
+
runId: z23.string(),
|
|
708
|
+
targetId: z23.string(),
|
|
709
|
+
totalScenarios: z23.number(),
|
|
710
|
+
completedScenarios: z23.number(),
|
|
711
|
+
scenarioProgress: z23.array(
|
|
712
|
+
z23.object({
|
|
713
|
+
scenarioId: z23.string(),
|
|
714
|
+
currentStep: z23.string(),
|
|
715
|
+
error: z23.string().optional()
|
|
798
716
|
})
|
|
799
717
|
),
|
|
800
|
-
createdAt:
|
|
718
|
+
createdAt: z23.number()
|
|
801
719
|
});
|
|
802
|
-
var EvaluationLogSchema =
|
|
803
|
-
runId:
|
|
804
|
-
scenarioId:
|
|
805
|
-
log:
|
|
806
|
-
level:
|
|
807
|
-
message:
|
|
808
|
-
args:
|
|
809
|
-
error:
|
|
720
|
+
var EvaluationLogSchema = z23.object({
|
|
721
|
+
runId: z23.string(),
|
|
722
|
+
scenarioId: z23.string(),
|
|
723
|
+
log: z23.object({
|
|
724
|
+
level: z23.enum(["info", "error", "debug"]),
|
|
725
|
+
message: z23.string().optional(),
|
|
726
|
+
args: z23.array(z23.any()).optional(),
|
|
727
|
+
error: z23.string().optional()
|
|
810
728
|
})
|
|
811
729
|
});
|
|
812
730
|
var LLM_TIMEOUT = 12e4;
|
|
813
731
|
|
|
732
|
+
// src/evaluation/eval-result.ts
|
|
733
|
+
var AssertionResultStatus = /* @__PURE__ */ ((AssertionResultStatus2) => {
|
|
734
|
+
AssertionResultStatus2["PASSED"] = "passed";
|
|
735
|
+
AssertionResultStatus2["FAILED"] = "failed";
|
|
736
|
+
AssertionResultStatus2["SKIPPED"] = "skipped";
|
|
737
|
+
AssertionResultStatus2["ERROR"] = "error";
|
|
738
|
+
return AssertionResultStatus2;
|
|
739
|
+
})(AssertionResultStatus || {});
|
|
740
|
+
var AssertionResultSchema = z24.object({
|
|
741
|
+
id: z24.string(),
|
|
742
|
+
assertionId: z24.string(),
|
|
743
|
+
assertionType: z24.string(),
|
|
744
|
+
assertionName: z24.string(),
|
|
745
|
+
status: z24.enum(AssertionResultStatus),
|
|
746
|
+
message: z24.string().optional(),
|
|
747
|
+
expected: z24.string().optional(),
|
|
748
|
+
actual: z24.string().optional(),
|
|
749
|
+
duration: z24.number().optional(),
|
|
750
|
+
details: z24.record(z24.string(), z24.unknown()).optional(),
|
|
751
|
+
llmTraceSteps: z24.array(LLMTraceStepSchema).optional()
|
|
752
|
+
});
|
|
753
|
+
var EvalRunResultSchema = z24.object({
|
|
754
|
+
id: z24.string(),
|
|
755
|
+
targetId: z24.string(),
|
|
756
|
+
targetName: z24.string().optional(),
|
|
757
|
+
scenarioId: z24.string(),
|
|
758
|
+
scenarioName: z24.string(),
|
|
759
|
+
modelConfig: ModelConfigSchema.optional(),
|
|
760
|
+
assertionResults: z24.array(AssertionResultSchema),
|
|
761
|
+
metrics: EvalMetricsSchema.optional(),
|
|
762
|
+
passed: z24.number(),
|
|
763
|
+
failed: z24.number(),
|
|
764
|
+
passRate: z24.number(),
|
|
765
|
+
duration: z24.number(),
|
|
766
|
+
outputText: z24.string().optional(),
|
|
767
|
+
files: z24.array(ExpectedFileSchema).optional(),
|
|
768
|
+
/** File diffs showing changes made by the agent during execution */
|
|
769
|
+
fileDiffs: z24.array(DiffContentSchema).optional(),
|
|
770
|
+
startedAt: z24.string().optional(),
|
|
771
|
+
completedAt: z24.string().optional(),
|
|
772
|
+
llmTrace: LLMTraceSchema.optional()
|
|
773
|
+
});
|
|
774
|
+
var PromptResultSchema = z24.object({
|
|
775
|
+
text: z24.string(),
|
|
776
|
+
files: z24.array(z24.unknown()).optional(),
|
|
777
|
+
finishReason: z24.string().optional(),
|
|
778
|
+
reasoning: z24.string().optional(),
|
|
779
|
+
reasoningDetails: z24.unknown().optional(),
|
|
780
|
+
toolCalls: z24.array(z24.unknown()).optional(),
|
|
781
|
+
toolResults: z24.array(z24.unknown()).optional(),
|
|
782
|
+
warnings: z24.array(z24.unknown()).optional(),
|
|
783
|
+
sources: z24.array(z24.unknown()).optional(),
|
|
784
|
+
steps: z24.array(z24.unknown()),
|
|
785
|
+
generationTimeMs: z24.number(),
|
|
786
|
+
prompt: z24.string(),
|
|
787
|
+
systemPrompt: z24.string(),
|
|
788
|
+
usage: z24.object({
|
|
789
|
+
totalTokens: z24.number().optional(),
|
|
790
|
+
totalMicrocentsSpent: z24.number().optional()
|
|
791
|
+
})
|
|
792
|
+
});
|
|
793
|
+
var EvaluationResultSchema = z24.object({
|
|
794
|
+
id: z24.string(),
|
|
795
|
+
runId: z24.string(),
|
|
796
|
+
timestamp: z24.number(),
|
|
797
|
+
promptResult: PromptResultSchema,
|
|
798
|
+
testResults: z24.array(z24.unknown()),
|
|
799
|
+
tags: z24.array(z24.string()).optional(),
|
|
800
|
+
feedback: z24.string().optional(),
|
|
801
|
+
score: z24.number(),
|
|
802
|
+
suiteId: z24.string().optional()
|
|
803
|
+
});
|
|
804
|
+
var LeanEvaluationResultSchema = z24.object({
|
|
805
|
+
id: z24.string(),
|
|
806
|
+
runId: z24.string(),
|
|
807
|
+
timestamp: z24.number(),
|
|
808
|
+
tags: z24.array(z24.string()).optional(),
|
|
809
|
+
scenarioId: z24.string(),
|
|
810
|
+
scenarioVersion: z24.number().optional(),
|
|
811
|
+
targetId: z24.string(),
|
|
812
|
+
targetVersion: z24.number().optional(),
|
|
813
|
+
suiteId: z24.string().optional(),
|
|
814
|
+
score: z24.number(),
|
|
815
|
+
time: z24.number().optional(),
|
|
816
|
+
microcentsSpent: z24.number().optional()
|
|
817
|
+
});
|
|
818
|
+
|
|
814
819
|
// src/project/project.ts
|
|
815
820
|
import { z as z25 } from "zod";
|
|
816
821
|
var ProjectSchema = BaseEntitySchema.extend({
|