Skip to content

Commit cd8a045

Browse files
committed
add extra comments to show when data retrieval cells complete
1 parent 2fcf454 commit cd8a045

File tree

1 file changed

+27
-23
lines changed

1 file changed

+27
-23
lines changed

bot_runs/bot_collector.ipynb

Lines changed: 27 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,9 @@
22
"cells": [
33
{
44
"cell_type": "code",
5-
"execution_count": 1,
5+
"execution_count": 5,
66
"metadata": {},
7-
"outputs": [
8-
{
9-
"name": "stderr",
10-
"output_type": "stream",
11-
"text": [
12-
"/Users/alec/Development/bundles/ucb_wallace/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use \"pip install psycopg2-binary\" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.\n",
13-
" \"\"\")\n"
14-
]
15-
}
16-
],
7+
"outputs": [],
178
"source": [
189
"import sys\n",
1910
"import csv\n",
@@ -45,7 +36,7 @@
4536
},
4637
{
4738
"cell_type": "code",
48-
"execution_count": 2,
39+
"execution_count": 6,
4940
"metadata": {},
5041
"outputs": [
5142
{
@@ -55,7 +46,8 @@
5546
"Collecting 3 experiments with 9 AdvantageSeekingBot players\n",
5647
">>>> Retrieve: Data found for experiment ab01daa0-f7ed-43fa-ad6b-9928aa51f8e1, retrieving.\n",
5748
">>>> Retrieve: Data found for experiment ab01daa1-f7ed-43fa-ad6b-9928aa51f8e1, retrieving.\n",
58-
">>>> Retrieve: Data found for experiment ab01daa2-f7ed-43fa-ad6b-9928aa51f8e1, retrieving.\n"
49+
">>>> Retrieve: Data found for experiment ab01daa2-f7ed-43fa-ad6b-9928aa51f8e1, retrieving.\n",
50+
"Data retrieval complete\n"
5951
]
6052
}
6153
],
@@ -71,12 +63,14 @@
7163
" data[exp_id] = {\n",
7264
" 'title': '{} Experiment #{} ({})'.format(config['bot_policy'], count + 1, exp_id),\n",
7365
" 'data': exp.collect(exp_id, exp_config=config)\n",
74-
" }"
66+
" }\n",
67+
" \n",
68+
"print('Data retrieval complete.')"
7569
]
7670
},
7771
{
7872
"cell_type": "code",
79-
"execution_count": 3,
73+
"execution_count": 7,
8074
"metadata": {},
8175
"outputs": [
8276
{
@@ -86,7 +80,8 @@
8680
"Collecting 3 experiments with 9 RandomBot players\n",
8781
">>>> Retrieve: Data found for experiment ad01daa0-f7ed-43fa-ad6b-9928aa51f8e1, retrieving.\n",
8882
">>>> Retrieve: Data found for experiment ad01daa1-f7ed-43fa-ad6b-9928aa51f8e1, retrieving.\n",
89-
">>>> Retrieve: Data found for experiment ad01daa2-f7ed-43fa-ad6b-9928aa51f8e1, retrieving.\n"
83+
">>>> Retrieve: Data found for experiment ad01daa2-f7ed-43fa-ad6b-9928aa51f8e1, retrieving.\n",
84+
"Data retrieval complete.\n"
9085
]
9186
}
9287
],
@@ -102,7 +97,9 @@
10297
" data[exp_id] = {\n",
10398
" 'title': '{} Experiment #{} ({})'.format(config['bot_policy'], count + 1, exp_id),\n",
10499
" 'data': exp.collect(exp_id, exp_config=config)\n",
105-
" }"
100+
" }\n",
101+
"\n",
102+
"print('Data retrieval complete.') "
106103
]
107104
},
108105
{
@@ -123,7 +120,7 @@
123120
{
124121
"data": {
125122
"application/vnd.jupyter.widget-view+json": {
126-
"model_id": "eea74e38a7dd4f739a1672c0fc4b3291",
123+
"model_id": "38f06c4e23f44271ac6f6875fdd9066a",
127124
"version_major": 2,
128125
"version_minor": 0
129126
},
@@ -144,7 +141,7 @@
144141
{
145142
"data": {
146143
"application/vnd.jupyter.widget-view+json": {
147-
"model_id": "d71e7946eef2429e90bdfdaffb0f75a9",
144+
"model_id": "db5a419157a64f2fbc53fb6d8b3cb8da",
148145
"version_major": 2,
149146
"version_minor": 0
150147
},
@@ -165,7 +162,7 @@
165162
{
166163
"data": {
167164
"application/vnd.jupyter.widget-view+json": {
168-
"model_id": "2e53d6ec400c47728c6d53ad4ec60ecd",
165+
"model_id": "23c4951777ab4e37af3d8deffb690e29",
169166
"version_major": 2,
170167
"version_minor": 0
171168
},
@@ -186,7 +183,7 @@
186183
{
187184
"data": {
188185
"application/vnd.jupyter.widget-view+json": {
189-
"model_id": "064f46bb237442258faecdd098e440db",
186+
"model_id": "058a6f9ff1144200989455a030dca0a8",
190187
"version_major": 2,
191188
"version_minor": 0
192189
},
@@ -207,7 +204,7 @@
207204
{
208205
"data": {
209206
"application/vnd.jupyter.widget-view+json": {
210-
"model_id": "9540fc95291a4bf39b86e252195b98fe",
207+
"model_id": "8f32522f6e264e3f8cea262aebdf14b5",
211208
"version_major": 2,
212209
"version_minor": 0
213210
},
@@ -228,7 +225,7 @@
228225
{
229226
"data": {
230227
"application/vnd.jupyter.widget-view+json": {
231-
"model_id": "3c68d564f87244fdbe465fc3e0a4287e",
228+
"model_id": "0dc3e866a56a4200bd6028ec6a73d27b",
232229
"version_major": 2,
233230
"version_minor": 0
234231
},
@@ -252,6 +249,13 @@
252249
" rows=ROWS, columns=COLS\n",
253250
" )"
254251
]
252+
},
253+
{
254+
"cell_type": "code",
255+
"execution_count": null,
256+
"metadata": {},
257+
"outputs": [],
258+
"source": []
255259
}
256260
],
257261
"metadata": {

0 commit comments

Comments
 (0)