terraphim_rolegraph 1.16.33

Terraphim rolegraph module, which provides role handling for Terraphim AI.
Documentation
{
  "nodes": [
    {"id": 1, "mesh_id": "C", "name": "Diseases", "type": "Disease", "depth": 1},
    {"id": 2, "mesh_id": "C01", "name": "Bacterial Infections and Mycoses", "type": "Disease", "depth": 2},
    {"id": 3, "mesh_id": "C01.150", "name": "Endocarditis, Bacterial", "type": "Disease", "depth": 3},
    {"id": 4, "mesh_id": "C01.252", "name": "Bacterial Infections", "type": "Disease", "depth": 3},
    {"id": 5, "mesh_id": "C01.252.354", "name": "Gram-Negative Bacterial Infections", "type": "Disease", "depth": 4},
    {"id": 6, "mesh_id": "C01.252.354.200", "name": "Escherichia coli Infections", "type": "Disease", "depth": 5},
    {"id": 7, "mesh_id": "C01.252.354.300", "name": "Helicobacter Infections", "type": "Disease", "depth": 5},
    {"id": 8, "mesh_id": "C01.252.354.300.250", "name": "Helicobacter pylori Infection", "type": "Disease", "depth": 6},
    {"id": 9, "mesh_id": "C01.252.410", "name": "Gram-Positive Bacterial Infections", "type": "Disease", "depth": 4},
    {"id": 10, "mesh_id": "C01.252.410.868", "name": "Streptococcal Infections", "type": "Disease", "depth": 5},
    {"id": 11, "mesh_id": "C01.252.410.868.875", "name": "Streptococcus pneumoniae Infections", "type": "Disease", "depth": 6},
    {"id": 12, "mesh_id": "C01.252.410.868.880", "name": "Streptococcus pyogenes Infections", "type": "Disease", "depth": 6},
    {"id": 13, "mesh_id": "C01.539", "name": "Infection", "type": "Disease", "depth": 3},
    {"id": 14, "mesh_id": "C01.539.375", "name": "Hospital-Acquired Infections", "type": "Disease", "depth": 4},
    {"id": 15, "mesh_id": "C01.703", "name": "Mycoses", "type": "Disease", "depth": 3},
    {"id": 16, "mesh_id": "C01.703.513", "name": "Invasive Fungal Infections", "type": "Disease", "depth": 4},
    {"id": 17, "mesh_id": "C01.703.513.300", "name": "Candidiasis", "type": "Disease", "depth": 5},
    {"id": 18, "mesh_id": "C01.703.513.300.100", "name": "Candidiasis, Oral", "type": "Disease", "depth": 6},
    {"id": 19, "mesh_id": "C04", "name": "Neoplasms", "type": "Disease", "depth": 2},
    {"id": 20, "mesh_id": "C04.588", "name": "Neoplasms by Site", "type": "Disease", "depth": 3},
    {"id": 21, "mesh_id": "C04.588.180", "name": "Breast Neoplasms", "type": "Disease", "depth": 4},
    {"id": 22, "mesh_id": "C04.588.180.291", "name": "Carcinoma, Ductal, Breast", "type": "Disease", "depth": 5},
    {"id": 23, "mesh_id": "C04.588.180.631", "name": "Carcinoma, Lobular", "type": "Disease", "depth": 5},
    {"id": 24, "mesh_id": "C04.588.274", "name": "Digestive System Neoplasms", "type": "Disease", "depth": 4},
    {"id": 25, "mesh_id": "C04.588.274.476", "name": "Colorectal Neoplasms", "type": "Disease", "depth": 5},
    {"id": 26, "mesh_id": "C04.588.274.476.411", "name": "Colonic Neoplasms", "type": "Disease", "depth": 6},
    {"id": 27, "mesh_id": "C04.588.274.476.411.307", "name": "Adenocarcinoma", "type": "Disease", "depth": 7},
    {"id": 28, "mesh_id": "C04.588.274.476.656", "name": "Rectal Neoplasms", "type": "Disease", "depth": 6},
    {"id": 29, "mesh_id": "C04.588.614", "name": "Lung Neoplasms", "type": "Disease", "depth": 4},
    {"id": 30, "mesh_id": "C04.588.614.176", "name": "Carcinoma, Non-Small-Cell Lung", "type": "Disease", "depth": 5},
    {"id": 31, "mesh_id": "C04.588.614.176.350", "name": "Carcinoma, Large Cell", "type": "Disease", "depth": 6},
    {"id": 32, "mesh_id": "C04.588.614.176.500", "name": "Carcinoma, Squamous Cell", "type": "Disease", "depth": 6},
    {"id": 33, "mesh_id": "C04.588.614.541", "name": "Small Cell Lung Carcinoma", "type": "Disease", "depth": 5},
    {"id": 34, "mesh_id": "C04.651", "name": "Carcinoma", "type": "Disease", "depth": 3},
    {"id": 35, "mesh_id": "C04.651.435", "name": "Adenocarcinoma", "type": "Disease", "depth": 4},
    {"id": 36, "mesh_id": "C04.651.435.249", "name": "Carcinoma, Ductal", "type": "Disease", "depth": 5},
    {"id": 37, "mesh_id": "C04.651.435.375", "name": "Carcinoma, Hepatocellular", "type": "Disease", "depth": 5},
    {"id": 38, "mesh_id": "C04.651.435.600", "name": "Carcinoma, Pancreatic Ductal", "type": "Disease", "depth": 5},
    {"id": 39, "mesh_id": "C04.651.435.750", "name": "Carcinoma, Renal Cell", "type": "Disease", "depth": 5},
    {"id": 40, "mesh_id": "C14", "name": "Cardiovascular Diseases", "type": "Disease", "depth": 2},
    {"id": 41, "mesh_id": "C14.105", "name": "Aneurysm", "type": "Disease", "depth": 3},
    {"id": 42, "mesh_id": "C14.105.150", "name": "Aortic Aneurysm", "type": "Disease", "depth": 4},
    {"id": 43, "mesh_id": "C14.105.150.100", "name": "Aortic Aneurysm, Abdominal", "type": "Disease", "depth": 5},
    {"id": 44, "mesh_id": "C14.105.150.125", "name": "Aortic Aneurysm, Thoracic", "type": "Disease", "depth": 5},
    {"id": 45, "mesh_id": "C14.280", "name": "Coronary Artery Disease", "type": "Disease", "depth": 3},
    {"id": 46, "mesh_id": "C14.280.647", "name": "Myocardial Infarction", "type": "Disease", "depth": 4},
    {"id": 47, "mesh_id": "C14.280.647.100", "name": "Myocardial Infarction, ST Elevation", "type": "Disease", "depth": 5},
    {"id": 48, "mesh_id": "C14.280.647.200", "name": "Myocardial Infarction, Non-ST Elevation", "type": "Disease", "depth": 5},
    {"id": 49, "mesh_id": "C14.907", "name": "Stroke", "type": "Disease", "depth": 3},
    {"id": 50, "mesh_id": "C14.907.489", "name": "Ischemic Stroke", "type": "Disease", "depth": 4},
    {"id": 51, "mesh_id": "C14.907.489.150", "name": "Brain Ischemia", "type": "Disease", "depth": 5},
    {"id": 52, "mesh_id": "C14.907.489.375", "name": "Lacunar Infarction", "type": "Disease", "depth": 5},
    {"id": 53, "mesh_id": "C14.907.558", "name": "Stroke, Hemorrhagic", "type": "Disease", "depth": 4},
    {"id": 54, "mesh_id": "C14.907.558.250", "name": "Intracranial Hemorrhages", "type": "Disease", "depth": 5},
    {"id": 55, "mesh_id": "C14.907.558.500", "name": "Subarachnoid Hemorrhage", "type": "Disease", "depth": 5},
    {"id": 56, "mesh_id": "C20", "name": "Immune System Diseases", "type": "Disease", "depth": 2},
    {"id": 57, "mesh_id": "C20.111", "name": "Autoimmune Diseases", "type": "Disease", "depth": 3},
    {"id": 58, "mesh_id": "C20.111.258", "name": "Diabetes Mellitus, Type 1", "type": "Disease", "depth": 4},
    {"id": 59, "mesh_id": "C20.111.258.125", "name": "Diabetic Ketoacidosis", "type": "Disease", "depth": 5},
    {"id": 60, "mesh_id": "C20.111.554", "name": "Lupus Erythematosus, Systemic", "type": "Disease", "depth": 4},
    {"id": 61, "mesh_id": "C20.111.554.291", "name": "Lupus Nephritis", "type": "Disease", "depth": 5},
    {"id": 62, "mesh_id": "C20.111.698", "name": "Rheumatoid Arthritis", "type": "Disease", "depth": 4},
    {"id": 63, "mesh_id": "C20.111.698.250", "name": "Arthritis, Juvenile", "type": "Disease", "depth": 5},

    {"id": 64, "mesh_id": "A", "name": "Anatomy", "type": "Anatomy", "depth": 1},
    {"id": 65, "mesh_id": "A01", "name": "Body Regions", "type": "Anatomy", "depth": 2},
    {"id": 66, "mesh_id": "A01.062", "name": "Abdomen", "type": "Anatomy", "depth": 3},
    {"id": 67, "mesh_id": "A01.062.500", "name": "Abdominal Cavity", "type": "Anatomy", "depth": 4},
    {"id": 68, "mesh_id": "A01.078", "name": "Back", "type": "Anatomy", "depth": 3},
    {"id": 69, "mesh_id": "A01.236", "name": "Extremities", "type": "Anatomy", "depth": 3},
    {"id": 70, "mesh_id": "A01.236.249", "name": "Lower Extremity", "type": "Anatomy", "depth": 4},
    {"id": 71, "mesh_id": "A01.236.249.531", "name": "Leg", "type": "Anatomy", "depth": 5},
    {"id": 72, "mesh_id": "A01.236.249.531.500", "name": "Knee", "type": "Anatomy", "depth": 6},
    {"id": 73, "mesh_id": "A01.236.249.531.500.390", "name": "Knee Joint", "type": "Anatomy", "depth": 7},
    {"id": 74, "mesh_id": "A01.236.249.531.750", "name": "Thigh", "type": "Anatomy", "depth": 6},
    {"id": 75, "mesh_id": "A01.236.500", "name": "Upper Extremity", "type": "Anatomy", "depth": 4},
    {"id": 76, "mesh_id": "A01.236.500.249", "name": "Arm", "type": "Anatomy", "depth": 5},
    {"id": 77, "mesh_id": "A01.236.500.249.748", "name": "Shoulder", "type": "Anatomy", "depth": 6},
    {"id": 78, "mesh_id": "A01.236.500.249.865", "name": "Elbow", "type": "Anatomy", "depth": 6},
    {"id": 79, "mesh_id": "A01.236.500.625", "name": "Hand", "type": "Anatomy", "depth": 5},
    {"id": 80, "mesh_id": "A01.236.500.625.125", "name": "Fingers", "type": "Anatomy", "depth": 6},
    {"id": 81, "mesh_id": "A02", "name": "Musculoskeletal System", "type": "Anatomy", "depth": 2},
    {"id": 82, "mesh_id": "A02.378", "name": "Cartilage", "type": "Anatomy", "depth": 3},
    {"id": 83, "mesh_id": "A02.378.062", "name": "Articular Cartilage", "type": "Anatomy", "depth": 4},
    {"id": 84, "mesh_id": "A02.378.062.500", "name": "Menisci, Tibial", "type": "Anatomy", "depth": 5},
    {"id": 85, "mesh_id": "A02.835", "name": "Skeleton", "type": "Anatomy", "depth": 3},
    {"id": 86, "mesh_id": "A02.835.232", "name": "Bone and Bones", "type": "Anatomy", "depth": 4},
    {"id": 87, "mesh_id": "A02.835.232.043", "name": "Femur", "type": "Anatomy", "depth": 5},
    {"id": 88, "mesh_id": "A02.835.232.087", "name": "Humerus", "type": "Anatomy", "depth": 5},
    {"id": 89, "mesh_id": "A02.835.232.087.400", "name": "Humeral Head", "type": "Anatomy", "depth": 6},
    {"id": 90, "mesh_id": "A02.835.232.781", "name": "Radius", "type": "Anatomy", "depth": 5},
    {"id": 91, "mesh_id": "A02.835.232.781.650", "name": "Radius, Distal", "type": "Anatomy", "depth": 6},
    {"id": 92, "mesh_id": "A05", "name": "Digestive System", "type": "Anatomy", "depth": 2},
    {"id": 93, "mesh_id": "A05.360", "name": "Gastrointestinal Tract", "type": "Anatomy", "depth": 3},
    {"id": 94, "mesh_id": "A05.360.319", "name": "Esophagus", "type": "Anatomy", "depth": 4},
    {"id": 95, "mesh_id": "A05.360.319.757", "name": "Esophageal Sphincter, Lower", "type": "Anatomy", "depth": 5},
    {"id": 96, "mesh_id": "A05.360.444", "name": "Intestines", "type": "Anatomy", "depth": 4},
    {"id": 97, "mesh_id": "A05.360.444.148", "name": "Colon", "type": "Anatomy", "depth": 5},
    {"id": 98, "mesh_id": "A05.360.444.148.220", "name": "Cecum", "type": "Anatomy", "depth": 6},
    {"id": 99, "mesh_id": "A05.360.444.148.506", "name": "Rectum", "type": "Anatomy", "depth": 6},
    {"id": 100, "mesh_id": "A05.360.444.148.506.450", "name": "Rectal Sphincter", "type": "Anatomy", "depth": 7},
    {"id": 101, "mesh_id": "A05.360.444.213", "name": "Duodenum", "type": "Anatomy", "depth": 5},
    {"id": 102, "mesh_id": "A05.360.444.213.255", "name": "Brunner Glands", "type": "Anatomy", "depth": 6},
    {"id": 103, "mesh_id": "A05.360.444.330", "name": "Ileum", "type": "Anatomy", "depth": 5},
    {"id": 104, "mesh_id": "A05.360.444.492", "name": "Jejunum", "type": "Anatomy", "depth": 5},
    {"id": 105, "mesh_id": "A05.360.576", "name": "Liver", "type": "Anatomy", "depth": 4},
    {"id": 106, "mesh_id": "A05.360.576.100", "name": "Bile Ducts", "type": "Anatomy", "depth": 5},
    {"id": 107, "mesh_id": "A05.360.576.100.200", "name": "Common Bile Duct", "type": "Anatomy", "depth": 6},

    {"id": 108, "mesh_id": "D", "name": "Chemicals and Drugs", "type": "Chemical", "depth": 1},
    {"id": 109, "mesh_id": "D01", "name": "Inorganic Chemicals", "type": "Chemical", "depth": 2},
    {"id": 110, "mesh_id": "D01.029", "name": "Acids", "type": "Chemical", "depth": 3},
    {"id": 111, "mesh_id": "D01.029.200", "name": "Hydrochloric Acid", "type": "Chemical", "depth": 4},
    {"id": 112, "mesh_id": "D01.029.260", "name": "Nitric Acid", "type": "Chemical", "depth": 4},
    {"id": 113, "mesh_id": "D01.029.575", "name": "Sulfuric Acid", "type": "Chemical", "depth": 4},
    {"id": 114, "mesh_id": "D01.176", "name": "Elements", "type": "Chemical", "depth": 3},
    {"id": 115, "mesh_id": "D01.176.250", "name": "Carbon", "type": "Chemical", "depth": 4},
    {"id": 116, "mesh_id": "D01.176.250.150", "name": "Carbon Dioxide", "type": "Chemical", "depth": 5},
    {"id": 117, "mesh_id": "D01.176.300", "name": "Iron", "type": "Chemical", "depth": 4},
    {"id": 118, "mesh_id": "D01.176.300.400", "name": "Iron Compounds", "type": "Chemical", "depth": 5},
    {"id": 119, "mesh_id": "D01.176.300.400.200", "name": "Ferrous Compounds", "type": "Chemical", "depth": 6},
    {"id": 120, "mesh_id": "D01.229", "name": "Gases", "type": "Chemical", "depth": 3},
    {"id": 121, "mesh_id": "D01.229.500", "name": "Noble Gases", "type": "Chemical", "depth": 4},
    {"id": 122, "mesh_id": "D01.229.500.250", "name": "Helium", "type": "Chemical", "depth": 5},
    {"id": 123, "mesh_id": "D01.229.500.750", "name": "Xenon", "type": "Chemical", "depth": 5},
    {"id": 124, "mesh_id": "D02", "name": "Organic Chemicals", "type": "Chemical", "depth": 2},
    {"id": 125, "mesh_id": "D02.033", "name": "Alcohols", "type": "Chemical", "depth": 3},
    {"id": 126, "mesh_id": "D02.033.300", "name": "Ethanol", "type": "Chemical", "depth": 4},
    {"id": 127, "mesh_id": "D02.033.355", "name": "Glycerol", "type": "Chemical", "depth": 4},
    {"id": 128, "mesh_id": "D02.033.355.355", "name": "Nitroglycerin", "type": "Chemical", "depth": 5},
    {"id": 129, "mesh_id": "D02.065", "name": "Amines", "type": "Chemical", "depth": 3},
    {"id": 130, "mesh_id": "D02.065.250", "name": "Catecholamines", "type": "Chemical", "depth": 4},
    {"id": 131, "mesh_id": "D02.065.250.200", "name": "Dopamine", "type": "Chemical", "depth": 5},
    {"id": 132, "mesh_id": "D02.065.250.625", "name": "Norepinephrine", "type": "Chemical", "depth": 5},
    {"id": 133, "mesh_id": "D02.065.250.750", "name": "Serotonin", "type": "Chemical", "depth": 5},
    {"id": 134, "mesh_id": "D02.241", "name": "Carbohydrates", "type": "Chemical", "depth": 3},
    {"id": 135, "mesh_id": "D02.241.081", "name": "Blood Glucose", "type": "Chemical", "depth": 4},
    {"id": 136, "mesh_id": "D02.241.081.262", "name": "Glucose", "type": "Chemical", "depth": 5},
    {"id": 137, "mesh_id": "D02.455", "name": "Lipids", "type": "Chemical", "depth": 3},
    {"id": 138, "mesh_id": "D02.455.426", "name": "Fatty Acids", "type": "Chemical", "depth": 4},
    {"id": 139, "mesh_id": "D02.455.426.393", "name": "Fatty Acids, Omega-3", "type": "Chemical", "depth": 5},
    {"id": 140, "mesh_id": "D02.455.426.559", "name": "Palmitic Acid", "type": "Chemical", "depth": 5},
    {"id": 141, "mesh_id": "D02.455.849", "name": "Triglycerides", "type": "Chemical", "depth": 4}
  ],
  "edges": [
    {"child": 2, "parent": 1},
    {"child": 3, "parent": 2},
    {"child": 4, "parent": 2},
    {"child": 5, "parent": 4},
    {"child": 6, "parent": 5},
    {"child": 7, "parent": 5},
    {"child": 8, "parent": 7},
    {"child": 9, "parent": 4},
    {"child": 10, "parent": 9},
    {"child": 11, "parent": 10},
    {"child": 12, "parent": 10},
    {"child": 13, "parent": 1},
    {"child": 14, "parent": 13},
    {"child": 15, "parent": 2},
    {"child": 16, "parent": 15},
    {"child": 17, "parent": 16},
    {"child": 18, "parent": 17},
    {"child": 19, "parent": 1},
    {"child": 20, "parent": 19},
    {"child": 21, "parent": 20},
    {"child": 22, "parent": 21},
    {"child": 23, "parent": 21},
    {"child": 24, "parent": 20},
    {"child": 25, "parent": 24},
    {"child": 26, "parent": 25},
    {"child": 27, "parent": 26},
    {"child": 28, "parent": 25},
    {"child": 29, "parent": 20},
    {"child": 30, "parent": 29},
    {"child": 31, "parent": 30},
    {"child": 32, "parent": 30},
    {"child": 33, "parent": 29},
    {"child": 34, "parent": 19},
    {"child": 35, "parent": 34},
    {"child": 36, "parent": 35},
    {"child": 37, "parent": 35},
    {"child": 38, "parent": 35},
    {"child": 39, "parent": 35},
    {"child": 40, "parent": 1},
    {"child": 41, "parent": 40},
    {"child": 42, "parent": 41},
    {"child": 43, "parent": 42},
    {"child": 44, "parent": 42},
    {"child": 45, "parent": 40},
    {"child": 46, "parent": 45},
    {"child": 47, "parent": 46},
    {"child": 48, "parent": 46},
    {"child": 49, "parent": 40},
    {"child": 50, "parent": 49},
    {"child": 51, "parent": 50},
    {"child": 52, "parent": 50},
    {"child": 53, "parent": 49},
    {"child": 54, "parent": 53},
    {"child": 55, "parent": 53},
    {"child": 56, "parent": 1},
    {"child": 57, "parent": 56},
    {"child": 58, "parent": 57},
    {"child": 59, "parent": 58},
    {"child": 60, "parent": 57},
    {"child": 61, "parent": 60},
    {"child": 62, "parent": 57},
    {"child": 63, "parent": 62},

    {"child": 65, "parent": 64},
    {"child": 66, "parent": 65},
    {"child": 67, "parent": 66},
    {"child": 68, "parent": 65},
    {"child": 69, "parent": 65},
    {"child": 70, "parent": 69},
    {"child": 71, "parent": 70},
    {"child": 72, "parent": 71},
    {"child": 73, "parent": 72},
    {"child": 74, "parent": 71},
    {"child": 75, "parent": 69},
    {"child": 76, "parent": 75},
    {"child": 77, "parent": 76},
    {"child": 78, "parent": 76},
    {"child": 79, "parent": 75},
    {"child": 80, "parent": 79},
    {"child": 81, "parent": 64},
    {"child": 82, "parent": 81},
    {"child": 83, "parent": 82},
    {"child": 84, "parent": 83},
    {"child": 85, "parent": 81},
    {"child": 86, "parent": 85},
    {"child": 87, "parent": 86},
    {"child": 88, "parent": 86},
    {"child": 89, "parent": 88},
    {"child": 90, "parent": 86},
    {"child": 91, "parent": 90},
    {"child": 92, "parent": 64},
    {"child": 93, "parent": 92},
    {"child": 94, "parent": 93},
    {"child": 95, "parent": 94},
    {"child": 96, "parent": 93},
    {"child": 97, "parent": 96},
    {"child": 98, "parent": 97},
    {"child": 99, "parent": 97},
    {"child": 100, "parent": 99},
    {"child": 101, "parent": 96},
    {"child": 102, "parent": 101},
    {"child": 103, "parent": 96},
    {"child": 104, "parent": 96},
    {"child": 105, "parent": 92},
    {"child": 106, "parent": 105},
    {"child": 107, "parent": 106},

    {"child": 109, "parent": 108},
    {"child": 110, "parent": 109},
    {"child": 111, "parent": 110},
    {"child": 112, "parent": 110},
    {"child": 113, "parent": 110},
    {"child": 114, "parent": 109},
    {"child": 115, "parent": 114},
    {"child": 116, "parent": 115},
    {"child": 117, "parent": 114},
    {"child": 118, "parent": 117},
    {"child": 119, "parent": 118},
    {"child": 120, "parent": 109},
    {"child": 121, "parent": 120},
    {"child": 122, "parent": 121},
    {"child": 123, "parent": 121},
    {"child": 124, "parent": 108},
    {"child": 125, "parent": 124},
    {"child": 126, "parent": 125},
    {"child": 127, "parent": 125},
    {"child": 128, "parent": 127},
    {"child": 129, "parent": 124},
    {"child": 130, "parent": 129},
    {"child": 131, "parent": 130},
    {"child": 132, "parent": 130},
    {"child": 133, "parent": 130},
    {"child": 134, "parent": 124},
    {"child": 135, "parent": 134},
    {"child": 136, "parent": 135},
    {"child": 137, "parent": 124},
    {"child": 138, "parent": 137},
    {"child": 139, "parent": 138},
    {"child": 140, "parent": 138},
    {"child": 141, "parent": 137}
  ],
  "similarity_pairs": [
    {"a": 3, "b": 2, "expected_order": "high", "reason": "parent-child: Endocarditis under Bacterial Infections"},
    {"a": 6, "b": 5, "expected_order": "high", "reason": "parent-child: E.coli under Gram-Negative"},
    {"a": 8, "b": 6, "expected_order": "low", "reason": "distant cousins: H.pylori vs E.coli (both Gram-Negative)"},
    {"a": 11, "b": 12, "expected_order": "high", "reason": "siblings: both Streptococcus species"},
    {"a": 22, "b": 23, "expected_order": "high", "reason": "siblings: Ductal and Lobular breast carcinoma"},
    {"a": 22, "b": 25, "expected_order": "medium", "reason": "distant cousins: breast vs colorectal neoplasm"},
    {"a": 30, "b": 33, "expected_order": "medium", "reason": "siblings: NSCLC vs SCLC"},
    {"a": 31, "b": 32, "expected_order": "high", "reason": "siblings: both NSCLC subtypes"},
    {"a": 27, "b": 35, "expected_order": "high", "reason": "same concept: both adenocarcinomas"},
    {"a": 47, "b": 48, "expected_order": "high", "reason": "siblings: STEMI vs NSTEMI"},
    {"a": 50, "b": 53, "expected_order": "low", "reason": "distant cousins: ischemic vs hemorrhagic stroke"},
    {"a": 58, "b": 59, "expected_order": "high", "reason": "parent-child: DKA under Type 1 Diabetes"},
    {"a": 60, "b": 61, "expected_order": "high", "reason": "parent-child: Lupus Nephritis under SLE"},
    {"a": 46, "b": 45, "expected_order": "high", "reason": "parent-child: MI under CAD"},
    {"a": 43, "b": 44, "expected_order": "high", "reason": "siblings: abdominal vs thoracic aneurysm"},
    {"a": 73, "b": 72, "expected_order": "high", "reason": "parent-child: knee joint under knee"},
    {"a": 80, "b": 79, "expected_order": "high", "reason": "parent-child: fingers under hand"},
    {"a": 77, "b": 78, "expected_order": "medium", "reason": "cousins: shoulder vs elbow (both in arm)"},
    {"a": 87, "b": 88, "expected_order": "low", "reason": "distant: femur vs humerus (different limbs)"},
    {"a": 83, "b": 84, "expected_order": "high", "reason": "parent-child: menisci under articular cartilage"},
    {"a": 89, "b": 88, "expected_order": "high", "reason": "parent-child: humeral head under humerus"},
    {"a": 91, "b": 90, "expected_order": "high", "reason": "parent-child: distal radius under radius"},
    {"a": 98, "b": 99, "expected_order": "medium", "reason": "cousins: cecum vs rectum (both in colon)"},
    {"a": 101, "b": 102, "expected_order": "high", "reason": "parent-child: Brunner glands under duodenum"},
    {"a": 106, "b": 107, "expected_order": "high", "reason": "parent-child: common bile duct under bile ducts"},
    {"a": 105, "b": 106, "expected_order": "high", "reason": "parent-child: bile ducts under liver"},
    {"a": 94, "b": 95, "expected_order": "high", "reason": "parent-child: lower esophageal sphincter under esophagus"},
    {"a": 111, "b": 110, "expected_order": "high", "reason": "parent-child: HCl under acids"},
    {"a": 115, "b": 116, "expected_order": "high", "reason": "parent-child: CO2 under carbon"},
    {"a": 117, "b": 118, "expected_order": "high", "reason": "parent-child: iron compounds under iron"},
    {"a": 119, "b": 118, "expected_order": "high", "reason": "parent-child: ferrous under iron compounds"},
    {"a": 122, "b": 121, "expected_order": "high", "reason": "parent-child: helium under noble gases"},
    {"a": 122, "b": 123, "expected_order": "high", "reason": "siblings: helium vs xenon"},
    {"a": 126, "b": 125, "expected_order": "high", "reason": "parent-child: ethanol under alcohols"},
    {"a": 127, "b": 128, "expected_order": "high", "reason": "parent-child: nitroglycerin under glycerol"},
    {"a": 131, "b": 130, "expected_order": "high", "reason": "parent-child: dopamine under catecholamines"},
    {"a": 131, "b": 132, "expected_order": "high", "reason": "siblings: dopamine vs norepinephrine"},
    {"a": 131, "b": 133, "expected_order": "high", "reason": "siblings: dopamine vs serotonin"},
    {"a": 136, "b": 135, "expected_order": "high", "reason": "parent-child: glucose under blood glucose"},
    {"a": 139, "b": 138, "expected_order": "high", "reason": "parent-child: omega-3 under fatty acids"},
    {"a": 139, "b": 140, "expected_order": "low", "reason": "distant: omega-3 vs palmitic acid"},
    {"a": 27, "b": 30, "expected_order": "medium", "reason": "cross-branch: colorectal adenocarcinoma vs lung NSCLC"},
    {"a": 60, "b": 62, "expected_order": "high", "reason": "siblings: SLE vs RA (both autoimmune)"},
    {"a": 41, "b": 45, "expected_order": "medium", "reason": "cousins: aneurysm vs CAD (both cardiovascular)"},
    {"a": 58, "b": 60, "expected_order": "low", "reason": "distant: Type 1 Diabetes vs SLE (different autoimmune)"},
    {"a": 17, "b": 18, "expected_order": "high", "reason": "parent-child: oral candidiasis under candidiasis"},
    {"a": 27, "b": 37, "expected_order": "high", "reason": "same concept: both adenocarcinomas (colorectal vs hepatocellular)"},
    {"a": 3, "b": 59, "expected_order": "low", "reason": "cross-branch: endocarditis vs DKA"},
    {"a": 49, "b": 46, "expected_order": "medium", "reason": "cousins: stroke vs MI (both cardiovascular events)"},
    {"a": 50, "b": 46, "expected_order": "medium", "reason": "distant cousins: ischemic stroke vs MI"}
  ]
}