diff --git a/notebooks/walker/Step_1_classes/Step_1_classes_exercise.ipynb b/notebooks/walker/Step_1_classes/Step_1_classes_exercise.ipynb index 2ce015b..3304d42 100644 --- a/notebooks/walker/Step_1_classes/Step_1_classes_exercise.ipynb +++ b/notebooks/walker/Step_1_classes/Step_1_classes_exercise.ipynb @@ -96,7 +96,7 @@ } }, "source": [ - "# 2. Rewrite the code to look like it would in your wildest dreams!\n", + "# 2. How would interact with the Walker in your wildest dreams!\n", "\n", "How could you restructure the interface of the `walker` library so that the functionality stays the same, but the code is less smelly?\n", "\n", @@ -133,7 +133,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": null, "metadata": { "pycharm": { "name": "#%%\n" @@ -141,7 +141,7 @@ }, "outputs": [], "source": [ - "# Write the code that uses your new `walker` interface here!\n", + "# Write the (pseudo)code that uses your new `walker` interface here!\n", "# walker = Walker(sigma_i=3, sigma_j=4, ...)\n", "# ..." ] diff --git a/notebooks/walker/Step_3_break_out_the_context_map_initialization/Step_3_break_out_the_context_map_initialization.ipynb b/notebooks/walker/Step_3_break_out_the_context_map_initialization/Step_3_break_out_the_context_map_initialization.ipynb index 83d413c..04a4339 100644 --- a/notebooks/walker/Step_3_break_out_the_context_map_initialization/Step_3_break_out_the_context_map_initialization.ipynb +++ b/notebooks/walker/Step_3_break_out_the_context_map_initialization/Step_3_break_out_the_context_map_initialization.ipynb @@ -81,7 +81,7 @@ } }, "source": [ - "# 2. Modify the above code to reflect the idea of a separate context_map module\n", + "# 2. Propose modifications to the code that calls the walker (above) to reflect the idea of a separate context_map module\n", "\n", "1. how would the import statement change as a result of needing a separate context_map module?\n", "2. what input arguments do the context_map functions need to take?\n", @@ -121,7 +121,9 @@ "4. Try to run all the types:\n", " - Run one simulation with a flat context map\n", " - Run one simulation with a hill context map\n", - " - Run one simulation with a labyrinth context map" + " - Run one simulation with a labyrinth context map\n", + "\n", + "When you have a working implementation: PR! You can link the issue in the commit message (by writing \"issue #3\")." ] }, { diff --git a/scientific_programming_patterns.pdf b/scientific_programming_patterns.pdf index 3195aa6..163bb83 100644 Binary files a/scientific_programming_patterns.pdf and b/scientific_programming_patterns.pdf differ diff --git a/scientific_programming_patterns.pptx b/scientific_programming_patterns.pptx index b7b6845..797e0c3 100644 Binary files a/scientific_programming_patterns.pptx and b/scientific_programming_patterns.pptx differ