π» Week 01, Day 03 - Lab
Setting up your first repository and documenting it
By the end of this lab, you should be able to: i) Accept a GitHub Classroom assignment to create your midterm project repository, ii) Set up the initial structure of your project (e.g., add a .gitignore
), iii) Create your first project notebook and make your initial commit, iv) Begin drafting the data collection and justification for your midterm project.
Welcome to the lab session. This afternoon, we are diving straight into the midterm project. The goal is not to finish it, but to get it started correctly, following best practices for version control and project setup from the very beginning.
β° Wednesday, 16 July 2025 | Either 2:00-3.30pm or 3.30-5:00pm π Check your timetable for your class location
Part I: The Briefing (15 min)
Your first task is to carefully read the full requirements for the midterm. Understanding the goal and the grading rubric is the most important first step.
π― ACTION POINTS
Read the Midterm Brief:
Navigate to the course website and read the βοΈ Midterm Project page from top to bottom.
Discuss in Groups (5 min). In small groups of 2-3, briefly discuss your initial ideas.
- What cities might you compare?
- What variables could define βraininessβ? (e.g., number of rainy days, total precipitation, intensity of rain?)
- Share any initial questions you have about the brief with your group.
Part II: Project Setup (30 min)
Your class teacher, Stuart, will now lead a live demonstration. The goal is to walk you through the correct, professional setup of your project repository. Please follow along with these steps.
π― ACTION POINTS
Accept the Assignment by visiting the link provided in the βοΈ Midterm Project page.
Clone Your Repository:
Follow the instructions in the
GitHub guide to clone your repository.
Navigate into your new project folder.
Add a
.gitignore
: Create a new file named.gitignore
and copy over the.gitignore
we used in the lecture.Create your first notebook: Create a new Jupyter Notebook and name it
NB01 - Data Collection.ipynb
.Make Your First Commit:
Use the βGit ceremonyβ to save your initial setup.
git add . git commit -m "Initial project setup with .gitignore and NB01" git push
Verify on GitHub.com that your new files have appeared in your repository.
Part III: Individual Work (45 min)
Now itβs your turn to start working on NB01 - Data Collection.ipynb
. The goal for today is to make a solid start on your data collection and justification.
At some point during this session, Stuart will pause you to highlight how to write effective justifications.
Remember the goal: be concise, be clear, and explain your reasoning. Why this city? Why this time period? A good justification shows you have a plan and it doesnβt need to be an essay.
Avoid generic βAI slopβ and let your own thinking come through!
π― ACTION POINTS
Start your
NB01
:Draft Your Justification:
If your ideas or justifications change later, you can always edit your notebook and commit your changes again.
Commit whenever you finish a βpieceβ of work.
You donβt need to commit after every little thing you do. Some people like to commit after completing a section of the notebook, others like to commit after completing the whole notebook. Itβs up to you.
When grading, we will look at the commit history to see how you have worked on the project. What is important is that we can trace how your project has evolved over time.