CS 374: Database Systems
James Madison University, Spring 2022

Feb 24: GP2 Feedback, Peer Review

Lesson Outline

50 min GP2 Review
* See instructions below

Instructor Demo  ~5 min
09:43 – Team 2 mydex
09:49 – Team 3 foodies
09:55 – Team 4 parking
10:01 – Team 5 spotifind
10:07 – Team 6 seal
10:13 – Team 7 runtime
10:19 – Team 1 programu

Peer Review  ~10 min
10:01 – Team 2 reviews Team 4
10:07 – Team 3 reviews Team 5
10:13 – Team 4 reviews Team 6
10:19 – Team 5 reviews Team 7
09:43 – Team 6 reviews Team 1
09:49 – Team 7 reviews Team 2
09:55 – Team 1 reviews Team 3
25 min Mini-Lecture
* HW4 Q&A (and more hints!)
* Chapter 2. The SQL Language
* Chapter 3. Advanced Features

Before Tuesday

  1. Project: Make changes based on feedback.

  2. Homework: Finish/submit HW4 (due Sunday).


GP2 Feedback, Code Review

Part 1. Sanity Check

Take a minute to make sure you're not losing points for trivial mistakes.

Part 2. Instructor Demo

Each team will have five minutes to present their work in progress to the instructor. Using two computers, please have the following items ready:

Computer #1 — Source Code Computer #2 — GUI Tools
Open create.sql and copy.sh side-by-side in two windows. Open your group database in pgAdmin and go to the Tables.
Also open stats.sql and README.md in those two windows. Open your diagram on dbdiagram.io; be ready to make edits.

Your grade on this assignment will be determined as follows (±2 points):

Part 3. Code Review

Before leaving today, each team must (1) review another team's code and (2) have another team review their code. As a team, complete and submit a single code review form. Please discuss the following questions during the code review:

  1. What data sets are included in the design? Where did they come from? Is there sufficient detail in the README.md to reproduce the project two years from now?

  2. What are the main goals of the project? Does the team have enough data to meet these goals well? Are there any tables that are unnecessary for the project?

  3. Do the table and column names and data types all make sense? If not, how can they be improved? Are the COMMENT statements accurate and easy to understand?

  4. Is the code formatted neatly, organized well, and readable? Are there any unnecessary or very large files present in GitHub? Is anything missing or not yet committed?

Use the rest of the review period to continue working on the group project and/or the homework assignment.