spec-controller 0.1.256 → 0.1.258
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 +107 -107
- package/dist/spec-reconciliation.schema.json +20 -20
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -11865,14 +11865,14 @@ function evidenceOfRunResult(result) {
|
|
|
11865
11865
|
if (result === "inconclusive")
|
|
11866
11866
|
return void 0;
|
|
11867
11867
|
if (result === "never-reached-its-assertions")
|
|
11868
|
-
return { status: "failed",
|
|
11868
|
+
return { status: "failed", neverRan: true };
|
|
11869
11869
|
return { status: result };
|
|
11870
11870
|
}
|
|
11871
11871
|
function isFitnessObservation(observation) {
|
|
11872
11872
|
return observation.qualityCheckKind === "fitness";
|
|
11873
11873
|
}
|
|
11874
11874
|
function ranAsFitnessFunction(observation) {
|
|
11875
|
-
return isFitnessObservation(observation) && observation.
|
|
11875
|
+
return isFitnessObservation(observation) && observation.neverRan !== true && observation.exists;
|
|
11876
11876
|
}
|
|
11877
11877
|
var QUALITY_CHECK_KINDS, FALLBACK_LAYER, NON_UNIT_LAYERS;
|
|
11878
11878
|
var init_journal = __esm({
|
|
@@ -11930,7 +11930,7 @@ function presenceOf(present) {
|
|
|
11930
11930
|
return present ? "Exists" : "None";
|
|
11931
11931
|
}
|
|
11932
11932
|
function carriesEvidenceObligation(fields, observation) {
|
|
11933
|
-
return fields.evidenceObligation !== void 0 && observation.
|
|
11933
|
+
return fields.evidenceObligation !== void 0 && observation.neverRan !== true;
|
|
11934
11934
|
}
|
|
11935
11935
|
function divergence(outcome, evidence, presenceFound) {
|
|
11936
11936
|
const profile = OUTCOME_SIDE_PROFILE[outcome];
|
|
@@ -11954,7 +11954,7 @@ function makeQualityCheckReconciliation(fields) {
|
|
|
11954
11954
|
if (fields.outcome !== void 0) {
|
|
11955
11955
|
if (!isObligationLineOutcome(fields.outcome))
|
|
11956
11956
|
throw divergence(fields.outcome, "evidence-observation", "None");
|
|
11957
|
-
refuseDivergentLine(fields.outcome, presenceOf(fields.evidenceObligation !== void 0), presenceOf(observations.some((o) => o.
|
|
11957
|
+
refuseDivergentLine(fields.outcome, presenceOf(fields.evidenceObligation !== void 0), presenceOf(observations.some((o) => o.neverRan !== true)));
|
|
11958
11958
|
}
|
|
11959
11959
|
for (const observation of observations) {
|
|
11960
11960
|
refuseDivergentLine(observation.outcome, presenceOf(carriesEvidenceObligation(fields, observation)), "Exists");
|
|
@@ -11962,15 +11962,15 @@ function makeQualityCheckReconciliation(fields) {
|
|
|
11962
11962
|
return fields;
|
|
11963
11963
|
}
|
|
11964
11964
|
function lineOutcomeOf(observation, answering) {
|
|
11965
|
-
if (observation.
|
|
11966
|
-
return "
|
|
11965
|
+
if (observation.neverRan === true)
|
|
11966
|
+
return "never-ran";
|
|
11967
11967
|
if (answering !== "evidence-obligation")
|
|
11968
11968
|
return UNOBLIGED_OUTCOME[answering];
|
|
11969
11969
|
if (!isFitnessObservation(observation))
|
|
11970
11970
|
return observation.status === "passed" ? "satisfied" : "failing";
|
|
11971
11971
|
if (observation.status === "failed")
|
|
11972
11972
|
return "failing";
|
|
11973
|
-
return observation.enforcedOverRealSource ? "satisfied" : "
|
|
11973
|
+
return observation.enforcedOverRealSource ? "satisfied" : "cannot-fail";
|
|
11974
11974
|
}
|
|
11975
11975
|
function linesFor(observations, answering) {
|
|
11976
11976
|
return observations.map((o) => ({ ...o, outcome: lineOutcomeOf(o, answering) }));
|
|
@@ -11980,7 +11980,7 @@ function observationsField(observations) {
|
|
|
11980
11980
|
}
|
|
11981
11981
|
function reconcileEvidenceObligation(claimCode, obligation, evidenceObservations) {
|
|
11982
11982
|
const citing = evidenceObservations.filter((o) => o.qualityCheckKind === obligation.qualityCheckKind && o.claimCode === claimCode);
|
|
11983
|
-
const answered = citing.some((o) => o.
|
|
11983
|
+
const answered = citing.some((o) => o.neverRan !== true);
|
|
11984
11984
|
return makeQualityCheckReconciliation({
|
|
11985
11985
|
qualityCheckKind: obligation.qualityCheckKind,
|
|
11986
11986
|
...answered ? {} : { outcome: "missing" },
|
|
@@ -11995,10 +11995,10 @@ function reconciliationsByQualityCheckKind(observations, answering) {
|
|
|
11995
11995
|
}
|
|
11996
11996
|
return [...groups].map(([qualityCheckKind, group]) => makeQualityCheckReconciliation({ qualityCheckKind, evidenceObservations: linesFor(group, answering) }));
|
|
11997
11997
|
}
|
|
11998
|
-
function
|
|
11998
|
+
function notAskedForReconciliationsOf(claimCode, postedObservations, evidenceObligationPairs) {
|
|
11999
11999
|
return reconciliationsByQualityCheckKind(postedObservations.filter((o) => !evidenceObligationPairs.has(evidenceObligationPairKey(claimCode, o.qualityCheckKind))), "scenario");
|
|
12000
12000
|
}
|
|
12001
|
-
function
|
|
12001
|
+
function citesUnknownClaimReconciliationsOf(observations) {
|
|
12002
12002
|
return reconciliationsByQualityCheckKind(observations, "phantom-claim");
|
|
12003
12003
|
}
|
|
12004
12004
|
function unnamedClaimReconciliationsOf(observations) {
|
|
@@ -12024,8 +12024,8 @@ function duplicateClaimCodeReconciliationsOf(obligations, scenario) {
|
|
|
12024
12024
|
...naming
|
|
12025
12025
|
}));
|
|
12026
12026
|
}
|
|
12027
|
-
function
|
|
12028
|
-
return makeQualityCheckReconciliation({ outcome: "
|
|
12027
|
+
function noQualityCheckReconciliation() {
|
|
12028
|
+
return makeQualityCheckReconciliation({ outcome: "no-quality-check" });
|
|
12029
12029
|
}
|
|
12030
12030
|
var OUTCOME_SIDE_PROFILE, OUT_OF_BALANCE_OUTCOMES, OBLIGATION_LINE_OUTCOMES, UNOBLIGED_OUTCOME;
|
|
12031
12031
|
var init_qualityCheckReconciliation = __esm({
|
|
@@ -12038,21 +12038,21 @@ var init_qualityCheckReconciliation = __esm({
|
|
|
12038
12038
|
satisfied: { obligation: "Exists", observation: "Exists" },
|
|
12039
12039
|
missing: { obligation: "Exists", observation: "None" },
|
|
12040
12040
|
failing: { obligation: "Exists", observation: "Exists" },
|
|
12041
|
-
|
|
12041
|
+
"cannot-fail": { obligation: "Exists", observation: "Exists" },
|
|
12042
12042
|
"no-claim-code": { obligation: "Exists", observation: "None" },
|
|
12043
12043
|
"duplicate-claim-code": { obligation: "Exists", observation: "None" },
|
|
12044
|
-
"cites-unknown-
|
|
12045
|
-
"cites-no-
|
|
12046
|
-
"
|
|
12047
|
-
|
|
12048
|
-
"
|
|
12044
|
+
"cites-unknown-claim": { obligation: "None", observation: "Exists" },
|
|
12045
|
+
"cites-no-claim": { obligation: "None", observation: "Exists" },
|
|
12046
|
+
"not-asked-for": { obligation: "None", observation: "Exists" },
|
|
12047
|
+
"never-ran": { obligation: "None", observation: "Exists" },
|
|
12048
|
+
"no-quality-check": { obligation: "None", observation: "None" }
|
|
12049
12049
|
};
|
|
12050
12050
|
OUT_OF_BALANCE_OUTCOMES = Object.keys(OUTCOME_SIDE_PROFILE).filter((outcome) => outcome !== "satisfied");
|
|
12051
12051
|
OBLIGATION_LINE_OUTCOMES = new Set(Object.keys(OUTCOME_SIDE_PROFILE).filter((outcome) => OUTCOME_SIDE_PROFILE[outcome].observation === "None"));
|
|
12052
12052
|
UNOBLIGED_OUTCOME = {
|
|
12053
|
-
scenario: "
|
|
12054
|
-
"phantom-claim": "cites-unknown-
|
|
12055
|
-
"unnamed-claim": "cites-no-
|
|
12053
|
+
scenario: "not-asked-for",
|
|
12054
|
+
"phantom-claim": "cites-unknown-claim",
|
|
12055
|
+
"unnamed-claim": "cites-no-claim"
|
|
12056
12056
|
};
|
|
12057
12057
|
}
|
|
12058
12058
|
});
|
|
@@ -12115,10 +12115,10 @@ function carriesNoClaimCode(row) {
|
|
|
12115
12115
|
return reconcilingItemsOf(row).some((item) => item.outcome === "no-claim-code");
|
|
12116
12116
|
}
|
|
12117
12117
|
function ranObservationsOf(row) {
|
|
12118
|
-
return observationsOf(row).filter((o) => o.
|
|
12118
|
+
return observationsOf(row).filter((o) => o.neverRan !== true);
|
|
12119
12119
|
}
|
|
12120
12120
|
function carriesQualityCheckKind(row, qualityCheckKind) {
|
|
12121
|
-
return row.qualityCheckReconciliations.some((r) => r.qualityCheckKind === qualityCheckKind && linesOf(r).some((line) => line.outcome !== "
|
|
12121
|
+
return row.qualityCheckReconciliations.some((r) => r.qualityCheckKind === qualityCheckKind && linesOf(r).some((line) => line.outcome !== "never-ran"));
|
|
12122
12122
|
}
|
|
12123
12123
|
function namesQualityCheckKind(row, qualityCheckKind) {
|
|
12124
12124
|
return obligationsOf(row).some((o) => o.qualityCheckKind === qualityCheckKind);
|
|
@@ -12138,9 +12138,9 @@ function stepsAt(row, qualityCheckKind, stepsByQualityCheckKind) {
|
|
|
12138
12138
|
function ciStepsOf(row, stepsByQualityCheckKind) {
|
|
12139
12139
|
return [...new Set(QUALITY_CHECK_KINDS.flatMap((qualityCheckKind) => stepsAt(row, qualityCheckKind, stepsByQualityCheckKind)))];
|
|
12140
12140
|
}
|
|
12141
|
-
function qualityCheckReconciliationsOf(reconciledEvidenceObligations,
|
|
12142
|
-
const rows = [...reconciledEvidenceObligations, ...
|
|
12143
|
-
return rows.length === 0 && pendingItems.length === 0 ? [
|
|
12141
|
+
function qualityCheckReconciliationsOf(reconciledEvidenceObligations, notAskedForItems, pendingItems) {
|
|
12142
|
+
const rows = [...reconciledEvidenceObligations, ...notAskedForItems];
|
|
12143
|
+
return rows.length === 0 && pendingItems.length === 0 ? [noQualityCheckReconciliation()] : rows;
|
|
12144
12144
|
}
|
|
12145
12145
|
var UNNAMED_CLAIM_ID;
|
|
12146
12146
|
var init_claimReconciliation = __esm({
|
|
@@ -12159,14 +12159,14 @@ function isBalanced(ledger) {
|
|
|
12159
12159
|
function hasPendingItems(ledger) {
|
|
12160
12160
|
return ledger.claimReconciliations.some((row) => row.pendingItems.length > 0);
|
|
12161
12161
|
}
|
|
12162
|
-
function
|
|
12163
|
-
return
|
|
12162
|
+
function hasNeverRanEvidence(ledger) {
|
|
12163
|
+
return neverRanItemsOf(ledger).length > 0;
|
|
12164
12164
|
}
|
|
12165
12165
|
function hasNothingToReconcile(ledger) {
|
|
12166
12166
|
return ledger.claimReconciliations.length === 0;
|
|
12167
12167
|
}
|
|
12168
|
-
function
|
|
12169
|
-
return ledger.claimReconciliations.flatMap((row) => reconcilingItemsOf(row).filter((item) => item.outcome === "
|
|
12168
|
+
function neverRanItemsOf(ledger) {
|
|
12169
|
+
return ledger.claimReconciliations.flatMap((row) => reconcilingItemsOf(row).filter((item) => item.outcome === "never-ran"));
|
|
12170
12170
|
}
|
|
12171
12171
|
function ledgerTally(ledger) {
|
|
12172
12172
|
const { claimReconciliations, pending } = claimReconciliationTally(ledger);
|
|
@@ -12206,14 +12206,14 @@ function reconciliationLineTotals(ledger) {
|
|
|
12206
12206
|
satisfied: 0,
|
|
12207
12207
|
"missing": 0,
|
|
12208
12208
|
"failing": 0,
|
|
12209
|
-
"
|
|
12210
|
-
"cites-unknown-
|
|
12211
|
-
"cites-no-
|
|
12209
|
+
"cannot-fail": 0,
|
|
12210
|
+
"cites-unknown-claim": 0,
|
|
12211
|
+
"cites-no-claim": 0,
|
|
12212
12212
|
"no-claim-code": 0,
|
|
12213
12213
|
"duplicate-claim-code": 0,
|
|
12214
|
-
"
|
|
12215
|
-
"
|
|
12216
|
-
"
|
|
12214
|
+
"never-ran": 0,
|
|
12215
|
+
"not-asked-for": 0,
|
|
12216
|
+
"no-quality-check": 0
|
|
12217
12217
|
};
|
|
12218
12218
|
const missing = /* @__PURE__ */ new Map();
|
|
12219
12219
|
for (const s of ledger.claimReconciliations) {
|
|
@@ -12300,8 +12300,8 @@ var init_ledger = __esm({
|
|
|
12300
12300
|
function postingOf(observation, carriedClaimCodes, sharedClaimCodes = /* @__PURE__ */ new Set()) {
|
|
12301
12301
|
const claimCode = observation.claimCode ?? null;
|
|
12302
12302
|
if (claimCode === null || sharedClaimCodes.has(claimCode)) {
|
|
12303
|
-
if (observation.
|
|
12304
|
-
return { kind: "unnamed-claim", posted: "
|
|
12303
|
+
if (observation.neverRan === true)
|
|
12304
|
+
return { kind: "unnamed-claim", posted: "never-ran" };
|
|
12305
12305
|
return { kind: "unnamed-claim", posted: claimCode === null ? "cites-nothing" : "cites-shared-code" };
|
|
12306
12306
|
}
|
|
12307
12307
|
return carriedClaimCodes.has(claimCode) ? { kind: "scenario", claimCode } : { kind: "phantom-claim", claimCode };
|
|
@@ -12375,8 +12375,8 @@ function routeObservations(evidenceObservations, carriedClaimCodes, sharedClaimC
|
|
|
12375
12375
|
function scenarioRow(d, evidenceObservations, citations, evidenceObligationPairs) {
|
|
12376
12376
|
const pendingItems = pendingItemsOf(d);
|
|
12377
12377
|
const reconciledEvidenceObligations = evidenceObligationsOf(d.evidenceObligations).map((obligation) => reconcileEvidenceObligation(d.claimCode, obligation, evidenceObservations));
|
|
12378
|
-
const
|
|
12379
|
-
const qualityCheckReconciliations = qualityCheckReconciliationsOf(reconciledEvidenceObligations,
|
|
12378
|
+
const notAskedForItems = notAskedForReconciliationsOf(d.claimCode, citations.observationsFor(d.claimCode), evidenceObligationPairs);
|
|
12379
|
+
const qualityCheckReconciliations = qualityCheckReconciliationsOf(reconciledEvidenceObligations, notAskedForItems, pendingItems);
|
|
12380
12380
|
return {
|
|
12381
12381
|
claim: d.claimCode,
|
|
12382
12382
|
kind: "scenario",
|
|
@@ -12411,7 +12411,7 @@ function phantomClaimRows(citations) {
|
|
|
12411
12411
|
const rows = [];
|
|
12412
12412
|
for (const claimCode of citations.phantomClaimCodes) {
|
|
12413
12413
|
const observations = citations.observationsFor(claimCode);
|
|
12414
|
-
const items =
|
|
12414
|
+
const items = citesUnknownClaimReconciliationsOf(observations);
|
|
12415
12415
|
rows.push({
|
|
12416
12416
|
claim: claimCode,
|
|
12417
12417
|
kind: "phantom-claim",
|
|
@@ -12622,7 +12622,7 @@ function parseVitestEvidenceObservations(report, root) {
|
|
|
12622
12622
|
claimCode: null,
|
|
12623
12623
|
status: evidence.status,
|
|
12624
12624
|
locator,
|
|
12625
|
-
|
|
12625
|
+
neverRan: evidence.neverRan,
|
|
12626
12626
|
message: file.message
|
|
12627
12627
|
});
|
|
12628
12628
|
continue;
|
|
@@ -12695,8 +12695,8 @@ function observationOf(suite, testcase, evidence, layer) {
|
|
|
12695
12695
|
const { claimCode: soleCode, severalCodes } = attributionOf(citingCodesOf2(testcase));
|
|
12696
12696
|
const claimCode = soleCode === null ? null : citedCode(soleCode);
|
|
12697
12697
|
const locator = `${testcase.classname}::${testcase.name}`;
|
|
12698
|
-
if (evidence.
|
|
12699
|
-
return { qualityCheckKind: layer, claimCode, status: evidence.status, locator,
|
|
12698
|
+
if (evidence.neverRan) {
|
|
12699
|
+
return { qualityCheckKind: layer, claimCode, status: evidence.status, locator, neverRan: evidence.neverRan, message: errorTextOf(testcase) };
|
|
12700
12700
|
}
|
|
12701
12701
|
return {
|
|
12702
12702
|
qualityCheckKind: layer,
|
|
@@ -12729,7 +12729,7 @@ function collectionFailureOf(testcase, evidence, layer) {
|
|
|
12729
12729
|
claimCode: null,
|
|
12730
12730
|
status: evidence.status,
|
|
12731
12731
|
locator: testcase.name ?? "",
|
|
12732
|
-
|
|
12732
|
+
neverRan: evidence.neverRan,
|
|
12733
12733
|
message: errorTextOf(testcase)
|
|
12734
12734
|
};
|
|
12735
12735
|
}
|
|
@@ -12742,7 +12742,7 @@ function classSetupFailureOf(testcase, evidence, layer) {
|
|
|
12742
12742
|
claimCode: null,
|
|
12743
12743
|
status: evidence.status,
|
|
12744
12744
|
locator: testcase.classname,
|
|
12745
|
-
|
|
12745
|
+
neverRan: evidence.neverRan,
|
|
12746
12746
|
message: errorTextOf(testcase)
|
|
12747
12747
|
};
|
|
12748
12748
|
}
|
|
@@ -12755,7 +12755,7 @@ function buildFailureOf(suite, testcase, evidence, layer) {
|
|
|
12755
12755
|
claimCode: null,
|
|
12756
12756
|
status: evidence.status,
|
|
12757
12757
|
locator: suite.name,
|
|
12758
|
-
|
|
12758
|
+
neverRan: evidence.neverRan,
|
|
12759
12759
|
message: failureTextOf(testcase)
|
|
12760
12760
|
};
|
|
12761
12761
|
}
|
|
@@ -12805,7 +12805,7 @@ function loadErrorsOf(report, layer, root) {
|
|
|
12805
12805
|
if (count === 0)
|
|
12806
12806
|
return [];
|
|
12807
12807
|
const evidence = evidenceOfRunResult("never-reached-its-assertions");
|
|
12808
|
-
const
|
|
12808
|
+
const neverRan = [];
|
|
12809
12809
|
const unnamed = [];
|
|
12810
12810
|
for (const message2 of report.messages ?? []) {
|
|
12811
12811
|
const file = LOADED_FILE.exec(message2);
|
|
@@ -12813,12 +12813,12 @@ function loadErrorsOf(report, layer, root) {
|
|
|
12813
12813
|
if (path === void 0)
|
|
12814
12814
|
unnamed.push(message2);
|
|
12815
12815
|
else
|
|
12816
|
-
|
|
12816
|
+
neverRan.push({ qualityCheckKind: layer, claimCode: null, status: evidence.status, locator: locatorOf(path, root), neverRan: evidence.neverRan, message: message2 });
|
|
12817
12817
|
}
|
|
12818
|
-
if (count >
|
|
12819
|
-
|
|
12818
|
+
if (count > neverRan.length) {
|
|
12819
|
+
neverRan.push({ qualityCheckKind: layer, claimCode: null, status: evidence.status, neverRan: evidence.neverRan, message: unnamed.length > 0 ? unnamed.join("\n") : void 0 });
|
|
12820
12820
|
}
|
|
12821
|
-
return
|
|
12821
|
+
return neverRan;
|
|
12822
12822
|
}
|
|
12823
12823
|
function locatorOf(filePath, root) {
|
|
12824
12824
|
return relativizeToRoot(filePath.replace(/^\.\//, ""), root);
|
|
@@ -12871,14 +12871,14 @@ function scenarioObservations(scenario, locator, rowCodes) {
|
|
|
12871
12871
|
const evidence = evidenceOfRunResult(runResultOf4(steps));
|
|
12872
12872
|
if (evidence === void 0)
|
|
12873
12873
|
return [];
|
|
12874
|
-
if (evidence.
|
|
12874
|
+
if (evidence.neverRan) {
|
|
12875
12875
|
const ambiguous = steps.find(isAmbiguous);
|
|
12876
12876
|
return [{
|
|
12877
12877
|
qualityCheckKind: layers[0],
|
|
12878
12878
|
claimCode,
|
|
12879
12879
|
status: evidence.status,
|
|
12880
12880
|
locator,
|
|
12881
|
-
|
|
12881
|
+
neverRan: evidence.neverRan,
|
|
12882
12882
|
notes: [ambiguousNote(ambiguous), ...severalNotes]
|
|
12883
12883
|
}];
|
|
12884
12884
|
}
|
|
@@ -27846,7 +27846,7 @@ function recordedObservationOf(step) {
|
|
|
27846
27846
|
...namedOf(step),
|
|
27847
27847
|
exists: false,
|
|
27848
27848
|
enforcedOverRealSource: false,
|
|
27849
|
-
|
|
27849
|
+
neverRan: true,
|
|
27850
27850
|
notes: [checkDidNotRunNote(step)]
|
|
27851
27851
|
};
|
|
27852
27852
|
}
|
|
@@ -27997,7 +27997,7 @@ var init_renderInput = __esm({
|
|
|
27997
27997
|
function runVerdict(run3) {
|
|
27998
27998
|
if (hasNothingToReconcile(run3.ledger))
|
|
27999
27999
|
return "nothing-to-reconcile";
|
|
28000
|
-
if (
|
|
28000
|
+
if (hasNeverRanEvidence(run3.ledger))
|
|
28001
28001
|
return "unsound";
|
|
28002
28002
|
if (hasClaimCodeErrors(run3))
|
|
28003
28003
|
return "claim-code-errors";
|
|
@@ -28455,10 +28455,10 @@ var init_messages_en2 = __esm({
|
|
|
28455
28455
|
"provenance-tool-sha-unknown": "unknown (not a git checkout)",
|
|
28456
28456
|
"provenance-tool-version": "Tool version: {version}",
|
|
28457
28457
|
"run-integrity-heading": "Run integrity: unsound",
|
|
28458
|
-
"run-unsound": `**This run is unsound.** {proofs} A
|
|
28459
|
-
"
|
|
28460
|
-
"
|
|
28461
|
-
"
|
|
28458
|
+
"run-unsound": `**This run is unsound.** {proofs} A proof that never ran sits on the row of the claim it names, as every Evidence Observation does. On a scenario's row, an Evidence Obligation of its kind of quality check that no other proof answers reads "Evidence Observation is missing", though its test may already be written. A proof that never ran on the row of a phantom claim or of the unnamed claim may be the proof behind any item of its kind of quality check that reads "Evidence Observation is missing", on any row. Fix what stopped each proof listed below from running, such as its test, the code it loads, its step definitions, its runner or the CI job that runs it. Then run them again and regenerate this report.`,
|
|
28459
|
+
"never-ran-evidence-not-named": "(evidence not named by the runner)",
|
|
28460
|
+
"never-ran-evidence-what-broke": "{locator} \u2014 what broke:",
|
|
28461
|
+
"never-ran-evidence-no-message": "(no message reported by the runner)",
|
|
28462
28462
|
"summary-heading": "Summary",
|
|
28463
28463
|
"run-verdict-heading": "Run verdict",
|
|
28464
28464
|
"verdict-exit": "exit {code}",
|
|
@@ -28479,10 +28479,10 @@ var init_messages_en2 = __esm({
|
|
|
28479
28479
|
"nothing-to-reconcile-gloss": "there were no accounts to agree. The ledger carries no Claim Reconciliation at all, so this run has NO BASIS FOR A VERDICT \u2014 the corpus `{corpusDir}` carried no scenario and nothing was produced. Not balanced: a run that examined nothing must not certify.",
|
|
28480
28480
|
"pending-items-outstanding": "Pending Items are outstanding \u2014 deferred, not out-of-balance, so the verdict stands. A run that treats a deferral as a failure gives exit 3 under `--strict`.",
|
|
28481
28481
|
"reconciliation-totals-heading": "Reconciliation totals",
|
|
28482
|
-
"reconciliation-totals-claim-reconciliation-term": "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
|
|
28482
|
+
"reconciliation-totals-claim-reconciliation-term": "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) or the unnamed claim (the one row for the evidence that no scenario or phantom claim takes).",
|
|
28483
28483
|
"reconciliation-totals-reconciliation-line-term": "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.",
|
|
28484
28484
|
"reconciliation-totals-evidence-obligation-term": "An Evidence Obligation is the evidence a scenario asks for, by the tags it carries, to be met by Evidence Observations. A pending tag such as `@unitpending` defers the evidence of its kind of quality check, and a deferral tag such as `@wip` defers all of the scenario's: what a tag defers raises no Evidence Obligation and is a Pending Item instead, tallied after the table, apart from balanced and out-of-balance, when there is one. On a scenario that shares its claim code with another, no tag defers anything: it reads \"Evidence Obligation's claim code is carried by another Scenario\" at each kind of quality check it raises, or once when it raises none.",
|
|
28485
|
-
"reconciliation-totals-evidence-observation-term": "An Evidence Observation is one reported result of a test or a fitness function, attributed by the codes it cites: to the one scenario that carries its one code, to a phantom claim when no scenario carries its one code, and otherwise to the unnamed claim, because no one scenario can take it. One that never reached its assertions
|
|
28485
|
+
"reconciliation-totals-evidence-observation-term": "An Evidence Observation is one reported result of a test or a fitness function, attributed by the codes it cites: to the one scenario that carries its one code, to a phantom claim when no scenario carries its one code, and otherwise to the unnamed claim, because no one scenario can take it. One that never reached its assertions never ran: it was reported, but did not run to a result.",
|
|
28486
28486
|
"subject-column": "Subject",
|
|
28487
28487
|
"total-column": "Total",
|
|
28488
28488
|
"balanced-column": "Balanced",
|
|
@@ -28539,8 +28539,8 @@ var init_messages_en2 = __esm({
|
|
|
28539
28539
|
"verdict-column": "Verdict",
|
|
28540
28540
|
"reconciling-items-column": "Reconciling items",
|
|
28541
28541
|
"ci-steps-column": "CI steps",
|
|
28542
|
-
"evidence-cell-key": "Key: each evidence cell reads *obligation*/*observations*.\n- The letter says the scenario's tags raise an Evidence Obligation of that kind: (F)itness, (U)nit, (I)ntegration, (E)2e, (P)erformance. `-` means they raise none of that kind, as a pending tag raises none unless the scenario shares its claim code with another.\n- The number counts the scenario's Evidence Observations of that kind that ran. `-` means none.\n- For example, `U/2` is a unit obligation answered by two unit tests; `U/-` is a unit obligation that no unit test answered; `-/1` is one unit test citing a scenario that raises no unit obligation, which puts the row out of balance even where its unit evidence is pending.\n- A blank cell means no obligation and no Evidence Observation that ran; `\u2014` marks the row of a phantom claim or of the unnamed claim.\n- A row named `feature file : scenario title` is a scenario that carries no claim code. The run reads none of its tags, so its evidence cells are blank, and its reconciling item says that no Evidence Observation can link to it.\n- In Reconciling items, `\u2014` means the row has no reconciling item, and *untagged* means a scenario that carries a claim code and no tag that raises an Evidence Obligation.\n- On the unnamed claim's row, the counts after an item, such as `1 ran, 1 passed, 0 failed`, are of that item's own tests, and a fitness item counts its CI steps; a
|
|
28543
|
-
"
|
|
28542
|
+
"evidence-cell-key": "Key: each evidence cell reads *obligation*/*observations*.\n- The letter says the scenario's tags raise an Evidence Obligation of that kind: (F)itness, (U)nit, (I)ntegration, (E)2e, (P)erformance. `-` means they raise none of that kind, as a pending tag raises none unless the scenario shares its claim code with another.\n- The number counts the scenario's Evidence Observations of that kind that ran. `-` means none.\n- For example, `U/2` is a unit obligation answered by two unit tests; `U/-` is a unit obligation that no unit test answered; `-/1` is one unit test citing a scenario that raises no unit obligation, which puts the row out of balance even where its unit evidence is pending.\n- A blank cell means no obligation and no Evidence Observation that ran; `\u2014` marks the row of a phantom claim or of the unnamed claim.\n- A row named `feature file : scenario title` is a scenario that carries no claim code. The run reads none of its tags, so its evidence cells are blank, and its reconciling item says that no Evidence Observation can link to it.\n- In Reconciling items, `\u2014` means the row has no reconciling item, and *untagged* means a scenario that carries a claim code and no tag that raises an Evidence Obligation.\n- On the unnamed claim's row, the counts after an item, such as `1 ran, 1 passed, 0 failed`, are of that item's own tests, and a fitness item counts its CI steps; a never-ran item stands alone, outside those counts.\n- CI steps names the steps the Evidence observations table gives for each kind of quality check other than fitness that the row obligates or observes, whether or not an Evidence Observation of that kind ran for the row, and the step each of the row's fitness Evidence Observations names: `U/-` beside a step names the step that runs unit tests, none of which answered this row. A blank CI steps cell means no such step is known.",
|
|
28543
|
+
"cannot-fail-item-key": "- Where a row's item says its CI step or its job sets `continue-on-error`, the name in parentheses after it is its fitness function. Remove `continue-on-error` from its CI step and from its job, or set it to false, and the check's red fails the CI run.",
|
|
28544
28544
|
"pending-item": "pending",
|
|
28545
28545
|
"pending-item-for": "pending: {qualityCheckKind}",
|
|
28546
28546
|
"check-step-no-outcome": "{claimCode}: the CI run's record carries no outcome for this check's step \u2014 so the check did not run.",
|
|
@@ -28551,14 +28551,14 @@ var init_messages_en2 = __esm({
|
|
|
28551
28551
|
"outcome-satisfied": "Evidence Observation satisfies its Evidence Obligation",
|
|
28552
28552
|
"outcome-missing": "Evidence Observation is missing",
|
|
28553
28553
|
"outcome-failing": "Evidence Observation is failing",
|
|
28554
|
-
"outcome-
|
|
28554
|
+
"outcome-cannot-fail": "Evidence Observation is passing, but its CI step or its job sets `continue-on-error`, so its red might not fail the build",
|
|
28555
28555
|
"outcome-no-claim-code": "Evidence Obligation has no claim code for an Evidence Observation to link to",
|
|
28556
28556
|
"outcome-duplicate-claim-code": "Evidence Obligation's claim code is carried by another Scenario",
|
|
28557
|
-
"outcome-cites-unknown-
|
|
28558
|
-
"outcome-cites-no-
|
|
28559
|
-
"outcome-
|
|
28560
|
-
"outcome-
|
|
28561
|
-
"outcome-
|
|
28557
|
+
"outcome-cites-unknown-claim": "Evidence Observation cites a claim code no executable claim carries: a phantom claim",
|
|
28558
|
+
"outcome-cites-no-claim": "Evidence Observation cites no single claim",
|
|
28559
|
+
"outcome-not-asked-for": "Evidence Observation is of a kind of quality check its claim did not ask for",
|
|
28560
|
+
"outcome-never-ran": "Evidence Observation never ran: its check never reached its assertions",
|
|
28561
|
+
"outcome-no-quality-check": "Executable claim asks for no quality check: it carries a claim code and no kind-of-check tag, and nothing cites it",
|
|
28562
28562
|
"observation-passed": "passed",
|
|
28563
28563
|
"observation-failed": "failed",
|
|
28564
28564
|
"unnamed-claim-group-counts": "{ran} ran, {passed} passed, {failed} failed",
|
|
@@ -31423,9 +31423,9 @@ var init_messages4 = __esm({
|
|
|
31423
31423
|
CoreMessage2["ProvenanceToolVersion"] = "provenance-tool-version";
|
|
31424
31424
|
CoreMessage2["RunIntegrityHeading"] = "run-integrity-heading";
|
|
31425
31425
|
CoreMessage2["RunUnsound"] = "run-unsound";
|
|
31426
|
-
CoreMessage2["
|
|
31427
|
-
CoreMessage2["
|
|
31428
|
-
CoreMessage2["
|
|
31426
|
+
CoreMessage2["NeverRanEvidenceNotNamed"] = "never-ran-evidence-not-named";
|
|
31427
|
+
CoreMessage2["NeverRanEvidenceWhatBroke"] = "never-ran-evidence-what-broke";
|
|
31428
|
+
CoreMessage2["NeverRanEvidenceNoMessage"] = "never-ran-evidence-no-message";
|
|
31429
31429
|
CoreMessage2["SummaryHeading"] = "summary-heading";
|
|
31430
31430
|
CoreMessage2["RunVerdictHeading"] = "run-verdict-heading";
|
|
31431
31431
|
CoreMessage2["VerdictExit"] = "verdict-exit";
|
|
@@ -31507,7 +31507,7 @@ var init_messages4 = __esm({
|
|
|
31507
31507
|
CoreMessage2["ReconcilingItemsColumn"] = "reconciling-items-column";
|
|
31508
31508
|
CoreMessage2["CiStepsColumn"] = "ci-steps-column";
|
|
31509
31509
|
CoreMessage2["EvidenceCellKey"] = "evidence-cell-key";
|
|
31510
|
-
CoreMessage2["
|
|
31510
|
+
CoreMessage2["CannotFailItemKey"] = "cannot-fail-item-key";
|
|
31511
31511
|
CoreMessage2["PendingItem"] = "pending-item";
|
|
31512
31512
|
CoreMessage2["PendingItemFor"] = "pending-item-for";
|
|
31513
31513
|
CoreMessage2["CheckStepNoOutcome"] = "check-step-no-outcome";
|
|
@@ -31518,14 +31518,14 @@ var init_messages4 = __esm({
|
|
|
31518
31518
|
CoreMessage2["OutcomeSatisfied"] = "outcome-satisfied";
|
|
31519
31519
|
CoreMessage2["OutcomeMissing"] = "outcome-missing";
|
|
31520
31520
|
CoreMessage2["OutcomeFailing"] = "outcome-failing";
|
|
31521
|
-
CoreMessage2["
|
|
31521
|
+
CoreMessage2["OutcomeCannotFail"] = "outcome-cannot-fail";
|
|
31522
31522
|
CoreMessage2["OutcomeNoClaimCode"] = "outcome-no-claim-code";
|
|
31523
31523
|
CoreMessage2["OutcomeDuplicateClaimCode"] = "outcome-duplicate-claim-code";
|
|
31524
|
-
CoreMessage2["
|
|
31525
|
-
CoreMessage2["
|
|
31526
|
-
CoreMessage2["
|
|
31527
|
-
CoreMessage2["
|
|
31528
|
-
CoreMessage2["
|
|
31524
|
+
CoreMessage2["OutcomeCitesUnknownClaim"] = "outcome-cites-unknown-claim";
|
|
31525
|
+
CoreMessage2["OutcomeCitesNoClaim"] = "outcome-cites-no-claim";
|
|
31526
|
+
CoreMessage2["OutcomeNotAskedFor"] = "outcome-not-asked-for";
|
|
31527
|
+
CoreMessage2["OutcomeNeverRan"] = "outcome-never-ran";
|
|
31528
|
+
CoreMessage2["OutcomeNoQualityCheck"] = "outcome-no-quality-check";
|
|
31529
31529
|
CoreMessage2["ObservationPassed"] = "observation-passed";
|
|
31530
31530
|
CoreMessage2["ObservationFailed"] = "observation-failed";
|
|
31531
31531
|
CoreMessage2["UnnamedClaimGroupCounts"] = "unnamed-claim-group-counts";
|
|
@@ -31561,14 +31561,14 @@ var init_outcomeDescription = __esm({
|
|
|
31561
31561
|
satisfied: CoreMessage.OutcomeSatisfied,
|
|
31562
31562
|
missing: CoreMessage.OutcomeMissing,
|
|
31563
31563
|
failing: CoreMessage.OutcomeFailing,
|
|
31564
|
-
|
|
31564
|
+
"cannot-fail": CoreMessage.OutcomeCannotFail,
|
|
31565
31565
|
"no-claim-code": CoreMessage.OutcomeNoClaimCode,
|
|
31566
31566
|
"duplicate-claim-code": CoreMessage.OutcomeDuplicateClaimCode,
|
|
31567
|
-
"cites-unknown-
|
|
31568
|
-
"cites-no-
|
|
31569
|
-
"
|
|
31570
|
-
|
|
31571
|
-
"
|
|
31567
|
+
"cites-unknown-claim": CoreMessage.OutcomeCitesUnknownClaim,
|
|
31568
|
+
"cites-no-claim": CoreMessage.OutcomeCitesNoClaim,
|
|
31569
|
+
"not-asked-for": CoreMessage.OutcomeNotAskedFor,
|
|
31570
|
+
"never-ran": CoreMessage.OutcomeNeverRan,
|
|
31571
|
+
"no-quality-check": CoreMessage.OutcomeNoQualityCheck
|
|
31572
31572
|
};
|
|
31573
31573
|
outcomeDescription = (outcome) => coreMessage(OUTCOME_DESCRIPTION[outcome]);
|
|
31574
31574
|
}
|
|
@@ -32233,8 +32233,8 @@ var init_remarkWords = __esm({
|
|
|
32233
32233
|
});
|
|
32234
32234
|
|
|
32235
32235
|
// ../core/dist/domain/unnamedClaimGroups.js
|
|
32236
|
-
function
|
|
32237
|
-
return lines.filter((line) => line.outcome === "cites-no-
|
|
32236
|
+
function citingNoClaim(lines) {
|
|
32237
|
+
return lines.filter((line) => line.outcome === "cites-no-claim").flatMap((line) => line.evidenceObservation ?? []);
|
|
32238
32238
|
}
|
|
32239
32239
|
function sharedClaimCodeOf(observation) {
|
|
32240
32240
|
const [code = null] = (observation.notes ?? []).flatMap((note) => note.kind === "shared-claim-code" ? [note.code] : []);
|
|
@@ -32271,7 +32271,7 @@ function stepsGroupsOf(observations) {
|
|
|
32271
32271
|
return [...byCode].map(([code, names]) => code === null ? { names } : { names, sharedClaimCode: code });
|
|
32272
32272
|
}
|
|
32273
32273
|
function unnamedClaimGroupsOf(lines) {
|
|
32274
|
-
const observations =
|
|
32274
|
+
const observations = citingNoClaim(lines);
|
|
32275
32275
|
const byFile = /* @__PURE__ */ new Map();
|
|
32276
32276
|
for (const o of observations) {
|
|
32277
32277
|
if (isFitnessObservation(o))
|
|
@@ -32292,7 +32292,7 @@ var init_unnamedClaimGroups = __esm({
|
|
|
32292
32292
|
// ../core/dist/render/markdown.js
|
|
32293
32293
|
function renderLine(line) {
|
|
32294
32294
|
const sentence = `${outcomeDescription(line.outcome)}${scenarioClauseOf(line)}`;
|
|
32295
|
-
if (line.outcome === "
|
|
32295
|
+
if (line.outcome === "no-quality-check" || line.outcome === "no-claim-code" || line.qualityCheckKind === void 0) {
|
|
32296
32296
|
return sentence;
|
|
32297
32297
|
}
|
|
32298
32298
|
const head = `${line.qualityCheckKind}: ${sentence}`;
|
|
@@ -32301,7 +32301,7 @@ function renderLine(line) {
|
|
|
32301
32301
|
return head;
|
|
32302
32302
|
if (!isObservationOnly(line.outcome))
|
|
32303
32303
|
return `${head}${namedSuffix(observation)}`;
|
|
32304
|
-
return `${head}${line.outcome === "
|
|
32304
|
+
return `${head}${line.outcome === "never-ran" ? neverRanSuffix(observation) : observationSuffix(observation)}`;
|
|
32305
32305
|
}
|
|
32306
32306
|
function quotedSuffix(parts) {
|
|
32307
32307
|
const where = parts.flatMap((part) => part?.trim() || []).join(": ");
|
|
@@ -32313,7 +32313,7 @@ function namedSuffix(o) {
|
|
|
32313
32313
|
function scenarioClauseOf({ scenario }) {
|
|
32314
32314
|
return scenario === void 0 ? "" : ` \u2014 ${coreMessage(CoreMessage.SharedClaimCodeScenario, { feature: reportedName(scenario.feature), title: reportedName(scenario.title) })}`;
|
|
32315
32315
|
}
|
|
32316
|
-
function
|
|
32316
|
+
function neverRanSuffix(o) {
|
|
32317
32317
|
return quotedSuffix([reported(o.locator), remarkHeadlineOf(o, reportedName)]);
|
|
32318
32318
|
}
|
|
32319
32319
|
function observationSuffix(o) {
|
|
@@ -32333,7 +32333,7 @@ function renderFileGroup(group) {
|
|
|
32333
32333
|
const counts = coreMessage(CoreMessage.UnnamedClaimGroupCounts, { ran: group.ran, passed: group.passed, failed: group.failed });
|
|
32334
32334
|
const names = group.failedNames.map(reportedName).filter((name) => name !== "");
|
|
32335
32335
|
const failed = names.length === 0 ? "" : ` ${coreMessage(CoreMessage.UnnamedClaimFailedNames, { names: names.join(" / ") })}`;
|
|
32336
|
-
return `${group.qualityCheckKind}: ${outcomeDescription("cites-no-
|
|
32336
|
+
return `${group.qualityCheckKind}: ${outcomeDescription("cites-no-claim")}${quotedSuffix([reported(group.locator), said])} \u2014 ${counts}${failed}`;
|
|
32337
32337
|
}
|
|
32338
32338
|
function unnamedClaimCiStepsViewOf(names) {
|
|
32339
32339
|
const named = names.filter((name) => name !== "");
|
|
@@ -32352,11 +32352,11 @@ function renderUnnamedClaimGroup(group) {
|
|
|
32352
32352
|
return renderFileGroup(group);
|
|
32353
32353
|
const steps = unnamedClaimCiSteps(unnamedClaimCiStepsViewOf(group.names.map(reportedName)));
|
|
32354
32354
|
const remark = group.sharedClaimCode === void 0 ? "" : ` (${coreMessage(CoreMessage.SharedClaimCode, { code: group.sharedClaimCode })})`;
|
|
32355
|
-
return `fitness: ${outcomeDescription("cites-no-
|
|
32355
|
+
return `fitness: ${outcomeDescription("cites-no-claim")}${remark} \u2014 ${steps}`;
|
|
32356
32356
|
}
|
|
32357
32357
|
function renderUnnamedClaimItems(lines) {
|
|
32358
|
-
const
|
|
32359
|
-
return [...
|
|
32358
|
+
const neverRan = lines.filter((line) => line.outcome === "never-ran");
|
|
32359
|
+
return [...neverRan.map(renderLine), ...unnamedClaimGroupsOf(lines).map(renderUnnamedClaimGroup)];
|
|
32360
32360
|
}
|
|
32361
32361
|
function renderRowExceptions(s) {
|
|
32362
32362
|
const items = isUnnamedClaim(s) ? renderUnnamedClaimItems(reconcilingItemsOf(s)) : reconcilingItemsOf(s).map(renderLine);
|
|
@@ -32365,11 +32365,11 @@ function renderRowExceptions(s) {
|
|
|
32365
32365
|
const groups = [reconciling, pending].filter((g) => g.length > 0);
|
|
32366
32366
|
return groups.length === 0 ? "\u2014" : groups.join("; ");
|
|
32367
32367
|
}
|
|
32368
|
-
function
|
|
32368
|
+
function neverRanEvidenceNameOf({ locator }) {
|
|
32369
32369
|
return locator?.trim() ? { kind: "named", locator } : { kind: "unnamed" };
|
|
32370
32370
|
}
|
|
32371
|
-
function
|
|
32372
|
-
return name.kind === "named" ? name.locator : coreMessage(CoreMessage.
|
|
32371
|
+
function neverRanEvidenceNameWords(name) {
|
|
32372
|
+
return name.kind === "named" ? name.locator : coreMessage(CoreMessage.NeverRanEvidenceNotNamed);
|
|
32373
32373
|
}
|
|
32374
32374
|
function pendingTally(pending) {
|
|
32375
32375
|
return pending > 0 ? ["", coreMessage(CoreMessage.PendingTally, { pending })] : [];
|
|
@@ -32409,7 +32409,7 @@ function ungroupedTail(ungrouped) {
|
|
|
32409
32409
|
function evidenceKeyLines(columns) {
|
|
32410
32410
|
if (columns.length === 0)
|
|
32411
32411
|
return [];
|
|
32412
|
-
return [...coreMessage(CoreMessage.EvidenceCellKey).split("\n"), coreMessage(CoreMessage.
|
|
32412
|
+
return [...coreMessage(CoreMessage.EvidenceCellKey).split("\n"), coreMessage(CoreMessage.CannotFailItemKey), ""];
|
|
32413
32413
|
}
|
|
32414
32414
|
function ledgerTallyLines(totals) {
|
|
32415
32415
|
const lines = [
|
|
@@ -32485,21 +32485,21 @@ var init_markdown = __esm({
|
|
|
32485
32485
|
};
|
|
32486
32486
|
titleSection = () => [markdownHeading(1, coreMessage(CoreMessage.ReportTitle)), ""];
|
|
32487
32487
|
runIntegritySection = (report) => {
|
|
32488
|
-
if (!
|
|
32488
|
+
if (!hasNeverRanEvidence(report))
|
|
32489
32489
|
return [];
|
|
32490
|
-
const
|
|
32491
|
-
const proofs = coreMessage(CoreMessage.ProofsNeverRan, { count:
|
|
32490
|
+
const neverRanObservations = neverRanItemsOf(report).flatMap((line) => line.evidenceObservation ?? []);
|
|
32491
|
+
const proofs = coreMessage(CoreMessage.ProofsNeverRan, { count: neverRanObservations.length });
|
|
32492
32492
|
const lines = [
|
|
32493
32493
|
markdownHeading(2, coreMessage(CoreMessage.RunIntegrityHeading)),
|
|
32494
32494
|
"",
|
|
32495
32495
|
coreMessage(CoreMessage.RunUnsound, { proofs }),
|
|
32496
32496
|
""
|
|
32497
32497
|
];
|
|
32498
|
-
for (const item of
|
|
32499
|
-
const locator =
|
|
32500
|
-
lines.push(`- ${coreMessage(CoreMessage.
|
|
32498
|
+
for (const item of neverRanObservations) {
|
|
32499
|
+
const locator = neverRanEvidenceNameWords(neverRanEvidenceNameOf(item));
|
|
32500
|
+
lines.push(`- ${coreMessage(CoreMessage.NeverRanEvidenceWhatBroke, { locator: `\`${locator}\`` })}`);
|
|
32501
32501
|
lines.push("");
|
|
32502
|
-
lines.push(...fencedBlockLines("text", remarkWordsOf(item) ?? coreMessage(CoreMessage.
|
|
32502
|
+
lines.push(...fencedBlockLines("text", remarkWordsOf(item) ?? coreMessage(CoreMessage.NeverRanEvidenceNoMessage)));
|
|
32503
32503
|
lines.push("");
|
|
32504
32504
|
}
|
|
32505
32505
|
return lines;
|
|
@@ -509,22 +509,22 @@
|
|
|
509
509
|
"failing": {
|
|
510
510
|
"type": "number"
|
|
511
511
|
},
|
|
512
|
-
"
|
|
512
|
+
"cannot-fail": {
|
|
513
513
|
"type": "number"
|
|
514
514
|
},
|
|
515
515
|
"missing": {
|
|
516
516
|
"type": "number"
|
|
517
517
|
},
|
|
518
|
-
"cites-unknown-
|
|
518
|
+
"cites-unknown-claim": {
|
|
519
519
|
"type": "number"
|
|
520
520
|
},
|
|
521
|
-
"cites-no-
|
|
521
|
+
"cites-no-claim": {
|
|
522
522
|
"type": "number"
|
|
523
523
|
},
|
|
524
|
-
"
|
|
524
|
+
"never-ran": {
|
|
525
525
|
"type": "number"
|
|
526
526
|
},
|
|
527
|
-
"
|
|
527
|
+
"not-asked-for": {
|
|
528
528
|
"type": "number"
|
|
529
529
|
},
|
|
530
530
|
"no-claim-code": {
|
|
@@ -533,22 +533,22 @@
|
|
|
533
533
|
"duplicate-claim-code": {
|
|
534
534
|
"type": "number"
|
|
535
535
|
},
|
|
536
|
-
"
|
|
536
|
+
"no-quality-check": {
|
|
537
537
|
"type": "number"
|
|
538
538
|
}
|
|
539
539
|
},
|
|
540
540
|
"required": [
|
|
541
541
|
"satisfied",
|
|
542
542
|
"failing",
|
|
543
|
-
"
|
|
543
|
+
"cannot-fail",
|
|
544
544
|
"missing",
|
|
545
|
-
"cites-unknown-
|
|
546
|
-
"cites-no-
|
|
547
|
-
"
|
|
548
|
-
"
|
|
545
|
+
"cites-unknown-claim",
|
|
546
|
+
"cites-no-claim",
|
|
547
|
+
"never-ran",
|
|
548
|
+
"not-asked-for",
|
|
549
549
|
"no-claim-code",
|
|
550
550
|
"duplicate-claim-code",
|
|
551
|
-
"
|
|
551
|
+
"no-quality-check"
|
|
552
552
|
],
|
|
553
553
|
"additionalProperties": false
|
|
554
554
|
},
|
|
@@ -890,15 +890,15 @@
|
|
|
890
890
|
"enum": [
|
|
891
891
|
"satisfied",
|
|
892
892
|
"failing",
|
|
893
|
-
"
|
|
893
|
+
"cannot-fail",
|
|
894
894
|
"missing",
|
|
895
|
-
"cites-unknown-
|
|
896
|
-
"cites-no-
|
|
897
|
-
"
|
|
898
|
-
"
|
|
895
|
+
"cites-unknown-claim",
|
|
896
|
+
"cites-no-claim",
|
|
897
|
+
"never-ran",
|
|
898
|
+
"not-asked-for",
|
|
899
899
|
"no-claim-code",
|
|
900
900
|
"duplicate-claim-code",
|
|
901
|
-
"
|
|
901
|
+
"no-quality-check"
|
|
902
902
|
]
|
|
903
903
|
},
|
|
904
904
|
"ReconciledEvidenceObligation": {
|
|
@@ -945,7 +945,7 @@
|
|
|
945
945
|
"locator": {
|
|
946
946
|
"type": "string"
|
|
947
947
|
},
|
|
948
|
-
"
|
|
948
|
+
"neverRan": {
|
|
949
949
|
"type": "boolean",
|
|
950
950
|
"const": true
|
|
951
951
|
},
|
|
@@ -999,7 +999,7 @@
|
|
|
999
999
|
"status": {
|
|
1000
1000
|
"$ref": "#/definitions/EvidenceStatus"
|
|
1001
1001
|
},
|
|
1002
|
-
"
|
|
1002
|
+
"neverRan": {
|
|
1003
1003
|
"type": "boolean",
|
|
1004
1004
|
"const": true
|
|
1005
1005
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "spec-controller",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.258",
|
|
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.258"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public"
|