This commit is contained in:
2026-02-09 16:28:15 +01:00
parent 2864ce50ff
commit e7641ba64f

View File

@@ -1,28 +1,19 @@
{ {
"cells": [ "cells": [
{ {
"metadata": { "metadata": {},
"ExecuteTime": {
"end_time": "2026-02-09T10:12:48.665236Z",
"start_time": "2026-02-09T10:12:48.507869Z"
}
},
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
"from requests import delete\n",
"%load_ext autoreload\n", "%load_ext autoreload\n",
"%autoreload 2" "%autoreload 2"
], ],
"id": "89aa93e9dbedd113", "id": "89aa93e9dbedd113",
"outputs": [], "outputs": [],
"execution_count": 1 "execution_count": null
}, },
{ {
"metadata": { "metadata": {},
"ExecuteTime": {
"end_time": "2026-02-09T10:12:50.479637Z",
"start_time": "2026-02-09T10:12:49.503680Z"
}
},
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
"%reload_ext autoreload\n", "%reload_ext autoreload\n",
@@ -58,15 +49,10 @@
], ],
"id": "2005e5a8854eea1e", "id": "2005e5a8854eea1e",
"outputs": [], "outputs": [],
"execution_count": 2 "execution_count": null
}, },
{ {
"metadata": { "metadata": {},
"ExecuteTime": {
"end_time": "2026-02-09T09:02:39.843851Z",
"start_time": "2026-02-09T09:02:38.998139Z"
}
},
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
"@contextmanager\n", "@contextmanager\n",
@@ -77,7 +63,7 @@
], ],
"id": "90f107a11ff0de7e", "id": "90f107a11ff0de7e",
"outputs": [], "outputs": [],
"execution_count": 3 "execution_count": null
}, },
{ {
"metadata": {}, "metadata": {},
@@ -100,12 +86,7 @@
"execution_count": null "execution_count": null
}, },
{ {
"metadata": { "metadata": {},
"ExecuteTime": {
"end_time": "2026-02-09T10:12:04.519634Z",
"start_time": "2026-02-09T10:12:00.680678Z"
}
},
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
"def build_examples(test):\n", "def build_examples(test):\n",
@@ -152,15 +133,10 @@
], ],
"id": "6770dbd57d475127", "id": "6770dbd57d475127",
"outputs": [], "outputs": [],
"execution_count": 14 "execution_count": null
}, },
{ {
"metadata": { "metadata": {},
"ExecuteTime": {
"end_time": "2026-02-08T18:15:50.911578Z",
"start_time": "2026-02-08T18:15:50.683503Z"
}
},
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
"def execute_results(test, ell, examples):\n", "def execute_results(test, ell, examples):\n",
@@ -318,12 +294,7 @@
"execution_count": null "execution_count": null
}, },
{ {
"metadata": { "metadata": {},
"ExecuteTime": {
"end_time": "2026-02-08T18:20:36.069640Z",
"start_time": "2026-02-08T18:20:35.873194Z"
}
},
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
"def save_results(test, results):\n", "def save_results(test, results):\n",
@@ -333,7 +304,7 @@
], ],
"id": "74fbd4d33c288839", "id": "74fbd4d33c288839",
"outputs": [], "outputs": [],
"execution_count": 10 "execution_count": null
}, },
{ {
"metadata": {}, "metadata": {},
@@ -413,25 +384,28 @@
{ {
"metadata": { "metadata": {
"ExecuteTime": { "ExecuteTime": {
"end_time": "2026-02-09T10:12:58.413282Z", "end_time": "2026-02-09T10:56:29.360372Z",
"start_time": "2026-02-09T10:12:58.243121Z" "start_time": "2026-02-09T10:56:29.108940Z"
} }
}, },
"cell_type": "code", "cell_type": "code",
"source": [ "source": [
"test = \"Karney\"\n", "test = \"Karney\"\n",
"with open(f\"gha_results{test}.pkl\", \"rb\") as f:\n", "with open(f\"gha_results{test}.pkl\", \"rb\") as f:\n",
" results = pickle.load(f)" " results = pickle.load(f)\n",
"\n",
"if test == \"Panou\":\n",
" del results[list(results.keys())[7]]"
], ],
"id": "4c20a0579c0f7038", "id": "4c20a0579c0f7038",
"outputs": [], "outputs": [],
"execution_count": 3 "execution_count": 47
}, },
{ {
"metadata": { "metadata": {
"ExecuteTime": { "ExecuteTime": {
"end_time": "2026-02-09T10:12:59.354458Z", "end_time": "2026-02-09T13:06:21.830652Z",
"start_time": "2026-02-09T10:12:59.191379Z" "start_time": "2026-02-09T13:06:21.411031Z"
} }
}, },
"cell_type": "code", "cell_type": "code",
@@ -467,13 +441,13 @@
], ],
"id": "24ee93abe040e707", "id": "24ee93abe040e707",
"outputs": [], "outputs": [],
"execution_count": 4 "execution_count": 57
}, },
{ {
"metadata": { "metadata": {
"ExecuteTime": { "ExecuteTime": {
"end_time": "2026-02-09T10:15:11.057178Z", "end_time": "2026-02-09T13:06:22.428549Z",
"start_time": "2026-02-09T10:15:10.842564Z" "start_time": "2026-02-09T13:06:22.088685Z"
} }
}, },
"cell_type": "code", "cell_type": "code",
@@ -502,21 +476,42 @@
], ],
"id": "2086b5bcd8416e33", "id": "2086b5bcd8416e33",
"outputs": [], "outputs": [],
"execution_count": 12 "execution_count": 58
},
{
"metadata": {},
"cell_type": "code",
"source": "pass",
"id": "8d46dd972dfdc66f",
"outputs": [],
"execution_count": null
}, },
{ {
"metadata": { "metadata": {
"ExecuteTime": { "ExecuteTime": {
"end_time": "2026-02-09T10:13:44.482218Z", "end_time": "2026-02-09T13:14:57.595993Z",
"start_time": "2026-02-09T10:13:44.328266Z" "start_time": "2026-02-09T13:06:24.823191Z"
}
},
"cell_type": "code",
"source": "pass",
"id": "8d46dd972dfdc66f",
"outputs": [
{
"ename": "KeyboardInterrupt",
"evalue": "",
"output_type": "error",
"traceback": [
"\u001B[31m---------------------------------------------------------------------------\u001B[39m",
"\u001B[31mKeyboardInterrupt\u001B[39m Traceback (most recent call last)",
"\u001B[36mCell\u001B[39m\u001B[36m \u001B[39m\u001B[32mIn[59]\u001B[39m\u001B[32m, line 1\u001B[39m\n\u001B[32m----> \u001B[39m\u001B[32m1\u001B[39m \u001B[38;5;28;01mpass\u001B[39;00m\n",
"\u001B[36mFile \u001B[39m\u001B[32mC:\\Program Files\\JetBrains\\PyCharm 2025.2.4\\plugins\\python-ce\\helpers\\pydev\\_pydevd_bundle\\pydevd_frame.py:755\u001B[39m, in \u001B[36mPyDBFrame.trace_dispatch\u001B[39m\u001B[34m(self, frame, event, arg)\u001B[39m\n\u001B[32m 753\u001B[39m \u001B[38;5;66;03m# if thread has a suspend flag, we suspend with a busy wait\u001B[39;00m\n\u001B[32m 754\u001B[39m \u001B[38;5;28;01mif\u001B[39;00m info.pydev_state == STATE_SUSPEND:\n\u001B[32m--> \u001B[39m\u001B[32m755\u001B[39m \u001B[38;5;28;43mself\u001B[39;49m\u001B[43m.\u001B[49m\u001B[43mdo_wait_suspend\u001B[49m\u001B[43m(\u001B[49m\u001B[43mthread\u001B[49m\u001B[43m,\u001B[49m\u001B[43m \u001B[49m\u001B[43mframe\u001B[49m\u001B[43m,\u001B[49m\u001B[43m \u001B[49m\u001B[43mevent\u001B[49m\u001B[43m,\u001B[49m\u001B[43m \u001B[49m\u001B[43marg\u001B[49m\u001B[43m)\u001B[49m\n\u001B[32m 756\u001B[39m \u001B[38;5;66;03m# No need to reset frame.f_trace to keep the same trace function.\u001B[39;00m\n\u001B[32m 757\u001B[39m \u001B[38;5;28;01mreturn\u001B[39;00m \u001B[38;5;28mself\u001B[39m.trace_dispatch\n",
"\u001B[36mFile \u001B[39m\u001B[32mC:\\Program Files\\JetBrains\\PyCharm 2025.2.4\\plugins\\python-ce\\helpers\\pydev\\_pydevd_bundle\\pydevd_frame.py:412\u001B[39m, in \u001B[36mPyDBFrame.do_wait_suspend\u001B[39m\u001B[34m(self, *args, **kwargs)\u001B[39m\n\u001B[32m 411\u001B[39m \u001B[38;5;28;01mdef\u001B[39;00m\u001B[38;5;250m \u001B[39m\u001B[34mdo_wait_suspend\u001B[39m(\u001B[38;5;28mself\u001B[39m, *args, **kwargs):\n\u001B[32m--> \u001B[39m\u001B[32m412\u001B[39m \u001B[38;5;28;43mself\u001B[39;49m\u001B[43m.\u001B[49m\u001B[43m_args\u001B[49m\u001B[43m[\u001B[49m\u001B[32;43m0\u001B[39;49m\u001B[43m]\u001B[49m\u001B[43m.\u001B[49m\u001B[43mdo_wait_suspend\u001B[49m\u001B[43m(\u001B[49m\u001B[43m*\u001B[49m\u001B[43margs\u001B[49m\u001B[43m,\u001B[49m\u001B[43m \u001B[49m\u001B[43m*\u001B[49m\u001B[43m*\u001B[49m\u001B[43mkwargs\u001B[49m\u001B[43m)\u001B[49m\n",
"\u001B[36mFile \u001B[39m\u001B[32mC:\\Program Files\\JetBrains\\PyCharm 2025.2.4\\plugins\\python-ce\\helpers\\pydev\\pydevd.py:1196\u001B[39m, in \u001B[36mPyDB.do_wait_suspend\u001B[39m\u001B[34m(self, thread, frame, event, arg, send_suspend_message, is_unhandled_exception)\u001B[39m\n\u001B[32m 1193\u001B[39m from_this_thread.append(frame_id)\n\u001B[32m 1195\u001B[39m \u001B[38;5;28;01mwith\u001B[39;00m \u001B[38;5;28mself\u001B[39m._threads_suspended_single_notification.notify_thread_suspended(thread_id, stop_reason):\n\u001B[32m-> \u001B[39m\u001B[32m1196\u001B[39m \u001B[38;5;28;43mself\u001B[39;49m\u001B[43m.\u001B[49m\u001B[43m_do_wait_suspend\u001B[49m\u001B[43m(\u001B[49m\u001B[43mthread\u001B[49m\u001B[43m,\u001B[49m\u001B[43m \u001B[49m\u001B[43mframe\u001B[49m\u001B[43m,\u001B[49m\u001B[43m \u001B[49m\u001B[43mevent\u001B[49m\u001B[43m,\u001B[49m\u001B[43m \u001B[49m\u001B[43marg\u001B[49m\u001B[43m,\u001B[49m\u001B[43m \u001B[49m\u001B[43msuspend_type\u001B[49m\u001B[43m,\u001B[49m\u001B[43m \u001B[49m\u001B[43mfrom_this_thread\u001B[49m\u001B[43m)\u001B[49m\n",
"\u001B[36mFile \u001B[39m\u001B[32mC:\\Program Files\\JetBrains\\PyCharm 2025.2.4\\plugins\\python-ce\\helpers\\pydev\\pydevd.py:1211\u001B[39m, in \u001B[36mPyDB._do_wait_suspend\u001B[39m\u001B[34m(self, thread, frame, event, arg, suspend_type, from_this_thread)\u001B[39m\n\u001B[32m 1208\u001B[39m \u001B[38;5;28mself\u001B[39m._call_mpl_hook()\n\u001B[32m 1210\u001B[39m \u001B[38;5;28mself\u001B[39m.process_internal_commands()\n\u001B[32m-> \u001B[39m\u001B[32m1211\u001B[39m \u001B[43mtime\u001B[49m\u001B[43m.\u001B[49m\u001B[43msleep\u001B[49m\u001B[43m(\u001B[49m\u001B[32;43m0.01\u001B[39;49m\u001B[43m)\u001B[49m\n\u001B[32m 1213\u001B[39m \u001B[38;5;28mself\u001B[39m.cancel_async_evaluation(get_current_thread_id(thread), \u001B[38;5;28mstr\u001B[39m(\u001B[38;5;28mid\u001B[39m(frame)))\n\u001B[32m 1215\u001B[39m \u001B[38;5;66;03m# process any stepping instructions\u001B[39;00m\n",
"\u001B[31mKeyboardInterrupt\u001B[39m: "
]
}
],
"execution_count": 59
},
{
"metadata": {
"ExecuteTime": {
"end_time": "2026-02-09T10:56:32.604304Z",
"start_time": "2026-02-09T10:56:32.423267Z"
} }
}, },
"cell_type": "code", "cell_type": "code",
@@ -555,13 +550,13 @@
], ],
"id": "567b66ef21126628", "id": "567b66ef21126628",
"outputs": [], "outputs": [],
"execution_count": 9 "execution_count": 49
}, },
{ {
"metadata": { "metadata": {
"ExecuteTime": { "ExecuteTime": {
"end_time": "2026-02-09T10:13:51.135041Z", "end_time": "2026-02-09T13:04:46.869828Z",
"start_time": "2026-02-09T10:13:47.712516Z" "start_time": "2026-02-09T13:04:45.309895Z"
} }
}, },
"cell_type": "code", "cell_type": "code",
@@ -632,7 +627,7 @@
" return fig\n", " return fig\n",
"\n", "\n",
"figs = []\n", "figs = []\n",
"if test == \"Panou\" or test == \"Karney\":\n", "if test == \"Karney\":\n",
" for group_index in sorted(set(group_indices)):\n", " for group_index in sorted(set(group_indices)):\n",
" fig1 = build_max_table(\"GHA1\", f\"{test} - Gruppe {group_index} - GHA1\", group_index)\n", " fig1 = build_max_table(\"GHA1\", f\"{test} - Gruppe {group_index} - GHA1\", group_index)\n",
" fig2 = build_max_table(\"GHA2\", f\"{test} - Gruppe {group_index} - GHA2\", group_index)\n", " fig2 = build_max_table(\"GHA2\", f\"{test} - Gruppe {group_index} - GHA2\", group_index)\n",
@@ -654,54 +649,28 @@
], ],
"id": "eeb5a204cc4bbf7d", "id": "eeb5a204cc4bbf7d",
"outputs": [ "outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"5\n",
"5\n",
"5\n",
"5\n",
"5\n",
"5\n",
"5\n",
"5\n",
"5\n",
"5\n",
"5\n",
"5\n",
"1\n"
]
},
{ {
"name": "stderr", "name": "stderr",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"C:\\Users\\moell\\AppData\\Local\\Temp\\ipykernel_7832\\3781407476.py:6: RuntimeWarning:\n", "C:\\Users\\moell\\AppData\\Local\\Temp\\ipykernel_7832\\1271482206.py:6: RuntimeWarning:\n",
"\n", "\n",
"All-NaN slice encountered\n", "All-NaN slice encountered\n",
"\n", "\n",
"C:\\Users\\moell\\AppData\\Local\\Temp\\ipykernel_7832\\3781407476.py:6: RuntimeWarning:\n", "C:\\Users\\moell\\AppData\\Local\\Temp\\ipykernel_7832\\1271482206.py:6: RuntimeWarning:\n",
"\n", "\n",
"All-NaN slice encountered\n", "All-NaN slice encountered\n",
"\n", "\n",
"C:\\Users\\moell\\AppData\\Local\\Temp\\ipykernel_7832\\3781407476.py:6: RuntimeWarning:\n", "C:\\Users\\moell\\AppData\\Local\\Temp\\ipykernel_7832\\1271482206.py:6: RuntimeWarning:\n",
"\n", "\n",
"All-NaN slice encountered\n", "All-NaN slice encountered\n",
"\n", "\n",
"C:\\Users\\moell\\AppData\\Local\\Temp\\ipykernel_7832\\3781407476.py:6: RuntimeWarning:\n", "C:\\Users\\moell\\AppData\\Local\\Temp\\ipykernel_7832\\1271482206.py:6: RuntimeWarning:\n",
"\n", "\n",
"All-NaN slice encountered\n", "All-NaN slice encountered\n",
"\n" "\n"
] ]
}, },
{
"name": "stdout",
"output_type": "stream",
"text": [
"1\n"
]
},
{ {
"data": { "data": {
"application/vnd.plotly.v1+json": { "application/vnd.plotly.v1+json": {
@@ -14311,13 +14280,13 @@
} }
} }
], ],
"execution_count": 10 "execution_count": 55
}, },
{ {
"metadata": { "metadata": {
"ExecuteTime": { "ExecuteTime": {
"end_time": "2026-02-09T09:19:29.235114Z", "end_time": "2026-02-09T10:54:47.989460Z",
"start_time": "2026-02-09T09:19:29.040806Z" "start_time": "2026-02-09T10:54:47.755581Z"
} }
}, },
"cell_type": "code", "cell_type": "code",
@@ -14564,13 +14533,13 @@
], ],
"id": "12591c3b707da905", "id": "12591c3b707da905",
"outputs": [], "outputs": [],
"execution_count": 31 "execution_count": 45
}, },
{ {
"metadata": { "metadata": {
"ExecuteTime": { "ExecuteTime": {
"end_time": "2026-02-09T09:19:47.264504Z", "end_time": "2026-02-09T10:54:49.489625Z",
"start_time": "2026-02-09T09:19:47.022633Z" "start_time": "2026-02-09T10:54:49.265934Z"
} }
}, },
"cell_type": "code", "cell_type": "code",
@@ -14642,7 +14611,7 @@
] ]
} }
], ],
"execution_count": 33 "execution_count": 46
} }
], ],
"metadata": { "metadata": {