From ecf952c07babd27f67306baf814b26d99cbac598 Mon Sep 17 00:00:00 2001 From: Emmanuelle Vargas-Gonzalez Date: Fri, 19 Feb 2021 14:50:52 -0500 Subject: [PATCH] it updated itself... --- docs/guide/equivalence.ipynb | 792 +++++++++++++++++++++++------------ 1 file changed, 522 insertions(+), 270 deletions(-) diff --git a/docs/guide/equivalence.ipynb b/docs/guide/equivalence.ipynb index 5ac460a..44e2e4d 100644 --- a/docs/guide/equivalence.ipynb +++ b/docs/guide/equivalence.ipynb @@ -3987,276 +3987,528 @@ "metadata": {}, "outputs": [ { - "name": "stdout", - "output_type": "stream", - "text": [ - "59.68831168831168\n", - "False\n", - "{\n", - " \"matching_score\": 835.6363636363635,\n", - " \"len_pairs\": 14,\n", - " \"summary\": {\n", - " \"campaign--a8c85d5d-bdc6-4613-8e0b-b836ff450c28\": {\n", - " \"lhs\": \"campaign--a8c85d5d-bdc6-4613-8e0b-b836ff450c28\",\n", - " \"rhs\": \"campaign--caf3f196-1d91-4b87-9f3b-855967af6782\",\n", - " \"prop_score\": {\n", - " \"name\": {\n", - " \"weight\": 60,\n", - " \"contributing_score\": 18.000000000000004\n", - " },\n", - " \"matching_score\": 18.000000000000004,\n", - " \"sum_weights\": 60.0\n", - " },\n", - " \"value\": 30.000000000000004\n", - " },\n", - " \"campaign--caf3f196-1d91-4b87-9f3b-855967af6782\": {\n", - " \"lhs\": \"campaign--caf3f196-1d91-4b87-9f3b-855967af6782\",\n", - " \"rhs\": \"campaign--a8c85d5d-bdc6-4613-8e0b-b836ff450c28\",\n", - " \"prop_score\": {\n", - " \"name\": {\n", - " \"weight\": 60,\n", - " \"contributing_score\": 18.000000000000004\n", - " },\n", - " \"matching_score\": 18.000000000000004,\n", - " \"sum_weights\": 60.0\n", - " },\n", - " \"value\": 30.000000000000004\n", - " },\n", - " \"attack-pattern--eb837f70-9798-4907-8c8a-bf883f7f4ec3\": {\n", - " \"lhs\": \"attack-pattern--eb837f70-9798-4907-8c8a-bf883f7f4ec3\",\n", - " \"rhs\": \"attack-pattern--94caa050-50d1-4c20-9891-a1b9f47d2448\",\n", - " \"prop_score\": {\n", - " \"name\": {\n", - " \"weight\": 30,\n", - " \"contributing_score\": 21.81818181818182\n", - " },\n", - " \"external_references\": {\n", - " \"weight\": 70,\n", - " \"contributing_score\": 70.0\n", - " },\n", - " \"matching_score\": 91.81818181818181,\n", - " \"sum_weights\": 100.0\n", - " },\n", - " \"value\": 91.81818181818181\n", - " },\n", - " \"attack-pattern--94caa050-50d1-4c20-9891-a1b9f47d2448\": {\n", - " \"lhs\": \"attack-pattern--94caa050-50d1-4c20-9891-a1b9f47d2448\",\n", - " \"rhs\": \"attack-pattern--eb837f70-9798-4907-8c8a-bf883f7f4ec3\",\n", - " \"prop_score\": {\n", - " \"name\": {\n", - " \"weight\": 30,\n", - " \"contributing_score\": 21.81818181818182\n", - " },\n", - " \"external_references\": {\n", - " \"weight\": 70,\n", - " \"contributing_score\": 70.0\n", - " },\n", - " \"matching_score\": 91.81818181818181,\n", - " \"sum_weights\": 100.0\n", - " },\n", - " \"value\": 91.81818181818181\n", - " },\n", - " \"identity--8d29b554-9904-430c-bc78-82c97750350a\": {\n", - " \"lhs\": \"identity--8d29b554-9904-430c-bc78-82c97750350a\",\n", - " \"rhs\": \"identity--4a4daf92-7c94-407c-a303-3a51924c32a0\",\n", - " \"prop_score\": {\n", - " \"name\": {\n", - " \"weight\": 60,\n", - " \"contributing_score\": 60.0\n", - " },\n", - " \"identity_class\": {\n", - " \"weight\": 20,\n", - " \"contributing_score\": 20.0\n", - " },\n", - " \"matching_score\": 80.0,\n", - " \"sum_weights\": 80.0\n", - " },\n", - " \"value\": 100.0\n", - " },\n", - " \"identity--4a4daf92-7c94-407c-a303-3a51924c32a0\": {\n", - " \"lhs\": \"identity--4a4daf92-7c94-407c-a303-3a51924c32a0\",\n", - " \"rhs\": \"identity--8d29b554-9904-430c-bc78-82c97750350a\",\n", - " \"prop_score\": {\n", - " \"name\": {\n", - " \"weight\": 60,\n", - " \"contributing_score\": 60.0\n", - " },\n", - " \"identity_class\": {\n", - " \"weight\": 20,\n", - " \"contributing_score\": 20.0\n", - " },\n", - " \"matching_score\": 80.0,\n", - " \"sum_weights\": 80.0\n", - " },\n", - " \"value\": 100.0\n", - " },\n", - " \"threat-actor--8e2e2d2b-17d4-4cbf-938f-98ee46b3cd3f\": {\n", - " \"lhs\": \"threat-actor--8e2e2d2b-17d4-4cbf-938f-98ee46b3cd3f\",\n", - " \"rhs\": \"threat-actor--8e2e2d2b-17d4-4cbf-938f-98ee46b3cd3f\",\n", - " \"prop_score\": {\n", - " \"name\": {\n", - " \"weight\": 60,\n", - " \"contributing_score\": 6.66666666666667\n", - " },\n", - " \"threat_actor_types\": {\n", - " \"weight\": 20,\n", - " \"contributing_score\": 0.0\n", - " },\n", - " \"aliases\": {\n", - " \"weight\": 20,\n", - " \"contributing_score\": 0.0\n", - " },\n", - " \"matching_score\": 6.66666666666667,\n", - " \"sum_weights\": 100.0\n", - " },\n", - " \"value\": 6.66666666666667\n", - " },\n", - " \"indicator--9884b67b-5a83-4377-a941-1821f705a6aa\": {\n", - " \"lhs\": \"indicator--9884b67b-5a83-4377-a941-1821f705a6aa\",\n", - " \"rhs\": \"indicator--94467f25-2857-4d86-9c4d-f7a5a2cd20f4\",\n", - " \"prop_score\": {\n", - " \"indicator_types\": {\n", - " \"weight\": 15,\n", - " \"contributing_score\": 15.0\n", - " },\n", - " \"pattern\": {\n", - " \"weight\": 80,\n", - " \"contributing_score\": 0\n", - " },\n", - " \"valid_from\": {\n", - " \"weight\": 5,\n", - " \"contributing_score\": 5.0\n", - " },\n", - " \"matching_score\": 20.0,\n", - " \"sum_weights\": 100.0\n", - " },\n", - " \"value\": 20.0\n", - " },\n", - " \"indicator--94467f25-2857-4d86-9c4d-f7a5a2cd20f4\": {\n", - " \"lhs\": \"indicator--94467f25-2857-4d86-9c4d-f7a5a2cd20f4\",\n", - " \"rhs\": \"indicator--9884b67b-5a83-4377-a941-1821f705a6aa\",\n", - " \"prop_score\": {\n", - " \"indicator_types\": {\n", - " \"weight\": 15,\n", - " \"contributing_score\": 15.0\n", - " },\n", - " \"pattern\": {\n", - " \"weight\": 80,\n", - " \"contributing_score\": 0\n", - " },\n", - " \"valid_from\": {\n", - " \"weight\": 5,\n", - " \"contributing_score\": 5.0\n", - " },\n", - " \"matching_score\": 20.0,\n", - " \"sum_weights\": 100.0\n", - " },\n", - " \"value\": 20.0\n", - " },\n", - " \"report--5205b115-eb30-4ec3-89df-bd0b7ab3da7d\": {\n", - " \"lhs\": \"report--5205b115-eb30-4ec3-89df-bd0b7ab3da7d\",\n", - " \"rhs\": \"report--230450a3-f484-4555-ab1a-9bd67665d359\",\n", - " \"prop_score\": {\n", - " \"name\": {\n", - " \"weight\": 30,\n", - " \"contributing_score\": 30.0\n", - " },\n", - " \"published\": {\n", - " \"weight\": 10,\n", - " \"contributing_score\": 10.0\n", - " },\n", - " \"object_refs\": {\n", - " \"weight\": 60,\n", - " \"contributing_score\": 29.0\n", - " },\n", - " \"matching_score\": 69.0,\n", - " \"sum_weights\": 100.0\n", - " },\n", - " \"value\": 69.0\n", - " },\n", - " \"report--230450a3-f484-4555-ab1a-9bd67665d359\": {\n", - " \"lhs\": \"report--230450a3-f484-4555-ab1a-9bd67665d359\",\n", - " \"rhs\": \"report--5205b115-eb30-4ec3-89df-bd0b7ab3da7d\",\n", - " \"prop_score\": {\n", - " \"name\": {\n", - " \"weight\": 30,\n", - " \"contributing_score\": 30.0\n", - " },\n", - " \"published\": {\n", - " \"weight\": 10,\n", - " \"contributing_score\": 10.0\n", - " },\n", - " \"object_refs\": {\n", - " \"weight\": 60,\n", - " \"contributing_score\": 29.0\n", - " },\n", - " \"matching_score\": 69.0,\n", - " \"sum_weights\": 100.0\n", - " },\n", - " \"value\": 69.0\n", - " },\n", - " \"malware--9c4638ec-f1de-4ddb-abf4-1b760417654e\": {\n", - " \"lhs\": \"malware--9c4638ec-f1de-4ddb-abf4-1b760417654e\",\n", - " \"rhs\": \"malware--9c4638ec-f1de-4ddb-abf4-1b760417654e\",\n", - " \"prop_score\": {\n", - " \"malware_types\": {\n", - " \"weight\": 20,\n", - " \"contributing_score\": 10.0\n", - " },\n", - " \"name\": {\n", - " \"weight\": 80,\n", - " \"contributing_score\": 80.0\n", - " },\n", - " \"matching_score\": 90.0,\n", - " \"sum_weights\": 100.0\n", - " },\n", - " \"value\": 90.0\n", - " },\n", - " \"relationship--c9dea34f-fe7c-43a1-a496-766a4290d63d\": {\n", - " \"lhs\": \"relationship--c9dea34f-fe7c-43a1-a496-766a4290d63d\",\n", - " \"rhs\": \"relationship--2e8ec6c1-7934-416c-a471-d572ec84e1e7\",\n", - " \"prop_score\": {\n", - " \"relationship_type\": {\n", - " \"weight\": 20,\n", - " \"contributing_score\": 20.0\n", - " },\n", - " \"source_ref\": {\n", - " \"weight\": 40,\n", - " \"contributing_score\": 2.666666666666668\n", - " },\n", - " \"target_ref\": {\n", - " \"weight\": 40,\n", - " \"contributing_score\": 36.0\n", - " },\n", - " \"matching_score\": 58.66666666666667,\n", - " \"sum_weights\": 100.0\n", - " },\n", - " \"value\": 58.666666666666664\n", - " },\n", - " \"relationship--2e8ec6c1-7934-416c-a471-d572ec84e1e7\": {\n", - " \"lhs\": \"relationship--2e8ec6c1-7934-416c-a471-d572ec84e1e7\",\n", - " \"rhs\": \"relationship--c9dea34f-fe7c-43a1-a496-766a4290d63d\",\n", - " \"prop_score\": {\n", - " \"relationship_type\": {\n", - " \"weight\": 20,\n", - " \"contributing_score\": 20.0\n", - " },\n", - " \"source_ref\": {\n", - " \"weight\": 40,\n", - " \"contributing_score\": 2.666666666666668\n", - " },\n", - " \"target_ref\": {\n", - " \"weight\": 40,\n", - " \"contributing_score\": 36.0\n", - " },\n", - " \"matching_score\": 58.66666666666667,\n", - " \"sum_weights\": 100.0\n", - " },\n", - " \"value\": 58.666666666666664\n", - " }\n", - " }\n", - "}\n" - ] + "data": { + "text/html": [ + "
59.68831168831168\n",
+       "
\n" + ], + "text/plain": [ + "" + ] + }, + "execution_count": 22, + "metadata": {}, + "output_type": "execute_result" + }, + { + "data": { + "text/html": [ + "
False\n",
+       "
\n" + ], + "text/plain": [ + "" + ] + }, + "execution_count": 22, + "metadata": {}, + "output_type": "execute_result" + }, + { + "data": { + "text/html": [ + "
{\n",
+       "    "matching_score": 835.6363636363635,\n",
+       "    "len_pairs": 14,\n",
+       "    "summary": {\n",
+       "        "malware--9c4638ec-f1de-4ddb-abf4-1b760417654e": {\n",
+       "            "lhs": "malware--9c4638ec-f1de-4ddb-abf4-1b760417654e",\n",
+       "            "rhs": "malware--9c4638ec-f1de-4ddb-abf4-1b760417654e",\n",
+       "            "prop_score": {\n",
+       "                "malware_types": {\n",
+       "                    "weight": 20,\n",
+       "                    "contributing_score": 10.0\n",
+       "                },\n",
+       "                "name": {\n",
+       "                    "weight": 80,\n",
+       "                    "contributing_score": 80.0\n",
+       "                },\n",
+       "                "matching_score": 90.0,\n",
+       "                "sum_weights": 100.0\n",
+       "            },\n",
+       "            "value": 90.0\n",
+       "        },\n",
+       "        "indicator--e75264b9-9e47-4215-87f3-3da1d3f7c802": {\n",
+       "            "lhs": "indicator--e75264b9-9e47-4215-87f3-3da1d3f7c802",\n",
+       "            "rhs": "indicator--0f44a5fd-d70a-4add-bb95-748d048582f6",\n",
+       "            "prop_score": {\n",
+       "                "indicator_types": {\n",
+       "                    "weight": 15,\n",
+       "                    "contributing_score": 15.0\n",
+       "                },\n",
+       "                "pattern": {\n",
+       "                    "weight": 80,\n",
+       "                    "contributing_score": 0\n",
+       "                },\n",
+       "                "valid_from": {\n",
+       "                    "weight": 5,\n",
+       "                    "contributing_score": 5.0\n",
+       "                },\n",
+       "                "matching_score": 20.0,\n",
+       "                "sum_weights": 100.0\n",
+       "            },\n",
+       "            "value": 20.0\n",
+       "        },\n",
+       "        "indicator--0f44a5fd-d70a-4add-bb95-748d048582f6": {\n",
+       "            "lhs": "indicator--0f44a5fd-d70a-4add-bb95-748d048582f6",\n",
+       "            "rhs": "indicator--e75264b9-9e47-4215-87f3-3da1d3f7c802",\n",
+       "            "prop_score": {\n",
+       "                "indicator_types": {\n",
+       "                    "weight": 15,\n",
+       "                    "contributing_score": 15.0\n",
+       "                },\n",
+       "                "pattern": {\n",
+       "                    "weight": 80,\n",
+       "                    "contributing_score": 0\n",
+       "                },\n",
+       "                "valid_from": {\n",
+       "                    "weight": 5,\n",
+       "                    "contributing_score": 5.0\n",
+       "                },\n",
+       "                "matching_score": 20.0,\n",
+       "                "sum_weights": 100.0\n",
+       "            },\n",
+       "            "value": 20.0\n",
+       "        },\n",
+       "        "attack-pattern--15f804f5-b2ca-48b9-86fc-86367b64313c": {\n",
+       "            "lhs": "attack-pattern--15f804f5-b2ca-48b9-86fc-86367b64313c",\n",
+       "            "rhs": "attack-pattern--4278bbc2-9fda-428c-91b8-63a4c146c8dc",\n",
+       "            "prop_score": {\n",
+       "                "name": {\n",
+       "                    "weight": 30,\n",
+       "                    "contributing_score": 21.81818181818182\n",
+       "                },\n",
+       "                "external_references": {\n",
+       "                    "weight": 70,\n",
+       "                    "contributing_score": 70.0\n",
+       "                },\n",
+       "                "matching_score": 91.81818181818181,\n",
+       "                "sum_weights": 100.0\n",
+       "            },\n",
+       "            "value": 91.81818181818181\n",
+       "        },\n",
+       "        "attack-pattern--4278bbc2-9fda-428c-91b8-63a4c146c8dc": {\n",
+       "            "lhs": "attack-pattern--4278bbc2-9fda-428c-91b8-63a4c146c8dc",\n",
+       "            "rhs": "attack-pattern--15f804f5-b2ca-48b9-86fc-86367b64313c",\n",
+       "            "prop_score": {\n",
+       "                "name": {\n",
+       "                    "weight": 30,\n",
+       "                    "contributing_score": 21.81818181818182\n",
+       "                },\n",
+       "                "external_references": {\n",
+       "                    "weight": 70,\n",
+       "                    "contributing_score": 70.0\n",
+       "                },\n",
+       "                "matching_score": 91.81818181818181,\n",
+       "                "sum_weights": 100.0\n",
+       "            },\n",
+       "            "value": 91.81818181818181\n",
+       "        },\n",
+       "        "campaign--4e49de06-0bac-4548-a38c-49dde7ec979b": {\n",
+       "            "lhs": "campaign--4e49de06-0bac-4548-a38c-49dde7ec979b",\n",
+       "            "rhs": "campaign--f1e6443b-62d1-431c-80d7-238a1754de74",\n",
+       "            "prop_score": {\n",
+       "                "name": {\n",
+       "                    "weight": 60,\n",
+       "                    "contributing_score": 18.000000000000004\n",
+       "                },\n",
+       "                "matching_score": 18.000000000000004,\n",
+       "                "sum_weights": 60.0\n",
+       "            },\n",
+       "            "value": 30.000000000000004\n",
+       "        },\n",
+       "        "campaign--f1e6443b-62d1-431c-80d7-238a1754de74": {\n",
+       "            "lhs": "campaign--f1e6443b-62d1-431c-80d7-238a1754de74",\n",
+       "            "rhs": "campaign--4e49de06-0bac-4548-a38c-49dde7ec979b",\n",
+       "            "prop_score": {\n",
+       "                "name": {\n",
+       "                    "weight": 60,\n",
+       "                    "contributing_score": 18.000000000000004\n",
+       "                },\n",
+       "                "matching_score": 18.000000000000004,\n",
+       "                "sum_weights": 60.0\n",
+       "            },\n",
+       "            "value": 30.000000000000004\n",
+       "        },\n",
+       "        "report--52324d35-fa15-45a3-9548-819aea99dcbb": {\n",
+       "            "lhs": "report--52324d35-fa15-45a3-9548-819aea99dcbb",\n",
+       "            "rhs": "report--a3822512-0b59-4d5d-849c-023133fe173f",\n",
+       "            "prop_score": {\n",
+       "                "name": {\n",
+       "                    "weight": 30,\n",
+       "                    "contributing_score": 30.0\n",
+       "                },\n",
+       "                "published": {\n",
+       "                    "weight": 10,\n",
+       "                    "contributing_score": 10.0\n",
+       "                },\n",
+       "                "object_refs": {\n",
+       "                    "weight": 60,\n",
+       "                    "contributing_score": 29.0\n",
+       "                },\n",
+       "                "matching_score": 69.0,\n",
+       "                "sum_weights": 100.0\n",
+       "            },\n",
+       "            "value": 69.0\n",
+       "        },\n",
+       "        "report--a3822512-0b59-4d5d-849c-023133fe173f": {\n",
+       "            "lhs": "report--a3822512-0b59-4d5d-849c-023133fe173f",\n",
+       "            "rhs": "report--52324d35-fa15-45a3-9548-819aea99dcbb",\n",
+       "            "prop_score": {\n",
+       "                "name": {\n",
+       "                    "weight": 30,\n",
+       "                    "contributing_score": 30.0\n",
+       "                },\n",
+       "                "published": {\n",
+       "                    "weight": 10,\n",
+       "                    "contributing_score": 10.0\n",
+       "                },\n",
+       "                "object_refs": {\n",
+       "                    "weight": 60,\n",
+       "                    "contributing_score": 29.0\n",
+       "                },\n",
+       "                "matching_score": 69.0,\n",
+       "                "sum_weights": 100.0\n",
+       "            },\n",
+       "            "value": 69.0\n",
+       "        },\n",
+       "        "relationship--a4e44e34-689e-43f4-b837-13c8cd2fb48e": {\n",
+       "            "lhs": "relationship--a4e44e34-689e-43f4-b837-13c8cd2fb48e",\n",
+       "            "rhs": "relationship--456b79c5-ae81-4d97-bf8d-9e3b5ac6132b",\n",
+       "            "prop_score": {\n",
+       "                "relationship_type": {\n",
+       "                    "weight": 20,\n",
+       "                    "contributing_score": 20.0\n",
+       "                },\n",
+       "                "source_ref": {\n",
+       "                    "weight": 40,\n",
+       "                    "contributing_score": 2.666666666666668\n",
+       "                },\n",
+       "                "target_ref": {\n",
+       "                    "weight": 40,\n",
+       "                    "contributing_score": 36.0\n",
+       "                },\n",
+       "                "matching_score": 58.66666666666667,\n",
+       "                "sum_weights": 100.0\n",
+       "            },\n",
+       "            "value": 58.666666666666664\n",
+       "        },\n",
+       "        "relationship--456b79c5-ae81-4d97-bf8d-9e3b5ac6132b": {\n",
+       "            "lhs": "relationship--456b79c5-ae81-4d97-bf8d-9e3b5ac6132b",\n",
+       "            "rhs": "relationship--a4e44e34-689e-43f4-b837-13c8cd2fb48e",\n",
+       "            "prop_score": {\n",
+       "                "relationship_type": {\n",
+       "                    "weight": 20,\n",
+       "                    "contributing_score": 20.0\n",
+       "                },\n",
+       "                "source_ref": {\n",
+       "                    "weight": 40,\n",
+       "                    "contributing_score": 2.666666666666668\n",
+       "                },\n",
+       "                "target_ref": {\n",
+       "                    "weight": 40,\n",
+       "                    "contributing_score": 36.0\n",
+       "                },\n",
+       "                "matching_score": 58.66666666666667,\n",
+       "                "sum_weights": 100.0\n",
+       "            },\n",
+       "            "value": 58.666666666666664\n",
+       "        },\n",
+       "        "threat-actor--8e2e2d2b-17d4-4cbf-938f-98ee46b3cd3f": {\n",
+       "            "lhs": "threat-actor--8e2e2d2b-17d4-4cbf-938f-98ee46b3cd3f",\n",
+       "            "rhs": "threat-actor--8e2e2d2b-17d4-4cbf-938f-98ee46b3cd3f",\n",
+       "            "prop_score": {\n",
+       "                "name": {\n",
+       "                    "weight": 60,\n",
+       "                    "contributing_score": 6.66666666666667\n",
+       "                },\n",
+       "                "threat_actor_types": {\n",
+       "                    "weight": 20,\n",
+       "                    "contributing_score": 0.0\n",
+       "                },\n",
+       "                "aliases": {\n",
+       "                    "weight": 20,\n",
+       "                    "contributing_score": 0.0\n",
+       "                },\n",
+       "                "matching_score": 6.66666666666667,\n",
+       "                "sum_weights": 100.0\n",
+       "            },\n",
+       "            "value": 6.66666666666667\n",
+       "        },\n",
+       "        "identity--6fb2922c-b2f0-4c87-97a8-2281e8f7eb2d": {\n",
+       "            "lhs": "identity--6fb2922c-b2f0-4c87-97a8-2281e8f7eb2d",\n",
+       "            "rhs": "identity--eef09301-a76e-4e99-a5ca-362fa9aba0b7",\n",
+       "            "prop_score": {\n",
+       "                "name": {\n",
+       "                    "weight": 60,\n",
+       "                    "contributing_score": 60.0\n",
+       "                },\n",
+       "                "identity_class": {\n",
+       "                    "weight": 20,\n",
+       "                    "contributing_score": 20.0\n",
+       "                },\n",
+       "                "matching_score": 80.0,\n",
+       "                "sum_weights": 80.0\n",
+       "            },\n",
+       "            "value": 100.0\n",
+       "        },\n",
+       "        "identity--eef09301-a76e-4e99-a5ca-362fa9aba0b7": {\n",
+       "            "lhs": "identity--eef09301-a76e-4e99-a5ca-362fa9aba0b7",\n",
+       "            "rhs": "identity--6fb2922c-b2f0-4c87-97a8-2281e8f7eb2d",\n",
+       "            "prop_score": {\n",
+       "                "name": {\n",
+       "                    "weight": 60,\n",
+       "                    "contributing_score": 60.0\n",
+       "                },\n",
+       "                "identity_class": {\n",
+       "                    "weight": 20,\n",
+       "                    "contributing_score": 20.0\n",
+       "                },\n",
+       "                "matching_score": 80.0,\n",
+       "                "sum_weights": 80.0\n",
+       "            },\n",
+       "            "value": 100.0\n",
+       "        }\n",
+       "    }\n",
+       "}\n",
+       "
\n" + ], + "text/plain": [ + "" + ] + }, + "execution_count": 22, + "metadata": {}, + "output_type": "execute_result" } ], "source": [