{
  "engine": "kggen",
  "version": "0.4.0",
  "actual_run": {
    "sample": "compression",
    "relations": 12,
    "endpoint_violations": 7,
    "violating_relations": [
      {
        "subject": "V^{\\otimes d}",
        "predicate": "exterior bits",
        "object": "de"
      },
      {
        "subject": "\\eta",
        "predicate": "exterior bits",
        "object": "de"
      },
      {
        "subject": "e",
        "predicate": "number of exterior bits",
        "object": "de"
      },
      {
        "subject": "h",
        "predicate": "logarithm base 2 of n",
        "object": "\\lceil\\log_2 n\\rceil"
      },
      {
        "subject": "m",
        "predicate": "size",
        "object": "d(mh^{-\\gamma}+eh^\\eta)"
      },
      {
        "subject": "m",
        "predicate": "size",
        "object": "n^{1.05}"
      },
      {
        "subject": "n",
        "predicate": "size",
        "object": "mh^{-\\gamma}+eh^\\eta"
      }
    ],
    "self_loops": 1,
    "self_loop_relations": [
      {
        "subject": "V^{\\otimes d}",
        "predicate": "trivalent k -network",
        "object": "V^{\\otimes d}"
      }
    ]
  },
  "synthetic_fixture": {
    "test_method": "Run isolated aggregate method AST from installed KGGen source using the installed Graph model, avoiding unrelated heavyweight imports.",
    "input_graphs": [
      {
        "scope": "field scope",
        "entities": [
          "finite field",
          "k"
        ],
        "relations": [
          [
            "k",
            "is",
            "finite field"
          ]
        ]
      },
      {
        "scope": "index scope",
        "entities": [
          "index",
          "k"
        ],
        "relations": [
          [
            "k",
            "is",
            "index"
          ]
        ]
      }
    ],
    "output_entities": [
      "finite field",
      "index",
      "k"
    ],
    "output_relations": [
      [
        "k",
        "is",
        "finite field"
      ],
      [
        "k",
        "is",
        "index"
      ]
    ],
    "expected_distinct_referents": 4,
    "observed_string_nodes": 3,
    "outcome": "Distinct source scopes collapse into one label identifier before any clustering; scope-aware adapter required."
  },
  "implementation_evidence": {
    "aggregate_source_sha256": "31533888af455924cf153d9ec3ed57cc2bdcd70207945b8a1c5b496dee6ecdc6",
    "primary_relation_source_sha256": "f34da60cbec20f0652bb42d439e3b464fbe27b604c7d2cd0fa6ee06e53ba3bee",
    "aggregate_method": "def aggregate(self, graphs: list[Graph]) -> Graph:\n    all_entities = set()\n    all_relations = set()\n    all_edges = set()\n    for graph in graphs:\n        all_entities.update(graph.entities)\n        all_relations.update(graph.relations)\n        all_edges.update(graph.edges)\n    return Graph(entities=all_entities, relations=all_relations, edges=all_edges)",
    "primary_path_has_unchecked_return": true
  }
}