{
  "definitions": [
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/steps/concept.step.ts",
          "name": "tallyRule",
          "source": {
            "href": "https://banes-lab.com/anatomy/quality#file-quality-core-steps-concept-step-ts",
            "json": "https://banes-lab.com/json/source/quality/core/steps/concept.step.ts",
            "label": "core/steps/concept.step.ts",
            "markdown": "https://banes-lab.com/source/quality/core/steps/concept.step.ts.md",
            "ref": "anatomy:file-quality-core-steps-concept-step-ts"
          }
        },
        {
          "file": "core/steps/concept.step.ts",
          "name": "tallyRule",
          "source": {
            "href": "https://banes-lab.com/anatomy/quality#file-quality-core-steps-concept-step-ts",
            "json": "https://banes-lab.com/json/source/quality/core/steps/concept.step.ts",
            "label": "core/steps/concept.step.ts",
            "markdown": "https://banes-lab.com/source/quality/core/steps/concept.step.ts.md",
            "ref": "anatomy:file-quality-core-steps-concept-step-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 23,
      "name": "bump",
      "signature": "const bump = function bump(counts: Record<string, number>, key: string): void {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "configuration/strings/catalog.strings.ts",
          "name": "undeclaredConcept",
          "source": {
            "href": "https://banes-lab.com/anatomy/quality#file-quality-configuration-strings-catalog-strings-ts",
            "json": "https://banes-lab.com/json/source/quality/configuration/strings/catalog.strings.ts",
            "label": "configuration/strings/catalog.strings.ts",
            "markdown": "https://banes-lab.com/source/quality/configuration/strings/catalog.strings.ts.md",
            "ref": "anatomy:file-quality-configuration-strings-catalog-strings-ts"
          }
        },
        {
          "file": "core/steps/concept.step.ts",
          "name": "bump",
          "source": {
            "href": "https://banes-lab.com/anatomy/quality#file-quality-core-steps-concept-step-ts",
            "json": "https://banes-lab.com/json/source/quality/core/steps/concept.step.ts",
            "label": "core/steps/concept.step.ts",
            "markdown": "https://banes-lab.com/source/quality/core/steps/concept.step.ts.md",
            "ref": "anatomy:file-quality-core-steps-concept-step-ts"
          }
        },
        {
          "file": "core/steps/concept.step.ts",
          "name": "bump",
          "source": {
            "href": "https://banes-lab.com/anatomy/quality#file-quality-core-steps-concept-step-ts",
            "json": "https://banes-lab.com/json/source/quality/core/steps/concept.step.ts",
            "label": "core/steps/concept.step.ts",
            "markdown": "https://banes-lab.com/source/quality/core/steps/concept.step.ts.md",
            "ref": "anatomy:file-quality-core-steps-concept-step-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 27,
      "name": "tallyRule",
      "signature": "const tallyRule = function tallyRule("
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 11,
      "name": "PCT_SCALE",
      "signature": "const PCT_SCALE = 100;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 12,
      "name": "PROMILLE",
      "signature": "const PROMILLE = 1000;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 13,
      "name": "PROMILLE_DIV",
      "signature": "const PROMILLE_DIV = 10;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "interface_declaration",
      "line": 15,
      "name": "Tally",
      "signature": "interface Tally {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 32,
      "name": "tool",
      "signature": "const tool = stringField(rule, \"tool\");"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 34,
      "name": "tally",
      "signature": "const tally = tallies.get(concept);"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 47,
      "name": "conceptEntries",
      "signature": "const conceptEntries = function conceptEntries(tallies: Map<string, Tally>): ConceptEntry[] {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 48,
      "name": "exemplars",
      "signature": "const exemplars = loadExemplars();"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 51,
      "name": "exemplar",
      "signature": "const exemplar = exemplars[id];"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 66,
      "name": "summaryOf",
      "signature": "const summaryOf = function summaryOf("
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 70,
      "name": "mapped",
      "signature": "const mapped = classified.filter((rule) => Array.isArray(rule[\"canonical\"])).length;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 71,
      "name": "memberships",
      "signature": "const memberships = concepts.reduce((sum, concept) => sum + concept.total, 0);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 72,
      "name": "byDimension",
      "signature": "const byDimension: Record<string, number> = {};"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 90,
      "name": "tallyFor",
      "signature": "const tallyFor = function tallyFor(definitions: readonly ConceptDefinition[]): Map<string, Tally> {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 104,
      "name": "definitions",
      "signature": "const definitions = loadConceptDefinitions();"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 105,
      "name": "tallies",
      "signature": "const tallies = tallyFor(definitions);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 106,
      "name": "classified",
      "signature": "const classified = (state.rules ?? []).map((rule): CatalogRule => {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 111,
      "name": "concepts",
      "signature": "const concepts = conceptEntries(tallies);"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/quality#file-quality-core-steps-concept-step-ts",
  "language": "typescript",
  "layer": "application",
  "name": "concept.step.ts",
  "path": "core/steps/concept.step.ts",
  "ref": "anatomy:file-quality-core-steps-concept-step-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/quality#folder-quality-core-steps",
          "json": "https://banes-lab.com/json/anatomy/quality/folder-quality-core-steps",
          "label": "core/steps",
          "markdown": "https://banes-lab.com/anatomy/quality/folder-quality-core-steps.md",
          "ref": "chapter:/anatomy/quality#folder-quality-core-steps"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/quality#file-quality-configuration-strings-catalog-strings-ts",
          "json": "https://banes-lab.com/json/source/quality/configuration/strings/catalog.strings.ts",
          "label": "configuration/strings/catalog.strings.ts",
          "markdown": "https://banes-lab.com/source/quality/configuration/strings/catalog.strings.ts.md",
          "ref": "anatomy:file-quality-configuration-strings-catalog-strings-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/quality#folder-quality-configuration-strings",
          "json": "https://banes-lab.com/json/anatomy/quality/folder-quality-configuration-strings",
          "label": "configuration/strings",
          "markdown": "https://banes-lab.com/anatomy/quality/folder-quality-configuration-strings.md",
          "ref": "chapter:/anatomy/quality#folder-quality-configuration-strings"
        },
        {
          "href": "https://banes-lab.com/anatomy/quality#folder-quality-core-steps",
          "json": "https://banes-lab.com/json/anatomy/quality/folder-quality-core-steps",
          "label": "core/steps",
          "markdown": "https://banes-lab.com/anatomy/quality/folder-quality-core-steps.md",
          "ref": "chapter:/anatomy/quality#folder-quality-core-steps"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "step",
    "subject": "concept",
    "variant": null
  },
  "stats": {
    "bytes": 4474,
    "callable": 5,
    "definitions": 20,
    "edges": 3,
    "exported": 0,
    "files": 1,
    "findings": {},
    "flows": {
      "leaf": 1,
      "entry": 1,
      "isolated": 18
    },
    "lines": {
      "blank": 8,
      "code": 110,
      "total": 118
    }
  },
  "summary": "110 lines of code and 20 definitions.",
  "text": "https://banes-lab.com/source/quality/core/steps/concept.step.ts.txt",
  "tree": "quality",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/quality#file-quality-core-steps-concern-step-ts",
      "json": "https://banes-lab.com/json/source/quality/core/steps/concern.step.ts",
      "label": "core/steps/concern.step.ts",
      "markdown": "https://banes-lab.com/source/quality/core/steps/concern.step.ts.md",
      "ref": "anatomy:file-quality-core-steps-concern-step-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/quality#file-quality-core-steps-catalog-step-ts",
      "json": "https://banes-lab.com/json/source/quality/core/steps/catalog.step.ts",
      "label": "core/steps/catalog.step.ts",
      "markdown": "https://banes-lab.com/source/quality/core/steps/catalog.step.ts.md",
      "ref": "anatomy:file-quality-core-steps-catalog-step-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/quality/core/steps",
    "label": "core/steps",
    "markdown": "https://banes-lab.com/api/source/quality/core/steps.md",
    "ref": "api:source/quality/core/steps"
  }
}
