spec-controller 0.1.119 → 0.1.121
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/cli.js +31 -26
- package/dist/spec-reconciliation.schema.json +1098 -0
- package/package.json +3 -2
package/dist/cli.js
CHANGED
|
@@ -11788,6 +11788,9 @@ var init_scenarios = __esm({
|
|
|
11788
11788
|
});
|
|
11789
11789
|
|
|
11790
11790
|
// ../core/dist/domain/journal.js
|
|
11791
|
+
function fallbackQualityCheckOf(kind) {
|
|
11792
|
+
return FALLBACK_QUALITY_CHECK[kind];
|
|
11793
|
+
}
|
|
11791
11794
|
function qualityChecksPostedAt(tagNames, fallbackQualityCheck) {
|
|
11792
11795
|
const qualityChecks = [];
|
|
11793
11796
|
for (const name of tagNames) {
|
|
@@ -11827,11 +11830,15 @@ function evidenceOfRunResult(result) {
|
|
|
11827
11830
|
function isFitnessObservation(observation) {
|
|
11828
11831
|
return observation.qualityCheck === "fitness";
|
|
11829
11832
|
}
|
|
11830
|
-
var QUALITY_CHECKS, TIERS;
|
|
11833
|
+
var QUALITY_CHECKS, FALLBACK_QUALITY_CHECK, TIERS;
|
|
11831
11834
|
var init_journal = __esm({
|
|
11832
11835
|
"../core/dist/domain/journal.js"() {
|
|
11833
11836
|
"use strict";
|
|
11834
11837
|
QUALITY_CHECKS = ["fitness", "unit", "integration", "e2e", "performance"];
|
|
11838
|
+
FALLBACK_QUALITY_CHECK = {
|
|
11839
|
+
"test-results": "unit",
|
|
11840
|
+
"scenario-runs": "integration"
|
|
11841
|
+
};
|
|
11835
11842
|
TIERS = new Set(QUALITY_CHECKS.filter((qualityCheck) => qualityCheck !== "fitness" && qualityCheck !== "unit"));
|
|
11836
11843
|
}
|
|
11837
11844
|
});
|
|
@@ -12541,7 +12548,8 @@ var init_scnCitation = __esm({
|
|
|
12541
12548
|
});
|
|
12542
12549
|
|
|
12543
12550
|
// ../core/dist/parse/vitest.js
|
|
12544
|
-
function parseVitestEvidenceObservations(report,
|
|
12551
|
+
function parseVitestEvidenceObservations(report, root) {
|
|
12552
|
+
const qualityCheck = fallbackQualityCheckOf("test-results");
|
|
12545
12553
|
const results = [];
|
|
12546
12554
|
for (const file of report.testResults ?? []) {
|
|
12547
12555
|
const locator = file.name && relativizeToRoot(file.name, root);
|
|
@@ -12593,13 +12601,14 @@ var init_vitest = __esm({
|
|
|
12593
12601
|
});
|
|
12594
12602
|
|
|
12595
12603
|
// ../core/dist/parse/pytest.js
|
|
12596
|
-
function parseJunitEvidenceObservations(report
|
|
12597
|
-
return observationsOf(report,
|
|
12604
|
+
function parseJunitEvidenceObservations(report) {
|
|
12605
|
+
return observationsOf(report, "failed");
|
|
12598
12606
|
}
|
|
12599
|
-
function parsePytestEvidenceObservations(report
|
|
12600
|
-
return observationsOf(report,
|
|
12607
|
+
function parsePytestEvidenceObservations(report) {
|
|
12608
|
+
return observationsOf(report, "never-reached-its-assertions");
|
|
12601
12609
|
}
|
|
12602
|
-
function observationsOf(report,
|
|
12610
|
+
function observationsOf(report, errorResult) {
|
|
12611
|
+
const qualityCheck = fallbackQualityCheckOf("test-results");
|
|
12603
12612
|
return (report.testsuites?.testsuite ?? []).flatMap((suite) => (suite.testcase ?? []).flatMap((testcase) => {
|
|
12604
12613
|
const evidence = evidenceOfRunResult(runResultOf2(testcase, errorResult));
|
|
12605
12614
|
return evidence === void 0 ? [] : [observationOf(suite, testcase, evidence, qualityCheck)];
|
|
@@ -12711,7 +12720,8 @@ var init_pytest = __esm({
|
|
|
12711
12720
|
});
|
|
12712
12721
|
|
|
12713
12722
|
// ../core/dist/parse/rspec.js
|
|
12714
|
-
function parseRspecEvidenceObservations(report,
|
|
12723
|
+
function parseRspecEvidenceObservations(report, root) {
|
|
12724
|
+
const qualityCheck = fallbackQualityCheckOf("test-results");
|
|
12715
12725
|
const results = [];
|
|
12716
12726
|
for (const example of report.examples ?? []) {
|
|
12717
12727
|
const evidence = evidenceOfRunResult(runResultOf3(example.status));
|
|
@@ -12776,13 +12786,13 @@ function ambiguousNote(step) {
|
|
|
12776
12786
|
const text = `${(step.keyword ?? "").trim()} ${step.name ?? ""}`.trim();
|
|
12777
12787
|
return text.length > 0 ? { kind: "ambiguous-step", step: text } : { kind: "ambiguous-step" };
|
|
12778
12788
|
}
|
|
12779
|
-
function parseCucumberEvidenceObservations(report,
|
|
12789
|
+
function parseCucumberEvidenceObservations(report, root) {
|
|
12780
12790
|
const results = [];
|
|
12781
12791
|
for (const feature of report) {
|
|
12782
12792
|
const named = feature.uri ?? feature.name;
|
|
12783
12793
|
const locator = named && relativizeToRoot(named, root);
|
|
12784
12794
|
for (const scenario of feature.elements ?? []) {
|
|
12785
|
-
results.push(...scenarioObservations(scenario, locator
|
|
12795
|
+
results.push(...scenarioObservations(scenario, locator));
|
|
12786
12796
|
}
|
|
12787
12797
|
}
|
|
12788
12798
|
return results;
|
|
@@ -12790,8 +12800,9 @@ function parseCucumberEvidenceObservations(report, fallbackQualityCheck, root) {
|
|
|
12790
12800
|
function citedCodesOf(tagNames) {
|
|
12791
12801
|
return tagNames.map((name) => SCN_TAG.exec(name)).filter((m) => m !== null).map((m) => m[1]);
|
|
12792
12802
|
}
|
|
12793
|
-
function scenarioObservations(scenario, locator
|
|
12803
|
+
function scenarioObservations(scenario, locator) {
|
|
12794
12804
|
const tagNames = (scenario.tags ?? []).map((t) => withoutSigil(t.name ?? ""));
|
|
12805
|
+
const qualityChecks = qualityChecksPostedAt(tagNames, fallbackQualityCheckOf("scenario-runs"));
|
|
12795
12806
|
const { scnId, severalCodes } = attributionOf(citedCodesOf(tagNames));
|
|
12796
12807
|
const severalNotes = severalCodes ? [{ kind: "several-scn-codes", codes: severalCodes }] : [];
|
|
12797
12808
|
const steps = scenario.steps ?? [];
|
|
@@ -12801,7 +12812,7 @@ function scenarioObservations(scenario, locator, fallbackQualityCheck) {
|
|
|
12801
12812
|
if (evidence.broken) {
|
|
12802
12813
|
const ambiguous = steps.find(isAmbiguous);
|
|
12803
12814
|
return [{
|
|
12804
|
-
qualityCheck:
|
|
12815
|
+
qualityCheck: qualityChecks[0],
|
|
12805
12816
|
scnId,
|
|
12806
12817
|
status: evidence.status,
|
|
12807
12818
|
locator,
|
|
@@ -12809,7 +12820,7 @@ function scenarioObservations(scenario, locator, fallbackQualityCheck) {
|
|
|
12809
12820
|
notes: [ambiguousNote(ambiguous), ...severalNotes]
|
|
12810
12821
|
}];
|
|
12811
12822
|
}
|
|
12812
|
-
return
|
|
12823
|
+
return qualityChecks.map((level) => ({
|
|
12813
12824
|
qualityCheck: level,
|
|
12814
12825
|
scnId,
|
|
12815
12826
|
status: evidence.status,
|
|
@@ -29510,7 +29521,7 @@ function runReconcile(reports, root, corpus, workflows) {
|
|
|
29510
29521
|
reconcilerInvocation: RECONCILER_INVOCATION
|
|
29511
29522
|
});
|
|
29512
29523
|
}
|
|
29513
|
-
var
|
|
29524
|
+
var RECONCILER_INVOCATION, DEFAULT_CI_PATH, DEFAULT_PACKAGE_JSON, OBSERVATION_READERS;
|
|
29514
29525
|
var init_ingestQualityChecks = __esm({
|
|
29515
29526
|
"src/ingest/ingestQualityChecks.ts"() {
|
|
29516
29527
|
"use strict";
|
|
@@ -29524,22 +29535,16 @@ var init_ingestQualityChecks = __esm({
|
|
|
29524
29535
|
init_dist3();
|
|
29525
29536
|
init_dist3();
|
|
29526
29537
|
init_dist3();
|
|
29527
|
-
VITEST_QUALITY_CHECK = "unit";
|
|
29528
|
-
PYTEST_QUALITY_CHECK = "unit";
|
|
29529
|
-
JEST_QUALITY_CHECK = "unit";
|
|
29530
|
-
JUNIT_QUALITY_CHECK = "unit";
|
|
29531
|
-
RSPEC_QUALITY_CHECK = "unit";
|
|
29532
|
-
CUCUMBER_QUALITY_CHECK = "integration";
|
|
29533
29538
|
RECONCILER_INVOCATION = "spec-controller balance";
|
|
29534
29539
|
DEFAULT_CI_PATH = ".github/workflows";
|
|
29535
29540
|
DEFAULT_PACKAGE_JSON = "package.json";
|
|
29536
29541
|
OBSERVATION_READERS = {
|
|
29537
|
-
vitest: (report, root) => parseVitestEvidenceObservations(report,
|
|
29538
|
-
pytest: (report) => parsePytestEvidenceObservations(report
|
|
29539
|
-
jest: (report, root) => parseVitestEvidenceObservations(report,
|
|
29540
|
-
junit: (report) => parseJunitEvidenceObservations(report
|
|
29541
|
-
rspec: (report, root) => parseRspecEvidenceObservations(report,
|
|
29542
|
-
cucumber: (report, root) => parseCucumberEvidenceObservations(report,
|
|
29542
|
+
vitest: (report, root) => parseVitestEvidenceObservations(report, root),
|
|
29543
|
+
pytest: (report) => parsePytestEvidenceObservations(report),
|
|
29544
|
+
jest: (report, root) => parseVitestEvidenceObservations(report, root),
|
|
29545
|
+
junit: (report) => parseJunitEvidenceObservations(report),
|
|
29546
|
+
rspec: (report, root) => parseRspecEvidenceObservations(report, root),
|
|
29547
|
+
cucumber: (report, root) => parseCucumberEvidenceObservations(report, root)
|
|
29543
29548
|
};
|
|
29544
29549
|
}
|
|
29545
29550
|
});
|
|
@@ -0,0 +1,1098 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/RenderInput",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"RenderInput": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"runProvenance": {
|
|
9
|
+
"$ref": "#/definitions/ProvenanceObject"
|
|
10
|
+
},
|
|
11
|
+
"summary": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"additionalProperties": false,
|
|
14
|
+
"properties": {
|
|
15
|
+
"runVerdict": {
|
|
16
|
+
"$ref": "#/definitions/RunVerdict"
|
|
17
|
+
},
|
|
18
|
+
"stepAccounting": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"additionalProperties": false,
|
|
21
|
+
"properties": {
|
|
22
|
+
"everyStepAccountedFor": {
|
|
23
|
+
"type": "boolean"
|
|
24
|
+
},
|
|
25
|
+
"stepsRead": {
|
|
26
|
+
"type": "number"
|
|
27
|
+
},
|
|
28
|
+
"candidates": {
|
|
29
|
+
"type": "number"
|
|
30
|
+
},
|
|
31
|
+
"runners": {
|
|
32
|
+
"type": "number"
|
|
33
|
+
},
|
|
34
|
+
"reconciler": {
|
|
35
|
+
"type": "number"
|
|
36
|
+
},
|
|
37
|
+
"excluded": {
|
|
38
|
+
"type": "number"
|
|
39
|
+
},
|
|
40
|
+
"plumbing": {
|
|
41
|
+
"type": "number"
|
|
42
|
+
},
|
|
43
|
+
"accountedFor": {
|
|
44
|
+
"type": "number"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"required": [
|
|
48
|
+
"accountedFor",
|
|
49
|
+
"candidates",
|
|
50
|
+
"everyStepAccountedFor",
|
|
51
|
+
"excluded",
|
|
52
|
+
"reconciler",
|
|
53
|
+
"runners",
|
|
54
|
+
"stepsRead"
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"claimReconciliations": {
|
|
58
|
+
"$ref": "#/definitions/ClaimReconciliationTotals"
|
|
59
|
+
},
|
|
60
|
+
"qualityCheckReconciliations": {
|
|
61
|
+
"$ref": "#/definitions/QualityCheckReconciliationTotals"
|
|
62
|
+
},
|
|
63
|
+
"pending": {
|
|
64
|
+
"type": "number"
|
|
65
|
+
},
|
|
66
|
+
"testVolume": {
|
|
67
|
+
"$ref": "#/definitions/TestVolumeTotals"
|
|
68
|
+
},
|
|
69
|
+
"rawByBehaviouralQualityCheck": {
|
|
70
|
+
"type": "object",
|
|
71
|
+
"properties": {
|
|
72
|
+
"unit": {
|
|
73
|
+
"type": "number"
|
|
74
|
+
},
|
|
75
|
+
"integration": {
|
|
76
|
+
"type": "number"
|
|
77
|
+
},
|
|
78
|
+
"e2e": {
|
|
79
|
+
"type": "number"
|
|
80
|
+
},
|
|
81
|
+
"performance": {
|
|
82
|
+
"type": "number"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"required": [
|
|
86
|
+
"unit",
|
|
87
|
+
"integration",
|
|
88
|
+
"e2e",
|
|
89
|
+
"performance"
|
|
90
|
+
],
|
|
91
|
+
"additionalProperties": false
|
|
92
|
+
},
|
|
93
|
+
"fitnessFunctions": {
|
|
94
|
+
"$ref": "#/definitions/FitnessFunctionTotals"
|
|
95
|
+
},
|
|
96
|
+
"fitness": {
|
|
97
|
+
"$ref": "#/definitions/FitnessTally"
|
|
98
|
+
},
|
|
99
|
+
"behaviouralRunners": {
|
|
100
|
+
"type": "array",
|
|
101
|
+
"items": {
|
|
102
|
+
"$ref": "#/definitions/BehaviouralRunner"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"tiersWithoutRunner": {
|
|
106
|
+
"type": "array",
|
|
107
|
+
"items": {
|
|
108
|
+
"$ref": "#/definitions/TierWithoutRunner"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"runnerKeysNotATier": {
|
|
112
|
+
"type": "array",
|
|
113
|
+
"items": {
|
|
114
|
+
"type": "string"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"configurationOfWrongKind": {
|
|
118
|
+
"type": "array",
|
|
119
|
+
"items": {
|
|
120
|
+
"$ref": "#/definitions/WrongKindEntry"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"configurationKeysNotRead": {
|
|
124
|
+
"type": "array",
|
|
125
|
+
"items": {
|
|
126
|
+
"type": "string"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"excludedSteps": {
|
|
130
|
+
"type": "array",
|
|
131
|
+
"items": {
|
|
132
|
+
"type": "string"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"reconcilerSteps": {
|
|
136
|
+
"type": "array",
|
|
137
|
+
"items": {
|
|
138
|
+
"$ref": "#/definitions/ReconcilerStep"
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"nonChecksMatchingNoStep": {
|
|
142
|
+
"type": "array",
|
|
143
|
+
"items": {
|
|
144
|
+
"type": "string"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"discoveryScope": {
|
|
148
|
+
"type": "array",
|
|
149
|
+
"items": {
|
|
150
|
+
"$ref": "#/definitions/JobDiscoveryScope"
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"required": [
|
|
155
|
+
"claimReconciliations",
|
|
156
|
+
"fitness",
|
|
157
|
+
"pending",
|
|
158
|
+
"qualityCheckReconciliations",
|
|
159
|
+
"runVerdict"
|
|
160
|
+
]
|
|
161
|
+
},
|
|
162
|
+
"ledger": {
|
|
163
|
+
"$ref": "#/definitions/Ledger"
|
|
164
|
+
},
|
|
165
|
+
"scenarioCodeErrors": {
|
|
166
|
+
"type": "array",
|
|
167
|
+
"items": {
|
|
168
|
+
"$ref": "#/definitions/ScenarioCodeError"
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
"scenarioCodePopulation": {
|
|
172
|
+
"$ref": "#/definitions/ScenarioCodePopulation"
|
|
173
|
+
},
|
|
174
|
+
"evidenceObligations": {
|
|
175
|
+
"$ref": "#/definitions/EvidenceObligationsSection"
|
|
176
|
+
},
|
|
177
|
+
"metadata": {
|
|
178
|
+
"$ref": "#/definitions/ReportMetadata"
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"required": [
|
|
182
|
+
"runProvenance",
|
|
183
|
+
"summary",
|
|
184
|
+
"ledger"
|
|
185
|
+
],
|
|
186
|
+
"additionalProperties": false
|
|
187
|
+
},
|
|
188
|
+
"ProvenanceObject": {
|
|
189
|
+
"type": "object",
|
|
190
|
+
"properties": {
|
|
191
|
+
"target": {
|
|
192
|
+
"type": "string"
|
|
193
|
+
},
|
|
194
|
+
"targetOrigin": {
|
|
195
|
+
"type": "string"
|
|
196
|
+
},
|
|
197
|
+
"sourceSha": {
|
|
198
|
+
"type": [
|
|
199
|
+
"string",
|
|
200
|
+
"null"
|
|
201
|
+
]
|
|
202
|
+
},
|
|
203
|
+
"toolSha": {
|
|
204
|
+
"type": [
|
|
205
|
+
"string",
|
|
206
|
+
"null"
|
|
207
|
+
]
|
|
208
|
+
},
|
|
209
|
+
"toolVersion": {
|
|
210
|
+
"type": "string"
|
|
211
|
+
},
|
|
212
|
+
"runTimestamp": {
|
|
213
|
+
"type": "string"
|
|
214
|
+
},
|
|
215
|
+
"inputs": {
|
|
216
|
+
"$ref": "#/definitions/RunInputs"
|
|
217
|
+
},
|
|
218
|
+
"corpus": {
|
|
219
|
+
"type": "string"
|
|
220
|
+
},
|
|
221
|
+
"strict": {
|
|
222
|
+
"type": "boolean"
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"required": [
|
|
226
|
+
"target",
|
|
227
|
+
"sourceSha",
|
|
228
|
+
"toolSha",
|
|
229
|
+
"toolVersion",
|
|
230
|
+
"runTimestamp",
|
|
231
|
+
"inputs",
|
|
232
|
+
"corpus"
|
|
233
|
+
],
|
|
234
|
+
"additionalProperties": false
|
|
235
|
+
},
|
|
236
|
+
"RunInputs": {
|
|
237
|
+
"type": "object",
|
|
238
|
+
"additionalProperties": {
|
|
239
|
+
"type": "string"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
"RunVerdict": {
|
|
243
|
+
"type": "string",
|
|
244
|
+
"enum": [
|
|
245
|
+
"nothing-to-reconcile",
|
|
246
|
+
"unsound",
|
|
247
|
+
"scenario-code-errors",
|
|
248
|
+
"out-of-balance",
|
|
249
|
+
"pending",
|
|
250
|
+
"balanced"
|
|
251
|
+
]
|
|
252
|
+
},
|
|
253
|
+
"ClaimReconciliationTotals": {
|
|
254
|
+
"type": "object",
|
|
255
|
+
"properties": {
|
|
256
|
+
"total": {
|
|
257
|
+
"type": "number"
|
|
258
|
+
},
|
|
259
|
+
"balanced": {
|
|
260
|
+
"type": "number"
|
|
261
|
+
},
|
|
262
|
+
"outOfBalance": {
|
|
263
|
+
"type": "number"
|
|
264
|
+
},
|
|
265
|
+
"phantomClaim": {
|
|
266
|
+
"type": "number"
|
|
267
|
+
},
|
|
268
|
+
"unnamedClaim": {
|
|
269
|
+
"type": "number"
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
"required": [
|
|
273
|
+
"total",
|
|
274
|
+
"balanced",
|
|
275
|
+
"outOfBalance",
|
|
276
|
+
"phantomClaim",
|
|
277
|
+
"unnamedClaim"
|
|
278
|
+
],
|
|
279
|
+
"additionalProperties": false
|
|
280
|
+
},
|
|
281
|
+
"QualityCheckReconciliationTotals": {
|
|
282
|
+
"type": "object",
|
|
283
|
+
"properties": {
|
|
284
|
+
"total": {
|
|
285
|
+
"type": "number"
|
|
286
|
+
},
|
|
287
|
+
"byOutcome": {
|
|
288
|
+
"type": "object",
|
|
289
|
+
"properties": {
|
|
290
|
+
"satisfied": {
|
|
291
|
+
"type": "number"
|
|
292
|
+
},
|
|
293
|
+
"failing": {
|
|
294
|
+
"type": "number"
|
|
295
|
+
},
|
|
296
|
+
"watermelon": {
|
|
297
|
+
"type": "number"
|
|
298
|
+
},
|
|
299
|
+
"missing": {
|
|
300
|
+
"type": "number"
|
|
301
|
+
},
|
|
302
|
+
"cites-unknown-scenario": {
|
|
303
|
+
"type": "number"
|
|
304
|
+
},
|
|
305
|
+
"cites-no-scenario": {
|
|
306
|
+
"type": "number"
|
|
307
|
+
},
|
|
308
|
+
"broken": {
|
|
309
|
+
"type": "number"
|
|
310
|
+
},
|
|
311
|
+
"no-evidence-obligation": {
|
|
312
|
+
"type": "number"
|
|
313
|
+
},
|
|
314
|
+
"no-scn-code": {
|
|
315
|
+
"type": "number"
|
|
316
|
+
},
|
|
317
|
+
"duplicate-scn-code": {
|
|
318
|
+
"type": "number"
|
|
319
|
+
},
|
|
320
|
+
"both-missing": {
|
|
321
|
+
"type": "number"
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
"required": [
|
|
325
|
+
"satisfied",
|
|
326
|
+
"failing",
|
|
327
|
+
"watermelon",
|
|
328
|
+
"missing",
|
|
329
|
+
"cites-unknown-scenario",
|
|
330
|
+
"cites-no-scenario",
|
|
331
|
+
"broken",
|
|
332
|
+
"no-evidence-obligation",
|
|
333
|
+
"no-scn-code",
|
|
334
|
+
"duplicate-scn-code",
|
|
335
|
+
"both-missing"
|
|
336
|
+
],
|
|
337
|
+
"additionalProperties": false
|
|
338
|
+
},
|
|
339
|
+
"outOfBalance": {
|
|
340
|
+
"type": "number"
|
|
341
|
+
},
|
|
342
|
+
"missingByQualityCheck": {
|
|
343
|
+
"type": "array",
|
|
344
|
+
"items": {
|
|
345
|
+
"$ref": "#/definitions/MissingByQualityCheck"
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
"required": [
|
|
350
|
+
"total",
|
|
351
|
+
"byOutcome",
|
|
352
|
+
"outOfBalance",
|
|
353
|
+
"missingByQualityCheck"
|
|
354
|
+
],
|
|
355
|
+
"additionalProperties": false
|
|
356
|
+
},
|
|
357
|
+
"MissingByQualityCheck": {
|
|
358
|
+
"type": "object",
|
|
359
|
+
"properties": {
|
|
360
|
+
"subject": {
|
|
361
|
+
"type": "string"
|
|
362
|
+
},
|
|
363
|
+
"count": {
|
|
364
|
+
"type": "number"
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
"required": [
|
|
368
|
+
"subject",
|
|
369
|
+
"count"
|
|
370
|
+
],
|
|
371
|
+
"additionalProperties": false
|
|
372
|
+
},
|
|
373
|
+
"TestVolumeTotals": {
|
|
374
|
+
"type": "object",
|
|
375
|
+
"properties": {
|
|
376
|
+
"totalEvidenceObservations": {
|
|
377
|
+
"type": "number"
|
|
378
|
+
},
|
|
379
|
+
"onScenario": {
|
|
380
|
+
"type": "number"
|
|
381
|
+
},
|
|
382
|
+
"onPhantomClaim": {
|
|
383
|
+
"type": "number"
|
|
384
|
+
},
|
|
385
|
+
"onUnnamedClaim": {
|
|
386
|
+
"type": "number"
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
"required": [
|
|
390
|
+
"totalEvidenceObservations",
|
|
391
|
+
"onScenario",
|
|
392
|
+
"onPhantomClaim",
|
|
393
|
+
"onUnnamedClaim"
|
|
394
|
+
],
|
|
395
|
+
"additionalProperties": false
|
|
396
|
+
},
|
|
397
|
+
"FitnessFunctionTotals": {
|
|
398
|
+
"type": "object",
|
|
399
|
+
"properties": {
|
|
400
|
+
"runningFitnessFunctionCount": {
|
|
401
|
+
"type": "number"
|
|
402
|
+
},
|
|
403
|
+
"uncitedFitnessFunctionCount": {
|
|
404
|
+
"type": "number"
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
"required": [
|
|
408
|
+
"runningFitnessFunctionCount",
|
|
409
|
+
"uncitedFitnessFunctionCount"
|
|
410
|
+
],
|
|
411
|
+
"additionalProperties": false
|
|
412
|
+
},
|
|
413
|
+
"FitnessTally": {
|
|
414
|
+
"type": "object",
|
|
415
|
+
"properties": {
|
|
416
|
+
"satisfied": {
|
|
417
|
+
"type": "number"
|
|
418
|
+
},
|
|
419
|
+
"total": {
|
|
420
|
+
"type": "number"
|
|
421
|
+
}
|
|
422
|
+
},
|
|
423
|
+
"required": [
|
|
424
|
+
"satisfied",
|
|
425
|
+
"total"
|
|
426
|
+
],
|
|
427
|
+
"additionalProperties": false
|
|
428
|
+
},
|
|
429
|
+
"BehaviouralRunner": {
|
|
430
|
+
"type": "object",
|
|
431
|
+
"properties": {
|
|
432
|
+
"tier": {
|
|
433
|
+
"type": "string"
|
|
434
|
+
},
|
|
435
|
+
"runner": {
|
|
436
|
+
"type": "string"
|
|
437
|
+
},
|
|
438
|
+
"step": {
|
|
439
|
+
"type": "string"
|
|
440
|
+
}
|
|
441
|
+
},
|
|
442
|
+
"required": [
|
|
443
|
+
"tier",
|
|
444
|
+
"runner",
|
|
445
|
+
"step"
|
|
446
|
+
],
|
|
447
|
+
"additionalProperties": false
|
|
448
|
+
},
|
|
449
|
+
"TierWithoutRunner": {
|
|
450
|
+
"type": "object",
|
|
451
|
+
"properties": {
|
|
452
|
+
"tier": {
|
|
453
|
+
"$ref": "#/definitions/BehaviouralQualityCheck"
|
|
454
|
+
},
|
|
455
|
+
"namesNone": {
|
|
456
|
+
"type": "boolean"
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
"required": [
|
|
460
|
+
"tier",
|
|
461
|
+
"namesNone"
|
|
462
|
+
],
|
|
463
|
+
"additionalProperties": false
|
|
464
|
+
},
|
|
465
|
+
"BehaviouralQualityCheck": {
|
|
466
|
+
"type": "string",
|
|
467
|
+
"enum": [
|
|
468
|
+
"unit",
|
|
469
|
+
"integration",
|
|
470
|
+
"e2e",
|
|
471
|
+
"performance"
|
|
472
|
+
]
|
|
473
|
+
},
|
|
474
|
+
"WrongKindEntry": {
|
|
475
|
+
"type": "object",
|
|
476
|
+
"properties": {
|
|
477
|
+
"entry": {
|
|
478
|
+
"type": "string"
|
|
479
|
+
},
|
|
480
|
+
"is": {
|
|
481
|
+
"$ref": "#/definitions/ConfigurationKind"
|
|
482
|
+
},
|
|
483
|
+
"reads": {
|
|
484
|
+
"$ref": "#/definitions/ConfigurationKind"
|
|
485
|
+
}
|
|
486
|
+
},
|
|
487
|
+
"required": [
|
|
488
|
+
"entry",
|
|
489
|
+
"is",
|
|
490
|
+
"reads"
|
|
491
|
+
],
|
|
492
|
+
"additionalProperties": false
|
|
493
|
+
},
|
|
494
|
+
"ConfigurationKind": {
|
|
495
|
+
"type": "string",
|
|
496
|
+
"enum": [
|
|
497
|
+
"list",
|
|
498
|
+
"object",
|
|
499
|
+
"string-or-null",
|
|
500
|
+
"null",
|
|
501
|
+
"string",
|
|
502
|
+
"number",
|
|
503
|
+
"bigint",
|
|
504
|
+
"boolean",
|
|
505
|
+
"symbol",
|
|
506
|
+
"undefined",
|
|
507
|
+
"function"
|
|
508
|
+
]
|
|
509
|
+
},
|
|
510
|
+
"ReconcilerStep": {
|
|
511
|
+
"type": "object",
|
|
512
|
+
"properties": {
|
|
513
|
+
"step": {
|
|
514
|
+
"type": "string"
|
|
515
|
+
},
|
|
516
|
+
"role": {
|
|
517
|
+
"type": "string",
|
|
518
|
+
"enum": [
|
|
519
|
+
"reconciles",
|
|
520
|
+
"records"
|
|
521
|
+
]
|
|
522
|
+
}
|
|
523
|
+
},
|
|
524
|
+
"required": [
|
|
525
|
+
"step",
|
|
526
|
+
"role"
|
|
527
|
+
],
|
|
528
|
+
"additionalProperties": false
|
|
529
|
+
},
|
|
530
|
+
"JobDiscoveryScope": {
|
|
531
|
+
"type": "object",
|
|
532
|
+
"properties": {
|
|
533
|
+
"source": {
|
|
534
|
+
"type": "string"
|
|
535
|
+
},
|
|
536
|
+
"job": {
|
|
537
|
+
"type": "string"
|
|
538
|
+
},
|
|
539
|
+
"steps": {
|
|
540
|
+
"type": "number"
|
|
541
|
+
},
|
|
542
|
+
"candidates": {
|
|
543
|
+
"type": "number"
|
|
544
|
+
}
|
|
545
|
+
},
|
|
546
|
+
"required": [
|
|
547
|
+
"source",
|
|
548
|
+
"job",
|
|
549
|
+
"steps",
|
|
550
|
+
"candidates"
|
|
551
|
+
],
|
|
552
|
+
"additionalProperties": false
|
|
553
|
+
},
|
|
554
|
+
"Ledger": {
|
|
555
|
+
"type": "object",
|
|
556
|
+
"properties": {
|
|
557
|
+
"claimReconciliations": {
|
|
558
|
+
"type": "array",
|
|
559
|
+
"items": {
|
|
560
|
+
"$ref": "#/definitions/ClaimReconciliation"
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
},
|
|
564
|
+
"required": [
|
|
565
|
+
"claimReconciliations"
|
|
566
|
+
],
|
|
567
|
+
"additionalProperties": false
|
|
568
|
+
},
|
|
569
|
+
"ClaimReconciliation": {
|
|
570
|
+
"type": "object",
|
|
571
|
+
"properties": {
|
|
572
|
+
"scnId": {
|
|
573
|
+
"type": "string"
|
|
574
|
+
},
|
|
575
|
+
"kind": {
|
|
576
|
+
"$ref": "#/definitions/ClaimKind"
|
|
577
|
+
},
|
|
578
|
+
"verdict": {
|
|
579
|
+
"$ref": "#/definitions/Verdict"
|
|
580
|
+
},
|
|
581
|
+
"evidenceObservations": {
|
|
582
|
+
"type": "array",
|
|
583
|
+
"items": {
|
|
584
|
+
"$ref": "#/definitions/EvidenceObservation"
|
|
585
|
+
}
|
|
586
|
+
},
|
|
587
|
+
"evidenceObligations": {
|
|
588
|
+
"type": "array",
|
|
589
|
+
"items": {
|
|
590
|
+
"$ref": "#/definitions/EvidenceObligation"
|
|
591
|
+
}
|
|
592
|
+
},
|
|
593
|
+
"qualityCheckReconciliations": {
|
|
594
|
+
"type": "array",
|
|
595
|
+
"items": {
|
|
596
|
+
"$ref": "#/definitions/QualityCheckReconciliation"
|
|
597
|
+
}
|
|
598
|
+
},
|
|
599
|
+
"reconcilingItems": {
|
|
600
|
+
"type": "array",
|
|
601
|
+
"items": {
|
|
602
|
+
"$ref": "#/definitions/QualityCheckReconciliation"
|
|
603
|
+
}
|
|
604
|
+
},
|
|
605
|
+
"pendingItems": {
|
|
606
|
+
"type": "array",
|
|
607
|
+
"items": {
|
|
608
|
+
"$ref": "#/definitions/PendingItem"
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
},
|
|
612
|
+
"required": [
|
|
613
|
+
"scnId",
|
|
614
|
+
"kind",
|
|
615
|
+
"verdict",
|
|
616
|
+
"evidenceObservations",
|
|
617
|
+
"evidenceObligations",
|
|
618
|
+
"qualityCheckReconciliations",
|
|
619
|
+
"reconcilingItems",
|
|
620
|
+
"pendingItems"
|
|
621
|
+
],
|
|
622
|
+
"additionalProperties": false
|
|
623
|
+
},
|
|
624
|
+
"ClaimKind": {
|
|
625
|
+
"type": "string",
|
|
626
|
+
"enum": [
|
|
627
|
+
"scenario",
|
|
628
|
+
"phantom-claim",
|
|
629
|
+
"unnamed-claim"
|
|
630
|
+
]
|
|
631
|
+
},
|
|
632
|
+
"Verdict": {
|
|
633
|
+
"type": "string",
|
|
634
|
+
"enum": [
|
|
635
|
+
"balanced",
|
|
636
|
+
"out-of-balance"
|
|
637
|
+
]
|
|
638
|
+
},
|
|
639
|
+
"EvidenceObservation": {
|
|
640
|
+
"anyOf": [
|
|
641
|
+
{
|
|
642
|
+
"$ref": "#/definitions/BehaviouralEvidenceObservation"
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
"$ref": "#/definitions/FitnessEvidenceObservation"
|
|
646
|
+
}
|
|
647
|
+
]
|
|
648
|
+
},
|
|
649
|
+
"BehaviouralEvidenceObservation": {
|
|
650
|
+
"type": "object",
|
|
651
|
+
"properties": {
|
|
652
|
+
"qualityCheck": {
|
|
653
|
+
"$ref": "#/definitions/BehaviouralQualityCheck"
|
|
654
|
+
},
|
|
655
|
+
"scnId": {
|
|
656
|
+
"type": [
|
|
657
|
+
"string",
|
|
658
|
+
"null"
|
|
659
|
+
]
|
|
660
|
+
},
|
|
661
|
+
"status": {
|
|
662
|
+
"$ref": "#/definitions/EvidenceStatus"
|
|
663
|
+
},
|
|
664
|
+
"locator": {
|
|
665
|
+
"type": "string"
|
|
666
|
+
},
|
|
667
|
+
"broken": {
|
|
668
|
+
"type": "boolean",
|
|
669
|
+
"const": true
|
|
670
|
+
},
|
|
671
|
+
"message": {
|
|
672
|
+
"type": "string"
|
|
673
|
+
},
|
|
674
|
+
"notes": {
|
|
675
|
+
"type": "array",
|
|
676
|
+
"items": {
|
|
677
|
+
"$ref": "#/definitions/ObservationNote"
|
|
678
|
+
}
|
|
679
|
+
},
|
|
680
|
+
"testName": {
|
|
681
|
+
"type": "string"
|
|
682
|
+
}
|
|
683
|
+
},
|
|
684
|
+
"required": [
|
|
685
|
+
"qualityCheck",
|
|
686
|
+
"scnId",
|
|
687
|
+
"status"
|
|
688
|
+
],
|
|
689
|
+
"additionalProperties": false
|
|
690
|
+
},
|
|
691
|
+
"EvidenceStatus": {
|
|
692
|
+
"type": "string",
|
|
693
|
+
"enum": [
|
|
694
|
+
"passed",
|
|
695
|
+
"failed"
|
|
696
|
+
]
|
|
697
|
+
},
|
|
698
|
+
"ObservationNote": {
|
|
699
|
+
"anyOf": [
|
|
700
|
+
{
|
|
701
|
+
"type": "object",
|
|
702
|
+
"properties": {
|
|
703
|
+
"kind": {
|
|
704
|
+
"type": "string",
|
|
705
|
+
"const": "several-scn-codes"
|
|
706
|
+
},
|
|
707
|
+
"codes": {
|
|
708
|
+
"type": "array",
|
|
709
|
+
"items": {
|
|
710
|
+
"type": "string"
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
},
|
|
714
|
+
"required": [
|
|
715
|
+
"kind",
|
|
716
|
+
"codes"
|
|
717
|
+
],
|
|
718
|
+
"additionalProperties": false
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
"type": "object",
|
|
722
|
+
"properties": {
|
|
723
|
+
"kind": {
|
|
724
|
+
"type": "string",
|
|
725
|
+
"const": "ambiguous-step"
|
|
726
|
+
},
|
|
727
|
+
"step": {
|
|
728
|
+
"type": "string"
|
|
729
|
+
}
|
|
730
|
+
},
|
|
731
|
+
"required": [
|
|
732
|
+
"kind"
|
|
733
|
+
],
|
|
734
|
+
"additionalProperties": false
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
"type": "object",
|
|
738
|
+
"properties": {
|
|
739
|
+
"kind": {
|
|
740
|
+
"type": "string",
|
|
741
|
+
"const": "check-step-did-not-run"
|
|
742
|
+
},
|
|
743
|
+
"code": {
|
|
744
|
+
"type": "string"
|
|
745
|
+
},
|
|
746
|
+
"outcome": {
|
|
747
|
+
"type": "string"
|
|
748
|
+
}
|
|
749
|
+
},
|
|
750
|
+
"required": [
|
|
751
|
+
"kind",
|
|
752
|
+
"code"
|
|
753
|
+
],
|
|
754
|
+
"additionalProperties": false
|
|
755
|
+
}
|
|
756
|
+
]
|
|
757
|
+
},
|
|
758
|
+
"FitnessEvidenceObservation": {
|
|
759
|
+
"type": "object",
|
|
760
|
+
"properties": {
|
|
761
|
+
"qualityCheck": {
|
|
762
|
+
"type": "string",
|
|
763
|
+
"const": "fitness"
|
|
764
|
+
},
|
|
765
|
+
"fitnessFunction": {
|
|
766
|
+
"type": "string"
|
|
767
|
+
},
|
|
768
|
+
"scnId": {
|
|
769
|
+
"type": "string"
|
|
770
|
+
},
|
|
771
|
+
"exists": {
|
|
772
|
+
"type": "boolean"
|
|
773
|
+
},
|
|
774
|
+
"enforcedOverRealSource": {
|
|
775
|
+
"type": "boolean"
|
|
776
|
+
},
|
|
777
|
+
"status": {
|
|
778
|
+
"$ref": "#/definitions/EvidenceStatus"
|
|
779
|
+
},
|
|
780
|
+
"broken": {
|
|
781
|
+
"type": "boolean",
|
|
782
|
+
"const": true
|
|
783
|
+
},
|
|
784
|
+
"message": {
|
|
785
|
+
"type": "string"
|
|
786
|
+
},
|
|
787
|
+
"notes": {
|
|
788
|
+
"type": "array",
|
|
789
|
+
"items": {
|
|
790
|
+
"$ref": "#/definitions/ObservationNote"
|
|
791
|
+
}
|
|
792
|
+
},
|
|
793
|
+
"locator": {
|
|
794
|
+
"type": "string"
|
|
795
|
+
}
|
|
796
|
+
},
|
|
797
|
+
"required": [
|
|
798
|
+
"qualityCheck",
|
|
799
|
+
"fitnessFunction",
|
|
800
|
+
"exists",
|
|
801
|
+
"enforcedOverRealSource"
|
|
802
|
+
],
|
|
803
|
+
"additionalProperties": false
|
|
804
|
+
},
|
|
805
|
+
"EvidenceObligation": {
|
|
806
|
+
"type": "object",
|
|
807
|
+
"properties": {
|
|
808
|
+
"qualityCheck": {
|
|
809
|
+
"$ref": "#/definitions/QualityCheck"
|
|
810
|
+
},
|
|
811
|
+
"pending": {
|
|
812
|
+
"type": "boolean"
|
|
813
|
+
}
|
|
814
|
+
},
|
|
815
|
+
"additionalProperties": false
|
|
816
|
+
},
|
|
817
|
+
"QualityCheck": {
|
|
818
|
+
"type": "string",
|
|
819
|
+
"enum": [
|
|
820
|
+
"fitness",
|
|
821
|
+
"unit",
|
|
822
|
+
"integration",
|
|
823
|
+
"e2e",
|
|
824
|
+
"performance"
|
|
825
|
+
]
|
|
826
|
+
},
|
|
827
|
+
"QualityCheckReconciliation": {
|
|
828
|
+
"type": "object",
|
|
829
|
+
"additionalProperties": false,
|
|
830
|
+
"properties": {
|
|
831
|
+
"qualityCheck": {
|
|
832
|
+
"$ref": "#/definitions/QualityCheck"
|
|
833
|
+
},
|
|
834
|
+
"fitnessFunction": {
|
|
835
|
+
"type": "string"
|
|
836
|
+
},
|
|
837
|
+
"outcome": {
|
|
838
|
+
"$ref": "#/definitions/Outcome"
|
|
839
|
+
},
|
|
840
|
+
"evidenceObligation": {
|
|
841
|
+
"$ref": "#/definitions/EvidenceObligation"
|
|
842
|
+
},
|
|
843
|
+
"evidenceObservation": {
|
|
844
|
+
"$ref": "#/definitions/EvidenceObservation"
|
|
845
|
+
},
|
|
846
|
+
"locator": {
|
|
847
|
+
"type": "string"
|
|
848
|
+
},
|
|
849
|
+
"message": {
|
|
850
|
+
"type": "string"
|
|
851
|
+
},
|
|
852
|
+
"notes": {
|
|
853
|
+
"type": "array",
|
|
854
|
+
"items": {
|
|
855
|
+
"$ref": "#/definitions/ObservationNote"
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
},
|
|
859
|
+
"required": [
|
|
860
|
+
"outcome"
|
|
861
|
+
]
|
|
862
|
+
},
|
|
863
|
+
"Outcome": {
|
|
864
|
+
"type": "string",
|
|
865
|
+
"enum": [
|
|
866
|
+
"satisfied",
|
|
867
|
+
"failing",
|
|
868
|
+
"watermelon",
|
|
869
|
+
"missing",
|
|
870
|
+
"cites-unknown-scenario",
|
|
871
|
+
"cites-no-scenario",
|
|
872
|
+
"broken",
|
|
873
|
+
"no-evidence-obligation",
|
|
874
|
+
"no-scn-code",
|
|
875
|
+
"duplicate-scn-code",
|
|
876
|
+
"both-missing"
|
|
877
|
+
]
|
|
878
|
+
},
|
|
879
|
+
"PendingItem": {
|
|
880
|
+
"type": "object",
|
|
881
|
+
"properties": {
|
|
882
|
+
"qualityCheck": {
|
|
883
|
+
"$ref": "#/definitions/QualityCheck"
|
|
884
|
+
}
|
|
885
|
+
},
|
|
886
|
+
"additionalProperties": false
|
|
887
|
+
},
|
|
888
|
+
"ScenarioCodeError": {
|
|
889
|
+
"anyOf": [
|
|
890
|
+
{
|
|
891
|
+
"type": "object",
|
|
892
|
+
"properties": {
|
|
893
|
+
"kind": {
|
|
894
|
+
"type": "string",
|
|
895
|
+
"const": "duplicate-feature-code"
|
|
896
|
+
},
|
|
897
|
+
"featureCode": {
|
|
898
|
+
"type": "string"
|
|
899
|
+
},
|
|
900
|
+
"files": {
|
|
901
|
+
"type": "array",
|
|
902
|
+
"items": {
|
|
903
|
+
"type": "string"
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
},
|
|
907
|
+
"required": [
|
|
908
|
+
"kind",
|
|
909
|
+
"featureCode",
|
|
910
|
+
"files"
|
|
911
|
+
],
|
|
912
|
+
"additionalProperties": false
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
"$ref": "#/definitions/ForeignScnCodeError"
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
"type": "object",
|
|
919
|
+
"properties": {
|
|
920
|
+
"kind": {
|
|
921
|
+
"type": "string",
|
|
922
|
+
"const": "no-feature-code"
|
|
923
|
+
},
|
|
924
|
+
"files": {
|
|
925
|
+
"type": "array",
|
|
926
|
+
"items": {
|
|
927
|
+
"type": "string"
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
},
|
|
931
|
+
"required": [
|
|
932
|
+
"kind",
|
|
933
|
+
"files"
|
|
934
|
+
],
|
|
935
|
+
"additionalProperties": false
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
"type": "object",
|
|
939
|
+
"properties": {
|
|
940
|
+
"kind": {
|
|
941
|
+
"type": "string",
|
|
942
|
+
"const": "several-scn-codes"
|
|
943
|
+
},
|
|
944
|
+
"files": {
|
|
945
|
+
"type": "array",
|
|
946
|
+
"items": {
|
|
947
|
+
"type": "string"
|
|
948
|
+
}
|
|
949
|
+
},
|
|
950
|
+
"scenario": {
|
|
951
|
+
"type": "string"
|
|
952
|
+
},
|
|
953
|
+
"codes": {
|
|
954
|
+
"type": "array",
|
|
955
|
+
"items": {
|
|
956
|
+
"type": "string"
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
},
|
|
960
|
+
"required": [
|
|
961
|
+
"kind",
|
|
962
|
+
"files",
|
|
963
|
+
"scenario",
|
|
964
|
+
"codes"
|
|
965
|
+
],
|
|
966
|
+
"additionalProperties": false
|
|
967
|
+
}
|
|
968
|
+
]
|
|
969
|
+
},
|
|
970
|
+
"ForeignScnCodeError": {
|
|
971
|
+
"type": "object",
|
|
972
|
+
"properties": {
|
|
973
|
+
"kind": {
|
|
974
|
+
"type": "string",
|
|
975
|
+
"const": "foreign-scn-code"
|
|
976
|
+
},
|
|
977
|
+
"files": {
|
|
978
|
+
"type": "array",
|
|
979
|
+
"items": {
|
|
980
|
+
"type": "string"
|
|
981
|
+
}
|
|
982
|
+
},
|
|
983
|
+
"featureCode": {
|
|
984
|
+
"type": "string"
|
|
985
|
+
},
|
|
986
|
+
"scnId": {
|
|
987
|
+
"type": "string"
|
|
988
|
+
},
|
|
989
|
+
"namedFeatureCode": {
|
|
990
|
+
"type": "string"
|
|
991
|
+
},
|
|
992
|
+
"namedFeatureFiles": {
|
|
993
|
+
"type": "array",
|
|
994
|
+
"items": {
|
|
995
|
+
"type": "string"
|
|
996
|
+
}
|
|
997
|
+
}
|
|
998
|
+
},
|
|
999
|
+
"required": [
|
|
1000
|
+
"kind",
|
|
1001
|
+
"files",
|
|
1002
|
+
"featureCode",
|
|
1003
|
+
"scnId",
|
|
1004
|
+
"namedFeatureCode",
|
|
1005
|
+
"namedFeatureFiles"
|
|
1006
|
+
],
|
|
1007
|
+
"additionalProperties": false
|
|
1008
|
+
},
|
|
1009
|
+
"ScenarioCodePopulation": {
|
|
1010
|
+
"type": "object",
|
|
1011
|
+
"properties": {
|
|
1012
|
+
"featureFiles": {
|
|
1013
|
+
"type": "number"
|
|
1014
|
+
},
|
|
1015
|
+
"featureCodes": {
|
|
1016
|
+
"type": "number"
|
|
1017
|
+
}
|
|
1018
|
+
},
|
|
1019
|
+
"required": [
|
|
1020
|
+
"featureFiles",
|
|
1021
|
+
"featureCodes"
|
|
1022
|
+
],
|
|
1023
|
+
"additionalProperties": false
|
|
1024
|
+
},
|
|
1025
|
+
"EvidenceObligationsSection": {
|
|
1026
|
+
"type": "object",
|
|
1027
|
+
"properties": {
|
|
1028
|
+
"excludedOccurrences": {
|
|
1029
|
+
"type": "number"
|
|
1030
|
+
},
|
|
1031
|
+
"untaggedScenarios": {
|
|
1032
|
+
"type": "array",
|
|
1033
|
+
"items": {
|
|
1034
|
+
"$ref": "#/definitions/UntaggedScenario"
|
|
1035
|
+
}
|
|
1036
|
+
},
|
|
1037
|
+
"sharedScnCodes": {
|
|
1038
|
+
"type": "array",
|
|
1039
|
+
"items": {
|
|
1040
|
+
"$ref": "#/definitions/SharedScnCode"
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
},
|
|
1044
|
+
"required": [
|
|
1045
|
+
"excludedOccurrences",
|
|
1046
|
+
"untaggedScenarios"
|
|
1047
|
+
],
|
|
1048
|
+
"additionalProperties": false
|
|
1049
|
+
},
|
|
1050
|
+
"UntaggedScenario": {
|
|
1051
|
+
"type": "object",
|
|
1052
|
+
"properties": {
|
|
1053
|
+
"feature": {
|
|
1054
|
+
"type": "string"
|
|
1055
|
+
},
|
|
1056
|
+
"scenario": {
|
|
1057
|
+
"type": "string"
|
|
1058
|
+
}
|
|
1059
|
+
},
|
|
1060
|
+
"required": [
|
|
1061
|
+
"feature",
|
|
1062
|
+
"scenario"
|
|
1063
|
+
],
|
|
1064
|
+
"additionalProperties": false
|
|
1065
|
+
},
|
|
1066
|
+
"SharedScnCode": {
|
|
1067
|
+
"type": "object",
|
|
1068
|
+
"properties": {
|
|
1069
|
+
"scnId": {
|
|
1070
|
+
"type": "string"
|
|
1071
|
+
},
|
|
1072
|
+
"scenarios": {
|
|
1073
|
+
"type": "array",
|
|
1074
|
+
"items": {
|
|
1075
|
+
"$ref": "#/definitions/UntaggedScenario"
|
|
1076
|
+
}
|
|
1077
|
+
}
|
|
1078
|
+
},
|
|
1079
|
+
"required": [
|
|
1080
|
+
"scnId",
|
|
1081
|
+
"scenarios"
|
|
1082
|
+
],
|
|
1083
|
+
"additionalProperties": false
|
|
1084
|
+
},
|
|
1085
|
+
"ReportMetadata": {
|
|
1086
|
+
"type": "object",
|
|
1087
|
+
"properties": {
|
|
1088
|
+
"featureNames": {
|
|
1089
|
+
"type": "object",
|
|
1090
|
+
"additionalProperties": {
|
|
1091
|
+
"type": "string"
|
|
1092
|
+
}
|
|
1093
|
+
}
|
|
1094
|
+
},
|
|
1095
|
+
"additionalProperties": false
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "spec-controller",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.121",
|
|
4
4
|
"description": "Reconcile the behaviour your scenarios name against the evidence that actually ran — the deterministic `balance` CLI.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"reconciliation",
|
|
@@ -24,8 +24,9 @@
|
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"esbuild": "0.28.1",
|
|
26
26
|
"fast-xml-parser": "^5.11.2",
|
|
27
|
+
"ts-json-schema-generator": "^2.9.0",
|
|
27
28
|
"yaml": "^2.9.0",
|
|
28
|
-
"@3f-consulting/spec-controller-core": "0.1.
|
|
29
|
+
"@3f-consulting/spec-controller-core": "0.1.121"
|
|
29
30
|
},
|
|
30
31
|
"publishConfig": {
|
|
31
32
|
"access": "public"
|