From 208ce6a4c2625ae201f29e0f77ddb9522928863e Mon Sep 17 00:00:00 2001 From: grande <grande@cs.rwth-aachen.de> Date: Wed, 19 Oct 2022 14:31:45 +0000 Subject: [PATCH] ... --- .gitignore | 1 + ExperimentsPopulationProtocolsAll.ipynb | 120 +++++------------------- 2 files changed, 26 insertions(+), 95 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..673d07b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +venvrestart \ No newline at end of file diff --git a/ExperimentsPopulationProtocolsAll.ipynb b/ExperimentsPopulationProtocolsAll.ipynb index 462747e..87449c9 100644 --- a/ExperimentsPopulationProtocolsAll.ipynb +++ b/ExperimentsPopulationProtocolsAll.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 29, + "execution_count": 3, "metadata": {}, "outputs": [], "source": [ @@ -18,7 +18,7 @@ }, { "cell_type": "code", - "execution_count": 30, + "execution_count": 4, "metadata": {}, "outputs": [], "source": [ @@ -80,7 +80,7 @@ }, { "cell_type": "code", - "execution_count": 31, + "execution_count": 5, "metadata": {}, "outputs": [], "source": [ @@ -96,7 +96,7 @@ }, { "cell_type": "code", - "execution_count": 32, + "execution_count": 6, "metadata": {}, "outputs": [], "source": [ @@ -110,7 +110,7 @@ }, { "cell_type": "code", - "execution_count": 33, + "execution_count": 7, "metadata": {}, "outputs": [], "source": [ @@ -277,7 +277,7 @@ }, { "cell_type": "code", - "execution_count": 34, + "execution_count": 8, "metadata": {}, "outputs": [], "source": [ @@ -286,7 +286,7 @@ }, { "cell_type": "code", - "execution_count": 35, + "execution_count": 9, "metadata": {}, "outputs": [], "source": [ @@ -295,7 +295,7 @@ }, { "cell_type": "code", - "execution_count": 47, + "execution_count": 10, "metadata": {}, "outputs": [ { @@ -303,98 +303,28 @@ "output_type": "stream", "text": [ "kmax: 10\n", - "Began with: [[1, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 0]Began with: [[1, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 1]Began with: [[1, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 2]Began with: [[1, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 3]Began with: [[1, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 4]\n", - "\n", - "Began with: [[1, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 5]Began with: [[1, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 6]Began with: [[1, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 7]\n", - "\n", + "Began with: [[1, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 0]Began with: [[1, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 1]Began with: [[1, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 2]\n", "\n", - "Began with: [[1, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 8]\n", "\n", - "\n", - "\n", - "[[1, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 5] 0 0 True [[1, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 8]deadlock 0\n", - " Began with: [[1, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 9]0\n", - " True deadlock\n", - "Began with: [[2, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 10]\n", - "[[1, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 7] 0 0 True deadlock\n", - "Began with: [[2, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 11]\n", - "[[1, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 0] 0 0 True deadlock\n", - "Began with: [[2, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 12]\n", - "[[1, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 4] 0 0 True deadlock\n", - "Began with: [[2, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 13]\n", - "[[1, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 3] 0 0 True deadlock\n", - "Began with: [[2, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 14]\n", - "[[1, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 6] 0 0 True deadlock\n", - "Began with: [[2, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 15]\n", - "[[1, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 1] 0 0 True deadlock\n", - "Began with: [[2, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 16]\n", - "[[1, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 2] 0 0 True deadlock\n", - "Began with: [[2, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 17]\n", - "[[1, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 9] 0 0 True deadlock\n", - "Began with: [[2, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 18]\n", - "[[2, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 12] 0 0 True deadlock\n", - "Began with: [[2, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 19]\n", - "[[2, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 14] 0 0 True deadlock\n", - "Began with: [[3, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 20]\n", - "[[2, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 10] 0 0 True deadlock\n", - "Began with: [[3, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 21]\n", - "[[2, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 13] 0 0 True deadlock\n", - "Began with: [[3, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 22]\n", - "[[2, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 11] 0 0 True deadlock\n", - "Began with: [[3, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 23]\n", - "[[2, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 16] 0 0 True deadlock\n", - "Began with: [[3, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 24]\n", - "[[2, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 15] 0 0 True deadlock\n", - "Began with: [[3, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 25]\n", - "[[2, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 17] 0 0 True deadlock\n", - "Began with: [[3, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 26]\n", - "[[3, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 20] 0 0 True deadlock\n", - "Began with: [[3, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 27]\n", - "[[2, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 18] 0 0 True deadlock\n", - "Began with: [[3, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 28]\n", - "[[2, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 19] 0 0 True deadlock\n", - "Began with: [[3, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 29]\n", - "[[3, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 23] 0 0 True deadlock\n", - "Began with: [[4, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 30]\n", - "[[3, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 22] 0 0 True deadlock\n", - "Began with: [[4, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 31]\n", - "[[3, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 21] 0 0 True deadlock\n", - "Began with: [[4, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 32]\n", - "[[3, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 25] 0 0 True deadlock\n", - "Began with: [[4, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 33]\n", - "[[3, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 24] 0 0 True deadlock\n", - "Began with: [[4, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 34]\n", - "[[3, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 26] 0 0 True deadlock\n", - "Began with: [[4, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 35]\n", - "[[3, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 27] 0 0 True deadlock\n", - "Began with: [[4, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 36]\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Process ForkPoolWorker-45:\n", - "Process ForkPoolWorker-39:\n", - "Process ForkPoolWorker-44:\n", - "Process ForkPoolWorker-37:\n", - "Process ForkPoolWorker-43:\n" + "Began with: [[1, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 3]Began with: [[1, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 4]\n", + "Began with: [[1, [5, 6], 'avc_typo_17_8.json', 'avc', 500000, 100], 5]\n", + "\n" ] }, { - "ename": "KeyboardInterrupt", - "evalue": "", + "ename": "FileNotFoundError", + "evalue": "[Errno 2] No such file or directory: 'avc_typo_17_8.json'", "output_type": "error", "traceback": [ "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", - "\u001b[0;31mKeyboardInterrupt\u001b[0m Traceback (most recent call last)", - "\u001b[0;32m/var/folders/pl/gwszr_8d28g5sx_tt_34wbpw0000gn/T/ipykernel_38832/1655155499.py\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0mtest_multiple_strategies_multiprocess\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mi\u001b[0m\u001b[0;34m+\u001b[0m\u001b[0;36m1\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m[\u001b[0m\u001b[0;36m5\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;36m6\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"avc_typo_17_8.json\"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m'avc'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;36m500000\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;36m100\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;32mfor\u001b[0m \u001b[0mi\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mrange\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;36m10\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;36m10\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m", - "\u001b[0;32m/var/folders/pl/gwszr_8d28g5sx_tt_34wbpw0000gn/T/ipykernel_38832/2349806864.py\u001b[0m in \u001b[0;36mtest_multiple_strategies_multiprocess\u001b[0;34m(test_parameters, n)\u001b[0m\n\u001b[1;32m 132\u001b[0m for p in long_test_parameters]\n\u001b[1;32m 133\u001b[0m \u001b[0;32mfor\u001b[0m \u001b[0mr\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mresults\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 134\u001b[0;31m \u001b[0mresults_list\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mappend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mr\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 135\u001b[0m \u001b[0mprint\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mresults_list\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 136\u001b[0m \u001b[0;32mfor\u001b[0m \u001b[0mi\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mrange\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mlen\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mtest_parameters\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/opt/anaconda3/lib/python3.9/site-packages/multiprocess/pool.py\u001b[0m in \u001b[0;36mget\u001b[0;34m(self, timeout)\u001b[0m\n\u001b[1;32m 763\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 764\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0mget\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mtimeout\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mNone\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 765\u001b[0;31m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mwait\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mtimeout\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 766\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0;32mnot\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mready\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 767\u001b[0m \u001b[0;32mraise\u001b[0m \u001b[0mTimeoutError\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/opt/anaconda3/lib/python3.9/site-packages/multiprocess/pool.py\u001b[0m in \u001b[0;36mwait\u001b[0;34m(self, timeout)\u001b[0m\n\u001b[1;32m 760\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 761\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0mwait\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mtimeout\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mNone\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 762\u001b[0;31m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_event\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mwait\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mtimeout\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 763\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 764\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0mget\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mtimeout\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mNone\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/opt/anaconda3/lib/python3.9/threading.py\u001b[0m in \u001b[0;36mwait\u001b[0;34m(self, timeout)\u001b[0m\n\u001b[1;32m 572\u001b[0m \u001b[0msignaled\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_flag\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 573\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0;32mnot\u001b[0m \u001b[0msignaled\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 574\u001b[0;31m \u001b[0msignaled\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_cond\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mwait\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mtimeout\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 575\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0msignaled\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 576\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/opt/anaconda3/lib/python3.9/threading.py\u001b[0m in \u001b[0;36mwait\u001b[0;34m(self, timeout)\u001b[0m\n\u001b[1;32m 310\u001b[0m \u001b[0;32mtry\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0;31m# restore state no matter what (e.g., KeyboardInterrupt)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 311\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mtimeout\u001b[0m \u001b[0;32mis\u001b[0m \u001b[0;32mNone\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 312\u001b[0;31m \u001b[0mwaiter\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0macquire\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 313\u001b[0m \u001b[0mgotit\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;32mTrue\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 314\u001b[0m \u001b[0;32melse\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;31mKeyboardInterrupt\u001b[0m: " + "\u001b[0;31mRemoteTraceback\u001b[0m Traceback (most recent call last)", + "\u001b[0;31mRemoteTraceback\u001b[0m: \n\"\"\"\nTraceback (most recent call last):\n File \"/home/grande/restarting-markov-chains-experiments/venvrestart/lib/python3.10/site-packages/multiprocess/pool.py\", line 125, in worker\n result = (True, func(*args, **kwds))\n File \"/home/grande/restarting-markov-chains-experiments/venvrestart/lib/python3.10/site-packages/multiprocess/pool.py\", line 48, in mapstar\n return list(map(*args))\n File \"/tmp/ipykernel_1539619/2349806864.py\", line 98, in do_one_testrun\n PPData = json.load(File)\nFileNotFoundError: [Errno 2] No such file or directory: 'avc_typo_17_8.json'\n\"\"\"", + "\nThe above exception was the direct cause of the following exception:\n", + "\u001b[0;31mFileNotFoundError\u001b[0m Traceback (most recent call last)", + "Cell \u001b[0;32mIn [10], line 1\u001b[0m\n\u001b[0;32m----> 1\u001b[0m test_multiple_strategies_multiprocess([[i\u001b[39m+\u001b[39;49m\u001b[39m1\u001b[39;49m, [\u001b[39m5\u001b[39;49m,\u001b[39m6\u001b[39;49m], \u001b[39m\"\u001b[39;49m\u001b[39mavc_typo_17_8.json\u001b[39;49m\u001b[39m\"\u001b[39;49m, \u001b[39m'\u001b[39;49m\u001b[39mavc\u001b[39;49m\u001b[39m'\u001b[39;49m, \u001b[39m500000\u001b[39;49m, \u001b[39m100\u001b[39;49m] \u001b[39mfor\u001b[39;49;00m i \u001b[39min\u001b[39;49;00m \u001b[39mrange\u001b[39;49m(\u001b[39m10\u001b[39;49m)],\u001b[39m10\u001b[39;49m)\n", + "Cell \u001b[0;32mIn [7], line 134\u001b[0m, in \u001b[0;36mtest_multiple_strategies_multiprocess\u001b[0;34m(test_parameters, n)\u001b[0m\n\u001b[1;32m 131\u001b[0m results \u001b[39m=\u001b[39m [pool\u001b[39m.\u001b[39mmap_async(do_one_testrun, p)\n\u001b[1;32m 132\u001b[0m \u001b[39mfor\u001b[39;00m p \u001b[39min\u001b[39;00m long_test_parameters]\n\u001b[1;32m 133\u001b[0m \u001b[39mfor\u001b[39;00m r \u001b[39min\u001b[39;00m results:\n\u001b[0;32m--> 134\u001b[0m results_list\u001b[39m.\u001b[39mappend(r\u001b[39m.\u001b[39;49mget())\n\u001b[1;32m 135\u001b[0m \u001b[39mprint\u001b[39m(results_list)\n\u001b[1;32m 136\u001b[0m \u001b[39mfor\u001b[39;00m i \u001b[39min\u001b[39;00m \u001b[39mrange\u001b[39m(\u001b[39mlen\u001b[39m(test_parameters)):\n", + "File \u001b[0;32m~/restarting-markov-chains-experiments/venvrestart/lib/python3.10/site-packages/multiprocess/pool.py:771\u001b[0m, in \u001b[0;36mApplyResult.get\u001b[0;34m(self, timeout)\u001b[0m\n\u001b[1;32m 769\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39m_value\n\u001b[1;32m 770\u001b[0m \u001b[39melse\u001b[39;00m:\n\u001b[0;32m--> 771\u001b[0m \u001b[39mraise\u001b[39;00m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39m_value\n", + "\u001b[0;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: 'avc_typo_17_8.json'" ] } ], @@ -3874,7 +3804,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3.9.7 ('base')", + "display_name": "Python 3.10.4 ('venvrestart': venv)", "language": "python", "name": "python3" }, @@ -3888,12 +3818,12 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.7" + "version": "3.10.4" }, "orig_nbformat": 4, "vscode": { "interpreter": { - "hash": "4ac9036ed182ece6ef2726ddbdca12ece5ff93f7a9364fdc80b0ed046e896158" + "hash": "d33e86b29b483f4a6da87c3f38bc392a4bd1ae39e5cc992855f3b928156149e6" } } }, -- GitLab