From d52a6cd82dd65693c400ce873cb406c65f2d4e86 Mon Sep 17 00:00:00 2001 From: Robert Chisholm Date: Thu, 28 Mar 2024 15:22:27 +0000 Subject: [PATCH] Add initial timings/breaks. --- config.yaml | 2 ++ episodes/long-break1.md | 8 ++++++++ episodes/optimisation-conclusion.md | 2 +- episodes/optimisation-data-structures-algorithms.md | 4 ++-- episodes/optimisation-introduction.md | 2 +- episodes/optimisation-memory.md | 2 +- episodes/optimisation-minimise-python.md | 2 +- episodes/optimisation-use-latest.md | 2 +- episodes/profiling-conclusion.md | 2 +- episodes/profiling-functions.md | 4 ++-- episodes/profiling-introduction.md | 4 ++-- episodes/profiling-lines.md | 4 ++-- episodes/short-break1.md | 8 ++++++++ 13 files changed, 32 insertions(+), 14 deletions(-) create mode 100644 episodes/long-break1.md create mode 100644 episodes/short-break1.md diff --git a/config.yaml b/config.yaml index 61a0e27..eb7ef48 100644 --- a/config.yaml +++ b/config.yaml @@ -61,10 +61,12 @@ contact: 'robert.chisholm@sheffield.ac.uk' episodes: - profiling-introduction.md - profiling-functions.md +- short-break1.md - profiling-lines.md - profiling-conclusion.md - optimisation-introduction.md - optimisation-data-structures-algorithms.md +- long-break1.md - optimisation-minimise-python.md - optimisation-use-latest.md - optimisation-memory.md diff --git a/episodes/long-break1.md b/episodes/long-break1.md new file mode 100644 index 0000000..d28a91b --- /dev/null +++ b/episodes/long-break1.md @@ -0,0 +1,8 @@ +--- +title: Break +teaching: 0 +exercises: 0 +break: 60 +--- + +Take a break. If you can, move around and look at something away from your screen to give your eyes a rest. \ No newline at end of file diff --git a/episodes/optimisation-conclusion.md b/episodes/optimisation-conclusion.md index a3ae361..7666df1 100644 --- a/episodes/optimisation-conclusion.md +++ b/episodes/optimisation-conclusion.md @@ -1,6 +1,6 @@ --- title: "Optimisation Conclusion" -teaching: 0 +teaching: 5 exercises: 0 --- diff --git a/episodes/optimisation-data-structures-algorithms.md b/episodes/optimisation-data-structures-algorithms.md index 915df20..0c1c8d3 100644 --- a/episodes/optimisation-data-structures-algorithms.md +++ b/episodes/optimisation-data-structures-algorithms.md @@ -1,7 +1,7 @@ --- title: "Data Structures & Algorithms" -teaching: 0 -exercises: 0 +teaching: 30 +exercises: 5 --- :::::::::::::::::::::::::::::::::::::: questions diff --git a/episodes/optimisation-introduction.md b/episodes/optimisation-introduction.md index 2902d6b..1650962 100644 --- a/episodes/optimisation-introduction.md +++ b/episodes/optimisation-introduction.md @@ -1,6 +1,6 @@ --- title: "Introduction to Optimisation" -teaching: 0 +teaching: 10 exercises: 0 --- diff --git a/episodes/optimisation-memory.md b/episodes/optimisation-memory.md index c58f507..2750031 100644 --- a/episodes/optimisation-memory.md +++ b/episodes/optimisation-memory.md @@ -1,6 +1,6 @@ --- title: "Understanding Memory" -teaching: 0 +teaching: 30 exercises: 0 --- diff --git a/episodes/optimisation-minimise-python.md b/episodes/optimisation-minimise-python.md index 43597fd..0e2666f 100644 --- a/episodes/optimisation-minimise-python.md +++ b/episodes/optimisation-minimise-python.md @@ -1,6 +1,6 @@ --- title: "Understanding Python (NumPy/Pandas)" -teaching: 0 +teaching: 30 exercises: 0 --- diff --git a/episodes/optimisation-use-latest.md b/episodes/optimisation-use-latest.md index 59e90fe..cabe6fa 100644 --- a/episodes/optimisation-use-latest.md +++ b/episodes/optimisation-use-latest.md @@ -1,6 +1,6 @@ --- title: "Keep Python & Packages up to Date" -teaching: 0 +teaching: 10 exercises: 0 --- diff --git a/episodes/profiling-conclusion.md b/episodes/profiling-conclusion.md index 4aa696d..820a16a 100644 --- a/episodes/profiling-conclusion.md +++ b/episodes/profiling-conclusion.md @@ -1,6 +1,6 @@ --- title: "Profiling Conclusion" -teaching: 0 +teaching: 5 exercises: 0 --- diff --git a/episodes/profiling-functions.md b/episodes/profiling-functions.md index 1ea1451..54ba38b 100644 --- a/episodes/profiling-functions.md +++ b/episodes/profiling-functions.md @@ -1,7 +1,7 @@ --- title: "Function Level Profiling" -teaching: 0 -exercises: 0 +teaching: 20 +exercises: 20 --- :::::::::::::::::::::::::::::::::::::: questions diff --git a/episodes/profiling-introduction.md b/episodes/profiling-introduction.md index a40f742..ad58dc4 100644 --- a/episodes/profiling-introduction.md +++ b/episodes/profiling-introduction.md @@ -1,7 +1,7 @@ --- title: "Introduction to Profiling" -teaching: 0 -exercises: 0 +teaching: 15 +exercises: 10 --- :::::::::::::::::::::::::::::::::::::: questions diff --git a/episodes/profiling-lines.md b/episodes/profiling-lines.md index 483e959..4ed5071 100644 --- a/episodes/profiling-lines.md +++ b/episodes/profiling-lines.md @@ -1,7 +1,7 @@ --- title: "Line Level Profiling" -teaching: 0 -exercises: 0 +teaching: 20 +exercises: 30 --- :::::::::::::::::::::::::::::::::::::: questions diff --git a/episodes/short-break1.md b/episodes/short-break1.md new file mode 100644 index 0000000..bf28e04 --- /dev/null +++ b/episodes/short-break1.md @@ -0,0 +1,8 @@ +--- +title: Break +teaching: 0 +exercises: 0 +break: 15 +--- + +Take a break. If you can, move around and look at something away from your screen to give your eyes a rest and a chance to absorb the content covered so far. \ No newline at end of file