{
  "definitions": [
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/converters/lesson.converter.ts",
          "name": "clusterSeedOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-converters-lesson-converter-ts",
            "json": "https://banes-lab.com/json/source/content/core/converters/lesson.converter.ts",
            "label": "core/converters/lesson.converter.ts",
            "markdown": "https://banes-lab.com/source/content/core/converters/lesson.converter.ts.md",
            "ref": "anatomy:file-content-core-converters-lesson-converter-ts"
          }
        },
        {
          "file": "core/converters/lesson.converter.ts",
          "name": "clusterSeedOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-converters-lesson-converter-ts",
            "json": "https://banes-lab.com/json/source/content/core/converters/lesson.converter.ts",
            "label": "core/converters/lesson.converter.ts",
            "markdown": "https://banes-lab.com/source/content/core/converters/lesson.converter.ts.md",
            "ref": "anatomy:file-content-core-converters-lesson-converter-ts"
          }
        },
        {
          "file": "core/converters/lesson.converter.ts",
          "name": "clusterSeedOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-converters-lesson-converter-ts",
            "json": "https://banes-lab.com/json/source/content/core/converters/lesson.converter.ts",
            "label": "core/converters/lesson.converter.ts",
            "markdown": "https://banes-lab.com/source/content/core/converters/lesson.converter.ts.md",
            "ref": "anatomy:file-content-core-converters-lesson-converter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 36,
      "name": "textOrNull",
      "signature": "const textOrNull = function textOrNull(value: string | undefined): string | null {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/converters/lesson.converter.ts",
          "name": "formationOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-converters-lesson-converter-ts",
            "json": "https://banes-lab.com/json/source/content/core/converters/lesson.converter.ts",
            "label": "core/converters/lesson.converter.ts",
            "markdown": "https://banes-lab.com/source/content/core/converters/lesson.converter.ts.md",
            "ref": "anatomy:file-content-core-converters-lesson-converter-ts"
          }
        },
        {
          "file": "core/converters/lesson.converter.ts",
          "name": "textOrNull",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-converters-lesson-converter-ts",
            "json": "https://banes-lab.com/json/source/content/core/converters/lesson.converter.ts",
            "label": "core/converters/lesson.converter.ts",
            "markdown": "https://banes-lab.com/source/content/core/converters/lesson.converter.ts.md",
            "ref": "anatomy:file-content-core-converters-lesson-converter-ts"
          }
        },
        {
          "file": "core/converters/lesson.converter.ts",
          "name": "textOrNull",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-converters-lesson-converter-ts",
            "json": "https://banes-lab.com/json/source/content/core/converters/lesson.converter.ts",
            "label": "core/converters/lesson.converter.ts",
            "markdown": "https://banes-lab.com/source/content/core/converters/lesson.converter.ts.md",
            "ref": "anatomy:file-content-core-converters-lesson-converter-ts"
          }
        },
        {
          "file": "core/converters/lesson.converter.ts",
          "name": "textOrNull",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-converters-lesson-converter-ts",
            "json": "https://banes-lab.com/json/source/content/core/converters/lesson.converter.ts",
            "label": "core/converters/lesson.converter.ts",
            "markdown": "https://banes-lab.com/source/content/core/converters/lesson.converter.ts.md",
            "ref": "anatomy:file-content-core-converters-lesson-converter-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/converters/lesson.converter.ts",
          "name": "seedOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-converters-lesson-converter-ts",
            "json": "https://banes-lab.com/json/source/content/core/converters/lesson.converter.ts",
            "label": "core/converters/lesson.converter.ts",
            "markdown": "https://banes-lab.com/source/content/core/converters/lesson.converter.ts.md",
            "ref": "anatomy:file-content-core-converters-lesson-converter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 62,
      "name": "clusterSeedOf",
      "signature": "const clusterSeedOf = function clusterSeedOf("
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/converters/lesson.converter.ts",
          "name": "causesOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-converters-lesson-converter-ts",
            "json": "https://banes-lab.com/json/source/content/core/converters/lesson.converter.ts",
            "label": "core/converters/lesson.converter.ts",
            "markdown": "https://banes-lab.com/source/content/core/converters/lesson.converter.ts.md",
            "ref": "anatomy:file-content-core-converters-lesson-converter-ts"
          }
        },
        {
          "file": "core/converters/lesson.converter.ts",
          "name": "clusterSeedOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-converters-lesson-converter-ts",
            "json": "https://banes-lab.com/json/source/content/core/converters/lesson.converter.ts",
            "label": "core/converters/lesson.converter.ts",
            "markdown": "https://banes-lab.com/source/content/core/converters/lesson.converter.ts.md",
            "ref": "anatomy:file-content-core-converters-lesson-converter-ts"
          }
        },
        {
          "file": "core/converters/lesson.converter.ts",
          "name": "governingOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-converters-lesson-converter-ts",
            "json": "https://banes-lab.com/json/source/content/core/converters/lesson.converter.ts",
            "label": "core/converters/lesson.converter.ts",
            "markdown": "https://banes-lab.com/source/content/core/converters/lesson.converter.ts.md",
            "ref": "anatomy:file-content-core-converters-lesson-converter-ts"
          }
        },
        {
          "file": "core/converters/lesson.converter.ts",
          "name": "kernelSeedOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-converters-lesson-converter-ts",
            "json": "https://banes-lab.com/json/source/content/core/converters/lesson.converter.ts",
            "label": "core/converters/lesson.converter.ts",
            "markdown": "https://banes-lab.com/source/content/core/converters/lesson.converter.ts.md",
            "ref": "anatomy:file-content-core-converters-lesson-converter-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/converters/lesson.converter.ts",
          "name": "algoSeeds",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-converters-lesson-converter-ts",
            "json": "https://banes-lab.com/json/source/content/core/converters/lesson.converter.ts",
            "label": "core/converters/lesson.converter.ts",
            "markdown": "https://banes-lab.com/source/content/core/converters/lesson.converter.ts.md",
            "ref": "anatomy:file-content-core-converters-lesson-converter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 73,
      "name": "seedOf",
      "signature": "const seedOf = function seedOf(faces: Faces, meta: Contract, kernel: Contract | null): LessonSeed {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/converters/lesson.converter.ts",
          "name": "violationTextOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-converters-lesson-converter-ts",
            "json": "https://banes-lab.com/json/source/content/core/converters/lesson.converter.ts",
            "label": "core/converters/lesson.converter.ts",
            "markdown": "https://banes-lab.com/source/content/core/converters/lesson.converter.ts.md",
            "ref": "anatomy:file-content-core-converters-lesson-converter-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/converters/lesson.converter.ts",
          "name": "clusterSeedOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-converters-lesson-converter-ts",
            "json": "https://banes-lab.com/json/source/content/core/converters/lesson.converter.ts",
            "label": "core/converters/lesson.converter.ts",
            "markdown": "https://banes-lab.com/source/content/core/converters/lesson.converter.ts.md",
            "ref": "anatomy:file-content-core-converters-lesson-converter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 50,
      "name": "formationOf",
      "signature": "const formationOf = function formationOf(faces: Faces, governing: Principle | null): string | undefined {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/converters/lesson.converter.ts",
          "name": "validationOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-converters-lesson-converter-ts",
            "json": "https://banes-lab.com/json/source/content/core/converters/lesson.converter.ts",
            "label": "core/converters/lesson.converter.ts",
            "markdown": "https://banes-lab.com/source/content/core/converters/lesson.converter.ts.md",
            "ref": "anatomy:file-content-core-converters-lesson-converter-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/converters/lesson.converter.ts",
          "name": "seedOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-converters-lesson-converter-ts",
            "json": "https://banes-lab.com/json/source/content/core/converters/lesson.converter.ts",
            "label": "core/converters/lesson.converter.ts",
            "markdown": "https://banes-lab.com/source/content/core/converters/lesson.converter.ts.md",
            "ref": "anatomy:file-content-core-converters-lesson-converter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 57,
      "name": "kernelSeedOf",
      "signature": "const kernelSeedOf = function kernelSeedOf(faces: Faces, kernel: Contract): Pick<LessonSeed, SourcedField> {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/converters/lesson.converter.ts",
          "name": "algoSeeds",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-converters-lesson-converter-ts",
            "json": "https://banes-lab.com/json/source/content/core/converters/lesson.converter.ts",
            "label": "core/converters/lesson.converter.ts",
            "markdown": "https://banes-lab.com/source/content/core/converters/lesson.converter.ts.md",
            "ref": "anatomy:file-content-core-converters-lesson-converter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 11,
      "name": "kernelOf",
      "signature": "const kernelOf = function kernelOf(contracts: readonly Contract[], domain: string): Contract | null {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/converters/lesson.converter.ts",
          "name": "kernelSeedOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-converters-lesson-converter-ts",
            "json": "https://banes-lab.com/json/source/content/core/converters/lesson.converter.ts",
            "label": "core/converters/lesson.converter.ts",
            "markdown": "https://banes-lab.com/source/content/core/converters/lesson.converter.ts.md",
            "ref": "anatomy:file-content-core-converters-lesson-converter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 15,
      "name": "validationOf",
      "signature": "const validationOf = function validationOf(faces: Faces, kernel: Contract | null): string | null {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/converters/lesson.converter.ts",
          "name": "seedOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-converters-lesson-converter-ts",
            "json": "https://banes-lab.com/json/source/content/core/converters/lesson.converter.ts",
            "label": "core/converters/lesson.converter.ts",
            "markdown": "https://banes-lab.com/source/content/core/converters/lesson.converter.ts.md",
            "ref": "anatomy:file-content-core-converters-lesson-converter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 24,
      "name": "causesOf",
      "signature": "const causesOf = function causesOf(faces: Faces, meta: Contract, kernel: Contract | null): string[] {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/converters/lesson.converter.ts",
          "name": "seedOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-converters-lesson-converter-ts",
            "json": "https://banes-lab.com/json/source/content/core/converters/lesson.converter.ts",
            "label": "core/converters/lesson.converter.ts",
            "markdown": "https://banes-lab.com/source/content/core/converters/lesson.converter.ts.md",
            "ref": "anatomy:file-content-core-converters-lesson-converter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 32,
      "name": "governingOf",
      "signature": "const governingOf = function governingOf(faces: Faces, meta: Contract): Principle | null {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/converters/lesson.converter.ts",
          "name": "formationOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-converters-lesson-converter-ts",
            "json": "https://banes-lab.com/json/source/content/core/converters/lesson.converter.ts",
            "label": "core/converters/lesson.converter.ts",
            "markdown": "https://banes-lab.com/source/content/core/converters/lesson.converter.ts.md",
            "ref": "anatomy:file-content-core-converters-lesson-converter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 43,
      "name": "violationTextOf",
      "signature": "const violationTextOf = function violationTextOf(faces: Faces, ref: string): string | undefined {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/converters/lesson.converter.ts",
          "name": "kernelOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-converters-lesson-converter-ts",
            "json": "https://banes-lab.com/json/source/content/core/converters/lesson.converter.ts",
            "label": "core/converters/lesson.converter.ts",
            "markdown": "https://banes-lab.com/source/content/core/converters/lesson.converter.ts.md",
            "ref": "anatomy:file-content-core-converters-lesson-converter-ts"
          }
        },
        {
          "file": "core/converters/lesson.converter.ts",
          "name": "seedOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-converters-lesson-converter-ts",
            "json": "https://banes-lab.com/json/source/content/core/converters/lesson.converter.ts",
            "label": "core/converters/lesson.converter.ts",
            "markdown": "https://banes-lab.com/source/content/core/converters/lesson.converter.ts.md",
            "ref": "anatomy:file-content-core-converters-lesson-converter-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 110,
      "name": "algoSeeds",
      "signature": "export const algoSeeds = function algoSeeds(faces: Faces): LessonSeed[] {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 6,
      "name": "SOURCE",
      "signature": "const SOURCE = \"algorithms\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 7,
      "name": "LABEL_JOINER",
      "signature": "const LABEL_JOINER = \", \";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "type_alias_declaration",
      "line": 9,
      "name": "SourcedField",
      "signature": "type SourcedField = \"failureMode\" | \"problem\" | \"validation\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 16,
      "name": "entry",
      "signature": "const entry = kernel?.derivationMap?.find((mapped) => mapped.stage === VERIFY_STAGE);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 20,
      "name": "record",
      "signature": "const record = faces.algo.get(entry.record);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 25,
      "name": "refs",
      "signature": "const refs = [meta, ...(kernel ? [kernel] : []), ...meta.composes.flatMap((id) => faces.algo.get(id) ?? [])]"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 28,
      "name": "names",
      "signature": "const names = new Set(refs.flatMap((ref) => faces.arch.get(ref)?.name ?? []));"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 40,
      "name": "ARCH_PREFIX",
      "signature": "const ARCH_PREFIX = ARCH_FACE + FACE_SEPARATOR;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 41,
      "name": "LEX_PREFIX",
      "signature": "const LEX_PREFIX = LEX_FACE + FACE_SEPARATOR;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 58,
      "name": "before",
      "signature": "const before = kernel.exemplar?.before ?? null;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 88,
      "name": "FIELD_ABSENT",
      "signature": "const FIELD_ABSENT: Readonly<Record<SeedField, (seed: LessonSeed) => boolean>> = {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 95,
      "name": "missingFieldsOf",
      "signature": "export const missingFieldsOf = function missingFieldsOf(seed: LessonSeed): string[] {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 99,
      "name": "reportOf",
      "signature": "export const reportOf = function reportOf(seeds: readonly LessonSeed[]): SeedReport {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 100,
      "name": "incomplete",
      "signature": "const incomplete: IncompleteSeed[] = [];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 102,
      "name": "missing",
      "signature": "const missing = missingFieldsOf(seed);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 111,
      "name": "contracts",
      "signature": "const contracts = faces.algo.all();"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/content#file-content-core-converters-lesson-converter-ts",
  "language": "typescript",
  "layer": "processing",
  "name": "lesson.converter.ts",
  "path": "core/converters/lesson.converter.ts",
  "ref": "anatomy:file-content-core-converters-lesson-converter-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/content#folder-content-core-converters",
          "json": "https://banes-lab.com/json/anatomy/content/folder-content-core-converters",
          "label": "core/converters",
          "markdown": "https://banes-lab.com/anatomy/content/folder-content-core-converters.md",
          "ref": "chapter:/anatomy/content#folder-content-core-converters"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/content#folder-content-core-converters",
          "json": "https://banes-lab.com/json/anatomy/content/folder-content-core-converters",
          "label": "core/converters",
          "markdown": "https://banes-lab.com/anatomy/content/folder-content-core-converters.md",
          "ref": "chapter:/anatomy/content#folder-content-core-converters"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "converter",
    "subject": "lesson",
    "variant": null
  },
  "stats": {
    "bytes": 4877,
    "callable": 13,
    "definitions": 27,
    "edges": 12,
    "exported": 6,
    "files": 1,
    "findings": {},
    "flows": {
      "leaf": 6,
      "relay": 4,
      "entry": 1,
      "isolated": 16
    },
    "lines": {
      "blank": 17,
      "code": 99,
      "total": 116
    }
  },
  "summary": "99 lines of code and 27 definitions.",
  "text": "https://banes-lab.com/source/content/core/converters/lesson.converter.ts.txt",
  "tree": "content",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/content#file-content-core-converters-principle-converter-ts",
      "json": "https://banes-lab.com/json/source/content/core/converters/principle.converter.ts",
      "label": "core/converters/principle.converter.ts",
      "markdown": "https://banes-lab.com/source/content/core/converters/principle.converter.ts.md",
      "ref": "anatomy:file-content-core-converters-principle-converter-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/content#file-content-core-converters-inventory-converter-ts",
      "json": "https://banes-lab.com/json/source/content/core/converters/inventory.converter.ts",
      "label": "core/converters/inventory.converter.ts",
      "markdown": "https://banes-lab.com/source/content/core/converters/inventory.converter.ts.md",
      "ref": "anatomy:file-content-core-converters-inventory-converter-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/content/core/converters",
    "label": "core/converters",
    "markdown": "https://banes-lab.com/api/source/content/core/converters.md",
    "ref": "api:source/content/core/converters"
  }
}
