{
  "definitions": [
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/formatters/coverage.formatter.ts",
          "name": "blockingGaps",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-coverage-formatter-ts",
            "json": "https://banes-lab.com/json/source/docs/core/formatters/coverage.formatter.ts",
            "label": "core/formatters/coverage.formatter.ts",
            "markdown": "https://banes-lab.com/source/docs/core/formatters/coverage.formatter.ts.md",
            "ref": "anatomy:file-docs-core-formatters-coverage-formatter-ts"
          }
        },
        {
          "file": "core/formatters/coverage.formatter.ts",
          "name": "blockingGaps",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-coverage-formatter-ts",
            "json": "https://banes-lab.com/json/source/docs/core/formatters/coverage.formatter.ts",
            "label": "core/formatters/coverage.formatter.ts",
            "markdown": "https://banes-lab.com/source/docs/core/formatters/coverage.formatter.ts.md",
            "ref": "anatomy:file-docs-core-formatters-coverage-formatter-ts"
          }
        },
        {
          "file": "core/formatters/coverage.formatter.ts",
          "name": "renderCoverage",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-coverage-formatter-ts",
            "json": "https://banes-lab.com/json/source/docs/core/formatters/coverage.formatter.ts",
            "label": "core/formatters/coverage.formatter.ts",
            "markdown": "https://banes-lab.com/source/docs/core/formatters/coverage.formatter.ts.md",
            "ref": "anatomy:file-docs-core-formatters-coverage-formatter-ts"
          }
        },
        {
          "file": "core/formatters/coverage.formatter.ts",
          "name": "renderCoverage",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-coverage-formatter-ts",
            "json": "https://banes-lab.com/json/source/docs/core/formatters/coverage.formatter.ts",
            "label": "core/formatters/coverage.formatter.ts",
            "markdown": "https://banes-lab.com/source/docs/core/formatters/coverage.formatter.ts.md",
            "ref": "anatomy:file-docs-core-formatters-coverage-formatter-ts"
          }
        },
        {
          "file": "core/formatters/coverage.formatter.ts",
          "name": "renderCoverage",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-coverage-formatter-ts",
            "json": "https://banes-lab.com/json/source/docs/core/formatters/coverage.formatter.ts",
            "label": "core/formatters/coverage.formatter.ts",
            "markdown": "https://banes-lab.com/source/docs/core/formatters/coverage.formatter.ts.md",
            "ref": "anatomy:file-docs-core-formatters-coverage-formatter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 34,
      "name": "withGap",
      "signature": "const withGap = function withGap(rows: readonly CoverageRow[], gap: string): number {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/selectors/record.selector.ts",
          "name": "arrayField",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-selectors-record-selector-ts",
            "json": "https://banes-lab.com/json/source/docs/core/selectors/record.selector.ts",
            "label": "core/selectors/record.selector.ts",
            "markdown": "https://banes-lab.com/source/docs/core/selectors/record.selector.ts.md",
            "ref": "anatomy:file-docs-core-selectors-record-selector-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/formatters/coverage.formatter.ts",
          "name": "coverageRow",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-coverage-formatter-ts",
            "json": "https://banes-lab.com/json/source/docs/core/formatters/coverage.formatter.ts",
            "label": "core/formatters/coverage.formatter.ts",
            "markdown": "https://banes-lab.com/source/docs/core/formatters/coverage.formatter.ts.md",
            "ref": "anatomy:file-docs-core-formatters-coverage-formatter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 18,
      "name": "gapsOf",
      "signature": "const gapsOf = function gapsOf(module: ManifestModule, isPrivate: boolean): string[] {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "configuration/strings/coverage.strings.ts",
          "name": "coverageGaps",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-configuration-strings-coverage-strings-ts",
            "json": "https://banes-lab.com/json/source/docs/configuration/strings/coverage.strings.ts",
            "label": "configuration/strings/coverage.strings.ts",
            "markdown": "https://banes-lab.com/source/docs/configuration/strings/coverage.strings.ts.md",
            "ref": "anatomy:file-docs-configuration-strings-coverage-strings-ts"
          }
        },
        {
          "file": "configuration/strings/coverage.strings.ts",
          "name": "coverageHeading",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-configuration-strings-coverage-strings-ts",
            "json": "https://banes-lab.com/json/source/docs/configuration/strings/coverage.strings.ts",
            "label": "configuration/strings/coverage.strings.ts",
            "markdown": "https://banes-lab.com/source/docs/configuration/strings/coverage.strings.ts.md",
            "ref": "anatomy:file-docs-configuration-strings-coverage-strings-ts"
          }
        },
        {
          "file": "configuration/strings/coverage.strings.ts",
          "name": "missingAiContext",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-configuration-strings-coverage-strings-ts",
            "json": "https://banes-lab.com/json/source/docs/configuration/strings/coverage.strings.ts",
            "label": "configuration/strings/coverage.strings.ts",
            "markdown": "https://banes-lab.com/source/docs/configuration/strings/coverage.strings.ts.md",
            "ref": "anatomy:file-docs-configuration-strings-coverage-strings-ts"
          }
        },
        {
          "file": "configuration/strings/coverage.strings.ts",
          "name": "missingCapabilities",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-configuration-strings-coverage-strings-ts",
            "json": "https://banes-lab.com/json/source/docs/configuration/strings/coverage.strings.ts",
            "label": "configuration/strings/coverage.strings.ts",
            "markdown": "https://banes-lab.com/source/docs/configuration/strings/coverage.strings.ts.md",
            "ref": "anatomy:file-docs-configuration-strings-coverage-strings-ts"
          }
        },
        {
          "file": "configuration/strings/coverage.strings.ts",
          "name": "rankedRow",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-configuration-strings-coverage-strings-ts",
            "json": "https://banes-lab.com/json/source/docs/configuration/strings/coverage.strings.ts",
            "label": "configuration/strings/coverage.strings.ts",
            "markdown": "https://banes-lab.com/source/docs/configuration/strings/coverage.strings.ts.md",
            "ref": "anatomy:file-docs-configuration-strings-coverage-strings-ts"
          }
        },
        {
          "file": "configuration/strings/coverage.strings.ts",
          "name": "withoutRelationships",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-configuration-strings-coverage-strings-ts",
            "json": "https://banes-lab.com/json/source/docs/configuration/strings/coverage.strings.ts",
            "label": "configuration/strings/coverage.strings.ts",
            "markdown": "https://banes-lab.com/source/docs/configuration/strings/coverage.strings.ts.md",
            "ref": "anatomy:file-docs-configuration-strings-coverage-strings-ts"
          }
        },
        {
          "file": "core/formatters/coverage.formatter.ts",
          "name": "withGap",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-coverage-formatter-ts",
            "json": "https://banes-lab.com/json/source/docs/core/formatters/coverage.formatter.ts",
            "label": "core/formatters/coverage.formatter.ts",
            "markdown": "https://banes-lab.com/source/docs/core/formatters/coverage.formatter.ts.md",
            "ref": "anatomy:file-docs-core-formatters-coverage-formatter-ts"
          }
        },
        {
          "file": "core/formatters/coverage.formatter.ts",
          "name": "withGap",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-coverage-formatter-ts",
            "json": "https://banes-lab.com/json/source/docs/core/formatters/coverage.formatter.ts",
            "label": "core/formatters/coverage.formatter.ts",
            "markdown": "https://banes-lab.com/source/docs/core/formatters/coverage.formatter.ts.md",
            "ref": "anatomy:file-docs-core-formatters-coverage-formatter-ts"
          }
        },
        {
          "file": "core/formatters/coverage.formatter.ts",
          "name": "withGap",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-coverage-formatter-ts",
            "json": "https://banes-lab.com/json/source/docs/core/formatters/coverage.formatter.ts",
            "label": "core/formatters/coverage.formatter.ts",
            "markdown": "https://banes-lab.com/source/docs/core/formatters/coverage.formatter.ts.md",
            "ref": "anatomy:file-docs-core-formatters-coverage-formatter-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 46,
      "name": "renderCoverage",
      "signature": "export const renderCoverage = function renderCoverage(rows: readonly CoverageRow[]): string[] {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/formatters/coverage.formatter.ts",
          "name": "withGap",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-coverage-formatter-ts",
            "json": "https://banes-lab.com/json/source/docs/core/formatters/coverage.formatter.ts",
            "label": "core/formatters/coverage.formatter.ts",
            "markdown": "https://banes-lab.com/source/docs/core/formatters/coverage.formatter.ts.md",
            "ref": "anatomy:file-docs-core-formatters-coverage-formatter-ts"
          }
        },
        {
          "file": "core/formatters/coverage.formatter.ts",
          "name": "withGap",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-coverage-formatter-ts",
            "json": "https://banes-lab.com/json/source/docs/core/formatters/coverage.formatter.ts",
            "label": "core/formatters/coverage.formatter.ts",
            "markdown": "https://banes-lab.com/source/docs/core/formatters/coverage.formatter.ts.md",
            "ref": "anatomy:file-docs-core-formatters-coverage-formatter-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 42,
      "name": "blockingGaps",
      "signature": "export const blockingGaps = function blockingGaps(rows: readonly CoverageRow[]): number {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/formatters/coverage.formatter.ts",
          "name": "gapsOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-coverage-formatter-ts",
            "json": "https://banes-lab.com/json/source/docs/core/formatters/coverage.formatter.ts",
            "label": "core/formatters/coverage.formatter.ts",
            "markdown": "https://banes-lab.com/source/docs/core/formatters/coverage.formatter.ts.md",
            "ref": "anatomy:file-docs-core-formatters-coverage-formatter-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 29,
      "name": "coverageRow",
      "signature": "export const coverageRow = function coverageRow(module: ManifestModule): CoverageRow {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 16,
      "name": "GAP_JOIN",
      "signature": "const GAP_JOIN = \", \";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 19,
      "name": "{ manifest }",
      "signature": "const { manifest } = module;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 20,
      "name": "relationships",
      "signature": "const relationships = RELATIONSHIP_KEYS.reduce((sum, key) => sum + arrayField(manifest, key).length, 0);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 21,
      "name": "hasAiContext",
      "signature": "const hasAiContext = Boolean(recordField(manifest, \"docs\")?.[\"aiContext\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 30,
      "name": "isPrivate",
      "signature": "const isPrivate = recordField(module.manifest, \"visibility\")?.[\"private\"] === true;"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 38,
      "name": "byGapsThenSlug",
      "signature": "const byGapsThenSlug = function byGapsThenSlug(left: CoverageRow, right: CoverageRow): number {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 47,
      "name": "blocking",
      "signature": "const blocking = blockingGaps(rows);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 48,
      "name": "ranked",
      "signature": "const ranked = rows.filter((row) => row.gaps.length > 0).toSorted(byGapsThenSlug);"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-coverage-formatter-ts",
  "language": "typescript",
  "layer": "processing",
  "name": "coverage.formatter.ts",
  "path": "core/formatters/coverage.formatter.ts",
  "ref": "anatomy:file-docs-core-formatters-coverage-formatter-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/docs#folder-docs-core-formatters",
          "json": "https://banes-lab.com/json/anatomy/docs/folder-docs-core-formatters",
          "label": "core/formatters",
          "markdown": "https://banes-lab.com/anatomy/docs/folder-docs-core-formatters.md",
          "ref": "chapter:/anatomy/docs#folder-docs-core-formatters"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/docs#file-docs-configuration-strings-coverage-strings-ts",
          "json": "https://banes-lab.com/json/source/docs/configuration/strings/coverage.strings.ts",
          "label": "configuration/strings/coverage.strings.ts",
          "markdown": "https://banes-lab.com/source/docs/configuration/strings/coverage.strings.ts.md",
          "ref": "anatomy:file-docs-configuration-strings-coverage-strings-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/docs#file-docs-core-selectors-record-selector-ts",
          "json": "https://banes-lab.com/json/source/docs/core/selectors/record.selector.ts",
          "label": "core/selectors/record.selector.ts",
          "markdown": "https://banes-lab.com/source/docs/core/selectors/record.selector.ts.md",
          "ref": "anatomy:file-docs-core-selectors-record-selector-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/docs#folder-docs-configuration-strings",
          "json": "https://banes-lab.com/json/anatomy/docs/folder-docs-configuration-strings",
          "label": "configuration/strings",
          "markdown": "https://banes-lab.com/anatomy/docs/folder-docs-configuration-strings.md",
          "ref": "chapter:/anatomy/docs#folder-docs-configuration-strings"
        },
        {
          "href": "https://banes-lab.com/anatomy/docs#folder-docs-core-formatters",
          "json": "https://banes-lab.com/json/anatomy/docs/folder-docs-core-formatters",
          "label": "core/formatters",
          "markdown": "https://banes-lab.com/anatomy/docs/folder-docs-core-formatters.md",
          "ref": "chapter:/anatomy/docs#folder-docs-core-formatters"
        },
        {
          "href": "https://banes-lab.com/anatomy/docs#folder-docs-core-selectors",
          "json": "https://banes-lab.com/json/anatomy/docs/folder-docs-core-selectors",
          "label": "core/selectors",
          "markdown": "https://banes-lab.com/anatomy/docs/folder-docs-core-selectors.md",
          "ref": "chapter:/anatomy/docs#folder-docs-core-selectors"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "formatter",
    "subject": "coverage",
    "variant": null
  },
  "stats": {
    "bytes": 2552,
    "callable": 6,
    "definitions": 13,
    "edges": 13,
    "exported": 6,
    "files": 1,
    "findings": {},
    "flows": {
      "leaf": 1,
      "relay": 1,
      "entry": 3,
      "isolated": 8
    },
    "lines": {
      "blank": 7,
      "code": 50,
      "total": 57
    }
  },
  "summary": "50 lines of code and 13 definitions.",
  "text": "https://banes-lab.com/source/docs/core/formatters/coverage.formatter.ts.txt",
  "tree": "docs",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-diagram-formatter-ts",
      "json": "https://banes-lab.com/json/source/docs/core/formatters/diagram.formatter.ts",
      "label": "core/formatters/diagram.formatter.ts",
      "markdown": "https://banes-lab.com/source/docs/core/formatters/diagram.formatter.ts.md",
      "ref": "anatomy:file-docs-core-formatters-diagram-formatter-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-catalog-formatter-ts",
      "json": "https://banes-lab.com/json/source/docs/core/formatters/catalog.formatter.ts",
      "label": "core/formatters/catalog.formatter.ts",
      "markdown": "https://banes-lab.com/source/docs/core/formatters/catalog.formatter.ts.md",
      "ref": "anatomy:file-docs-core-formatters-catalog-formatter-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/docs/core/formatters",
    "label": "core/formatters",
    "markdown": "https://banes-lab.com/api/source/docs/core/formatters.md",
    "ref": "api:source/docs/core/formatters"
  }
}
