spec-controller 0.1.213 → 0.1.215
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 -6
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -28230,7 +28230,7 @@ var init_model = __esm({
|
|
|
28230
28230
|
});
|
|
28231
28231
|
|
|
28232
28232
|
// ../core/dist/render/messages.js
|
|
28233
|
-
var QUALITY_CHECK_FAULT_MESSAGES, CoreMessage, CoreError, SATISFIED, MISSING, DUPLICATE_SCN_CODE, CITED_WITH_NO_SCENARIO,
|
|
28233
|
+
var QUALITY_CHECK_FAULT_MESSAGES, CoreMessage, CoreError, SATISFIED, MISSING, DUPLICATE_SCN_CODE, CITED_WITH_NO_SCENARIO, NO_ONE_SCENARIO_CAN_TAKE, RUNNERS_PLACE, IN_ITS_FILE, CORE_MESSAGES;
|
|
28234
28234
|
var init_messages4 = __esm({
|
|
28235
28235
|
"../core/dist/render/messages.js"() {
|
|
28236
28236
|
"use strict";
|
|
@@ -28418,7 +28418,7 @@ var init_messages4 = __esm({
|
|
|
28418
28418
|
MISSING = "Evidence Observation is missing";
|
|
28419
28419
|
DUPLICATE_SCN_CODE = "Evidence Obligation's @SCN code is carried by another Scenario";
|
|
28420
28420
|
CITED_WITH_NO_SCENARIO = "cited scenario ids with no real scenario";
|
|
28421
|
-
|
|
28421
|
+
NO_ONE_SCENARIO_CAN_TAKE = "evidence observations no one scenario can take";
|
|
28422
28422
|
RUNNERS_PLACE = "`specController.runners` in its `package.json`";
|
|
28423
28423
|
IN_ITS_FILE = "every coded scenario sits in the file its code names";
|
|
28424
28424
|
CORE_MESSAGES = {
|
|
@@ -28478,7 +28478,7 @@ var init_messages4 = __esm({
|
|
|
28478
28478
|
[CoreMessage.EvidenceReconciliationHeading]: "### Evidence reconciliation",
|
|
28479
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).",
|
|
28480
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.",
|
|
28481
|
-
[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.`,
|
|
28482
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.",
|
|
28483
28483
|
[CoreMessage.SubjectColumn]: "Subject",
|
|
28484
28484
|
[CoreMessage.TotalColumn]: "Total",
|
|
@@ -28489,7 +28489,7 @@ var init_messages4 = __esm({
|
|
|
28489
28489
|
[CoreMessage.ReconciliationLineSubject]: "Reconciliation line",
|
|
28490
28490
|
[CoreMessage.PendingTally]: (pending) => `${pending} Pending Item(s) \u2014 deferred, tallied apart from balanced and out-of-balance.`,
|
|
28491
28491
|
[CoreMessage.EvidenceObservationsHeading]: "### Evidence observations",
|
|
28492
|
-
[CoreMessage.EvidenceObservationsSum]: (total, onScenario, onPhantomClaim, onUnnamedClaim) => `${total} evidence observations = ${onScenario} on scenarios + ${onPhantomClaim} on ${CITED_WITH_NO_SCENARIO} + ${onUnnamedClaim}
|
|
28492
|
+
[CoreMessage.EvidenceObservationsSum]: (total, onScenario, onPhantomClaim, onUnnamedClaim) => `${total} evidence observations = ${onScenario} on scenarios + ${onPhantomClaim} on ${CITED_WITH_NO_SCENARIO} + ${onUnnamedClaim} that no one scenario can take.`,
|
|
28493
28493
|
[CoreMessage.EvidenceObservationsTableHeader]: "| Kind of quality check | Evidence observations | Runner | CI step |",
|
|
28494
28494
|
[CoreMessage.FitnessRunner]: "each fitness function's check step",
|
|
28495
28495
|
[CoreMessage.FitnessCiStep]: (steps) => `${steps} step(s), each named on its fitness function's row of Claim Reconciliations.`,
|
|
@@ -28519,14 +28519,14 @@ var init_messages4 = __esm({
|
|
|
28519
28519
|
[CoreMessage.GroupedByFeature]: ", grouped by feature",
|
|
28520
28520
|
[CoreMessage.NotGroupedByFeature]: (ungrouped) => `${ungrouped} out of balance, not grouped by feature (no feature file names them)`,
|
|
28521
28521
|
[CoreMessage.PhantomClaimReconciliations]: (count) => `${count} Claim Reconciliation(s) for ${CITED_WITH_NO_SCENARIO}`,
|
|
28522
|
-
[CoreMessage.UnnamedClaimReconciliations]: (count) => `${count} Claim Reconciliation(s) for ${
|
|
28522
|
+
[CoreMessage.UnnamedClaimReconciliations]: (count) => `${count} Claim Reconciliation(s) for ${NO_ONE_SCENARIO_CAN_TAKE}`,
|
|
28523
28523
|
[CoreMessage.AndJoiner]: " and ",
|
|
28524
28524
|
[CoreMessage.ByFeatureTableHeader]: "| Feature | Count | Out-of-balance `@SCN` ids |",
|
|
28525
28525
|
[CoreMessage.NoScnCodeScenarios]: (count) => `${count} with no \`@SCN\` code`,
|
|
28526
28526
|
[CoreMessage.ClaimReconciliationsHeading]: "## Claim Reconciliations",
|
|
28527
28527
|
[CoreMessage.ClaimReconciliationTally]: (total, balanced, outOfBalance) => `${total} Claim Reconciliation(s): ${balanced} balanced, ${outOfBalance} out-of-balance.`,
|
|
28528
28528
|
[CoreMessage.PhantomClaimTally]: (count) => `${count} Claim Reconciliation(s) for ${CITED_WITH_NO_SCENARIO}.`,
|
|
28529
|
-
[CoreMessage.UnnamedClaimTally]: (count) => `${count} Claim Reconciliation(s) for ${
|
|
28529
|
+
[CoreMessage.UnnamedClaimTally]: (count) => `${count} Claim Reconciliation(s) for ${NO_ONE_SCENARIO_CAN_TAKE}, aggregated into "${UNNAMED_CLAIM_ID}".`,
|
|
28530
28530
|
[CoreMessage.ExcludedScnOccurrences]: (count) => `${count} @SCN ids seen in non-tag context, excluded: each is an @SCN code written in a feature file's prose, a comment or step text rather than as a tag, so it marks no scenario and raises no claim`,
|
|
28531
28531
|
[CoreMessage.UntaggedScenarios]: (count) => `${count} scenario(s) carry no @SCN code`,
|
|
28532
28532
|
[CoreMessage.SharedScnCodes]: (scenarios, codes) => `The corpus holds ${scenarios} scenarios \u2014 ${codes} @SCN code(s) carried by more than one scenario, each scenario named as \`feature file : scenario title\`:`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "spec-controller",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.215",
|
|
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.215"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public"
|