ppef 1.3.1 → 1.5.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 +27 -1
- package/dist/executor/__tests__/run-id.unit.test.js +41 -1
- package/dist/executor/__tests__/run-id.unit.test.js.map +1 -1
- package/dist/executor/index.d.ts +1 -1
- package/dist/executor/index.d.ts.map +1 -1
- package/dist/executor/index.js +1 -1
- package/dist/executor/index.js.map +1 -1
- package/dist/executor/run-id.d.ts +20 -2
- package/dist/executor/run-id.d.ts.map +1 -1
- package/dist/executor/run-id.js +54 -12
- package/dist/executor/run-id.js.map +1 -1
- package/dist/schemas/output-schemas.d.ts +924 -0
- package/dist/schemas/output-schemas.d.ts.map +1 -0
- package/dist/schemas/output-schemas.js +611 -0
- package/dist/schemas/output-schemas.js.map +1 -0
- package/dist/types/result.d.ts +2 -2
- package/dist/types/result.d.ts.map +1 -1
- package/package.json +1 -1
- package/ppef.schema.json +3365 -479
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output-schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/output-schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgBxB;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;EASc,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;iBAe2C,CAAC;AAEzE;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;iBAWyC,CAAC;AAE9E;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;iBASkD,CAAC;AAchF;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;iBAciD,CAAC;AAElF;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;+FAM8D,CAAC;AAE/F;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;iBA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AC;AAEJ;;GAEG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqBtC,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiBxC,CAAC;AAMJ;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;iBAiB8C,CAAC;AAEnF;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;iBAaxC,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAexC,CAAC;AAMJ;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;;iBASyD,CAAC;AAE7F;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;iBAclC,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;iBAY/B,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;;;iBAQkD,CAAC;AAEvF;;GAEG;AACH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAwB5C,CAAC"}
|
|
@@ -0,0 +1,611 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Output Type Zod Schemas
|
|
3
|
+
*
|
|
4
|
+
* Zod schemas for all PPEF output types. These are used by the JSON Schema
|
|
5
|
+
* generation pipeline to produce $defs in ppef.schema.json, enabling
|
|
6
|
+
* cross-language validation of PPEF output files.
|
|
7
|
+
*
|
|
8
|
+
* These schemas mirror the TypeScript interfaces in src/types/ but provide
|
|
9
|
+
* runtime validation and JSON Schema generation capabilities.
|
|
10
|
+
*/
|
|
11
|
+
import { z } from "zod";
|
|
12
|
+
import { SutRoleSchema } from "../cli/types.js";
|
|
13
|
+
import { ComparisonDirectionSchema, ValidityScopeSchema } from "../cli/evaluator-schemas.js";
|
|
14
|
+
// ============================================================================
|
|
15
|
+
// Shared Primitives
|
|
16
|
+
// ============================================================================
|
|
17
|
+
const PrimitiveSchema = z.union([z.string(), z.number(), z.boolean(), z.null()]);
|
|
18
|
+
const PrimitiveArraySchema = z.union([PrimitiveSchema, z.array(PrimitiveSchema)]);
|
|
19
|
+
// ============================================================================
|
|
20
|
+
// Result Types (src/types/result.ts)
|
|
21
|
+
// ============================================================================
|
|
22
|
+
/**
|
|
23
|
+
* Failure type enum.
|
|
24
|
+
*/
|
|
25
|
+
export const FailureTypeSchema = z
|
|
26
|
+
.enum([
|
|
27
|
+
"no_output",
|
|
28
|
+
"invalid_structure",
|
|
29
|
+
"constraint_violation",
|
|
30
|
+
"exception",
|
|
31
|
+
"oracle_mismatch",
|
|
32
|
+
"timeout",
|
|
33
|
+
])
|
|
34
|
+
.describe("Category of evaluation failure");
|
|
35
|
+
/**
|
|
36
|
+
* Run identity and context.
|
|
37
|
+
*/
|
|
38
|
+
export const RunContextSchema = z
|
|
39
|
+
.object({
|
|
40
|
+
runId: z.string().describe("Deterministic run ID (hash of inputs)"),
|
|
41
|
+
sut: z.string().describe("SUT identifier"),
|
|
42
|
+
sutRole: SutRoleSchema,
|
|
43
|
+
sutVersion: z.string().optional().describe("SUT version for reproducibility"),
|
|
44
|
+
caseId: z.string().describe("Case identifier"),
|
|
45
|
+
caseClass: z.string().optional().describe("Case class for grouping"),
|
|
46
|
+
config: z
|
|
47
|
+
.record(z.string(), PrimitiveSchema)
|
|
48
|
+
.optional()
|
|
49
|
+
.describe("Configuration overrides for this run"),
|
|
50
|
+
seed: z.number().optional().describe("Random seed if applicable"),
|
|
51
|
+
repetition: z.number().int().optional().describe("Repetition number for statistical runs"),
|
|
52
|
+
})
|
|
53
|
+
.meta({ title: "RunContext", description: "Run identity and context" });
|
|
54
|
+
/**
|
|
55
|
+
* Correctness assessment.
|
|
56
|
+
*/
|
|
57
|
+
export const CorrectnessResultSchema = z
|
|
58
|
+
.object({
|
|
59
|
+
expectedExists: z.boolean().describe("Whether expected output exists (oracle available)"),
|
|
60
|
+
producedOutput: z.boolean().describe("Whether the SUT produced any output"),
|
|
61
|
+
valid: z.boolean().describe("Whether output is structurally valid"),
|
|
62
|
+
matchesExpected: z
|
|
63
|
+
.union([z.boolean(), z.null()])
|
|
64
|
+
.describe("Whether output matches expected (null if no oracle)"),
|
|
65
|
+
failureType: FailureTypeSchema.optional().describe("Failure classification if applicable"),
|
|
66
|
+
notes: z.array(z.string()).optional().describe("Human-readable failure notes"),
|
|
67
|
+
})
|
|
68
|
+
.meta({ title: "CorrectnessResult", description: "Correctness assessment" });
|
|
69
|
+
/**
|
|
70
|
+
* A ranked item for ranking tasks.
|
|
71
|
+
*/
|
|
72
|
+
export const RankedItemSchema = z
|
|
73
|
+
.object({
|
|
74
|
+
itemId: z.string().describe("Item identifier"),
|
|
75
|
+
score: z.number().describe("Score or rank value"),
|
|
76
|
+
metadata: z
|
|
77
|
+
.record(z.string(), PrimitiveSchema)
|
|
78
|
+
.optional()
|
|
79
|
+
.describe("Optional additional metadata"),
|
|
80
|
+
})
|
|
81
|
+
.meta({ title: "RankedItem", description: "A ranked item for ranking tasks" });
|
|
82
|
+
/**
|
|
83
|
+
* Artefact reference.
|
|
84
|
+
*/
|
|
85
|
+
const ArtefactReferenceSchema = z
|
|
86
|
+
.object({
|
|
87
|
+
type: z.enum(["graph", "path-set", "subgraph", "embedding", "other"]),
|
|
88
|
+
uri: z.string(),
|
|
89
|
+
hash: z.string().optional(),
|
|
90
|
+
metadata: z.record(z.string(), PrimitiveSchema).optional(),
|
|
91
|
+
})
|
|
92
|
+
.meta({ title: "ArtefactReference", description: "Reference to an external artefact" });
|
|
93
|
+
/**
|
|
94
|
+
* Output artefacts and summaries.
|
|
95
|
+
*/
|
|
96
|
+
export const ResultOutputsSchema = z
|
|
97
|
+
.object({
|
|
98
|
+
summary: z
|
|
99
|
+
.record(z.string(), PrimitiveArraySchema)
|
|
100
|
+
.optional()
|
|
101
|
+
.describe("Scalar summary values"),
|
|
102
|
+
labels: z.record(z.string(), PrimitiveSchema).optional().describe("Classification labels"),
|
|
103
|
+
ranking: z.array(RankedItemSchema).optional().describe("Ranking results"),
|
|
104
|
+
artefacts: z
|
|
105
|
+
.array(ArtefactReferenceSchema)
|
|
106
|
+
.optional()
|
|
107
|
+
.describe("References to generated artefacts"),
|
|
108
|
+
extra: z.record(z.string(), z.unknown()).optional().describe("Additional untyped outputs"),
|
|
109
|
+
})
|
|
110
|
+
.meta({ title: "ResultOutputs", description: "Output artefacts and summaries" });
|
|
111
|
+
/**
|
|
112
|
+
* Numeric metrics collected during evaluation.
|
|
113
|
+
*/
|
|
114
|
+
export const ResultMetricsSchema = z
|
|
115
|
+
.object({
|
|
116
|
+
numeric: z.record(z.string(), z.number()).describe("Primary numeric metrics"),
|
|
117
|
+
extra: z.record(z.string(), z.number()).optional().describe("Additional metrics (overflow)"),
|
|
118
|
+
})
|
|
119
|
+
.catchall(z.union([z.number(), z.record(z.string(), z.number())]))
|
|
120
|
+
.meta({ title: "ResultMetrics", description: "Numeric metrics collected during evaluation" });
|
|
121
|
+
/**
|
|
122
|
+
* Provenance information for reproducibility.
|
|
123
|
+
*/
|
|
124
|
+
export const ProvenanceSchema = z
|
|
125
|
+
.object({
|
|
126
|
+
runtime: z
|
|
127
|
+
.object({
|
|
128
|
+
platform: z.string().describe("Operating system platform"),
|
|
129
|
+
arch: z.string().describe("CPU architecture"),
|
|
130
|
+
})
|
|
131
|
+
.catchall(z.string())
|
|
132
|
+
.describe("Execution environment (platform and arch required; additional fields are language-specific)"),
|
|
133
|
+
gitCommit: z.string().optional().describe("Git commit hash"),
|
|
134
|
+
dirty: z.boolean().optional().describe("Whether working directory had uncommitted changes"),
|
|
135
|
+
dependencyLockHash: z
|
|
136
|
+
.string()
|
|
137
|
+
.optional()
|
|
138
|
+
.describe("Hash of package-lock.json for dependency pinning"),
|
|
139
|
+
parentRunIds: z.array(z.string()).optional().describe("Parent run IDs (for derived results)"),
|
|
140
|
+
timestamp: z.string().optional().describe("Execution timestamp"),
|
|
141
|
+
executionTimeMs: z.number().optional().describe("Wall-clock execution time in milliseconds"),
|
|
142
|
+
peakMemoryBytes: z.number().optional().describe("Peak memory usage during execution (bytes)"),
|
|
143
|
+
finalMemoryBytes: z.number().optional().describe("Memory usage at completion (bytes)"),
|
|
144
|
+
})
|
|
145
|
+
.meta({ title: "Provenance", description: "Provenance information for reproducibility" });
|
|
146
|
+
/**
|
|
147
|
+
* Complete evaluation result.
|
|
148
|
+
*/
|
|
149
|
+
export const EvaluationResultSchema = z
|
|
150
|
+
.object({
|
|
151
|
+
run: RunContextSchema.describe("Run identity and context"),
|
|
152
|
+
correctness: CorrectnessResultSchema.describe("Correctness assessment"),
|
|
153
|
+
outputs: ResultOutputsSchema.describe("Output artefacts and summaries"),
|
|
154
|
+
metrics: ResultMetricsSchema.describe("Numeric metrics"),
|
|
155
|
+
provenance: ProvenanceSchema.describe("Provenance for reproducibility"),
|
|
156
|
+
error: z.string().optional().describe("Error message if the run failed"),
|
|
157
|
+
})
|
|
158
|
+
.meta({ title: "EvaluationResult", description: "Complete evaluation result" });
|
|
159
|
+
/**
|
|
160
|
+
* Batch of evaluation results.
|
|
161
|
+
*/
|
|
162
|
+
export const ResultBatchSchema = z
|
|
163
|
+
.object({
|
|
164
|
+
version: z.string().describe("Schema version"),
|
|
165
|
+
timestamp: z.string().describe("Generation timestamp"),
|
|
166
|
+
results: z.array(EvaluationResultSchema).describe("All results in this batch"),
|
|
167
|
+
metadata: z
|
|
168
|
+
.record(z.string(), PrimitiveSchema)
|
|
169
|
+
.optional()
|
|
170
|
+
.describe("Optional batch-level metadata"),
|
|
171
|
+
})
|
|
172
|
+
.meta({ title: "ResultBatch", description: "Batch of evaluation results" });
|
|
173
|
+
// ============================================================================
|
|
174
|
+
// Aggregate Types (src/types/aggregate.ts)
|
|
175
|
+
// ============================================================================
|
|
176
|
+
/**
|
|
177
|
+
* Summary statistics for a numeric metric.
|
|
178
|
+
*/
|
|
179
|
+
export const SummaryStatsSchema = z
|
|
180
|
+
.object({
|
|
181
|
+
n: z.number().int().describe("Number of observations"),
|
|
182
|
+
mean: z.number().describe("Arithmetic mean"),
|
|
183
|
+
median: z.number().describe("Median (50th percentile)"),
|
|
184
|
+
min: z.number().describe("Minimum value"),
|
|
185
|
+
max: z.number().describe("Maximum value"),
|
|
186
|
+
std: z.number().optional().describe("Standard deviation (sample)"),
|
|
187
|
+
confidence95: z
|
|
188
|
+
.tuple([z.number(), z.number()])
|
|
189
|
+
.optional()
|
|
190
|
+
.describe("95% confidence interval [lower, upper]"),
|
|
191
|
+
sum: z.number().optional().describe("Sum of all values"),
|
|
192
|
+
p25: z.number().optional().describe("25th percentile"),
|
|
193
|
+
p75: z.number().optional().describe("75th percentile"),
|
|
194
|
+
})
|
|
195
|
+
.meta({ title: "SummaryStats", description: "Summary statistics for a numeric metric" });
|
|
196
|
+
/**
|
|
197
|
+
* Comparison metrics between primary and baseline SUTs.
|
|
198
|
+
*/
|
|
199
|
+
export const ComparisonMetricsSchema = z
|
|
200
|
+
.object({
|
|
201
|
+
deltas: z.record(z.string(), z.number()).describe("Absolute deltas (primary - baseline)"),
|
|
202
|
+
ratios: z.record(z.string(), z.number()).describe("Ratios (primary / baseline)"),
|
|
203
|
+
betterRate: z
|
|
204
|
+
.number()
|
|
205
|
+
.optional()
|
|
206
|
+
.describe("Win rate (% of cases where primary beats baseline)"),
|
|
207
|
+
uStatistic: z.number().optional().describe("Mann-Whitney U statistic"),
|
|
208
|
+
pValue: z.number().optional().describe("Statistical significance (p-value)"),
|
|
209
|
+
effectSize: z.number().optional().describe("Effect size (Cohen's d)"),
|
|
210
|
+
})
|
|
211
|
+
.meta({
|
|
212
|
+
title: "ComparisonMetrics",
|
|
213
|
+
description: "Comparison metrics between primary and baseline SUTs",
|
|
214
|
+
});
|
|
215
|
+
/**
|
|
216
|
+
* Coverage information for the aggregation.
|
|
217
|
+
*/
|
|
218
|
+
export const CoverageMetricsSchema = z
|
|
219
|
+
.object({
|
|
220
|
+
caseCoverage: z.number().describe("Fraction of cases covered"),
|
|
221
|
+
metricCoverage: z
|
|
222
|
+
.record(z.string(), z.number())
|
|
223
|
+
.describe("Metric availability (metric name -> coverage fraction)"),
|
|
224
|
+
missingCases: z.array(z.string()).optional().describe("Missing case IDs"),
|
|
225
|
+
})
|
|
226
|
+
.meta({ title: "CoverageMetrics", description: "Coverage information for the aggregation" });
|
|
227
|
+
/**
|
|
228
|
+
* Aggregated result for a SUT.
|
|
229
|
+
*/
|
|
230
|
+
export const AggregatedResultSchema = z
|
|
231
|
+
.object({
|
|
232
|
+
sut: z.string().describe("SUT identifier"),
|
|
233
|
+
sutRole: SutRoleSchema,
|
|
234
|
+
caseClass: z.string().optional().describe("Case class (if grouped)"),
|
|
235
|
+
group: z.object({
|
|
236
|
+
runCount: z.number().int().describe("Number of runs in this aggregate"),
|
|
237
|
+
caseCount: z.number().int().describe("Number of unique cases"),
|
|
238
|
+
configHash: z.string().optional().describe("Hash of configuration"),
|
|
239
|
+
}),
|
|
240
|
+
correctness: z.object({
|
|
241
|
+
validRate: z.number().describe("Fraction of runs that produced valid output"),
|
|
242
|
+
producedOutputRate: z.number().describe("Fraction of runs that produced any output"),
|
|
243
|
+
matchesExpectedRate: z.number().optional().describe("Fraction of runs matching expected"),
|
|
244
|
+
failureBreakdown: z
|
|
245
|
+
.record(z.string(), z.number())
|
|
246
|
+
.optional()
|
|
247
|
+
.describe("Breakdown of failure types"),
|
|
248
|
+
}),
|
|
249
|
+
metrics: z
|
|
250
|
+
.record(z.string(), SummaryStatsSchema)
|
|
251
|
+
.describe("Aggregated metrics (metric name -> summary stats)"),
|
|
252
|
+
comparisons: z
|
|
253
|
+
.record(z.string(), ComparisonMetricsSchema)
|
|
254
|
+
.optional()
|
|
255
|
+
.describe("Comparisons with baselines"),
|
|
256
|
+
coverage: CoverageMetricsSchema.optional().describe("Coverage information"),
|
|
257
|
+
metadata: z.record(z.string(), PrimitiveSchema).optional().describe("Additional metadata"),
|
|
258
|
+
})
|
|
259
|
+
.meta({ title: "AggregatedResult", description: "Aggregated result for a SUT" });
|
|
260
|
+
/**
|
|
261
|
+
* Complete aggregation output.
|
|
262
|
+
*/
|
|
263
|
+
export const AggregationOutputSchema = z
|
|
264
|
+
.object({
|
|
265
|
+
version: z.string().describe("Schema version"),
|
|
266
|
+
timestamp: z.string().describe("Generation timestamp"),
|
|
267
|
+
aggregates: z.array(AggregatedResultSchema).describe("Aggregated results"),
|
|
268
|
+
metadata: z
|
|
269
|
+
.object({
|
|
270
|
+
totalRuns: z.number().int().describe("Total runs processed"),
|
|
271
|
+
totalCases: z.number().int().describe("Total unique cases"),
|
|
272
|
+
sutsIncluded: z.array(z.string()).describe("SUTs included"),
|
|
273
|
+
caseClassesIncluded: z.array(z.string()).optional().describe("Case classes included"),
|
|
274
|
+
})
|
|
275
|
+
.optional()
|
|
276
|
+
.describe("Global metadata"),
|
|
277
|
+
})
|
|
278
|
+
.meta({ title: "AggregationOutput", description: "Complete aggregation output" });
|
|
279
|
+
// ============================================================================
|
|
280
|
+
// Claims Types (src/types/claims.ts)
|
|
281
|
+
// ============================================================================
|
|
282
|
+
/**
|
|
283
|
+
* Evidence supporting a claim evaluation.
|
|
284
|
+
*/
|
|
285
|
+
export const ClaimEvidenceSchema = z
|
|
286
|
+
.object({
|
|
287
|
+
primaryValue: z.number().describe("Primary SUT metric value"),
|
|
288
|
+
baselineValue: z.number().describe("Baseline SUT metric value"),
|
|
289
|
+
delta: z.number().describe("Absolute delta (primary - baseline)"),
|
|
290
|
+
ratio: z.number().describe("Ratio (primary / baseline)"),
|
|
291
|
+
pValue: z.number().optional().describe("P-value from statistical test"),
|
|
292
|
+
effectSize: z.number().optional().describe("Effect size (Cohen's d)"),
|
|
293
|
+
n: z.number().int().optional().describe("Number of observations"),
|
|
294
|
+
deltaCI95: z
|
|
295
|
+
.tuple([z.number(), z.number()])
|
|
296
|
+
.optional()
|
|
297
|
+
.describe("95% confidence interval for delta"),
|
|
298
|
+
})
|
|
299
|
+
.meta({ title: "ClaimEvidence", description: "Evidence supporting a claim evaluation" });
|
|
300
|
+
/**
|
|
301
|
+
* Claim status.
|
|
302
|
+
*/
|
|
303
|
+
export const ClaimStatusSchema = z
|
|
304
|
+
.enum(["satisfied", "violated", "inconclusive"])
|
|
305
|
+
.describe("Status of a claim evaluation");
|
|
306
|
+
/**
|
|
307
|
+
* An evaluation claim (hypothesis) — output form.
|
|
308
|
+
*/
|
|
309
|
+
export const EvaluationClaimOutputSchema = z
|
|
310
|
+
.object({
|
|
311
|
+
claimId: z.string().describe("Unique identifier for this claim"),
|
|
312
|
+
description: z.string().describe("Human-readable description"),
|
|
313
|
+
sut: z.string().describe("Primary SUT being evaluated"),
|
|
314
|
+
baseline: z.string().describe("Baseline SUT for comparison"),
|
|
315
|
+
metric: z.string().describe("Metric being compared"),
|
|
316
|
+
direction: ComparisonDirectionSchema,
|
|
317
|
+
threshold: z.number().optional().describe("Optional threshold for the difference"),
|
|
318
|
+
scope: ValidityScopeSchema,
|
|
319
|
+
scopeConstraints: z
|
|
320
|
+
.record(z.string(), z.union([PrimitiveSchema, z.array(PrimitiveSchema)]))
|
|
321
|
+
.optional()
|
|
322
|
+
.describe("Scope constraints"),
|
|
323
|
+
significanceLevel: z.number().optional().describe("Required significance level"),
|
|
324
|
+
minEffectSize: z.number().optional().describe("Minimum effect size"),
|
|
325
|
+
tags: z.array(z.string()).optional().describe("Tags for filtering"),
|
|
326
|
+
citation: z.string().optional().describe("Citation/reference for the claim"),
|
|
327
|
+
})
|
|
328
|
+
.meta({ title: "EvaluationClaimOutput", description: "An evaluation claim (hypothesis)" });
|
|
329
|
+
/**
|
|
330
|
+
* Result of evaluating a single claim.
|
|
331
|
+
*/
|
|
332
|
+
export const ClaimEvaluationSchema = z
|
|
333
|
+
.object({
|
|
334
|
+
claim: EvaluationClaimOutputSchema.describe("The claim being evaluated"),
|
|
335
|
+
status: ClaimStatusSchema,
|
|
336
|
+
evidence: ClaimEvidenceSchema.describe("Supporting evidence"),
|
|
337
|
+
inconclusiveReason: z.string().optional().describe("Reason for inconclusive status"),
|
|
338
|
+
notes: z.array(z.string()).optional().describe("Additional notes"),
|
|
339
|
+
})
|
|
340
|
+
.meta({ title: "ClaimEvaluation", description: "Result of evaluating a single claim" });
|
|
341
|
+
/**
|
|
342
|
+
* Summary of all claim evaluations.
|
|
343
|
+
*/
|
|
344
|
+
export const ClaimEvaluationSummarySchema = z
|
|
345
|
+
.object({
|
|
346
|
+
version: z.string().describe("Schema version"),
|
|
347
|
+
timestamp: z.string().describe("Generation timestamp"),
|
|
348
|
+
evaluations: z.array(ClaimEvaluationSchema).describe("Individual claim evaluations"),
|
|
349
|
+
summary: z.object({
|
|
350
|
+
total: z.number().int().describe("Total claims evaluated"),
|
|
351
|
+
satisfied: z.number().int().describe("Claims satisfied"),
|
|
352
|
+
violated: z.number().int().describe("Claims violated"),
|
|
353
|
+
inconclusive: z.number().int().describe("Claims inconclusive"),
|
|
354
|
+
satisfactionRate: z
|
|
355
|
+
.number()
|
|
356
|
+
.describe("Satisfaction rate (satisfied / (satisfied + violated))"),
|
|
357
|
+
}),
|
|
358
|
+
})
|
|
359
|
+
.meta({
|
|
360
|
+
title: "ClaimEvaluationSummary",
|
|
361
|
+
description: "Summary of all claim evaluations",
|
|
362
|
+
});
|
|
363
|
+
// ============================================================================
|
|
364
|
+
// Metrics Evaluator Output Types (src/types/evaluator.ts)
|
|
365
|
+
// ============================================================================
|
|
366
|
+
/**
|
|
367
|
+
* Metrics criterion type.
|
|
368
|
+
*/
|
|
369
|
+
const MetricsCriterionTypeSchema = z
|
|
370
|
+
.enum(["threshold", "baseline", "target-range"])
|
|
371
|
+
.describe("Type of metrics criterion");
|
|
372
|
+
/**
|
|
373
|
+
* Threshold operator.
|
|
374
|
+
*/
|
|
375
|
+
const ThresholdOperatorSchema = z
|
|
376
|
+
.enum(["gt", "gte", "lt", "lte", "eq"])
|
|
377
|
+
.describe("Comparison operator");
|
|
378
|
+
/**
|
|
379
|
+
* A single metrics criterion (output form).
|
|
380
|
+
*/
|
|
381
|
+
export const MetricsCriterionOutputSchema = z
|
|
382
|
+
.object({
|
|
383
|
+
criterionId: z.string().describe("Unique identifier"),
|
|
384
|
+
description: z.string().describe("Human-readable description"),
|
|
385
|
+
type: MetricsCriterionTypeSchema,
|
|
386
|
+
metric: z.string().describe("Metric to evaluate"),
|
|
387
|
+
sut: z.string().describe('SUT to evaluate (or "*" for all SUTs)'),
|
|
388
|
+
threshold: z
|
|
389
|
+
.object({
|
|
390
|
+
operator: ThresholdOperatorSchema,
|
|
391
|
+
value: z.number(),
|
|
392
|
+
})
|
|
393
|
+
.optional(),
|
|
394
|
+
baseline: z
|
|
395
|
+
.object({
|
|
396
|
+
sut: z.string(),
|
|
397
|
+
operator: ThresholdOperatorSchema,
|
|
398
|
+
})
|
|
399
|
+
.optional(),
|
|
400
|
+
targetRange: z
|
|
401
|
+
.object({
|
|
402
|
+
min: z.number().optional(),
|
|
403
|
+
max: z.number().optional(),
|
|
404
|
+
minInclusive: z.boolean().optional(),
|
|
405
|
+
maxInclusive: z.boolean().optional(),
|
|
406
|
+
})
|
|
407
|
+
.optional(),
|
|
408
|
+
scopeConstraints: z
|
|
409
|
+
.object({
|
|
410
|
+
caseClass: z.union([z.string(), z.array(z.string())]).optional(),
|
|
411
|
+
})
|
|
412
|
+
.optional(),
|
|
413
|
+
tags: z.array(z.string()).optional(),
|
|
414
|
+
})
|
|
415
|
+
.meta({
|
|
416
|
+
title: "MetricsCriterionOutput",
|
|
417
|
+
description: "A metrics evaluation criterion",
|
|
418
|
+
});
|
|
419
|
+
/**
|
|
420
|
+
* Result of evaluating a single metrics criterion.
|
|
421
|
+
*/
|
|
422
|
+
export const MetricsCriterionResultSchema = z
|
|
423
|
+
.object({
|
|
424
|
+
criterion: MetricsCriterionOutputSchema,
|
|
425
|
+
status: z.enum(["pass", "fail", "inconclusive"]),
|
|
426
|
+
observed: z.array(z.object({
|
|
427
|
+
sut: z.string(),
|
|
428
|
+
value: z.number(),
|
|
429
|
+
})),
|
|
430
|
+
expected: z.object({
|
|
431
|
+
type: MetricsCriterionTypeSchema,
|
|
432
|
+
threshold: z.number().optional(),
|
|
433
|
+
baselineValue: z.number().optional(),
|
|
434
|
+
targetRange: z.object({ min: z.number().optional(), max: z.number().optional() }).optional(),
|
|
435
|
+
}),
|
|
436
|
+
inconclusiveReason: z.string().optional(),
|
|
437
|
+
})
|
|
438
|
+
.meta({
|
|
439
|
+
title: "MetricsCriterionResult",
|
|
440
|
+
description: "Result of evaluating a single metrics criterion",
|
|
441
|
+
});
|
|
442
|
+
/**
|
|
443
|
+
* Summary of metrics evaluation.
|
|
444
|
+
*/
|
|
445
|
+
export const MetricsEvaluationSummarySchema = z
|
|
446
|
+
.object({
|
|
447
|
+
version: z.string().describe("Schema version"),
|
|
448
|
+
timestamp: z.string().describe("Generation timestamp"),
|
|
449
|
+
results: z.array(MetricsCriterionResultSchema).describe("Individual criterion results"),
|
|
450
|
+
summary: z.object({
|
|
451
|
+
total: z.number().int().describe("Total criteria evaluated"),
|
|
452
|
+
passed: z.number().int().describe("Criteria passed"),
|
|
453
|
+
failed: z.number().int().describe("Criteria failed"),
|
|
454
|
+
inconclusive: z.number().int().describe("Criteria inconclusive"),
|
|
455
|
+
passRate: z.number().describe("Overall pass rate"),
|
|
456
|
+
passRateBySut: z.record(z.string(), z.number()).describe("Pass rate by SUT"),
|
|
457
|
+
}),
|
|
458
|
+
})
|
|
459
|
+
.meta({
|
|
460
|
+
title: "MetricsEvaluationSummary",
|
|
461
|
+
description: "Summary of metrics evaluation",
|
|
462
|
+
});
|
|
463
|
+
// ============================================================================
|
|
464
|
+
// Robustness Types (src/types/perturbation.ts)
|
|
465
|
+
// ============================================================================
|
|
466
|
+
/**
|
|
467
|
+
* Robustness metrics.
|
|
468
|
+
*/
|
|
469
|
+
export const RobustnessMetricsSchema = z
|
|
470
|
+
.object({
|
|
471
|
+
varianceUnderPerturbation: z.number(),
|
|
472
|
+
stdUnderPerturbation: z.number(),
|
|
473
|
+
coefficientOfVariation: z.number(),
|
|
474
|
+
rankingStability: z.number().optional(),
|
|
475
|
+
degradationCurve: z
|
|
476
|
+
.array(z.object({
|
|
477
|
+
perturbationLevel: z.number(),
|
|
478
|
+
metricValue: z.number(),
|
|
479
|
+
stdDev: z.number().optional(),
|
|
480
|
+
}))
|
|
481
|
+
.optional(),
|
|
482
|
+
breakpoint: z.number().optional(),
|
|
483
|
+
})
|
|
484
|
+
.meta({ title: "RobustnessMetrics", description: "Robustness analysis metrics" });
|
|
485
|
+
/**
|
|
486
|
+
* Result of robustness analysis for a single SUT.
|
|
487
|
+
*/
|
|
488
|
+
export const RobustnessAnalysisResultSchema = z
|
|
489
|
+
.object({
|
|
490
|
+
sut: z.string(),
|
|
491
|
+
caseClass: z.string().optional(),
|
|
492
|
+
perturbation: z.string(),
|
|
493
|
+
metric: z.string(),
|
|
494
|
+
robustness: RobustnessMetricsSchema,
|
|
495
|
+
baselineValue: z.number(),
|
|
496
|
+
runCount: z.number().int(),
|
|
497
|
+
})
|
|
498
|
+
.meta({
|
|
499
|
+
title: "RobustnessAnalysisResult",
|
|
500
|
+
description: "Result of robustness analysis for a single SUT",
|
|
501
|
+
});
|
|
502
|
+
/**
|
|
503
|
+
* Complete robustness analysis output.
|
|
504
|
+
*/
|
|
505
|
+
export const RobustnessAnalysisOutputSchema = z
|
|
506
|
+
.object({
|
|
507
|
+
version: z.string().describe("Schema version"),
|
|
508
|
+
timestamp: z.string().describe("Generation timestamp"),
|
|
509
|
+
results: z.array(RobustnessAnalysisResultSchema).describe("Individual analysis results"),
|
|
510
|
+
config: z.object({
|
|
511
|
+
perturbations: z.array(z.string()).describe("Perturbations applied"),
|
|
512
|
+
metrics: z.array(z.string()).describe("Metrics analyzed"),
|
|
513
|
+
intensityLevels: z.array(z.number()).optional().describe("Intensity levels tested"),
|
|
514
|
+
runsPerLevel: z.number().int().describe("Runs per perturbation level"),
|
|
515
|
+
}),
|
|
516
|
+
})
|
|
517
|
+
.meta({
|
|
518
|
+
title: "RobustnessAnalysisOutput",
|
|
519
|
+
description: "Complete robustness analysis output",
|
|
520
|
+
});
|
|
521
|
+
// ============================================================================
|
|
522
|
+
// Exploratory Evaluator Output Types (src/types/evaluator.ts)
|
|
523
|
+
// ============================================================================
|
|
524
|
+
/**
|
|
525
|
+
* Ranking of a SUT for a specific metric.
|
|
526
|
+
*/
|
|
527
|
+
export const SutMetricRankingSchema = z
|
|
528
|
+
.object({
|
|
529
|
+
sut: z.string(),
|
|
530
|
+
mean: z.number(),
|
|
531
|
+
median: z.number(),
|
|
532
|
+
std: z.number().optional(),
|
|
533
|
+
rank: z.number().int(),
|
|
534
|
+
n: z.number().int(),
|
|
535
|
+
})
|
|
536
|
+
.meta({ title: "SutMetricRanking", description: "Ranking of a SUT for a specific metric" });
|
|
537
|
+
/**
|
|
538
|
+
* Pairwise comparison between two SUTs.
|
|
539
|
+
*/
|
|
540
|
+
export const PairwiseComparisonSchema = z
|
|
541
|
+
.object({
|
|
542
|
+
sutA: z.string(),
|
|
543
|
+
sutB: z.string(),
|
|
544
|
+
metric: z.string(),
|
|
545
|
+
delta: z.number(),
|
|
546
|
+
ratio: z.number(),
|
|
547
|
+
pValue: z.number().optional(),
|
|
548
|
+
effectSize: z.number().optional(),
|
|
549
|
+
significant: z.boolean(),
|
|
550
|
+
})
|
|
551
|
+
.meta({
|
|
552
|
+
title: "PairwiseComparison",
|
|
553
|
+
description: "Pairwise comparison between two SUTs",
|
|
554
|
+
});
|
|
555
|
+
/**
|
|
556
|
+
* Effect of a case class on SUT performance.
|
|
557
|
+
*/
|
|
558
|
+
export const CaseClassEffectSchema = z
|
|
559
|
+
.object({
|
|
560
|
+
caseClass: z.string(),
|
|
561
|
+
sut: z.string(),
|
|
562
|
+
metric: z.string(),
|
|
563
|
+
deviationFromMean: z.number(),
|
|
564
|
+
percentageDeviation: z.number().optional(),
|
|
565
|
+
significant: z.boolean(),
|
|
566
|
+
})
|
|
567
|
+
.meta({
|
|
568
|
+
title: "CaseClassEffect",
|
|
569
|
+
description: "Effect of a case class on SUT performance",
|
|
570
|
+
});
|
|
571
|
+
/**
|
|
572
|
+
* Correlation between two metrics.
|
|
573
|
+
*/
|
|
574
|
+
export const MetricCorrelationSchema = z
|
|
575
|
+
.object({
|
|
576
|
+
metricA: z.string(),
|
|
577
|
+
metricB: z.string(),
|
|
578
|
+
pearsonR: z.number(),
|
|
579
|
+
spearmanRho: z.number().optional(),
|
|
580
|
+
interpretation: z.string(),
|
|
581
|
+
})
|
|
582
|
+
.meta({ title: "MetricCorrelation", description: "Correlation between two metrics" });
|
|
583
|
+
/**
|
|
584
|
+
* Summary of exploratory evaluation results.
|
|
585
|
+
*/
|
|
586
|
+
export const ExploratoryEvaluationSummarySchema = z
|
|
587
|
+
.object({
|
|
588
|
+
version: z.string().describe("Schema version"),
|
|
589
|
+
timestamp: z.string().describe("Generation timestamp"),
|
|
590
|
+
rankings: z
|
|
591
|
+
.record(z.string(), z.array(SutMetricRankingSchema))
|
|
592
|
+
.describe("SUT rankings per metric"),
|
|
593
|
+
pairwiseComparisons: z
|
|
594
|
+
.array(PairwiseComparisonSchema)
|
|
595
|
+
.describe("Pairwise comparisons between SUTs"),
|
|
596
|
+
caseClassEffects: z.array(CaseClassEffectSchema).optional().describe("Case-class effects"),
|
|
597
|
+
metricCorrelations: z.array(MetricCorrelationSchema).optional().describe("Metric correlations"),
|
|
598
|
+
summary: z.object({
|
|
599
|
+
sutsAnalyzed: z.number().int(),
|
|
600
|
+
metricsAnalyzed: z.number().int(),
|
|
601
|
+
pairwiseComparisonsCount: z.number().int(),
|
|
602
|
+
significantDifferences: z.number().int(),
|
|
603
|
+
caseClassesAnalyzed: z.number().int().optional(),
|
|
604
|
+
bestSutPerMetric: z.record(z.string(), z.string()),
|
|
605
|
+
}),
|
|
606
|
+
})
|
|
607
|
+
.meta({
|
|
608
|
+
title: "ExploratoryEvaluationSummary",
|
|
609
|
+
description: "Summary of exploratory evaluation results",
|
|
610
|
+
});
|
|
611
|
+
//# sourceMappingURL=output-schemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output-schemas.js","sourceRoot":"","sources":["../../src/schemas/output-schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAE7F,+EAA+E;AAC/E,oBAAoB;AACpB,+EAA+E;AAE/E,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;AACjF,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,eAAe,EAAE,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;AAElF,+EAA+E;AAC/E,qCAAqC;AACrC,+EAA+E;AAE/E;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC;KAChC,IAAI,CAAC;IACL,WAAW;IACX,mBAAmB;IACnB,sBAAsB;IACtB,WAAW;IACX,iBAAiB;IACjB,SAAS;CACT,CAAC;KACD,QAAQ,CAAC,gCAAgC,CAAC,CAAC;AAE7C;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC;KAC/B,MAAM,CAAC;IACP,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,uCAAuC,CAAC;IACnE,GAAG,EAAE,CAAC,CA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|
* Provenance information for reproducibility.
|
|
96
96
|
*/
|
|
97
97
|
export interface Provenance {
|
|
98
|
-
/** Execution environment */
|
|
98
|
+
/** Execution environment (platform and arch required; additional fields are language-specific) */
|
|
99
99
|
runtime: {
|
|
100
100
|
platform: string;
|
|
101
101
|
arch: string;
|
|
102
|
-
|
|
102
|
+
[key: string]: string;
|
|
103
103
|
};
|
|
104
104
|
/** Git commit hash */
|
|
105
105
|
gitCommit?: string;
|