{
  "source": {
    "file": "Molten/test/resource/system/graph/index/index.template.rs",
    "cases": "Molten/test/resource/system/graph/index/cases.json"
  },
  "functions": [
    {
      "function": "allocate",
      "tags": [
        "index",
        "empty",
        "simple",
        "context",
        "group",
        "partition",
        "void",
        "nested",
        "multiple",
        "populated"
      ],
      "cases": [
        {
          "parameters": {
            "index": {
              "arena": {
                "indices": [],
                "values": {},
                "counter": 0
              },
              "relations": {
                "adjacency": []
              }
            },
            "attribute": {
              "category": {
                "Attribute": "test"
              },
              "context": []
            }
          },
          "returns": {
            "()": [
              0,
              []
            ]
          },
          "unexpected": null
        },
        {
          "parameters": {
            "index": {
              "arena": {
                "indices": [],
                "values": {},
                "counter": 0
              },
              "relations": {
                "adjacency": []
              }
            },
            "attribute": {
              "category": "Context",
              "context": [
                {
                  "category": {
                    "Attribute": "inner"
                  },
                  "context": []
                }
              ]
            }
          },
          "returns": {
            "()": [
              0,
              [
                [
                  [
                    [
                      1,
                      1
                    ]
                  ],
                  1
                ]
              ]
            ]
          },
          "unexpected": null
        },
        {
          "parameters": {
            "index": {
              "arena": {
                "indices": [],
                "values": {},
                "counter": 0
              },
              "relations": {
                "adjacency": []
              }
            },
            "attribute": {
              "category": "Group",
              "context": [
                {
                  "category": {
                    "Attribute": "member"
                  },
                  "context": []
                }
              ]
            }
          },
          "returns": {
            "()": [
              0,
              [
                [
                  [
                    [
                      1,
                      1
                    ]
                  ],
                  1
                ]
              ]
            ]
          },
          "unexpected": null
        },
        {
          "parameters": {
            "index": {
              "arena": {
                "indices": [],
                "values": {},
                "counter": 0
              },
              "relations": {
                "adjacency": []
              }
            },
            "attribute": {
              "category": "Partition",
              "context": []
            }
          },
          "returns": {
            "()": [
              0,
              []
            ]
          },
          "unexpected": null
        },
        {
          "parameters": {
            "index": {
              "arena": {
                "indices": [],
                "values": {},
                "counter": 0
              },
              "relations": {
                "adjacency": []
              }
            },
            "attribute": {
              "category": "Void",
              "context": []
            }
          },
          "returns": {
            "()": [
              0,
              []
            ]
          },
          "unexpected": null
        },
        {
          "parameters": {
            "index": {
              "arena": {
                "indices": [],
                "values": {},
                "counter": 0
              },
              "relations": {
                "adjacency": []
              }
            },
            "attribute": {
              "category": "Context",
              "context": [
                {
                  "category": "Context",
                  "context": [
                    {
                      "category": {
                        "Attribute": "deep"
                      },
                      "context": []
                    }
                  ]
                }
              ]
            }
          },
          "returns": {
            "()": [
              0,
              [
                [
                  [
                    [
                      1,
                      1
                    ]
                  ],
                  1
                ]
              ]
            ]
          },
          "unexpected": null
        },
        {
          "parameters": {
            "index": {
              "arena": {
                "indices": [],
                "values": {},
                "counter": 0
              },
              "relations": {
                "adjacency": []
              }
            },
            "attribute": {
              "category": "Context",
              "context": [
                {
                  "category": {
                    "Attribute": "first"
                  },
                  "context": []
                },
                {
                  "category": {
                    "Attribute": "second"
                  },
                  "context": []
                }
              ]
            }
          },
          "returns": {
            "()": [
              0,
              [
                [
                  [
                    [
                      1,
                      1
                    ],
                    [
                      2,
                      1
                    ]
                  ],
                  1
                ]
              ]
            ]
          },
          "unexpected": null
        },
        {
          "parameters": {
            "index": {
              "arena": {
                "indices": [
                  [
                    {
                      "category": {
                        "Attribute": "existing"
                      },
                      "context": []
                    },
                    0
                  ]
                ],
                "values": {
                  "0": {
                    "category": {
                      "Attribute": "existing"
                    },
                    "context": []
                  }
                },
                "counter": 1
              },
              "relations": {
                "adjacency": []
              }
            },
            "attribute": {
              "category": {
                "Attribute": "new"
              },
              "context": []
            }
          },
          "returns": {
            "()": [
              1,
              []
            ]
          },
          "unexpected": null
        },
        {
          "parameters": {
            "index": {
              "arena": {
                "indices": [
                  [
                    {
                      "category": {
                        "Attribute": "existing"
                      },
                      "context": []
                    },
                    0
                  ]
                ],
                "values": {
                  "0": {
                    "category": {
                      "Attribute": "existing"
                    },
                    "context": []
                  }
                },
                "counter": 1
              },
              "relations": {
                "adjacency": []
              }
            },
            "attribute": {
              "category": "Context",
              "context": [
                {
                  "category": {
                    "Attribute": "child"
                  },
                  "context": []
                }
              ]
            }
          },
          "returns": {
            "()": [
              1,
              [
                [
                  [
                    [
                      2,
                      1
                    ]
                  ],
                  1
                ]
              ]
            ]
          },
          "unexpected": null
        }
      ]
    }
  ]
}