spec-controller 0.1.249 → 0.1.251

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.
Files changed (2) hide show
  1. package/dist/cli.js +16 -16
  2. package/package.json +2 -2
package/dist/cli.js CHANGED
@@ -11439,7 +11439,7 @@ var init_featureCode = __esm({
11439
11439
  "../core/dist/domain/featureCode.js"() {
11440
11440
  "use strict";
11441
11441
  FEATURE_PART_SOURCE = "[A-Z0-9]{2,5}";
11442
- CLAIM_CODE_PREFIXES = ["CLM", "SCN"];
11442
+ CLAIM_CODE_PREFIXES = ["CLM"];
11443
11443
  PREFIX_SOURCE = `(?:${CLAIM_CODE_PREFIXES.join("|")})`;
11444
11444
  CLAIM_CODE_SOURCE = `${PREFIX_SOURCE}-${FEATURE_PART_SOURCE}-\\d+`;
11445
11445
  CLAIM_CODE = new RegExp(`^${CLAIM_CODE_SOURCE}$`);
@@ -11461,7 +11461,7 @@ var init_attribution = __esm({
11461
11461
  }
11462
11462
  });
11463
11463
 
11464
- // ../core/dist/domain/scnTags.js
11464
+ // ../core/dist/domain/claimCodes.js
11465
11465
  function foreignCodeCarriersOf(error) {
11466
11466
  const [first, ...rest] = error.namedFeatureFiles;
11467
11467
  return first === void 0 ? { kind: "none" } : { kind: "carried", files: [first, ...rest] };
@@ -11579,8 +11579,8 @@ function claimCodeErrorsOf(features) {
11579
11579
  ...claimCodesBesideClmColumn(features)
11580
11580
  ];
11581
11581
  }
11582
- var init_scnTags = __esm({
11583
- "../core/dist/domain/scnTags.js"() {
11582
+ var init_claimCodes = __esm({
11583
+ "../core/dist/domain/claimCodes.js"() {
11584
11584
  "use strict";
11585
11585
  init_attribution();
11586
11586
  init_featureCode();
@@ -11818,7 +11818,7 @@ var init_scenarios = __esm({
11818
11818
  init_dist2();
11819
11819
  init_bareTerm();
11820
11820
  init_featureCode();
11821
- init_scnTags();
11821
+ init_claimCodes();
11822
11822
  init_corpusCounts();
11823
11823
  init_scenarioObligations();
11824
11824
  init_sourceParse();
@@ -12714,7 +12714,7 @@ function nameCitationsOf(name) {
12714
12714
  return segmentsLeafFirst.map((segment) => claimCodeCitationsOf(segment)).find((codes) => codes.length > 0) ?? [];
12715
12715
  }
12716
12716
  function claimCodePropertyValues(testcase) {
12717
- return (testcase.properties?.property ?? []).filter((property) => CLAIM_CODE_PROPERTY.has(property.name)).map((property) => property.value ?? "");
12717
+ return (testcase.properties?.property ?? []).filter((property) => property.name === CLAIM_CODE_PROPERTY).map((property) => property.value ?? "");
12718
12718
  }
12719
12719
  function citedCode(value) {
12720
12720
  return CLAIM_CODE.test(value) ? value : null;
@@ -12773,7 +12773,7 @@ var init_junit = __esm({
12773
12773
  init_attribution();
12774
12774
  init_claimCodeCitation();
12775
12775
  init_journal();
12776
- CLAIM_CODE_PROPERTY = /* @__PURE__ */ new Set(["scn", "clm"]);
12776
+ CLAIM_CODE_PROPERTY = "clm";
12777
12777
  GO_BUILD_FAILURE_TESTCASE = "TestMain";
12778
12778
  GO_BUILD_FAILURE_MARK = "[build failed]";
12779
12779
  }
@@ -28010,7 +28010,7 @@ var init_runVerdict = __esm({
28010
28010
  "../core/dist/domain/runVerdict.js"() {
28011
28011
  "use strict";
28012
28012
  init_ledger();
28013
- init_scnTags();
28013
+ init_claimCodes();
28014
28014
  }
28015
28015
  });
28016
28016
 
@@ -28361,7 +28361,7 @@ var init_evidenceReconciliationFromSources = __esm({
28361
28361
  init_ciStepRecord();
28362
28362
  init_runningFitnessFunctions();
28363
28363
  init_targetCorpus();
28364
- init_scnTags();
28364
+ init_claimCodes();
28365
28365
  init_scenarios();
28366
28366
  init_corpusCounts();
28367
28367
  init_stepNames();
@@ -28491,7 +28491,7 @@ var init_messages_en2 = __esm({
28491
28491
  "reconciliation-line-subject": "Reconciliation line",
28492
28492
  "pending-tally": "{pending} Pending Item(s) \u2014 deferred, tallied apart from balanced and out-of-balance.",
28493
28493
  "evidence-observations-heading": "Evidence observations",
28494
- "evidence-observations-sum": "{total} evidence observations = {onScenario} on scenarios + {onPhantomClaim} on cited scenario ids with no real scenario + {onUnnamedClaim} that no one scenario can take.",
28494
+ "evidence-observations-sum": "{total} evidence observations = {onScenario} on scenarios + {onPhantomClaim} on cited claim codes with no real scenario + {onUnnamedClaim} that no one scenario can take.",
28495
28495
  "evidence-observations-table-header": "| Kind of quality check | Evidence observations | Runner | CI step |",
28496
28496
  "fitness-runner": "each fitness function's check step",
28497
28497
  "fitness-ci-step": "{steps} step(s), each named on its fitness function's row of Claim Reconciliations.",
@@ -28520,7 +28520,7 @@ var init_messages_en2 = __esm({
28520
28520
  "scenario-claim-reconciliations-out-of-balance": "{outOfBalance} of {claimReconciliations} Claim Reconciliation(s) of scenarios out of balance",
28521
28521
  "grouped-by-feature": ", grouped by feature",
28522
28522
  "not-grouped-by-feature": "{ungrouped} out of balance, not grouped by feature (no feature file names them)",
28523
- "phantom-claim-reconciliations": "{count} Claim Reconciliation(s) for cited scenario ids with no real scenario",
28523
+ "phantom-claim-reconciliations": "{count} Claim Reconciliation(s) for cited claim codes with no real scenario",
28524
28524
  "unnamed-claim-reconciliations": "{count} Claim Reconciliation(s) for evidence observations no one scenario can take",
28525
28525
  "and-joiner": " and ",
28526
28526
  "by-feature-table-header": "| Feature | Count | Out-of-balance claim codes |",
@@ -28528,7 +28528,7 @@ var init_messages_en2 = __esm({
28528
28528
  "codes-and-no-claim-code-scenarios": "{codes} and {count} with no claim code",
28529
28529
  "claim-reconciliations-heading": "Claim Reconciliations",
28530
28530
  "claim-reconciliation-tally": "{total} Claim Reconciliation(s): {balanced} balanced, {outOfBalance} out-of-balance.",
28531
- "phantom-claim-tally": "{count} Claim Reconciliation(s) for cited scenario ids with no real scenario.",
28531
+ "phantom-claim-tally": "{count} Claim Reconciliation(s) for cited claim codes with no real scenario.",
28532
28532
  "unnamed-claim-tally": '{count} Claim Reconciliation(s) for evidence observations no one scenario can take, aggregated into "{unnamedClaimId}".',
28533
28533
  "excluded-claim-occurrences": "{count} claim codes seen in non-tag context, excluded: each is a claim 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",
28534
28534
  "untagged-scenarios": "{count} scenario(s) carry no claim code",
@@ -31677,7 +31677,7 @@ var init_runVerdict2 = __esm({
31677
31677
  "../core/dist/render/runVerdict.js"() {
31678
31678
  "use strict";
31679
31679
  init_ledger();
31680
- init_scnTags();
31680
+ init_claimCodes();
31681
31681
  init_messages4();
31682
31682
  init_coreText();
31683
31683
  init_heading();
@@ -31788,7 +31788,7 @@ var CODE_OF, NO_ACCOUNT_MESSAGE_OF, claimCodeErrorsSection, claimCodesCleanState
31788
31788
  var init_claimCodeErrorsSection = __esm({
31789
31789
  "../core/dist/render/claimCodeErrorsSection.js"() {
31790
31790
  "use strict";
31791
- init_scnTags();
31791
+ init_claimCodes();
31792
31792
  init_messages4();
31793
31793
  init_coreText();
31794
31794
  init_heading();
@@ -32644,7 +32644,7 @@ var init_dist3 = __esm({
32644
32644
  init_scenarios();
32645
32645
  init_corpusCounts();
32646
32646
  init_evidenceReconciliation();
32647
- init_scnTags();
32647
+ init_claimCodes();
32648
32648
  init_ledger();
32649
32649
  init_pendingItems();
32650
32650
  init_claimCodeAllocation();
@@ -33026,7 +33026,7 @@ var init_inputShapes = __esm({
33026
33026
  }
33027
33027
  }
33028
33028
  },
33029
- retired: { scenarioCodes: "claimCodeErrors", configuration: "configurationNotRead" }
33029
+ retired: { configuration: "configurationNotRead" }
33030
33030
  }
33031
33031
  },
33032
33032
  required: ["runProvenance", "summary", "claimReconciliations"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spec-controller",
3
- "version": "0.1.249",
3
+ "version": "0.1.251",
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.249"
29
+ "@3f-consulting/spec-controller-core": "0.1.251"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"