spec-controller 0.1.120 → 0.1.122
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 +235 -185
- package/dist/spec-reconciliation.schema.json +282 -284
- package/package.json +2 -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,
|
|
@@ -27767,6 +27778,44 @@ var init_provenance = __esm({
|
|
|
27767
27778
|
}
|
|
27768
27779
|
});
|
|
27769
27780
|
|
|
27781
|
+
// ../core/dist/domain/renderInput.js
|
|
27782
|
+
function scenarioCodesOf2(population, obligations) {
|
|
27783
|
+
if (!population && !obligations)
|
|
27784
|
+
return void 0;
|
|
27785
|
+
return {
|
|
27786
|
+
...population ? { featureFiles: population.featureFiles, featureCodes: population.featureCodes } : {},
|
|
27787
|
+
...obligations ? {
|
|
27788
|
+
excludedOccurrences: obligations.excludedOccurrences,
|
|
27789
|
+
untaggedScenarios: obligations.untaggedScenarios,
|
|
27790
|
+
...nonEmpty("sharedScnCodes", obligations.sharedScnCodes)
|
|
27791
|
+
} : {}
|
|
27792
|
+
};
|
|
27793
|
+
}
|
|
27794
|
+
function errorsOf(scenarioCodeErrors, summary) {
|
|
27795
|
+
const configuration = {
|
|
27796
|
+
...nonEmpty("keysNotRead", summary.configurationKeysNotRead),
|
|
27797
|
+
...nonEmpty("ofWrongKind", summary.configurationOfWrongKind),
|
|
27798
|
+
...nonEmpty("runnerKeysNotATier", summary.runnerKeysNotATier),
|
|
27799
|
+
...nonEmpty("nonChecksMatchingNoStep", summary.nonChecksMatchingNoStep)
|
|
27800
|
+
};
|
|
27801
|
+
const errors = {
|
|
27802
|
+
...nonEmpty("scenarioCodes", scenarioCodeErrors),
|
|
27803
|
+
...Object.keys(configuration).length > 0 ? { configuration } : {}
|
|
27804
|
+
};
|
|
27805
|
+
return Object.keys(errors).length > 0 ? errors : void 0;
|
|
27806
|
+
}
|
|
27807
|
+
function summaryStatingNoFault({ configurationKeysNotRead: _keysNotRead, configurationOfWrongKind: _ofWrongKind, runnerKeysNotATier: _runnerKeysNotATier, nonChecksMatchingNoStep: _nonChecksMatchingNoStep, ...summary }) {
|
|
27808
|
+
return summary;
|
|
27809
|
+
}
|
|
27810
|
+
function nonEmpty(key, entries) {
|
|
27811
|
+
return entries && entries.length > 0 ? { [key]: entries } : {};
|
|
27812
|
+
}
|
|
27813
|
+
var init_renderInput = __esm({
|
|
27814
|
+
"../core/dist/domain/renderInput.js"() {
|
|
27815
|
+
"use strict";
|
|
27816
|
+
}
|
|
27817
|
+
});
|
|
27818
|
+
|
|
27770
27819
|
// ../core/dist/domain/runVerdict.js
|
|
27771
27820
|
function runVerdict(run3) {
|
|
27772
27821
|
if (hasNothingToReconcile(run3.ledger))
|
|
@@ -27798,28 +27847,26 @@ function concludedSummary({ stepAccounting: stepAccounting2, ...summary }, verdi
|
|
|
27798
27847
|
};
|
|
27799
27848
|
}
|
|
27800
27849
|
function assembleRenderInput(evidenceReconciliation, ctx, evidenceObligations2, featureNames) {
|
|
27850
|
+
const errors = errorsOf(evidenceReconciliation.scenarioCodeErrors, evidenceReconciliation.summary);
|
|
27851
|
+
const scenarioCodes = scenarioCodesOf2(evidenceReconciliation.scenarioCodePopulation, evidenceObligations2);
|
|
27801
27852
|
return {
|
|
27802
27853
|
runProvenance: provenanceObject(ctx),
|
|
27803
|
-
...
|
|
27804
|
-
|
|
27854
|
+
...errors ? { errors } : {},
|
|
27855
|
+
...scenarioCodes ? { scenarioCodes } : {},
|
|
27856
|
+
summary: concludedSummary(summaryStatingNoFault(evidenceReconciliation.summary), {
|
|
27805
27857
|
ledger: evidenceReconciliation.ledger,
|
|
27806
27858
|
scenarioCodeErrors: evidenceReconciliation.scenarioCodeErrors,
|
|
27807
27859
|
strict: ctx.strict === true
|
|
27808
27860
|
}),
|
|
27809
|
-
|
|
27810
|
-
evidenceObligations: {
|
|
27811
|
-
excludedOccurrences: evidenceObligations2.excludedOccurrences,
|
|
27812
|
-
untaggedScenarios: evidenceObligations2.untaggedScenarios,
|
|
27813
|
-
...evidenceObligations2.sharedScnCodes && evidenceObligations2.sharedScnCodes.length > 0 ? { sharedScnCodes: evidenceObligations2.sharedScnCodes } : {}
|
|
27814
|
-
}
|
|
27815
|
-
} : {},
|
|
27861
|
+
ledger: evidenceReconciliation.ledger,
|
|
27816
27862
|
...featureNames && featureNames.size > 0 ? { metadata: { featureNames: Object.fromEntries(featureNames) } } : {}
|
|
27817
27863
|
};
|
|
27818
27864
|
}
|
|
27819
|
-
var
|
|
27865
|
+
var init_renderInput2 = __esm({
|
|
27820
27866
|
"../core/dist/assemble/renderInput.js"() {
|
|
27821
27867
|
"use strict";
|
|
27822
27868
|
init_provenance();
|
|
27869
|
+
init_renderInput();
|
|
27823
27870
|
init_runVerdict();
|
|
27824
27871
|
init_uncitedFitnessFunctions();
|
|
27825
27872
|
}
|
|
@@ -28138,13 +28185,13 @@ function assembleSavedReport(saved, strictGiven) {
|
|
|
28138
28185
|
return {
|
|
28139
28186
|
...saved,
|
|
28140
28187
|
runProvenance: { ...saved.runProvenance, strict },
|
|
28141
|
-
summary: concludedSummary(saved.summary, { ledger: saved.ledger, scenarioCodeErrors: saved.
|
|
28188
|
+
summary: concludedSummary(saved.summary, { ledger: saved.ledger, scenarioCodeErrors: saved.errors?.scenarioCodes, strict })
|
|
28142
28189
|
};
|
|
28143
28190
|
}
|
|
28144
28191
|
var init_savedReport = __esm({
|
|
28145
28192
|
"../core/dist/assemble/savedReport.js"() {
|
|
28146
28193
|
"use strict";
|
|
28147
|
-
|
|
28194
|
+
init_renderInput2();
|
|
28148
28195
|
}
|
|
28149
28196
|
});
|
|
28150
28197
|
|
|
@@ -28203,126 +28250,125 @@ var init_messages4 = __esm({
|
|
|
28203
28250
|
CoreMessage2[CoreMessage2["DuplicateScnCodeNotListed"] = 30] = "DuplicateScnCodeNotListed";
|
|
28204
28251
|
CoreMessage2[CoreMessage2["FeatureFileNoun"] = 31] = "FeatureFileNoun";
|
|
28205
28252
|
CoreMessage2[CoreMessage2["FeatureCodeNoun"] = 32] = "FeatureCodeNoun";
|
|
28206
|
-
CoreMessage2[CoreMessage2["
|
|
28207
|
-
CoreMessage2[CoreMessage2["
|
|
28208
|
-
CoreMessage2[CoreMessage2["
|
|
28209
|
-
CoreMessage2[CoreMessage2["
|
|
28210
|
-
CoreMessage2[CoreMessage2["
|
|
28211
|
-
CoreMessage2[CoreMessage2["
|
|
28212
|
-
CoreMessage2[CoreMessage2["
|
|
28213
|
-
CoreMessage2[CoreMessage2["
|
|
28214
|
-
CoreMessage2[CoreMessage2["
|
|
28215
|
-
CoreMessage2[CoreMessage2["
|
|
28216
|
-
CoreMessage2[CoreMessage2["
|
|
28217
|
-
CoreMessage2[CoreMessage2["
|
|
28218
|
-
CoreMessage2[CoreMessage2["
|
|
28219
|
-
CoreMessage2[CoreMessage2["
|
|
28220
|
-
CoreMessage2[CoreMessage2["
|
|
28221
|
-
CoreMessage2[CoreMessage2["
|
|
28222
|
-
CoreMessage2[CoreMessage2["
|
|
28223
|
-
CoreMessage2[CoreMessage2["
|
|
28224
|
-
CoreMessage2[CoreMessage2["
|
|
28225
|
-
CoreMessage2[CoreMessage2["
|
|
28226
|
-
CoreMessage2[CoreMessage2["
|
|
28227
|
-
CoreMessage2[CoreMessage2["
|
|
28228
|
-
CoreMessage2[CoreMessage2["
|
|
28229
|
-
CoreMessage2[CoreMessage2["
|
|
28230
|
-
CoreMessage2[CoreMessage2["
|
|
28231
|
-
CoreMessage2[CoreMessage2["
|
|
28232
|
-
CoreMessage2[CoreMessage2["
|
|
28233
|
-
CoreMessage2[CoreMessage2["
|
|
28234
|
-
CoreMessage2[CoreMessage2["
|
|
28235
|
-
CoreMessage2[CoreMessage2["
|
|
28236
|
-
CoreMessage2[CoreMessage2["
|
|
28237
|
-
CoreMessage2[CoreMessage2["
|
|
28238
|
-
CoreMessage2[CoreMessage2["
|
|
28239
|
-
CoreMessage2[CoreMessage2["
|
|
28240
|
-
CoreMessage2[CoreMessage2["
|
|
28241
|
-
CoreMessage2[CoreMessage2["
|
|
28242
|
-
CoreMessage2[CoreMessage2["
|
|
28243
|
-
CoreMessage2[CoreMessage2["
|
|
28244
|
-
CoreMessage2[CoreMessage2["
|
|
28245
|
-
CoreMessage2[CoreMessage2["
|
|
28246
|
-
CoreMessage2[CoreMessage2["
|
|
28247
|
-
CoreMessage2[CoreMessage2["
|
|
28248
|
-
CoreMessage2[CoreMessage2["
|
|
28249
|
-
CoreMessage2[CoreMessage2["
|
|
28250
|
-
CoreMessage2[CoreMessage2["
|
|
28251
|
-
CoreMessage2[CoreMessage2["
|
|
28252
|
-
CoreMessage2[CoreMessage2["
|
|
28253
|
-
CoreMessage2[CoreMessage2["
|
|
28254
|
-
CoreMessage2[CoreMessage2["
|
|
28255
|
-
CoreMessage2[CoreMessage2["
|
|
28256
|
-
CoreMessage2[CoreMessage2["
|
|
28257
|
-
CoreMessage2[CoreMessage2["
|
|
28258
|
-
CoreMessage2[CoreMessage2["
|
|
28259
|
-
CoreMessage2[CoreMessage2["
|
|
28260
|
-
CoreMessage2[CoreMessage2["
|
|
28261
|
-
CoreMessage2[CoreMessage2["
|
|
28262
|
-
CoreMessage2[CoreMessage2["
|
|
28263
|
-
CoreMessage2[CoreMessage2["
|
|
28264
|
-
CoreMessage2[CoreMessage2["
|
|
28265
|
-
CoreMessage2[CoreMessage2["
|
|
28266
|
-
CoreMessage2[CoreMessage2["
|
|
28267
|
-
CoreMessage2[CoreMessage2["
|
|
28268
|
-
CoreMessage2[CoreMessage2["
|
|
28269
|
-
CoreMessage2[CoreMessage2["
|
|
28270
|
-
CoreMessage2[CoreMessage2["
|
|
28271
|
-
CoreMessage2[CoreMessage2["
|
|
28272
|
-
CoreMessage2[CoreMessage2["
|
|
28273
|
-
CoreMessage2[CoreMessage2["
|
|
28274
|
-
CoreMessage2[CoreMessage2["
|
|
28275
|
-
CoreMessage2[CoreMessage2["
|
|
28276
|
-
CoreMessage2[CoreMessage2["
|
|
28277
|
-
CoreMessage2[CoreMessage2["
|
|
28278
|
-
CoreMessage2[CoreMessage2["
|
|
28279
|
-
CoreMessage2[CoreMessage2["
|
|
28280
|
-
CoreMessage2[CoreMessage2["
|
|
28281
|
-
CoreMessage2[CoreMessage2["
|
|
28282
|
-
CoreMessage2[CoreMessage2["
|
|
28283
|
-
CoreMessage2[CoreMessage2["
|
|
28284
|
-
CoreMessage2[CoreMessage2["
|
|
28285
|
-
CoreMessage2[CoreMessage2["
|
|
28286
|
-
CoreMessage2[CoreMessage2["
|
|
28287
|
-
CoreMessage2[CoreMessage2["
|
|
28288
|
-
CoreMessage2[CoreMessage2["
|
|
28289
|
-
CoreMessage2[CoreMessage2["
|
|
28290
|
-
CoreMessage2[CoreMessage2["
|
|
28291
|
-
CoreMessage2[CoreMessage2["
|
|
28292
|
-
CoreMessage2[CoreMessage2["
|
|
28293
|
-
CoreMessage2[CoreMessage2["
|
|
28294
|
-
CoreMessage2[CoreMessage2["
|
|
28295
|
-
CoreMessage2[CoreMessage2["
|
|
28296
|
-
CoreMessage2[CoreMessage2["
|
|
28297
|
-
CoreMessage2[CoreMessage2["
|
|
28298
|
-
CoreMessage2[CoreMessage2["
|
|
28299
|
-
CoreMessage2[CoreMessage2["
|
|
28300
|
-
CoreMessage2[CoreMessage2["
|
|
28301
|
-
CoreMessage2[CoreMessage2["
|
|
28302
|
-
CoreMessage2[CoreMessage2["
|
|
28303
|
-
CoreMessage2[CoreMessage2["
|
|
28304
|
-
CoreMessage2[CoreMessage2["
|
|
28305
|
-
CoreMessage2[CoreMessage2["
|
|
28306
|
-
CoreMessage2[CoreMessage2["
|
|
28307
|
-
CoreMessage2[CoreMessage2["
|
|
28308
|
-
CoreMessage2[CoreMessage2["
|
|
28309
|
-
CoreMessage2[CoreMessage2["
|
|
28310
|
-
CoreMessage2[CoreMessage2["
|
|
28311
|
-
CoreMessage2[CoreMessage2["
|
|
28312
|
-
CoreMessage2[CoreMessage2["
|
|
28313
|
-
CoreMessage2[CoreMessage2["
|
|
28314
|
-
CoreMessage2[CoreMessage2["
|
|
28315
|
-
CoreMessage2[CoreMessage2["
|
|
28316
|
-
CoreMessage2[CoreMessage2["
|
|
28317
|
-
CoreMessage2[CoreMessage2["
|
|
28318
|
-
CoreMessage2[CoreMessage2["
|
|
28319
|
-
CoreMessage2[CoreMessage2["
|
|
28320
|
-
CoreMessage2[CoreMessage2["
|
|
28321
|
-
CoreMessage2[CoreMessage2["
|
|
28322
|
-
CoreMessage2[CoreMessage2["
|
|
28323
|
-
CoreMessage2[CoreMessage2["
|
|
28324
|
-
CoreMessage2[CoreMessage2["
|
|
28325
|
-
CoreMessage2[CoreMessage2["SeveralScnCodes"] = 152] = "SeveralScnCodes";
|
|
28253
|
+
CoreMessage2[CoreMessage2["NoFeatureFileJudged"] = 33] = "NoFeatureFileJudged";
|
|
28254
|
+
CoreMessage2[CoreMessage2["ScenarioCodesCleanOver"] = 34] = "ScenarioCodesCleanOver";
|
|
28255
|
+
CoreMessage2[CoreMessage2["CleanNoCodedScenario"] = 35] = "CleanNoCodedScenario";
|
|
28256
|
+
CoreMessage2[CoreMessage2["CleanEachFileOwnCode"] = 36] = "CleanEachFileOwnCode";
|
|
28257
|
+
CoreMessage2[CoreMessage2["CleanOthersNoFeatureCode"] = 37] = "CleanOthersNoFeatureCode";
|
|
28258
|
+
CoreMessage2[CoreMessage2["ItPronoun"] = 38] = "ItPronoun";
|
|
28259
|
+
CoreMessage2[CoreMessage2["ThemPronoun"] = 39] = "ThemPronoun";
|
|
28260
|
+
CoreMessage2[CoreMessage2["HoldsVerb"] = 40] = "HoldsVerb";
|
|
28261
|
+
CoreMessage2[CoreMessage2["HoldVerb"] = 41] = "HoldVerb";
|
|
28262
|
+
CoreMessage2[CoreMessage2["DuplicateFeatureCode"] = 42] = "DuplicateFeatureCode";
|
|
28263
|
+
CoreMessage2[CoreMessage2["ForeignScnCodeOneCarrier"] = 43] = "ForeignScnCodeOneCarrier";
|
|
28264
|
+
CoreMessage2[CoreMessage2["ForeignScnCodeManyCarriers"] = 44] = "ForeignScnCodeManyCarriers";
|
|
28265
|
+
CoreMessage2[CoreMessage2["ForeignScnCodeNoCarrier"] = 45] = "ForeignScnCodeNoCarrier";
|
|
28266
|
+
CoreMessage2[CoreMessage2["NoFeatureCode"] = 46] = "NoFeatureCode";
|
|
28267
|
+
CoreMessage2[CoreMessage2["ScenarioSeveralScnCodes"] = 47] = "ScenarioSeveralScnCodes";
|
|
28268
|
+
CoreMessage2[CoreMessage2["SummaryViewsHeading"] = 48] = "SummaryViewsHeading";
|
|
28269
|
+
CoreMessage2[CoreMessage2["RunVerdictHeading"] = 49] = "RunVerdictHeading";
|
|
28270
|
+
CoreMessage2[CoreMessage2["VerdictExit"] = 50] = "VerdictExit";
|
|
28271
|
+
CoreMessage2[CoreMessage2["ScenarioCodeErrorsHeadline"] = 51] = "ScenarioCodeErrorsHeadline";
|
|
28272
|
+
CoreMessage2[CoreMessage2["ScenarioCodeErrorsGloss"] = 52] = "ScenarioCodeErrorsGloss";
|
|
28273
|
+
CoreMessage2[CoreMessage2["SeveralScnCodesGloss"] = 53] = "SeveralScnCodesGloss";
|
|
28274
|
+
CoreMessage2[CoreMessage2["MisfiledAndSeveralScnCodesGloss"] = 54] = "MisfiledAndSeveralScnCodesGloss";
|
|
28275
|
+
CoreMessage2[CoreMessage2["AlsoOutOfBalance"] = 55] = "AlsoOutOfBalance";
|
|
28276
|
+
CoreMessage2[CoreMessage2["OutOfBalanceHeadline"] = 56] = "OutOfBalanceHeadline";
|
|
28277
|
+
CoreMessage2[CoreMessage2["OutOfBalanceGloss"] = 57] = "OutOfBalanceGloss";
|
|
28278
|
+
CoreMessage2[CoreMessage2["UnsoundHeadline"] = 58] = "UnsoundHeadline";
|
|
28279
|
+
CoreMessage2[CoreMessage2["UnsoundGloss"] = 59] = "UnsoundGloss";
|
|
28280
|
+
CoreMessage2[CoreMessage2["PendingHeadline"] = 60] = "PendingHeadline";
|
|
28281
|
+
CoreMessage2[CoreMessage2["PendingGloss"] = 61] = "PendingGloss";
|
|
28282
|
+
CoreMessage2[CoreMessage2["BalancedHeadline"] = 62] = "BalancedHeadline";
|
|
28283
|
+
CoreMessage2[CoreMessage2["BalancedGloss"] = 63] = "BalancedGloss";
|
|
28284
|
+
CoreMessage2[CoreMessage2["NothingToReconcileHeadline"] = 64] = "NothingToReconcileHeadline";
|
|
28285
|
+
CoreMessage2[CoreMessage2["NothingToReconcileGloss"] = 65] = "NothingToReconcileGloss";
|
|
28286
|
+
CoreMessage2[CoreMessage2["PendingItemsOutstanding"] = 66] = "PendingItemsOutstanding";
|
|
28287
|
+
CoreMessage2[CoreMessage2["EvidenceReconciliationHeading"] = 67] = "EvidenceReconciliationHeading";
|
|
28288
|
+
CoreMessage2[CoreMessage2["SubjectColumn"] = 68] = "SubjectColumn";
|
|
28289
|
+
CoreMessage2[CoreMessage2["TotalColumn"] = 69] = "TotalColumn";
|
|
28290
|
+
CoreMessage2[CoreMessage2["BalancedColumn"] = 70] = "BalancedColumn";
|
|
28291
|
+
CoreMessage2[CoreMessage2["OutOfBalanceColumn"] = 71] = "OutOfBalanceColumn";
|
|
28292
|
+
CoreMessage2[CoreMessage2["DetailColumn"] = 72] = "DetailColumn";
|
|
28293
|
+
CoreMessage2[CoreMessage2["ClaimReconciliationSubject"] = 73] = "ClaimReconciliationSubject";
|
|
28294
|
+
CoreMessage2[CoreMessage2["QualityCheckReconciliationSubject"] = 74] = "QualityCheckReconciliationSubject";
|
|
28295
|
+
CoreMessage2[CoreMessage2["PendingTally"] = 75] = "PendingTally";
|
|
28296
|
+
CoreMessage2[CoreMessage2["TestVolumeHeading"] = 76] = "TestVolumeHeading";
|
|
28297
|
+
CoreMessage2[CoreMessage2["TestVolumeSum"] = 77] = "TestVolumeSum";
|
|
28298
|
+
CoreMessage2[CoreMessage2["TestVolumeTableHeader"] = 78] = "TestVolumeTableHeader";
|
|
28299
|
+
CoreMessage2[CoreMessage2["DiscoveryScopeHeading"] = 79] = "DiscoveryScopeHeading";
|
|
28300
|
+
CoreMessage2[CoreMessage2["DiscoveryScopeTableHeader"] = 80] = "DiscoveryScopeTableHeader";
|
|
28301
|
+
CoreMessage2[CoreMessage2["FitnessFunctionsHeading"] = 81] = "FitnessFunctionsHeading";
|
|
28302
|
+
CoreMessage2[CoreMessage2["FitnessFunctionsCounts"] = 82] = "FitnessFunctionsCounts";
|
|
28303
|
+
CoreMessage2[CoreMessage2["BehaviouralRunnersHeading"] = 83] = "BehaviouralRunnersHeading";
|
|
28304
|
+
CoreMessage2[CoreMessage2["BehaviouralRunnersTableHeader"] = 84] = "BehaviouralRunnersTableHeader";
|
|
28305
|
+
CoreMessage2[CoreMessage2["RunnerTierNamesNone"] = 85] = "RunnerTierNamesNone";
|
|
28306
|
+
CoreMessage2[CoreMessage2["RunnerTierUnnamed"] = 86] = "RunnerTierUnnamed";
|
|
28307
|
+
CoreMessage2[CoreMessage2["RunnerKeyNotATier"] = 87] = "RunnerKeyNotATier";
|
|
28308
|
+
CoreMessage2[CoreMessage2["ReconcilerHeading"] = 88] = "ReconcilerHeading";
|
|
28309
|
+
CoreMessage2[CoreMessage2["ReconcilerStep"] = 89] = "ReconcilerStep";
|
|
28310
|
+
CoreMessage2[CoreMessage2["ReconcilerReconciles"] = 90] = "ReconcilerReconciles";
|
|
28311
|
+
CoreMessage2[CoreMessage2["ReconcilerRecords"] = 91] = "ReconcilerRecords";
|
|
28312
|
+
CoreMessage2[CoreMessage2["ExcludedStepsHeading"] = 92] = "ExcludedStepsHeading";
|
|
28313
|
+
CoreMessage2[CoreMessage2["StepExcluded"] = 93] = "StepExcluded";
|
|
28314
|
+
CoreMessage2[CoreMessage2["NotChecksEntryMatchesNoStep"] = 94] = "NotChecksEntryMatchesNoStep";
|
|
28315
|
+
CoreMessage2[CoreMessage2["StepAccountingHeading"] = 95] = "StepAccountingHeading";
|
|
28316
|
+
CoreMessage2[CoreMessage2["StepAccountingTableHeader"] = 96] = "StepAccountingTableHeader";
|
|
28317
|
+
CoreMessage2[CoreMessage2["EveryStepAccountedFor"] = 97] = "EveryStepAccountedFor";
|
|
28318
|
+
CoreMessage2[CoreMessage2["StepsNotAccountedFor"] = 98] = "StepsNotAccountedFor";
|
|
28319
|
+
CoreMessage2[CoreMessage2["FitnessHeading"] = 99] = "FitnessHeading";
|
|
28320
|
+
CoreMessage2[CoreMessage2["FitnessSatisfiedOf"] = 100] = "FitnessSatisfiedOf";
|
|
28321
|
+
CoreMessage2[CoreMessage2["FitnessTableHeader"] = 101] = "FitnessTableHeader";
|
|
28322
|
+
CoreMessage2[CoreMessage2["OutOfBalanceByFeatureHeading"] = 102] = "OutOfBalanceByFeatureHeading";
|
|
28323
|
+
CoreMessage2[CoreMessage2["ScenarioClaimReconciliationsOutOfBalance"] = 103] = "ScenarioClaimReconciliationsOutOfBalance";
|
|
28324
|
+
CoreMessage2[CoreMessage2["GroupedByFeature"] = 104] = "GroupedByFeature";
|
|
28325
|
+
CoreMessage2[CoreMessage2["NotGroupedByFeature"] = 105] = "NotGroupedByFeature";
|
|
28326
|
+
CoreMessage2[CoreMessage2["PhantomClaimReconciliations"] = 106] = "PhantomClaimReconciliations";
|
|
28327
|
+
CoreMessage2[CoreMessage2["UnnamedClaimReconciliations"] = 107] = "UnnamedClaimReconciliations";
|
|
28328
|
+
CoreMessage2[CoreMessage2["AndJoiner"] = 108] = "AndJoiner";
|
|
28329
|
+
CoreMessage2[CoreMessage2["ByFeatureTableHeader"] = 109] = "ByFeatureTableHeader";
|
|
28330
|
+
CoreMessage2[CoreMessage2["NoScnCodeScenarios"] = 110] = "NoScnCodeScenarios";
|
|
28331
|
+
CoreMessage2[CoreMessage2["ClaimReconciliationsHeading"] = 111] = "ClaimReconciliationsHeading";
|
|
28332
|
+
CoreMessage2[CoreMessage2["ClaimReconciliationTally"] = 112] = "ClaimReconciliationTally";
|
|
28333
|
+
CoreMessage2[CoreMessage2["PhantomClaimTally"] = 113] = "PhantomClaimTally";
|
|
28334
|
+
CoreMessage2[CoreMessage2["UnnamedClaimTally"] = 114] = "UnnamedClaimTally";
|
|
28335
|
+
CoreMessage2[CoreMessage2["ExcludedScnOccurrences"] = 115] = "ExcludedScnOccurrences";
|
|
28336
|
+
CoreMessage2[CoreMessage2["UntaggedScenarios"] = 116] = "UntaggedScenarios";
|
|
28337
|
+
CoreMessage2[CoreMessage2["SharedScnCodes"] = 117] = "SharedScnCodes";
|
|
28338
|
+
CoreMessage2[CoreMessage2["LedgerTableHeader"] = 118] = "LedgerTableHeader";
|
|
28339
|
+
CoreMessage2[CoreMessage2["ClaimColumn"] = 119] = "ClaimColumn";
|
|
28340
|
+
CoreMessage2[CoreMessage2["VerdictColumn"] = 120] = "VerdictColumn";
|
|
28341
|
+
CoreMessage2[CoreMessage2["ReconcilingItemsColumn"] = 121] = "ReconcilingItemsColumn";
|
|
28342
|
+
CoreMessage2[CoreMessage2["EvidenceCellKey"] = 122] = "EvidenceCellKey";
|
|
28343
|
+
CoreMessage2[CoreMessage2["PendingItem"] = 123] = "PendingItem";
|
|
28344
|
+
CoreMessage2[CoreMessage2["PendingItemFor"] = 124] = "PendingItemFor";
|
|
28345
|
+
CoreMessage2[CoreMessage2["CheckStepNoOutcome"] = 125] = "CheckStepNoOutcome";
|
|
28346
|
+
CoreMessage2[CoreMessage2["CheckStepSkipped"] = 126] = "CheckStepSkipped";
|
|
28347
|
+
CoreMessage2[CoreMessage2["CheckStepEnded"] = 127] = "CheckStepEnded";
|
|
28348
|
+
CoreMessage2[CoreMessage2["AmbiguousNamedStep"] = 128] = "AmbiguousNamedStep";
|
|
28349
|
+
CoreMessage2[CoreMessage2["AmbiguousUnnamedStep"] = 129] = "AmbiguousUnnamedStep";
|
|
28350
|
+
CoreMessage2[CoreMessage2["ManifestKindList"] = 130] = "ManifestKindList";
|
|
28351
|
+
CoreMessage2[CoreMessage2["ManifestKindObject"] = 131] = "ManifestKindObject";
|
|
28352
|
+
CoreMessage2[CoreMessage2["ManifestKindString"] = 132] = "ManifestKindString";
|
|
28353
|
+
CoreMessage2[CoreMessage2["ManifestKindStringOrNull"] = 133] = "ManifestKindStringOrNull";
|
|
28354
|
+
CoreMessage2[CoreMessage2["ManifestKindOfType"] = 134] = "ManifestKindOfType";
|
|
28355
|
+
CoreMessage2[CoreMessage2["OutcomeSatisfied"] = 135] = "OutcomeSatisfied";
|
|
28356
|
+
CoreMessage2[CoreMessage2["OutcomeMissing"] = 136] = "OutcomeMissing";
|
|
28357
|
+
CoreMessage2[CoreMessage2["OutcomeFailing"] = 137] = "OutcomeFailing";
|
|
28358
|
+
CoreMessage2[CoreMessage2["OutcomeWatermelon"] = 138] = "OutcomeWatermelon";
|
|
28359
|
+
CoreMessage2[CoreMessage2["OutcomeNoScnCode"] = 139] = "OutcomeNoScnCode";
|
|
28360
|
+
CoreMessage2[CoreMessage2["OutcomeDuplicateScnCode"] = 140] = "OutcomeDuplicateScnCode";
|
|
28361
|
+
CoreMessage2[CoreMessage2["OutcomeCitesUnknownScenario"] = 141] = "OutcomeCitesUnknownScenario";
|
|
28362
|
+
CoreMessage2[CoreMessage2["OutcomeCitesNoScenario"] = 142] = "OutcomeCitesNoScenario";
|
|
28363
|
+
CoreMessage2[CoreMessage2["OutcomeNoEvidenceObligation"] = 143] = "OutcomeNoEvidenceObligation";
|
|
28364
|
+
CoreMessage2[CoreMessage2["OutcomeBroken"] = 144] = "OutcomeBroken";
|
|
28365
|
+
CoreMessage2[CoreMessage2["OutcomeBothMissing"] = 145] = "OutcomeBothMissing";
|
|
28366
|
+
CoreMessage2[CoreMessage2["ObservationPassed"] = 146] = "ObservationPassed";
|
|
28367
|
+
CoreMessage2[CoreMessage2["ObservationFailed"] = 147] = "ObservationFailed";
|
|
28368
|
+
CoreMessage2[CoreMessage2["UnnamedClaimGroupCounts"] = 148] = "UnnamedClaimGroupCounts";
|
|
28369
|
+
CoreMessage2[CoreMessage2["UnnamedClaimCiSteps"] = 149] = "UnnamedClaimCiSteps";
|
|
28370
|
+
CoreMessage2[CoreMessage2["UnnamedClaimFailedNames"] = 150] = "UnnamedClaimFailedNames";
|
|
28371
|
+
CoreMessage2[CoreMessage2["SeveralScnCodes"] = 151] = "SeveralScnCodes";
|
|
28326
28372
|
})(CoreMessage || (CoreMessage = {}));
|
|
28327
28373
|
SATISFIED = "Evidence Observation satisfies its Evidence Obligation";
|
|
28328
28374
|
MISSING = "Evidence Observation is missing";
|
|
@@ -28367,7 +28413,6 @@ var init_messages4 = __esm({
|
|
|
28367
28413
|
[CoreMessage.DuplicateScnCodeNotListed]: `A duplicated @SCN code is not listed here: it is reported on its account's rows, as "${DUPLICATE_SCN_CODE}".`,
|
|
28368
28414
|
[CoreMessage.FeatureFileNoun]: "feature file",
|
|
28369
28415
|
[CoreMessage.FeatureCodeNoun]: "feature code",
|
|
28370
|
-
[CoreMessage.ScenarioCodesClean]: `Scenario codes are clean, and ${IN_ITS_FILE}.`,
|
|
28371
28416
|
[CoreMessage.NoFeatureFileJudged]: "No feature file was judged, so this section vouches for no scenario code.",
|
|
28372
28417
|
[CoreMessage.ScenarioCodesCleanOver]: (featureFiles, featureCodes) => `Scenario codes are clean over ${featureFiles} carrying ${featureCodes}`,
|
|
28373
28418
|
[CoreMessage.CleanNoCodedScenario]: (over, them) => `${over}: no scenario in ${them} carries an @SCN code to misfile.`,
|
|
@@ -28586,7 +28631,7 @@ var init_runVerdict2 = __esm({
|
|
|
28586
28631
|
runVerdictSection = (report, exitCodeOf2) => {
|
|
28587
28632
|
const reconciliation = { claimReconciliations: report.ledger.claimReconciliations };
|
|
28588
28633
|
const verdict = report.summary.runVerdict;
|
|
28589
|
-
const line = verdictFor2(verdict, reconciliation, report.runProvenance.corpus, report.
|
|
28634
|
+
const line = verdictFor2(verdict, reconciliation, report.runProvenance.corpus, report.errors?.scenarioCodes ?? []);
|
|
28590
28635
|
const exit = CORE_MESSAGES[CoreMessage.VerdictExit](exitCodeOf2(verdict));
|
|
28591
28636
|
const lines = [CORE_MESSAGES[CoreMessage.RunVerdictHeading], "", `${line.headline} \u2014 ${line.gloss} (${exit})`];
|
|
28592
28637
|
if (verdict === "balanced" && hasPendingItems(reconciliation)) {
|
|
@@ -28613,10 +28658,7 @@ function scenarioCodeErrorsFraming(errors, count) {
|
|
|
28613
28658
|
function counted(n, noun) {
|
|
28614
28659
|
return `${n} ${noun}${n === 1 ? "" : "s"}`;
|
|
28615
28660
|
}
|
|
28616
|
-
function cleanStatement(
|
|
28617
|
-
if (population === void 0)
|
|
28618
|
-
return CORE_MESSAGES[CoreMessage.ScenarioCodesClean];
|
|
28619
|
-
const { featureFiles, featureCodes } = population;
|
|
28661
|
+
function cleanStatement(featureFiles, featureCodes) {
|
|
28620
28662
|
if (featureFiles === 0)
|
|
28621
28663
|
return CORE_MESSAGES[CoreMessage.NoFeatureFileJudged];
|
|
28622
28664
|
const over = CORE_MESSAGES[CoreMessage.ScenarioCodesCleanOver](counted(featureFiles, CORE_MESSAGES[CoreMessage.FeatureFileNoun]), counted(featureCodes, CORE_MESSAGES[CoreMessage.FeatureCodeNoun]));
|
|
@@ -28658,13 +28700,14 @@ var init_scenarioCodeErrorsSection = __esm({
|
|
|
28658
28700
|
init_scnTags();
|
|
28659
28701
|
init_messages4();
|
|
28660
28702
|
scenarioCodeErrorsSection = (report) => {
|
|
28661
|
-
|
|
28662
|
-
|
|
28663
|
-
const errors = report.scenarioCodeErrors;
|
|
28703
|
+
const errors = report.errors?.scenarioCodes;
|
|
28704
|
+
const { featureFiles, featureCodes } = report.scenarioCodes ?? {};
|
|
28664
28705
|
const heading = CORE_MESSAGES[CoreMessage.ScenarioCodeErrorsHeading];
|
|
28665
28706
|
const duplicateLine = CORE_MESSAGES[CoreMessage.DuplicateScnCodeNotListed];
|
|
28666
|
-
if (errors
|
|
28667
|
-
|
|
28707
|
+
if (errors === void 0) {
|
|
28708
|
+
if (featureFiles === void 0 || featureCodes === void 0)
|
|
28709
|
+
return [];
|
|
28710
|
+
return [heading, "", cleanStatement(featureFiles, featureCodes), "", duplicateLine, ""];
|
|
28668
28711
|
}
|
|
28669
28712
|
const count = errors.length === 1 ? CORE_MESSAGES[CoreMessage.OneScenarioCodeError] : CORE_MESSAGES[CoreMessage.ScenarioCodeErrorCount](errors.length);
|
|
28670
28713
|
return [
|
|
@@ -28764,8 +28807,8 @@ var init_configurationNotRead = __esm({
|
|
|
28764
28807
|
"use strict";
|
|
28765
28808
|
init_messages4();
|
|
28766
28809
|
configurationNotReadSection = (report) => {
|
|
28767
|
-
const wrongKinds = report.
|
|
28768
|
-
const unknownKeys = report.
|
|
28810
|
+
const wrongKinds = report.errors?.configuration?.ofWrongKind ?? [];
|
|
28811
|
+
const unknownKeys = report.errors?.configuration?.keysNotRead ?? [];
|
|
28769
28812
|
if (wrongKinds.length === 0 && unknownKeys.length === 0)
|
|
28770
28813
|
return [];
|
|
28771
28814
|
return [
|
|
@@ -28835,7 +28878,7 @@ var init_behaviouralRunners = __esm({
|
|
|
28835
28878
|
const runners = report.summary.behaviouralRunners ?? [];
|
|
28836
28879
|
const account = [
|
|
28837
28880
|
...runnerTierAccount(report.summary.tiersWithoutRunner),
|
|
28838
|
-
...unrecognisedKeyAccount(report.
|
|
28881
|
+
...unrecognisedKeyAccount(report.errors?.configuration?.runnerKeysNotATier)
|
|
28839
28882
|
];
|
|
28840
28883
|
if (runners.length === 0 && account.length === 0)
|
|
28841
28884
|
return [];
|
|
@@ -28862,7 +28905,7 @@ var init_excludedSteps = __esm({
|
|
|
28862
28905
|
init_messages4();
|
|
28863
28906
|
excludedStepsSection = (report) => {
|
|
28864
28907
|
const excluded = report.summary.excludedSteps ?? [];
|
|
28865
|
-
const unmatched = report.
|
|
28908
|
+
const unmatched = report.errors?.configuration?.nonChecksMatchingNoStep ?? [];
|
|
28866
28909
|
if (excluded.length === 0 && unmatched.length === 0)
|
|
28867
28910
|
return [];
|
|
28868
28911
|
return [
|
|
@@ -29184,12 +29227,14 @@ function ledgerTallyLines(totals) {
|
|
|
29184
29227
|
}
|
|
29185
29228
|
return lines;
|
|
29186
29229
|
}
|
|
29187
|
-
function censusLines(
|
|
29188
|
-
|
|
29189
|
-
|
|
29230
|
+
function censusLines(codes, accounts) {
|
|
29231
|
+
if (codes?.excludedOccurrences === void 0)
|
|
29232
|
+
return [];
|
|
29233
|
+
const lines = [`- ${CORE_MESSAGES[CoreMessage.ExcludedScnOccurrences](codes.excludedOccurrences)}`];
|
|
29234
|
+
const untagged = (codes.untaggedScenarios ?? []).length;
|
|
29190
29235
|
if (untagged > 0)
|
|
29191
29236
|
lines.push(`- ${CORE_MESSAGES[CoreMessage.UntaggedScenarios](untagged)}`);
|
|
29192
|
-
lines.push(...sharedScnCodeLines(
|
|
29237
|
+
lines.push(...sharedScnCodeLines(codes.sharedScnCodes ?? [], accounts));
|
|
29193
29238
|
return lines;
|
|
29194
29239
|
}
|
|
29195
29240
|
function sharedScnCodeLines(shared, accounts) {
|
|
@@ -29337,7 +29382,7 @@ var init_markdown = __esm({
|
|
|
29337
29382
|
byFeatureSection = (report) => {
|
|
29338
29383
|
const rows = report.ledger.claimReconciliations;
|
|
29339
29384
|
const scenarios = rows.filter(isScenario);
|
|
29340
|
-
const groups = outOfBalanceByFeature(scenarios, report.
|
|
29385
|
+
const groups = outOfBalanceByFeature(scenarios, report.scenarioCodes?.untaggedScenarios ?? [], report.metadata?.featureNames ?? {});
|
|
29341
29386
|
const ungrouped = ungroupedOutOfBalance(report.summary.claimReconciliations);
|
|
29342
29387
|
if (groups.size === 0 && ungrouped.length === 0)
|
|
29343
29388
|
return [];
|
|
@@ -29360,7 +29405,7 @@ var init_markdown = __esm({
|
|
|
29360
29405
|
CORE_MESSAGES[CoreMessage.ClaimReconciliationsHeading],
|
|
29361
29406
|
"",
|
|
29362
29407
|
...ledgerTallyLines(report.summary.claimReconciliations),
|
|
29363
|
-
...
|
|
29408
|
+
...censusLines(report.scenarioCodes, scenarioRows.length),
|
|
29364
29409
|
"",
|
|
29365
29410
|
...evidenceKeyLines(columns),
|
|
29366
29411
|
...ledgerTableLines(claims, columns),
|
|
@@ -29400,7 +29445,7 @@ function renderJson(evidenceReconciliation, ctx, evidenceObligations2, featureNa
|
|
|
29400
29445
|
var init_composers = __esm({
|
|
29401
29446
|
"../core/dist/assemble/composers.js"() {
|
|
29402
29447
|
"use strict";
|
|
29403
|
-
|
|
29448
|
+
init_renderInput2();
|
|
29404
29449
|
init_savedReport();
|
|
29405
29450
|
init_markdown();
|
|
29406
29451
|
init_provenanceFacts();
|
|
@@ -29426,7 +29471,7 @@ var init_dist3 = __esm({
|
|
|
29426
29471
|
init_runningFitnessFunctions();
|
|
29427
29472
|
init_checkScriptsRunInCI();
|
|
29428
29473
|
init_commandRuns();
|
|
29429
|
-
|
|
29474
|
+
init_renderInput2();
|
|
29430
29475
|
init_evidenceReconciliationFromSources();
|
|
29431
29476
|
init_composers();
|
|
29432
29477
|
init_savedReport();
|
|
@@ -29510,7 +29555,7 @@ function runReconcile(reports, root, corpus, workflows) {
|
|
|
29510
29555
|
reconcilerInvocation: RECONCILER_INVOCATION
|
|
29511
29556
|
});
|
|
29512
29557
|
}
|
|
29513
|
-
var
|
|
29558
|
+
var RECONCILER_INVOCATION, DEFAULT_CI_PATH, DEFAULT_PACKAGE_JSON, OBSERVATION_READERS;
|
|
29514
29559
|
var init_ingestQualityChecks = __esm({
|
|
29515
29560
|
"src/ingest/ingestQualityChecks.ts"() {
|
|
29516
29561
|
"use strict";
|
|
@@ -29524,22 +29569,16 @@ var init_ingestQualityChecks = __esm({
|
|
|
29524
29569
|
init_dist3();
|
|
29525
29570
|
init_dist3();
|
|
29526
29571
|
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
29572
|
RECONCILER_INVOCATION = "spec-controller balance";
|
|
29534
29573
|
DEFAULT_CI_PATH = ".github/workflows";
|
|
29535
29574
|
DEFAULT_PACKAGE_JSON = "package.json";
|
|
29536
29575
|
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,
|
|
29576
|
+
vitest: (report, root) => parseVitestEvidenceObservations(report, root),
|
|
29577
|
+
pytest: (report) => parsePytestEvidenceObservations(report),
|
|
29578
|
+
jest: (report, root) => parseVitestEvidenceObservations(report, root),
|
|
29579
|
+
junit: (report) => parseJunitEvidenceObservations(report),
|
|
29580
|
+
rspec: (report, root) => parseRspecEvidenceObservations(report, root),
|
|
29581
|
+
cucumber: (report, root) => parseCucumberEvidenceObservations(report, root)
|
|
29543
29582
|
};
|
|
29544
29583
|
}
|
|
29545
29584
|
});
|
|
@@ -29663,10 +29702,21 @@ var init_inputShapes = __esm({
|
|
|
29663
29702
|
runProvenance: { fields: { corpus: "string" }, required: ["corpus"] },
|
|
29664
29703
|
summary: { fields: {} },
|
|
29665
29704
|
ledger: { fields: { claimReconciliations: { list: "anything" } }, required: ["claimReconciliations"] },
|
|
29666
|
-
|
|
29667
|
-
|
|
29668
|
-
|
|
29669
|
-
|
|
29705
|
+
metadata: { fields: {} },
|
|
29706
|
+
errors: {
|
|
29707
|
+
fields: {
|
|
29708
|
+
scenarioCodes: { list: "anything" },
|
|
29709
|
+
configuration: {
|
|
29710
|
+
fields: {
|
|
29711
|
+
keysNotRead: { list: "anything" },
|
|
29712
|
+
ofWrongKind: { list: "anything" },
|
|
29713
|
+
runnerKeysNotATier: { list: "anything" },
|
|
29714
|
+
nonChecksMatchingNoStep: { list: "anything" }
|
|
29715
|
+
}
|
|
29716
|
+
}
|
|
29717
|
+
}
|
|
29718
|
+
},
|
|
29719
|
+
scenarioCodes: { fields: {} }
|
|
29670
29720
|
},
|
|
29671
29721
|
required: ["runProvenance", "summary", "ledger"]
|
|
29672
29722
|
};
|
|
@@ -8,6 +8,12 @@
|
|
|
8
8
|
"runProvenance": {
|
|
9
9
|
"$ref": "#/definitions/ProvenanceObject"
|
|
10
10
|
},
|
|
11
|
+
"errors": {
|
|
12
|
+
"$ref": "#/definitions/ErrorsSection"
|
|
13
|
+
},
|
|
14
|
+
"scenarioCodes": {
|
|
15
|
+
"$ref": "#/definitions/ScenarioCodesSection"
|
|
16
|
+
},
|
|
11
17
|
"summary": {
|
|
12
18
|
"type": "object",
|
|
13
19
|
"additionalProperties": false,
|
|
@@ -108,24 +114,6 @@
|
|
|
108
114
|
"$ref": "#/definitions/TierWithoutRunner"
|
|
109
115
|
}
|
|
110
116
|
},
|
|
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
117
|
"excludedSteps": {
|
|
130
118
|
"type": "array",
|
|
131
119
|
"items": {
|
|
@@ -138,12 +126,6 @@
|
|
|
138
126
|
"$ref": "#/definitions/ReconcilerStep"
|
|
139
127
|
}
|
|
140
128
|
},
|
|
141
|
-
"nonChecksMatchingNoStep": {
|
|
142
|
-
"type": "array",
|
|
143
|
-
"items": {
|
|
144
|
-
"type": "string"
|
|
145
|
-
}
|
|
146
|
-
},
|
|
147
129
|
"discoveryScope": {
|
|
148
130
|
"type": "array",
|
|
149
131
|
"items": {
|
|
@@ -162,18 +144,6 @@
|
|
|
162
144
|
"ledger": {
|
|
163
145
|
"$ref": "#/definitions/Ledger"
|
|
164
146
|
},
|
|
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
147
|
"metadata": {
|
|
178
148
|
"$ref": "#/definitions/ReportMetadata"
|
|
179
149
|
}
|
|
@@ -218,27 +188,288 @@
|
|
|
218
188
|
"corpus": {
|
|
219
189
|
"type": "string"
|
|
220
190
|
},
|
|
221
|
-
"strict": {
|
|
222
|
-
"type": "boolean"
|
|
191
|
+
"strict": {
|
|
192
|
+
"type": "boolean"
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"required": [
|
|
196
|
+
"target",
|
|
197
|
+
"sourceSha",
|
|
198
|
+
"toolSha",
|
|
199
|
+
"toolVersion",
|
|
200
|
+
"runTimestamp",
|
|
201
|
+
"inputs",
|
|
202
|
+
"corpus"
|
|
203
|
+
],
|
|
204
|
+
"additionalProperties": false
|
|
205
|
+
},
|
|
206
|
+
"RunInputs": {
|
|
207
|
+
"type": "object",
|
|
208
|
+
"additionalProperties": {
|
|
209
|
+
"type": "string"
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"ErrorsSection": {
|
|
213
|
+
"type": "object",
|
|
214
|
+
"properties": {
|
|
215
|
+
"scenarioCodes": {
|
|
216
|
+
"type": "array",
|
|
217
|
+
"items": {
|
|
218
|
+
"$ref": "#/definitions/ScenarioCodeError"
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
"configuration": {
|
|
222
|
+
"type": "object",
|
|
223
|
+
"properties": {
|
|
224
|
+
"keysNotRead": {
|
|
225
|
+
"type": "array",
|
|
226
|
+
"items": {
|
|
227
|
+
"type": "string"
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
"ofWrongKind": {
|
|
231
|
+
"type": "array",
|
|
232
|
+
"items": {
|
|
233
|
+
"$ref": "#/definitions/WrongKindEntry"
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
"runnerKeysNotATier": {
|
|
237
|
+
"type": "array",
|
|
238
|
+
"items": {
|
|
239
|
+
"type": "string"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
"nonChecksMatchingNoStep": {
|
|
243
|
+
"type": "array",
|
|
244
|
+
"items": {
|
|
245
|
+
"type": "string"
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
"additionalProperties": false
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
"additionalProperties": false
|
|
253
|
+
},
|
|
254
|
+
"ScenarioCodeError": {
|
|
255
|
+
"anyOf": [
|
|
256
|
+
{
|
|
257
|
+
"type": "object",
|
|
258
|
+
"properties": {
|
|
259
|
+
"kind": {
|
|
260
|
+
"type": "string",
|
|
261
|
+
"const": "duplicate-feature-code"
|
|
262
|
+
},
|
|
263
|
+
"featureCode": {
|
|
264
|
+
"type": "string"
|
|
265
|
+
},
|
|
266
|
+
"files": {
|
|
267
|
+
"type": "array",
|
|
268
|
+
"items": {
|
|
269
|
+
"type": "string"
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
"required": [
|
|
274
|
+
"kind",
|
|
275
|
+
"featureCode",
|
|
276
|
+
"files"
|
|
277
|
+
],
|
|
278
|
+
"additionalProperties": false
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"$ref": "#/definitions/ForeignScnCodeError"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"type": "object",
|
|
285
|
+
"properties": {
|
|
286
|
+
"kind": {
|
|
287
|
+
"type": "string",
|
|
288
|
+
"const": "no-feature-code"
|
|
289
|
+
},
|
|
290
|
+
"files": {
|
|
291
|
+
"type": "array",
|
|
292
|
+
"items": {
|
|
293
|
+
"type": "string"
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
"required": [
|
|
298
|
+
"kind",
|
|
299
|
+
"files"
|
|
300
|
+
],
|
|
301
|
+
"additionalProperties": false
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"type": "object",
|
|
305
|
+
"properties": {
|
|
306
|
+
"kind": {
|
|
307
|
+
"type": "string",
|
|
308
|
+
"const": "several-scn-codes"
|
|
309
|
+
},
|
|
310
|
+
"files": {
|
|
311
|
+
"type": "array",
|
|
312
|
+
"items": {
|
|
313
|
+
"type": "string"
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
"scenario": {
|
|
317
|
+
"type": "string"
|
|
318
|
+
},
|
|
319
|
+
"codes": {
|
|
320
|
+
"type": "array",
|
|
321
|
+
"items": {
|
|
322
|
+
"type": "string"
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
"required": [
|
|
327
|
+
"kind",
|
|
328
|
+
"files",
|
|
329
|
+
"scenario",
|
|
330
|
+
"codes"
|
|
331
|
+
],
|
|
332
|
+
"additionalProperties": false
|
|
333
|
+
}
|
|
334
|
+
]
|
|
335
|
+
},
|
|
336
|
+
"ForeignScnCodeError": {
|
|
337
|
+
"type": "object",
|
|
338
|
+
"properties": {
|
|
339
|
+
"kind": {
|
|
340
|
+
"type": "string",
|
|
341
|
+
"const": "foreign-scn-code"
|
|
342
|
+
},
|
|
343
|
+
"files": {
|
|
344
|
+
"type": "array",
|
|
345
|
+
"items": {
|
|
346
|
+
"type": "string"
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
"featureCode": {
|
|
350
|
+
"type": "string"
|
|
351
|
+
},
|
|
352
|
+
"scnId": {
|
|
353
|
+
"type": "string"
|
|
354
|
+
},
|
|
355
|
+
"namedFeatureCode": {
|
|
356
|
+
"type": "string"
|
|
357
|
+
},
|
|
358
|
+
"namedFeatureFiles": {
|
|
359
|
+
"type": "array",
|
|
360
|
+
"items": {
|
|
361
|
+
"type": "string"
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
"required": [
|
|
366
|
+
"kind",
|
|
367
|
+
"files",
|
|
368
|
+
"featureCode",
|
|
369
|
+
"scnId",
|
|
370
|
+
"namedFeatureCode",
|
|
371
|
+
"namedFeatureFiles"
|
|
372
|
+
],
|
|
373
|
+
"additionalProperties": false
|
|
374
|
+
},
|
|
375
|
+
"WrongKindEntry": {
|
|
376
|
+
"type": "object",
|
|
377
|
+
"properties": {
|
|
378
|
+
"entry": {
|
|
379
|
+
"type": "string"
|
|
380
|
+
},
|
|
381
|
+
"is": {
|
|
382
|
+
"$ref": "#/definitions/ConfigurationKind"
|
|
383
|
+
},
|
|
384
|
+
"reads": {
|
|
385
|
+
"$ref": "#/definitions/ConfigurationKind"
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
"required": [
|
|
389
|
+
"entry",
|
|
390
|
+
"is",
|
|
391
|
+
"reads"
|
|
392
|
+
],
|
|
393
|
+
"additionalProperties": false
|
|
394
|
+
},
|
|
395
|
+
"ConfigurationKind": {
|
|
396
|
+
"type": "string",
|
|
397
|
+
"enum": [
|
|
398
|
+
"list",
|
|
399
|
+
"object",
|
|
400
|
+
"string-or-null",
|
|
401
|
+
"null",
|
|
402
|
+
"string",
|
|
403
|
+
"number",
|
|
404
|
+
"bigint",
|
|
405
|
+
"boolean",
|
|
406
|
+
"symbol",
|
|
407
|
+
"undefined",
|
|
408
|
+
"function"
|
|
409
|
+
]
|
|
410
|
+
},
|
|
411
|
+
"ScenarioCodesSection": {
|
|
412
|
+
"type": "object",
|
|
413
|
+
"properties": {
|
|
414
|
+
"featureFiles": {
|
|
415
|
+
"type": "number"
|
|
416
|
+
},
|
|
417
|
+
"featureCodes": {
|
|
418
|
+
"type": "number"
|
|
419
|
+
},
|
|
420
|
+
"excludedOccurrences": {
|
|
421
|
+
"type": "number"
|
|
422
|
+
},
|
|
423
|
+
"untaggedScenarios": {
|
|
424
|
+
"type": "array",
|
|
425
|
+
"items": {
|
|
426
|
+
"$ref": "#/definitions/UntaggedScenario"
|
|
427
|
+
}
|
|
428
|
+
},
|
|
429
|
+
"sharedScnCodes": {
|
|
430
|
+
"type": "array",
|
|
431
|
+
"items": {
|
|
432
|
+
"$ref": "#/definitions/SharedScnCode"
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
},
|
|
436
|
+
"additionalProperties": false
|
|
437
|
+
},
|
|
438
|
+
"UntaggedScenario": {
|
|
439
|
+
"type": "object",
|
|
440
|
+
"properties": {
|
|
441
|
+
"feature": {
|
|
442
|
+
"type": "string"
|
|
443
|
+
},
|
|
444
|
+
"scenario": {
|
|
445
|
+
"type": "string"
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
"required": [
|
|
449
|
+
"feature",
|
|
450
|
+
"scenario"
|
|
451
|
+
],
|
|
452
|
+
"additionalProperties": false
|
|
453
|
+
},
|
|
454
|
+
"SharedScnCode": {
|
|
455
|
+
"type": "object",
|
|
456
|
+
"properties": {
|
|
457
|
+
"scnId": {
|
|
458
|
+
"type": "string"
|
|
459
|
+
},
|
|
460
|
+
"scenarios": {
|
|
461
|
+
"type": "array",
|
|
462
|
+
"items": {
|
|
463
|
+
"$ref": "#/definitions/UntaggedScenario"
|
|
464
|
+
}
|
|
223
465
|
}
|
|
224
466
|
},
|
|
225
467
|
"required": [
|
|
226
|
-
"
|
|
227
|
-
"
|
|
228
|
-
"toolSha",
|
|
229
|
-
"toolVersion",
|
|
230
|
-
"runTimestamp",
|
|
231
|
-
"inputs",
|
|
232
|
-
"corpus"
|
|
468
|
+
"scnId",
|
|
469
|
+
"scenarios"
|
|
233
470
|
],
|
|
234
471
|
"additionalProperties": false
|
|
235
472
|
},
|
|
236
|
-
"RunInputs": {
|
|
237
|
-
"type": "object",
|
|
238
|
-
"additionalProperties": {
|
|
239
|
-
"type": "string"
|
|
240
|
-
}
|
|
241
|
-
},
|
|
242
473
|
"RunVerdict": {
|
|
243
474
|
"type": "string",
|
|
244
475
|
"enum": [
|
|
@@ -471,42 +702,6 @@
|
|
|
471
702
|
"performance"
|
|
472
703
|
]
|
|
473
704
|
},
|
|
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
705
|
"ReconcilerStep": {
|
|
511
706
|
"type": "object",
|
|
512
707
|
"properties": {
|
|
@@ -885,203 +1080,6 @@
|
|
|
885
1080
|
},
|
|
886
1081
|
"additionalProperties": false
|
|
887
1082
|
},
|
|
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
1083
|
"ReportMetadata": {
|
|
1086
1084
|
"type": "object",
|
|
1087
1085
|
"properties": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "spec-controller",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.122",
|
|
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",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"fast-xml-parser": "^5.11.2",
|
|
27
27
|
"ts-json-schema-generator": "^2.9.0",
|
|
28
28
|
"yaml": "^2.9.0",
|
|
29
|
-
"@3f-consulting/spec-controller-core": "0.1.
|
|
29
|
+
"@3f-consulting/spec-controller-core": "0.1.122"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public"
|