Work together with your group in breakout rooms to identify and fix the bugs in this codebase.
- Fork and clone this repo
- Set up the project
- After cloning the project, change into the project directory:
cd errors-and-debugging - Create your virtual environment:
python -m venv venv - Activate your virtual environment:
source venv/bin/activate
- After cloning the project, change into the project directory:
- From the root of the project directory, execute this terminal in this command:
python main.py - Observe how Python reports the error in the stack trace. Make sure to work through the issues together using VS Code’s LiveShare or Zoom screen sharing!
- Pay attention to
- File names
- Line numbers
- Error type
- Before fixing each error:
- State what the error is
- Hypothesize the cause of the error
- Propose a fix
NOTE: DO NOT edit any of the test_ functions
- Potential discussion questions:
- What have you tried in the past?
- What worked well for you?
- What strategies do you want more practice in?
- How do you plan to incorporate them?