@suss/extractor 0.24.4 → 0.25.0

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/index.cjs CHANGED
@@ -1703,7 +1703,6 @@ var emptyTally = () => ({
1703
1703
  unitsInGatedFiles: 0,
1704
1704
  effectsRecognized: 0,
1705
1705
  unitsClaimed: 0,
1706
- selfCollisions: 0,
1707
1706
  summariesProduced: 0,
1708
1707
  failures: [],
1709
1708
  helpersMatched: /* @__PURE__ */ new Set()
@@ -1774,7 +1773,6 @@ function buildUngatedExtractionReport(args) {
1774
1773
  unitsInGatedFiles: 0,
1775
1774
  effectsRecognized: 0,
1776
1775
  unitsClaimed: tally.unitsDiscovered,
1777
- selfCollisions: 0,
1778
1776
  summariesProduced: tally.summariesProduced,
1779
1777
  failures: tally.failures,
1780
1778
  helpersUnmatched: [],
@@ -1872,12 +1870,6 @@ function unversionedPacks(packs) {
1872
1870
  detail: "no version declared"
1873
1871
  }));
1874
1872
  }
1875
- function selfCollisions(packs) {
1876
- return packs.filter((funnel) => funnel.selfCollisions > 0).map((funnel) => ({
1877
- label: funnel.pack,
1878
- detail: `${funnel.selfCollisions} ${funnel.selfCollisions === 1 ? "unit" : "units"} matched twice, second dropped`
1879
- }));
1880
- }
1881
1873
  function threwWhileReading(packs) {
1882
1874
  return packs.filter((funnel) => funnel.failures.length > 0).map((funnel) => {
1883
1875
  const first = funnel.failures[0];
@@ -1954,12 +1946,6 @@ function evaluatePackHealth(report) {
1954
1946
  audience: "run",
1955
1947
  violations: funnelDrops(report.packs)
1956
1948
  },
1957
- {
1958
- name: "no pack collides with itself",
1959
- code: "double-match",
1960
- audience: "run",
1961
- violations: selfCollisions(report.packs)
1962
- },
1963
1949
  {
1964
1950
  name: "every recognizer had units to look inside",
1965
1951
  code: "no-units",
package/dist/index.d.cts CHANGED
@@ -2614,13 +2614,6 @@ interface PackFunnel {
2614
2614
  * comes after a pack that recognises the same code.
2615
2615
  */
2616
2616
  unitsClaimed: number;
2617
- /**
2618
- * Units this pack discovered twice over. Cross-pack dedup is the
2619
- * point of the claim set, but a pack colliding with itself means its
2620
- * own discovery patterns overlap and one of the two is being thrown
2621
- * away without anybody deciding which.
2622
- */
2623
- selfCollisions: number;
2624
2617
  /** Summaries built from those units. */
2625
2618
  summariesProduced: number;
2626
2619
  /** Summaries in the finished run that credit this pack for finding them. */
@@ -2716,7 +2709,6 @@ interface PackTally {
2716
2709
  unitsInGatedFiles: number;
2717
2710
  effectsRecognized: number;
2718
2711
  unitsClaimed: number;
2719
- selfCollisions: number;
2720
2712
  summariesProduced: number;
2721
2713
  failures: PackFailure[];
2722
2714
  /** Registration helpers from this pack's config that produced a unit. */
package/dist/index.d.ts CHANGED
@@ -2614,13 +2614,6 @@ interface PackFunnel {
2614
2614
  * comes after a pack that recognises the same code.
2615
2615
  */
2616
2616
  unitsClaimed: number;
2617
- /**
2618
- * Units this pack discovered twice over. Cross-pack dedup is the
2619
- * point of the claim set, but a pack colliding with itself means its
2620
- * own discovery patterns overlap and one of the two is being thrown
2621
- * away without anybody deciding which.
2622
- */
2623
- selfCollisions: number;
2624
2617
  /** Summaries built from those units. */
2625
2618
  summariesProduced: number;
2626
2619
  /** Summaries in the finished run that credit this pack for finding them. */
@@ -2716,7 +2709,6 @@ interface PackTally {
2716
2709
  unitsInGatedFiles: number;
2717
2710
  effectsRecognized: number;
2718
2711
  unitsClaimed: number;
2719
- selfCollisions: number;
2720
2712
  summariesProduced: number;
2721
2713
  failures: PackFailure[];
2722
2714
  /** Registration helpers from this pack's config that produced a unit. */
package/dist/index.js CHANGED
@@ -1625,7 +1625,6 @@ var emptyTally = () => ({
1625
1625
  unitsInGatedFiles: 0,
1626
1626
  effectsRecognized: 0,
1627
1627
  unitsClaimed: 0,
1628
- selfCollisions: 0,
1629
1628
  summariesProduced: 0,
1630
1629
  failures: [],
1631
1630
  helpersMatched: /* @__PURE__ */ new Set()
@@ -1696,7 +1695,6 @@ function buildUngatedExtractionReport(args) {
1696
1695
  unitsInGatedFiles: 0,
1697
1696
  effectsRecognized: 0,
1698
1697
  unitsClaimed: tally.unitsDiscovered,
1699
- selfCollisions: 0,
1700
1698
  summariesProduced: tally.summariesProduced,
1701
1699
  failures: tally.failures,
1702
1700
  helpersUnmatched: [],
@@ -1794,12 +1792,6 @@ function unversionedPacks(packs) {
1794
1792
  detail: "no version declared"
1795
1793
  }));
1796
1794
  }
1797
- function selfCollisions(packs) {
1798
- return packs.filter((funnel) => funnel.selfCollisions > 0).map((funnel) => ({
1799
- label: funnel.pack,
1800
- detail: `${funnel.selfCollisions} ${funnel.selfCollisions === 1 ? "unit" : "units"} matched twice, second dropped`
1801
- }));
1802
- }
1803
1795
  function threwWhileReading(packs) {
1804
1796
  return packs.filter((funnel) => funnel.failures.length > 0).map((funnel) => {
1805
1797
  const first = funnel.failures[0];
@@ -1876,12 +1868,6 @@ function evaluatePackHealth(report) {
1876
1868
  audience: "run",
1877
1869
  violations: funnelDrops(report.packs)
1878
1870
  },
1879
- {
1880
- name: "no pack collides with itself",
1881
- code: "double-match",
1882
- audience: "run",
1883
- violations: selfCollisions(report.packs)
1884
- },
1885
1871
  {
1886
1872
  name: "every recognizer had units to look inside",
1887
1873
  code: "no-units",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@suss/extractor",
3
- "version": "0.24.4",
3
+ "version": "0.25.0",
4
4
  "type": "module",
5
5
  "description": "The suss extraction pipeline, which turns what a language adapter read into the summaries the checker pairs across a boundary.",
6
6
  "keywords": [
@@ -46,7 +46,7 @@
46
46
  "typecheck": "tsc --noEmit"
47
47
  },
48
48
  "dependencies": {
49
- "@suss/behavioral-ir": "0.24.4",
49
+ "@suss/behavioral-ir": "0.25.0",
50
50
  "zod": "^4.0.0"
51
51
  },
52
52
  "devDependencies": {