spec-controller 0.1.212 → 0.1.214
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 +6 -2
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -27777,6 +27777,9 @@ var init_provenance = __esm({
|
|
|
27777
27777
|
});
|
|
27778
27778
|
|
|
27779
27779
|
// ../core/dist/domain/renderInput.js
|
|
27780
|
+
function featureFilesWithNoFeatureCodeOf({ featureFiles, featureCodes }) {
|
|
27781
|
+
return featureFiles - featureCodes;
|
|
27782
|
+
}
|
|
27780
27783
|
function scenarioCodesOf2(population, obligations) {
|
|
27781
27784
|
if (!population && !obligations)
|
|
27782
27785
|
return void 0;
|
|
@@ -28475,7 +28478,7 @@ var init_messages4 = __esm({
|
|
|
28475
28478
|
[CoreMessage.EvidenceReconciliationHeading]: "### Evidence reconciliation",
|
|
28476
28479
|
[CoreMessage.EvidenceReconciliationClaimReconciliationTerm]: "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).",
|
|
28477
28480
|
[CoreMessage.EvidenceReconciliationReconciliationLineTerm]: "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.",
|
|
28478
|
-
[CoreMessage.EvidenceReconciliationEvidenceObligationTerm]:
|
|
28481
|
+
[CoreMessage.EvidenceReconciliationEvidenceObligationTerm]: `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 \`@SCN\` code with another, no tag defers anything: it reads "${DUPLICATE_SCN_CODE}" at each kind of quality check it raises, or once when it raises none.`,
|
|
28479
28482
|
[CoreMessage.EvidenceReconciliationEvidenceObservationTerm]: "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 is broken: it was reported, but did not run to a result.",
|
|
28480
28483
|
[CoreMessage.SubjectColumn]: "Subject",
|
|
28481
28484
|
[CoreMessage.TotalColumn]: "Total",
|
|
@@ -31588,7 +31591,7 @@ function cleanStatement(featureFiles, featureCodes) {
|
|
|
31588
31591
|
}
|
|
31589
31592
|
if (featureCodes === featureFiles)
|
|
31590
31593
|
return CORE_MESSAGES[CoreMessage.CleanEachFileOwnCode](over);
|
|
31591
|
-
const noFeatureCode = featureFiles
|
|
31594
|
+
const noFeatureCode = featureFilesWithNoFeatureCodeOf({ featureFiles, featureCodes });
|
|
31592
31595
|
const hold = noFeatureCode === 1 ? CORE_MESSAGES[CoreMessage.HoldsVerb] : CORE_MESSAGES[CoreMessage.HoldVerb];
|
|
31593
31596
|
return CORE_MESSAGES[CoreMessage.CleanOthersNoFeatureCode](over, noFeatureCode, hold);
|
|
31594
31597
|
}
|
|
@@ -31629,6 +31632,7 @@ var CODE_OF, scenarioCodeErrorsSection, scenarioCodesCleanStatement;
|
|
|
31629
31632
|
var init_scenarioCodeErrorsSection = __esm({
|
|
31630
31633
|
"../core/dist/render/scenarioCodeErrorsSection.js"() {
|
|
31631
31634
|
"use strict";
|
|
31635
|
+
init_renderInput();
|
|
31632
31636
|
init_scnTags();
|
|
31633
31637
|
init_messages4();
|
|
31634
31638
|
init_coreText();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "spec-controller",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.214",
|
|
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.214"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public"
|