5 Overview for Students
5.1 How the Peer Review Process Works
5.1.1 What Happens Behind the Scenes
- Your teacher will create a private space (called a “repository” or “repo”) for your code on GitHub
- Your code will be automatically moved from Moodle to this private space
- Two other students will be randomly assigned to review your code
- You will also be chosen to review the works of two other students
- Everything is kept private - only you, your reviewers, and your teacher can see your code!
5.1.2 Your Role as a Reviewer
When you’re reviewing someone else’s code, you’ll do two things:
5.1.2.1 Part 1: Fill Out a Review Form (Required)
You are expected to answer some questions about the code you’re reviewing, such as:
- Is the code easy to read and understand?
- Does the code seem to work correctly?
- What do you appreciate about this approach?
- Do you have any suggestions for improvement?
- Have you learned anything new from this code?
How to do this:
- Click the link your teacher sends you to access the code
- Look for a button or link that says “Issues”
- Click “New Issue”
- You’ll see a template with questions - just fill in your answers
- When you’re finished, click “Submit new issue” to upload it
5.1.2.2 Part 2: Suggest Code Changes (Optional)
If you spot a bug or have an idea for improvement, you can suggest specific changes to the code.
How to do this:
- Find the code file you want to change
- Click the edit button (pencil icon)
- Make your suggested changes
- Write a message at the bottom, explaining what you have changed and why
- Click “Propose changes”
- Click “Create pull request”
- Add a description of your suggestion, and click “Create pull request” to upload it
5.2 After the Review: Receiving Feedback on Your Code
5.2.1 Where to Find Your Reviews
- Go to your private repository (your teacher will send you the link)
- Click on “Issues” to see the review forms your peers filled out
- Click on “Pull requests” to see any code changes they suggested
5.2.2 How to Use the Feedback
- Read through all the feedback carefully
- Ask questions if something isn’t clear (you can reply to issues and pull requests)
- Consider implementing suggested improvements
- Remember: feedback is meant to help you learn, not to criticize you personally
5.3 Tips
5.3.1 Common GitHub Terms Explained
- Repository (Repo): Your private folder containing your code
- Issue: A place to discuss problems, ask questions, or give feedback
- Pull Request: A suggested change to the code
- Branch: Different versions of your code (don’t worry about this too much for now)
- Commit: Saving changes to your code
5.3.2 Writing Good Reviews
- Be kind and constructive: Instead of “This is wrong,” try “Have you considered trying this approach?”
- Be specific: Point out exactly what you’re referring to
- Highlight good things too: If someone did something clever, tell them!
- Ask questions: “Why did you choose this method?” can lead to good discussions
5.3.3 When You’re Stuck
- Don’t panic! GitHub can seem overwhelming at first
- Ask your teacher or classmates for help
- Most buttons are safe to click - you won’t break anything
- Remember that everyone is learning
5.3.4 Making the Most of Feedback
- Don’t take criticism personally - it’s about the code, not you
- Try to understand why reviewers made their suggestions
- Feel free to ask follow-up questions
- Use the feedback to improve your next assignment
5.4 Getting Help
If you get stuck:
- Ask a classmate
- Ask your teacher during lab sessions or through the Moodle forum
- Check the GitHub help documentation
- Remember: everyone finds GitHub confusing at first!
Remember: The goal isn’t to become a GitHub expert overnight, but to learn from each other and improve your coding skills together!