spec-controller 0.1.225 → 0.1.227
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 +167 -170
- package/dist/spec-reconciliation.schema.json +2 -2
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -11364,6 +11364,15 @@ function scenarioCodeErrorsAre(errors) {
|
|
|
11364
11364
|
return "misfilings";
|
|
11365
11365
|
return several === errors.length ? "several-codes" : "both";
|
|
11366
11366
|
}
|
|
11367
|
+
function scenarioCodeCleanlinessOf({ featureFiles, featureCodes }) {
|
|
11368
|
+
if (featureFiles === 0)
|
|
11369
|
+
return { kind: "no-feature-file" };
|
|
11370
|
+
if (featureCodes === 0)
|
|
11371
|
+
return { kind: "no-coded-scenario", featureFiles };
|
|
11372
|
+
if (featureCodes === featureFiles)
|
|
11373
|
+
return { kind: "each-file-own-code", featureFiles, featureCodes };
|
|
11374
|
+
return { kind: "others-no-feature-code", featureFiles, featureCodes, noFeatureCode: featureFiles - featureCodes };
|
|
11375
|
+
}
|
|
11367
11376
|
function scenarioCodesOf(tags) {
|
|
11368
11377
|
return attributionOf(tags.filter((tag) => SCN_CODE.test(tag)));
|
|
11369
11378
|
}
|
|
@@ -27618,8 +27627,8 @@ function recognisedRunners(steps, nameOf3, scripts, runners, shell) {
|
|
|
27618
27627
|
})));
|
|
27619
27628
|
}
|
|
27620
27629
|
function countedRunners(steps, dispositionOf, nameOf3, scripts, runners, shell) {
|
|
27621
|
-
const
|
|
27622
|
-
return recognisedRunners(
|
|
27630
|
+
const counted = stepsInAccountingOrder(steps).filter((step) => dispositionOf(step) === "runner");
|
|
27631
|
+
return recognisedRunners(counted, nameOf3, scripts, runners, shell);
|
|
27623
27632
|
}
|
|
27624
27633
|
var WORKFLOW_FILE_THEN_COLON, jobKeyOf, byCodeUnit, byWorkflowThenJob, stepsInAccountingOrder, workflowsReadInOrder, COUNTED_AS, noStepsOf;
|
|
27625
27634
|
var init_uncitedFitnessFunctions = __esm({
|
|
@@ -27782,9 +27791,6 @@ var init_provenance = __esm({
|
|
|
27782
27791
|
});
|
|
27783
27792
|
|
|
27784
27793
|
// ../core/dist/domain/renderInput.js
|
|
27785
|
-
function featureFilesWithNoFeatureCodeOf({ featureFiles, featureCodes }) {
|
|
27786
|
-
return featureFiles - featureCodes;
|
|
27787
|
-
}
|
|
27788
27794
|
function scenarioCodesOf2(population, obligations) {
|
|
27789
27795
|
if (!population && !obligations)
|
|
27790
27796
|
return void 0;
|
|
@@ -27806,7 +27812,7 @@ function errorsOf(scenarioCodeErrors, summary) {
|
|
|
27806
27812
|
...nonEmpty("nonChecksNotAStepName", summary.nonChecksNotAStepName)
|
|
27807
27813
|
};
|
|
27808
27814
|
const errors = {
|
|
27809
|
-
...nonEmpty("
|
|
27815
|
+
...nonEmpty("scenarioCodeErrors", scenarioCodeErrors),
|
|
27810
27816
|
...Object.keys(configurationNotRead2).length > 0 ? { configurationNotRead: configurationNotRead2 } : {}
|
|
27811
27817
|
};
|
|
27812
27818
|
return Object.keys(errors).length > 0 ? errors : void 0;
|
|
@@ -27889,12 +27895,12 @@ function concludedSummary(summary, verdictInputs) {
|
|
|
27889
27895
|
return { runVerdict: runVerdict(verdictInputs), ...rest };
|
|
27890
27896
|
}
|
|
27891
27897
|
function assembleRenderInput(evidenceReconciliation, ctx, evidenceObligations2, featureNames) {
|
|
27892
|
-
const
|
|
27898
|
+
const errorsInTheInputs = errorsOf(evidenceReconciliation.scenarioCodeErrors, evidenceReconciliation.summary);
|
|
27893
27899
|
const scenarioCodes = scenarioCodesOf2(evidenceReconciliation.scenarioCodePopulation, evidenceObligations2);
|
|
27894
27900
|
const byFeature = outOfBalanceByFeature(evidenceReconciliation.ledger.claimReconciliations, scenarioCodes?.untaggedScenarios ?? [], Object.fromEntries(featureNames ?? []));
|
|
27895
27901
|
return {
|
|
27896
27902
|
runProvenance: provenanceObject(ctx),
|
|
27897
|
-
...
|
|
27903
|
+
...errorsInTheInputs ? { errorsInTheInputs } : {},
|
|
27898
27904
|
summary: concludedSummary({
|
|
27899
27905
|
...scenarioCodes ? { scenarioCodes } : {},
|
|
27900
27906
|
...summaryStatingNoFault(evidenceReconciliation.summary),
|
|
@@ -28211,7 +28217,7 @@ function assembleSavedReport(saved, strictGiven) {
|
|
|
28211
28217
|
runProvenance: { ...saved.runProvenance, strict },
|
|
28212
28218
|
summary: concludedSummary(saved.summary, {
|
|
28213
28219
|
ledger: { claimReconciliations: saved.claimReconciliations },
|
|
28214
|
-
scenarioCodeErrors: saved.
|
|
28220
|
+
scenarioCodeErrors: saved.errorsInTheInputs?.scenarioCodeErrors,
|
|
28215
28221
|
strict
|
|
28216
28222
|
})
|
|
28217
28223
|
};
|
|
@@ -28235,7 +28241,7 @@ var init_model = __esm({
|
|
|
28235
28241
|
});
|
|
28236
28242
|
|
|
28237
28243
|
// ../core/dist/render/messages.js
|
|
28238
|
-
var QUALITY_CHECK_FAULT_MESSAGES, CoreMessage, CoreError, SATISFIED, MISSING, DUPLICATE_SCN_CODE, CITED_WITH_NO_SCENARIO, NO_ONE_SCENARIO_CAN_TAKE, RUNNERS_PLACE,
|
|
28244
|
+
var QUALITY_CHECK_FAULT_MESSAGES, CoreMessage, CoreError, SATISFIED, MISSING, DUPLICATE_SCN_CODE, CITED_WITH_NO_SCENARIO, NO_ONE_SCENARIO_CAN_TAKE, RUNNERS_PLACE, CORE_MESSAGES;
|
|
28239
28245
|
var init_messages4 = __esm({
|
|
28240
28246
|
"../core/dist/render/messages.js"() {
|
|
28241
28247
|
"use strict";
|
|
@@ -28247,112 +28253,104 @@ var init_messages4 = __esm({
|
|
|
28247
28253
|
(function(CoreMessage2) {
|
|
28248
28254
|
CoreMessage2[CoreMessage2["ErrorsInTheInputsHeading"] = 0] = "ErrorsInTheInputsHeading";
|
|
28249
28255
|
CoreMessage2[CoreMessage2["ConfigurationNotReadHeading"] = 1] = "ConfigurationNotReadHeading";
|
|
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["
|
|
28326
|
-
CoreMessage2[CoreMessage2["
|
|
28327
|
-
CoreMessage2[CoreMessage2["
|
|
28328
|
-
CoreMessage2[CoreMessage2["
|
|
28329
|
-
CoreMessage2[CoreMessage2["
|
|
28330
|
-
CoreMessage2[CoreMessage2["
|
|
28331
|
-
CoreMessage2[CoreMessage2["
|
|
28332
|
-
CoreMessage2[CoreMessage2["
|
|
28333
|
-
CoreMessage2[CoreMessage2["
|
|
28334
|
-
CoreMessage2[CoreMessage2["
|
|
28335
|
-
CoreMessage2[CoreMessage2["
|
|
28336
|
-
CoreMessage2[CoreMessage2["
|
|
28337
|
-
CoreMessage2[CoreMessage2["OutcomeNoScnCode"] = 89] = "OutcomeNoScnCode";
|
|
28338
|
-
CoreMessage2[CoreMessage2["OutcomeDuplicateScnCode"] = 90] = "OutcomeDuplicateScnCode";
|
|
28339
|
-
CoreMessage2[CoreMessage2["OutcomeCitesUnknownScenario"] = 91] = "OutcomeCitesUnknownScenario";
|
|
28340
|
-
CoreMessage2[CoreMessage2["OutcomeCitesNoScenario"] = 92] = "OutcomeCitesNoScenario";
|
|
28341
|
-
CoreMessage2[CoreMessage2["OutcomeNoEvidenceObligation"] = 93] = "OutcomeNoEvidenceObligation";
|
|
28342
|
-
CoreMessage2[CoreMessage2["OutcomeBroken"] = 94] = "OutcomeBroken";
|
|
28343
|
-
CoreMessage2[CoreMessage2["OutcomeBothMissing"] = 95] = "OutcomeBothMissing";
|
|
28344
|
-
CoreMessage2[CoreMessage2["ObservationPassed"] = 96] = "ObservationPassed";
|
|
28345
|
-
CoreMessage2[CoreMessage2["ObservationFailed"] = 97] = "ObservationFailed";
|
|
28346
|
-
CoreMessage2[CoreMessage2["UnnamedClaimGroupCounts"] = 98] = "UnnamedClaimGroupCounts";
|
|
28347
|
-
CoreMessage2[CoreMessage2["UnnamedClaimCiSteps"] = 99] = "UnnamedClaimCiSteps";
|
|
28348
|
-
CoreMessage2[CoreMessage2["UnnamedClaimFailedNames"] = 100] = "UnnamedClaimFailedNames";
|
|
28349
|
-
CoreMessage2[CoreMessage2["SeveralScnCodes"] = 101] = "SeveralScnCodes";
|
|
28350
|
-
CoreMessage2[CoreMessage2["SharedScnCode"] = 102] = "SharedScnCode";
|
|
28256
|
+
CoreMessage2[CoreMessage2["ScenarioCodeErrorsHeading"] = 2] = "ScenarioCodeErrorsHeading";
|
|
28257
|
+
CoreMessage2[CoreMessage2["ReconciliationTotalsHeading"] = 3] = "ReconciliationTotalsHeading";
|
|
28258
|
+
CoreMessage2[CoreMessage2["ReconciliationTotalsClaimReconciliationTerm"] = 4] = "ReconciliationTotalsClaimReconciliationTerm";
|
|
28259
|
+
CoreMessage2[CoreMessage2["ReconciliationTotalsReconciliationLineTerm"] = 5] = "ReconciliationTotalsReconciliationLineTerm";
|
|
28260
|
+
CoreMessage2[CoreMessage2["ReconciliationTotalsEvidenceObligationTerm"] = 6] = "ReconciliationTotalsEvidenceObligationTerm";
|
|
28261
|
+
CoreMessage2[CoreMessage2["ReconciliationTotalsEvidenceObservationTerm"] = 7] = "ReconciliationTotalsEvidenceObservationTerm";
|
|
28262
|
+
CoreMessage2[CoreMessage2["SubjectColumn"] = 8] = "SubjectColumn";
|
|
28263
|
+
CoreMessage2[CoreMessage2["TotalColumn"] = 9] = "TotalColumn";
|
|
28264
|
+
CoreMessage2[CoreMessage2["BalancedColumn"] = 10] = "BalancedColumn";
|
|
28265
|
+
CoreMessage2[CoreMessage2["OutOfBalanceColumn"] = 11] = "OutOfBalanceColumn";
|
|
28266
|
+
CoreMessage2[CoreMessage2["DetailColumn"] = 12] = "DetailColumn";
|
|
28267
|
+
CoreMessage2[CoreMessage2["ClaimReconciliationSubject"] = 13] = "ClaimReconciliationSubject";
|
|
28268
|
+
CoreMessage2[CoreMessage2["ReconciliationLineSubject"] = 14] = "ReconciliationLineSubject";
|
|
28269
|
+
CoreMessage2[CoreMessage2["PendingTally"] = 15] = "PendingTally";
|
|
28270
|
+
CoreMessage2[CoreMessage2["EvidenceObservationsHeading"] = 16] = "EvidenceObservationsHeading";
|
|
28271
|
+
CoreMessage2[CoreMessage2["EvidenceObservationsSum"] = 17] = "EvidenceObservationsSum";
|
|
28272
|
+
CoreMessage2[CoreMessage2["EvidenceObservationsTableHeader"] = 18] = "EvidenceObservationsTableHeader";
|
|
28273
|
+
CoreMessage2[CoreMessage2["FitnessRunner"] = 19] = "FitnessRunner";
|
|
28274
|
+
CoreMessage2[CoreMessage2["FitnessCiStep"] = 20] = "FitnessCiStep";
|
|
28275
|
+
CoreMessage2[CoreMessage2["RunnerLayerNamesNone"] = 21] = "RunnerLayerNamesNone";
|
|
28276
|
+
CoreMessage2[CoreMessage2["RunnerLayerUnnamed"] = 22] = "RunnerLayerUnnamed";
|
|
28277
|
+
CoreMessage2[CoreMessage2["NoStepCountedAsItsRunnerRunsIt"] = 23] = "NoStepCountedAsItsRunnerRunsIt";
|
|
28278
|
+
CoreMessage2[CoreMessage2["ReconcilerStep"] = 24] = "ReconcilerStep";
|
|
28279
|
+
CoreMessage2[CoreMessage2["ReconcilerReconciles"] = 25] = "ReconcilerReconciles";
|
|
28280
|
+
CoreMessage2[CoreMessage2["ReconcilerRecords"] = 26] = "ReconcilerRecords";
|
|
28281
|
+
CoreMessage2[CoreMessage2["StepNonCheck"] = 27] = "StepNonCheck";
|
|
28282
|
+
CoreMessage2[CoreMessage2["StepAccountingHeading"] = 28] = "StepAccountingHeading";
|
|
28283
|
+
CoreMessage2[CoreMessage2["StepAccountingTableHeader"] = 29] = "StepAccountingTableHeader";
|
|
28284
|
+
CoreMessage2[CoreMessage2["StepAccountingTotal"] = 30] = "StepAccountingTotal";
|
|
28285
|
+
CoreMessage2[CoreMessage2["StepAccountingRunnersLabel"] = 31] = "StepAccountingRunnersLabel";
|
|
28286
|
+
CoreMessage2[CoreMessage2["StepAccountingReconcilerLabel"] = 32] = "StepAccountingReconcilerLabel";
|
|
28287
|
+
CoreMessage2[CoreMessage2["StepAccountingNonChecksLabel"] = 33] = "StepAccountingNonChecksLabel";
|
|
28288
|
+
CoreMessage2[CoreMessage2["StepAccountingNotAppliedLabel"] = 34] = "StepAccountingNotAppliedLabel";
|
|
28289
|
+
CoreMessage2[CoreMessage2["StepAccountingNoWorkflowRead"] = 35] = "StepAccountingNoWorkflowRead";
|
|
28290
|
+
CoreMessage2[CoreMessage2["StepAccountingPlumbingLabel"] = 36] = "StepAccountingPlumbingLabel";
|
|
28291
|
+
CoreMessage2[CoreMessage2["StepAccountingCandidatesTerm"] = 37] = "StepAccountingCandidatesTerm";
|
|
28292
|
+
CoreMessage2[CoreMessage2["StepAccountingReconcilerTerm"] = 38] = "StepAccountingReconcilerTerm";
|
|
28293
|
+
CoreMessage2[CoreMessage2["StepAccountingNonChecksTerm"] = 39] = "StepAccountingNonChecksTerm";
|
|
28294
|
+
CoreMessage2[CoreMessage2["StepAccountingPlumbingTerm"] = 40] = "StepAccountingPlumbingTerm";
|
|
28295
|
+
CoreMessage2[CoreMessage2["StepAccountingAccountedForTerm"] = 41] = "StepAccountingAccountedForTerm";
|
|
28296
|
+
CoreMessage2[CoreMessage2["OutOfBalanceByFeatureHeading"] = 42] = "OutOfBalanceByFeatureHeading";
|
|
28297
|
+
CoreMessage2[CoreMessage2["ScenarioClaimReconciliationsOutOfBalance"] = 43] = "ScenarioClaimReconciliationsOutOfBalance";
|
|
28298
|
+
CoreMessage2[CoreMessage2["GroupedByFeature"] = 44] = "GroupedByFeature";
|
|
28299
|
+
CoreMessage2[CoreMessage2["NotGroupedByFeature"] = 45] = "NotGroupedByFeature";
|
|
28300
|
+
CoreMessage2[CoreMessage2["PhantomClaimReconciliations"] = 46] = "PhantomClaimReconciliations";
|
|
28301
|
+
CoreMessage2[CoreMessage2["UnnamedClaimReconciliations"] = 47] = "UnnamedClaimReconciliations";
|
|
28302
|
+
CoreMessage2[CoreMessage2["AndJoiner"] = 48] = "AndJoiner";
|
|
28303
|
+
CoreMessage2[CoreMessage2["ByFeatureTableHeader"] = 49] = "ByFeatureTableHeader";
|
|
28304
|
+
CoreMessage2[CoreMessage2["NoScnCodeScenarios"] = 50] = "NoScnCodeScenarios";
|
|
28305
|
+
CoreMessage2[CoreMessage2["ClaimReconciliationsHeading"] = 51] = "ClaimReconciliationsHeading";
|
|
28306
|
+
CoreMessage2[CoreMessage2["ClaimReconciliationTally"] = 52] = "ClaimReconciliationTally";
|
|
28307
|
+
CoreMessage2[CoreMessage2["PhantomClaimTally"] = 53] = "PhantomClaimTally";
|
|
28308
|
+
CoreMessage2[CoreMessage2["UnnamedClaimTally"] = 54] = "UnnamedClaimTally";
|
|
28309
|
+
CoreMessage2[CoreMessage2["ExcludedScnOccurrences"] = 55] = "ExcludedScnOccurrences";
|
|
28310
|
+
CoreMessage2[CoreMessage2["UntaggedScenarios"] = 56] = "UntaggedScenarios";
|
|
28311
|
+
CoreMessage2[CoreMessage2["SharedScnCodes"] = 57] = "SharedScnCodes";
|
|
28312
|
+
CoreMessage2[CoreMessage2["SharedScnCodeScenario"] = 58] = "SharedScnCodeScenario";
|
|
28313
|
+
CoreMessage2[CoreMessage2["ClaimColumn"] = 59] = "ClaimColumn";
|
|
28314
|
+
CoreMessage2[CoreMessage2["VerdictColumn"] = 60] = "VerdictColumn";
|
|
28315
|
+
CoreMessage2[CoreMessage2["ReconcilingItemsColumn"] = 61] = "ReconcilingItemsColumn";
|
|
28316
|
+
CoreMessage2[CoreMessage2["CiStepsColumn"] = 62] = "CiStepsColumn";
|
|
28317
|
+
CoreMessage2[CoreMessage2["EvidenceCellKey"] = 63] = "EvidenceCellKey";
|
|
28318
|
+
CoreMessage2[CoreMessage2["WatermelonItemKey"] = 64] = "WatermelonItemKey";
|
|
28319
|
+
CoreMessage2[CoreMessage2["PendingItem"] = 65] = "PendingItem";
|
|
28320
|
+
CoreMessage2[CoreMessage2["PendingItemFor"] = 66] = "PendingItemFor";
|
|
28321
|
+
CoreMessage2[CoreMessage2["CheckStepNoOutcome"] = 67] = "CheckStepNoOutcome";
|
|
28322
|
+
CoreMessage2[CoreMessage2["CheckStepSkipped"] = 68] = "CheckStepSkipped";
|
|
28323
|
+
CoreMessage2[CoreMessage2["CheckStepEnded"] = 69] = "CheckStepEnded";
|
|
28324
|
+
CoreMessage2[CoreMessage2["AmbiguousNamedStep"] = 70] = "AmbiguousNamedStep";
|
|
28325
|
+
CoreMessage2[CoreMessage2["AmbiguousUnnamedStep"] = 71] = "AmbiguousUnnamedStep";
|
|
28326
|
+
CoreMessage2[CoreMessage2["OutcomeSatisfied"] = 72] = "OutcomeSatisfied";
|
|
28327
|
+
CoreMessage2[CoreMessage2["OutcomeMissing"] = 73] = "OutcomeMissing";
|
|
28328
|
+
CoreMessage2[CoreMessage2["OutcomeFailing"] = 74] = "OutcomeFailing";
|
|
28329
|
+
CoreMessage2[CoreMessage2["OutcomeWatermelon"] = 75] = "OutcomeWatermelon";
|
|
28330
|
+
CoreMessage2[CoreMessage2["OutcomeNoScnCode"] = 76] = "OutcomeNoScnCode";
|
|
28331
|
+
CoreMessage2[CoreMessage2["OutcomeDuplicateScnCode"] = 77] = "OutcomeDuplicateScnCode";
|
|
28332
|
+
CoreMessage2[CoreMessage2["OutcomeCitesUnknownScenario"] = 78] = "OutcomeCitesUnknownScenario";
|
|
28333
|
+
CoreMessage2[CoreMessage2["OutcomeCitesNoScenario"] = 79] = "OutcomeCitesNoScenario";
|
|
28334
|
+
CoreMessage2[CoreMessage2["OutcomeNoEvidenceObligation"] = 80] = "OutcomeNoEvidenceObligation";
|
|
28335
|
+
CoreMessage2[CoreMessage2["OutcomeBroken"] = 81] = "OutcomeBroken";
|
|
28336
|
+
CoreMessage2[CoreMessage2["OutcomeBothMissing"] = 82] = "OutcomeBothMissing";
|
|
28337
|
+
CoreMessage2[CoreMessage2["ObservationPassed"] = 83] = "ObservationPassed";
|
|
28338
|
+
CoreMessage2[CoreMessage2["ObservationFailed"] = 84] = "ObservationFailed";
|
|
28339
|
+
CoreMessage2[CoreMessage2["UnnamedClaimGroupCounts"] = 85] = "UnnamedClaimGroupCounts";
|
|
28340
|
+
CoreMessage2[CoreMessage2["UnnamedClaimFailedNames"] = 86] = "UnnamedClaimFailedNames";
|
|
28341
|
+
CoreMessage2[CoreMessage2["SeveralScnCodes"] = 87] = "SeveralScnCodes";
|
|
28342
|
+
CoreMessage2[CoreMessage2["SharedScnCode"] = 88] = "SharedScnCode";
|
|
28351
28343
|
CoreMessage2["ConfigurationNotReadIntro"] = "configuration-not-read-intro";
|
|
28352
28344
|
CoreMessage2["ConfigurationWrongKind"] = "configuration-wrong-kind";
|
|
28353
28345
|
CoreMessage2["ConfigurationUnknownKey"] = "configuration-unknown-key";
|
|
28354
|
-
CoreMessage2["
|
|
28346
|
+
CoreMessage2["ProofsNeverRan"] = "proofs-never-ran";
|
|
28355
28347
|
CoreMessage2["ScenarioCodeErrorCount"] = "scenario-code-error-count";
|
|
28348
|
+
CoreMessage2["NoFeatureFileJudged"] = "no-feature-file-judged";
|
|
28349
|
+
CoreMessage2["CleanNoCodedScenario"] = "clean-no-coded-scenario";
|
|
28350
|
+
CoreMessage2["CleanEachFileOwnCode"] = "clean-each-file-own-code";
|
|
28351
|
+
CoreMessage2["CleanOthersNoFeatureCode"] = "clean-others-no-feature-code";
|
|
28352
|
+
CoreMessage2["UnnamedClaimCiSteps"] = "unnamed-claim-ci-steps";
|
|
28353
|
+
CoreMessage2["UnnamedClaimCiStepsNamed"] = "unnamed-claim-ci-steps-named";
|
|
28356
28354
|
CoreMessage2["ScenarioCodeErrorsFraming"] = "scenario-code-errors-framing";
|
|
28357
28355
|
CoreMessage2["SeveralScnCodesFraming"] = "several-scn-codes-framing";
|
|
28358
28356
|
CoreMessage2["MisfiledAndSeveralScnCodesFraming"] = "misfiled-and-several-scn-codes-framing";
|
|
@@ -28425,24 +28423,10 @@ var init_messages4 = __esm({
|
|
|
28425
28423
|
CITED_WITH_NO_SCENARIO = "cited scenario ids with no real scenario";
|
|
28426
28424
|
NO_ONE_SCENARIO_CAN_TAKE = "evidence observations no one scenario can take";
|
|
28427
28425
|
RUNNERS_PLACE = "`specController.runners` in its `package.json`";
|
|
28428
|
-
IN_ITS_FILE = "every coded scenario sits in the file its code names";
|
|
28429
28426
|
CORE_MESSAGES = {
|
|
28430
28427
|
[CoreMessage.ErrorsInTheInputsHeading]: "## Errors in the inputs",
|
|
28431
28428
|
[CoreMessage.ConfigurationNotReadHeading]: "### Configuration not read",
|
|
28432
|
-
[CoreMessage.OneProofNeverRan]: "1 Evidence Observation never ran to a result, so the behaviour it proves was never exercised.",
|
|
28433
|
-
[CoreMessage.ProofsNeverRan]: (count) => `${count} Evidence Observations never ran to a result, so the behaviours they prove were never exercised.`,
|
|
28434
28429
|
[CoreMessage.ScenarioCodeErrorsHeading]: "### Scenario code errors",
|
|
28435
|
-
[CoreMessage.FeatureFileNoun]: "feature file",
|
|
28436
|
-
[CoreMessage.FeatureCodeNoun]: "feature code",
|
|
28437
|
-
[CoreMessage.NoFeatureFileJudged]: "No feature file was judged, so no scenario code is vouched for.",
|
|
28438
|
-
[CoreMessage.ScenarioCodesCleanOver]: (featureFiles, featureCodes) => `Scenario codes are clean over ${featureFiles} carrying ${featureCodes} (a feature code is the tag heading a feature file, the \`<FFF>\` that each \`@SCN-<FFF>-<NNN>\` code in that file repeats)`,
|
|
28439
|
-
[CoreMessage.CleanNoCodedScenario]: (over, them) => `${over}: no scenario in ${them} carries an @SCN code to misfile.`,
|
|
28440
|
-
[CoreMessage.CleanEachFileOwnCode]: (over) => `${over}: each file carries a code of its own, and ${IN_ITS_FILE}.`,
|
|
28441
|
-
[CoreMessage.CleanOthersNoFeatureCode]: (over, noFeatureCode, hold) => `${over}: each code is carried by exactly one file, ${IN_ITS_FILE}, and the other ${noFeatureCode} ${hold} no coded scenario.`,
|
|
28442
|
-
[CoreMessage.ItPronoun]: "it",
|
|
28443
|
-
[CoreMessage.ThemPronoun]: "them",
|
|
28444
|
-
[CoreMessage.HoldsVerb]: "holds",
|
|
28445
|
-
[CoreMessage.HoldVerb]: "hold",
|
|
28446
28430
|
[CoreMessage.ReconciliationTotalsHeading]: "### Reconciliation totals",
|
|
28447
28431
|
[CoreMessage.ReconciliationTotalsClaimReconciliationTerm]: "A Claim Reconciliation is one row of the ledger: one claim, reconciled in its Quality Check Reconciliations. A Quality Check Reconciliation reconciles the evidence of one kind of quality check within the claim: the claim's Evidence Obligation of that kind, when it has one, against its Evidence Observations of that kind. A claim is a scenario, a phantom claim (a code that evidence cites and no scenario carries, which the table below calls an unknown Scenario) or the unnamed claim (the one row for the evidence that no scenario or phantom claim takes).",
|
|
28448
28432
|
[CoreMessage.ReconciliationTotalsReconciliationLineTerm]: "A Reconciliation line is one line of a Quality Check Reconciliation, with its own outcome: each Evidence Observation it holds is one line, and its Evidence Obligation is one more when no Evidence Observation that ran answers it. A scenario with no Evidence Obligation, no Pending Item and no Evidence Observation still has one Quality Check Reconciliation, holding neither, and it is a single line. No line stands in for another: a scenario whose one Evidence Obligation two passing tests answer adds one to the Claim Reconciliation total and two to the Reconciliation line total.",
|
|
@@ -28536,11 +28520,6 @@ var init_messages4 = __esm({
|
|
|
28536
28520
|
[CoreMessage.ObservationPassed]: "passed",
|
|
28537
28521
|
[CoreMessage.ObservationFailed]: "failed",
|
|
28538
28522
|
[CoreMessage.UnnamedClaimGroupCounts]: (ran, passed, failed) => `${ran} ran, ${passed} passed, ${failed} failed`,
|
|
28539
|
-
[CoreMessage.UnnamedClaimCiSteps]: (names) => {
|
|
28540
|
-
const named = names.map((name) => name.trim()).filter((name) => name !== "");
|
|
28541
|
-
const listed = named.length === 0 ? "" : `: ${named.join(", ")}`;
|
|
28542
|
-
return `${names.length} CI step${names.length === 1 ? "" : "s"}${listed}`;
|
|
28543
|
-
},
|
|
28544
28523
|
[CoreMessage.UnnamedClaimFailedNames]: (names) => `(failed: ${names.join(" / ")})`,
|
|
28545
28524
|
[CoreMessage.SeveralScnCodes]: (codes) => `${codes.length} scenario codes cite ${codes.join(", ")} \u2014 a test cites exactly one scenario, so this one credits none of them.`,
|
|
28546
28525
|
[CoreMessage.SharedScnCode]: (code) => `${code} is carried by more than one scenario, so evidence citing it credits none of them.`
|
|
@@ -28635,8 +28614,14 @@ var init_messages_en = __esm({
|
|
|
28635
28614
|
"manifest-kind-string": "a string",
|
|
28636
28615
|
"manifest-kind-string-or-null": "a string or null",
|
|
28637
28616
|
"manifest-kind-of-type": "a {type}",
|
|
28638
|
-
"
|
|
28639
|
-
"scenario-code-error-count": "{count} scenario code errors",
|
|
28617
|
+
"proofs-never-ran": "{count, plural, one {{count} Evidence Observation never ran to a result, so the behaviour it proves was never exercised.} other {{count} Evidence Observations never ran to a result, so the behaviours they prove were never exercised.}}",
|
|
28618
|
+
"scenario-code-error-count": "{count, plural, one {{count} scenario code error} other {{count} scenario code errors}}",
|
|
28619
|
+
"no-feature-file-judged": "No feature file was judged, so no scenario code is vouched for.",
|
|
28620
|
+
"clean-no-coded-scenario": "Scenario codes are clean over {featureFiles, plural, one {{featureFiles} feature file} other {{featureFiles} feature files}} carrying 0 feature codes (a feature code is the tag heading a feature file, the `<FFF>` that each `@SCN-<FFF>-<NNN>` code in that file repeats): no scenario in {featureFiles, plural, one {it} other {them}} carries an @SCN code to misfile.",
|
|
28621
|
+
"clean-each-file-own-code": "Scenario codes are clean over {featureFiles, plural, one {{featureFiles} feature file} other {{featureFiles} feature files}} carrying {featureCodes, plural, one {{featureCodes} feature code} other {{featureCodes} feature codes}} (a feature code is the tag heading a feature file, the `<FFF>` that each `@SCN-<FFF>-<NNN>` code in that file repeats): each file carries a code of its own, and every coded scenario sits in the file its code names.",
|
|
28622
|
+
"clean-others-no-feature-code": "Scenario codes are clean over {featureFiles, plural, one {{featureFiles} feature file} other {{featureFiles} feature files}} carrying {featureCodes, plural, one {{featureCodes} feature code} other {{featureCodes} feature codes}} (a feature code is the tag heading a feature file, the `<FFF>` that each `@SCN-<FFF>-<NNN>` code in that file repeats): each code is carried by exactly one file, every coded scenario sits in the file its code names, and the other {noFeatureCode} {noFeatureCode, plural, one {holds} other {hold}} no coded scenario.",
|
|
28623
|
+
"unnamed-claim-ci-steps": "{count, plural, one {{count} CI step} other {{count} CI steps}}",
|
|
28624
|
+
"unnamed-claim-ci-steps-named": "{count, plural, one {{count} CI step} other {{count} CI steps}}: {list}",
|
|
28640
28625
|
"scenario-code-errors-framing": "{count} \u2014 each misfiles a scenario code, so the by-feature cut below cannot be trusted, and the run fails (exit 1). Every account still reconciles as it would if the code were filed correctly.",
|
|
28641
28626
|
"several-scn-codes-framing": "{count} \u2014 each is a scenario carrying more than one scenario code, so no account was raised for it under any of them, and the run fails (exit 1).",
|
|
28642
28627
|
"misfiled-and-several-scn-codes-framing": "{count} \u2014 each either misfiles a scenario code, so the by-feature cut below cannot be trusted, or is a scenario carrying more than one scenario code, so no account was raised for it under any of them. The run fails (exit 1).",
|
|
@@ -31563,7 +31548,7 @@ var init_runVerdict2 = __esm({
|
|
|
31563
31548
|
};
|
|
31564
31549
|
runVerdictSection = (report, exitCodeOf2) => {
|
|
31565
31550
|
const verdict = report.summary.runVerdict;
|
|
31566
|
-
const line = verdictFor2(verdict, report, report.runProvenance.corpus, report.
|
|
31551
|
+
const line = verdictFor2(verdict, report, report.runProvenance.corpus, report.errorsInTheInputs?.scenarioCodeErrors ?? []);
|
|
31567
31552
|
const exit = coreMessage(CoreMessage.VerdictExit, { code: exitCodeOf2(verdict) });
|
|
31568
31553
|
const lines = [markdownHeading(3, coreMessage(CoreMessage.RunVerdictHeading)), "", `${line.headline} \u2014 ${line.gloss} (${exit})`];
|
|
31569
31554
|
if (verdict === "balanced" && hasPendingItems(report)) {
|
|
@@ -31596,20 +31581,24 @@ function scenarioCodeErrorsFraming(errors, count) {
|
|
|
31596
31581
|
return coreMessage(CoreMessage.MisfiledAndSeveralScnCodesFraming, { count });
|
|
31597
31582
|
}
|
|
31598
31583
|
}
|
|
31599
|
-
function
|
|
31600
|
-
|
|
31601
|
-
|
|
31602
|
-
|
|
31603
|
-
|
|
31604
|
-
|
|
31605
|
-
|
|
31606
|
-
|
|
31584
|
+
function cleanStatement(cleanliness) {
|
|
31585
|
+
switch (cleanliness.kind) {
|
|
31586
|
+
case "no-feature-file":
|
|
31587
|
+
return coreMessage(CoreMessage.NoFeatureFileJudged);
|
|
31588
|
+
case "no-coded-scenario":
|
|
31589
|
+
return coreMessage(CoreMessage.CleanNoCodedScenario, { featureFiles: cleanliness.featureFiles });
|
|
31590
|
+
case "each-file-own-code":
|
|
31591
|
+
return coreMessage(CoreMessage.CleanEachFileOwnCode, {
|
|
31592
|
+
featureFiles: cleanliness.featureFiles,
|
|
31593
|
+
featureCodes: cleanliness.featureCodes
|
|
31594
|
+
});
|
|
31595
|
+
case "others-no-feature-code":
|
|
31596
|
+
return coreMessage(CoreMessage.CleanOthersNoFeatureCode, {
|
|
31597
|
+
featureFiles: cleanliness.featureFiles,
|
|
31598
|
+
featureCodes: cleanliness.featureCodes,
|
|
31599
|
+
noFeatureCode: cleanliness.noFeatureCode
|
|
31600
|
+
});
|
|
31607
31601
|
}
|
|
31608
|
-
if (featureCodes === featureFiles)
|
|
31609
|
-
return CORE_MESSAGES[CoreMessage.CleanEachFileOwnCode](over);
|
|
31610
|
-
const noFeatureCode = featureFilesWithNoFeatureCodeOf({ featureFiles, featureCodes });
|
|
31611
|
-
const hold = noFeatureCode === 1 ? CORE_MESSAGES[CoreMessage.HoldsVerb] : CORE_MESSAGES[CoreMessage.HoldVerb];
|
|
31612
|
-
return CORE_MESSAGES[CoreMessage.CleanOthersNoFeatureCode](over, noFeatureCode, hold);
|
|
31613
31602
|
}
|
|
31614
31603
|
function worded(error) {
|
|
31615
31604
|
if (error.kind === "duplicate-feature-code") {
|
|
@@ -31648,7 +31637,6 @@ var CODE_OF, scenarioCodeErrorsSection, scenarioCodesCleanStatement;
|
|
|
31648
31637
|
var init_scenarioCodeErrorsSection = __esm({
|
|
31649
31638
|
"../core/dist/render/scenarioCodeErrorsSection.js"() {
|
|
31650
31639
|
"use strict";
|
|
31651
|
-
init_renderInput();
|
|
31652
31640
|
init_scnTags();
|
|
31653
31641
|
init_messages4();
|
|
31654
31642
|
init_coreText();
|
|
@@ -31660,10 +31648,10 @@ var init_scenarioCodeErrorsSection = __esm({
|
|
|
31660
31648
|
"several-scn-codes": CoreError.SeveralScnCodes
|
|
31661
31649
|
};
|
|
31662
31650
|
scenarioCodeErrorsSection = (report) => {
|
|
31663
|
-
const errors = report.
|
|
31651
|
+
const errors = report.errorsInTheInputs?.scenarioCodeErrors;
|
|
31664
31652
|
if (errors === void 0)
|
|
31665
31653
|
return [];
|
|
31666
|
-
const count =
|
|
31654
|
+
const count = coreMessage(CoreMessage.ScenarioCodeErrorCount, { count: errors.length });
|
|
31667
31655
|
return [
|
|
31668
31656
|
CORE_MESSAGES[CoreMessage.ScenarioCodeErrorsHeading],
|
|
31669
31657
|
"",
|
|
@@ -31676,14 +31664,12 @@ var init_scenarioCodeErrorsSection = __esm({
|
|
|
31676
31664
|
];
|
|
31677
31665
|
};
|
|
31678
31666
|
scenarioCodesCleanStatement = (report) => {
|
|
31679
|
-
if (report.
|
|
31667
|
+
if (report.errorsInTheInputs?.scenarioCodeErrors !== void 0)
|
|
31680
31668
|
return [];
|
|
31681
31669
|
const { featureFiles, featureCodes } = report.summary.scenarioCodes ?? {};
|
|
31682
|
-
if (featureFiles
|
|
31670
|
+
if (typeof featureFiles !== "number" || typeof featureCodes !== "number")
|
|
31683
31671
|
return [];
|
|
31684
|
-
|
|
31685
|
-
return [CORE_MESSAGES[CoreMessage.NoFeatureFileJudged], ""];
|
|
31686
|
-
return [cleanStatement(featureFiles, featureCodes), ""];
|
|
31672
|
+
return [cleanStatement(scenarioCodeCleanlinessOf({ featureFiles, featureCodes })), ""];
|
|
31687
31673
|
};
|
|
31688
31674
|
}
|
|
31689
31675
|
});
|
|
@@ -31782,11 +31768,11 @@ var init_configurationNotRead = __esm({
|
|
|
31782
31768
|
init_codeSpan();
|
|
31783
31769
|
init_errorEntry();
|
|
31784
31770
|
configurationNotReadSection = (report) => {
|
|
31785
|
-
const wrongKinds = report.
|
|
31786
|
-
const unknownKeys = report.
|
|
31787
|
-
const runnerKeysNotALayer = report.
|
|
31788
|
-
const nonChecksMatchingNoStep = report.
|
|
31789
|
-
const nonChecksNotAStepName = report.
|
|
31771
|
+
const wrongKinds = report.errorsInTheInputs?.configurationNotRead?.ofWrongKind ?? [];
|
|
31772
|
+
const unknownKeys = report.errorsInTheInputs?.configurationNotRead?.keysNotRead ?? [];
|
|
31773
|
+
const runnerKeysNotALayer = report.errorsInTheInputs?.configurationNotRead?.runnerKeysNotALayer ?? [];
|
|
31774
|
+
const nonChecksMatchingNoStep = report.errorsInTheInputs?.configurationNotRead?.nonChecksMatchingNoStep ?? [];
|
|
31775
|
+
const nonChecksNotAStepName = report.errorsInTheInputs?.configurationNotRead?.nonChecksNotAStepName ?? [];
|
|
31790
31776
|
if (wrongKinds.length === 0 && unknownKeys.length === 0 && runnerKeysNotALayer.length === 0 && nonChecksMatchingNoStep.length === 0 && nonChecksNotAStepName.length === 0)
|
|
31791
31777
|
return [];
|
|
31792
31778
|
return [
|
|
@@ -32155,10 +32141,22 @@ function renderFileGroup(group) {
|
|
|
32155
32141
|
const failed = names.length === 0 ? "" : ` ${CORE_MESSAGES[CoreMessage.UnnamedClaimFailedNames](names)}`;
|
|
32156
32142
|
return `${group.qualityCheckKind}: ${OUTCOME_DESCRIPTION["cites-no-scenario"]}${quotedSuffix([reported(group.locator), said])} \u2014 ${counts}${failed}`;
|
|
32157
32143
|
}
|
|
32144
|
+
function unnamedClaimCiStepsViewOf(names) {
|
|
32145
|
+
const named = names.filter((name) => name !== "");
|
|
32146
|
+
return { count: names.length, named: named.length === 0 ? { kind: "none" } : { kind: "some", list: named.join(", ") } };
|
|
32147
|
+
}
|
|
32148
|
+
function unnamedClaimCiSteps({ count, named }) {
|
|
32149
|
+
switch (named.kind) {
|
|
32150
|
+
case "none":
|
|
32151
|
+
return coreMessage(CoreMessage.UnnamedClaimCiSteps, { count });
|
|
32152
|
+
case "some":
|
|
32153
|
+
return coreMessage(CoreMessage.UnnamedClaimCiStepsNamed, { count, list: named.list });
|
|
32154
|
+
}
|
|
32155
|
+
}
|
|
32158
32156
|
function renderUnnamedClaimGroup(group) {
|
|
32159
32157
|
if (!("names" in group))
|
|
32160
32158
|
return renderFileGroup(group);
|
|
32161
|
-
const steps =
|
|
32159
|
+
const steps = unnamedClaimCiSteps(unnamedClaimCiStepsViewOf(group.names.map(reportedName)));
|
|
32162
32160
|
const remark = group.sharedScnCode === void 0 ? "" : ` (${CORE_MESSAGES[CoreMessage.SharedScnCode](group.sharedScnCode)})`;
|
|
32163
32161
|
return `fitness: ${OUTCOME_DESCRIPTION["cites-no-scenario"]}${remark} \u2014 ${steps}`;
|
|
32164
32162
|
}
|
|
@@ -32292,8 +32290,7 @@ var init_markdown = __esm({
|
|
|
32292
32290
|
if (!hasBrokenEvidence(report))
|
|
32293
32291
|
return [];
|
|
32294
32292
|
const brokenObservations = brokenItemsOf(report).flatMap((line) => line.evidenceObservation ?? []);
|
|
32295
|
-
const
|
|
32296
|
-
const proofs = count === 1 ? CORE_MESSAGES[CoreMessage.OneProofNeverRan] : CORE_MESSAGES[CoreMessage.ProofsNeverRan](count);
|
|
32293
|
+
const proofs = coreMessage(CoreMessage.ProofsNeverRan, { count: brokenObservations.length });
|
|
32297
32294
|
const lines = [
|
|
32298
32295
|
markdownHeading(2, coreMessage(CoreMessage.RunIntegrityHeading)),
|
|
32299
32296
|
"",
|
|
@@ -32500,8 +32497,7 @@ var init_messages_en2 = __esm({
|
|
|
32500
32497
|
"retired-flag": "Retired flag {flag} for ''{scope}'' \u2014 retired in spec-controller {retiredIn}, and no later version accepts it (this is spec-controller {toolVersion}).",
|
|
32501
32498
|
"do-not-pin-retired": "Do not pin an earlier version to get it back: that restores the route it was retired with.",
|
|
32502
32499
|
"re-render-not-stored": "'balance --render-from-json' re-renders a saved report to stdout and keeps no run, and was given {modifiers}: a re-render is not stored.",
|
|
32503
|
-
"re-render-without
|
|
32504
|
-
"re-render-without-them": "Run 'spec-controller balance --render-from-json <path>' without them.",
|
|
32500
|
+
"re-render-without": "{count, plural, one {Run 'spec-controller balance --render-from-json <path>' without it.} other {Run 'spec-controller balance --render-from-json <path>' without them.}}",
|
|
32505
32501
|
"run-id-without-store": "--run-id names a stored run, and was given ''{runId}'' with no --store, so no run is kept under it.",
|
|
32506
32502
|
"keep-run-under-name": "To keep the run under that name, give --store <root> as well; otherwise run ''{command}'' without --run-id.",
|
|
32507
32503
|
"legacy-json-removed": "The --json <path> flag has been removed. Use --format json:<path> to write the JSON report to a file (e.g. --format json:spec-reconciliation.json).",
|
|
@@ -32918,9 +32914,9 @@ var init_inputShapes = __esm({
|
|
|
32918
32914
|
}
|
|
32919
32915
|
}
|
|
32920
32916
|
},
|
|
32921
|
-
|
|
32917
|
+
errorsInTheInputs: {
|
|
32922
32918
|
fields: {
|
|
32923
|
-
|
|
32919
|
+
scenarioCodeErrors: { list: "anything" },
|
|
32924
32920
|
configurationNotRead: {
|
|
32925
32921
|
fields: {
|
|
32926
32922
|
keysNotRead: { list: "anything" },
|
|
@@ -32931,10 +32927,11 @@ var init_inputShapes = __esm({
|
|
|
32931
32927
|
}
|
|
32932
32928
|
}
|
|
32933
32929
|
},
|
|
32934
|
-
retired: { configuration: "configurationNotRead" }
|
|
32930
|
+
retired: { scenarioCodes: "scenarioCodeErrors", configuration: "configurationNotRead" }
|
|
32935
32931
|
}
|
|
32936
32932
|
},
|
|
32937
|
-
required: ["runProvenance", "summary", "claimReconciliations"]
|
|
32933
|
+
required: ["runProvenance", "summary", "claimReconciliations"],
|
|
32934
|
+
retired: { errors: "errorsInTheInputs" }
|
|
32938
32935
|
};
|
|
32939
32936
|
TOP = { kind: "top" };
|
|
32940
32937
|
}
|
|
@@ -39309,7 +39306,7 @@ function storedReRenderRefusal(inv) {
|
|
|
39309
39306
|
return refusal(
|
|
39310
39307
|
"re-render-not-stored" /* ReRenderNotStored */,
|
|
39311
39308
|
{ modifiers: given.join(", ") },
|
|
39312
|
-
[message(
|
|
39309
|
+
[message("re-render-without" /* ReRenderWithout */, { count: given.length })]
|
|
39313
39310
|
);
|
|
39314
39311
|
}
|
|
39315
39312
|
function unstoredRunIdRefusal(inv, commands = cliRegistry.commands) {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"runProvenance": {
|
|
9
9
|
"$ref": "#/definitions/ProvenanceObject"
|
|
10
10
|
},
|
|
11
|
-
"
|
|
11
|
+
"errorsInTheInputs": {
|
|
12
12
|
"$ref": "#/definitions/ErrorsSection"
|
|
13
13
|
},
|
|
14
14
|
"summary": {
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
"ErrorsSection": {
|
|
131
131
|
"type": "object",
|
|
132
132
|
"properties": {
|
|
133
|
-
"
|
|
133
|
+
"scenarioCodeErrors": {
|
|
134
134
|
"type": "array",
|
|
135
135
|
"items": {
|
|
136
136
|
"$ref": "#/definitions/ScenarioCodeError"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "spec-controller",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.227",
|
|
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.227"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public"
|