Skip to main content

Updated for Fall 2026

Milestone 2 Overview

Milestone 2 is about design. The requirements of CoffeeMaker have been updated to support arbitrary ingredients. Customers want tea, cider, and pumpkin spice, not just the four ingredients the system was built around. And the restriction on the number of recipes has been lifted. Nothing is implemented yet. Your job this week is to design it.

You will design in three views — a class diagram (static view), a sequence diagram (dynamic view), and the REST API (interface view) — and then inspect what you designed. Inspection is the point of the milestone as much as the design is: finding a problem in a diagram costs minutes, and finding the same problem in Milestone 4 costs a day.

UC6 Order Beverage will need code changes for the new requirements, but its existing design is likely sufficient.

   
Start H Sep 3
Team deliverables due T Sep 8 @ 11:45 pm
Individual deliverables due W Sep 9 @ 5:00 pm
Retrospective due W Sep 9 @ 11:45 pm

Set Up Your Technical Documents

Your design lives in the technical-documents/ folder of your repository, next to the requirements, the architecture description, and the system test plan. It is version controlled, it is reviewed in pull requests like any other artifact, and it travels with the code it describes.

Before you start designing, bring two documents into your team repository:

  1. The updated requirements. Download requirements.md and use it to replace the existing technical-documents/requirements.md. Commit the replacement on its own so the diff shows exactly what changed between version 1.0 and version 2.0 — that diff is a useful summary of the work ahead. Follow appropriate process!
  2. The backend design reference. Download backend-design.md and save it as technical-documents/backend-design.md. It documents the design of the system as it exists today. Also download coffee_maker_backend.png and coffee_maker_sequence.png into a new technical-documents/images/ folder so the diagrams render.

Read Backend Design before you go further. This is the same as the file you just added to your repo, and it explains what each of the three design views is for.

You will extend technical-documents/backend-design.md with your own design. Do not start a new file; the whole point is that there is one current description of the backend, and it is the one a reader, or a reviewer, or an AI assistant, can pick up and understand in full.

Diagrams may be drawn in UMLetino and exported into technical-documents/images/. The source file behind UMLetino can also be exported for a structure text version of the diagram for diffs. You an also explore Mermaid, which is a Markdown format that GitHub renders directly inside a markdown file. There is also a plug-in for IntelliJ.

Expectations

Each team member is expected to:

Deliverables and Rubric

Team Technical Deliverables (10 points)

Complete the Backend Design Workshop with your team. Note the workshop will get you started with updating your design. It does NOT lead to a complete solution! You’ll need to do more work as a team.

Working in your team repository, extend technical-documents/backend-design.md with a design for UC5 and UC7:

  • Static design — a class diagram showing the classes needed for arbitrary ingredients and inventory, and a text description of what you changed and why your design will support the new functionality.
  • Dynamic design — a sequence diagram for one scenario of the new functionality, a description of the scenario, and why the design supports it.
  • End point design — for every new or changed endpoint: the function name, the relative URL, the HTTP verb, a description, the request and response data, and the response status codes.

You will also produce technical-documents/design-alternatives-m2.md, the record of your team’s design-with-AI activity: the alternative design AI proposed, where it differs from yours, and what your team decided in each case.

This is a place where we do want you to try an AI tool; even if your team policy is not to use one. This is a place where using an online chat tool, like Gemini, could work if no one on your team has an AI setup.

Independent Technical Deliverables (10 points)

Your individual tasks include:

  • Create a branch in your individual repository and copy the technical-documents/ folder over from your team repository — the updated requirements, your team’s backend design, and the images. Merge into development and then into main.
  • Extend technical-documents/backend-design.md in your individual repository with a static, dynamic, and end point design for UC2 Add Recipe and UC4 Edit Recipe with arbitrary ingredients. Your design must be consistent with the team’s ingredient design. Recipes have to use whatever the team decided an ingredient is.
  • Complete the AI Design Review Activity, which produces technical-documents/design-inspection-m2.md: the findings from inspecting your design against the design inspection checklist, and for each one, whether you accepted or rejected it and why.

Technical Process (5 points)

You are expected to follow good process for design work, the same as for code:

  • Issues created for the design tasks, with owners and descriptions, and referenced from the commits that address them
  • Design work done on branches named unityID/branchName, merged into development via pull request, and then into main
  • Diagrams committed to technical-documents/images/ in the repository — do not host images anywhere else and link to them

Team Collaboration (5 points)

You are expected to contribute to your team’s design. That means we want to see that everyone worked on the milestone, including both technical and non-technical work. Design is easy to let one person do while everyone else watches; that is exactly what we are looking for and grading against.

What could equal collaboration look like for Milestone 2?

  • Technical Deliverables
    • Each team member drives one of the three design views
    • Every team member can explain the whole design, not just the part they drove
    • Each team member brings a disagreement or a question to the design-with-AI activity
  • Project Management
    • Each team member edits the project management documents (at least once) to show completion of their task(s)

If you worked together on a task, note that in your task list. Be ready to discuss it at your check-in next week.

Additionally, you’ll complete the weekly team collaboration check-in. This will be emailed to you after the team deadline.

Project Management (5 points)

Update your team’s project management documents:

  • Record your Milestone 2 tasks, owners, and deadlines in project-management/tasks-m2.md, and mark them off as they are completed.
  • Revise your team’s communication and AI policies in project-management/index.md if your Milestone 1 retrospective surfaced something that needs to change. Milestone 2 is the first milestone where AI is used on a team deliverable, so check that your AI policy actually says what your team agreed to do here.

Retrospective (5 points)

Complete retros/retro-m2.md in your individual repository. See the Retrospective overview for what is expected.

In addition to the usual reflection, Milestone 2 asks you one specific question:

Which design inspection findings did you reject, and why?

Answer it whether the findings came from an AI assistant, from a teammate, or from your own second read. A finding you rejected for a good reason is worth as much here as one you accepted.

Due at W Sep 9 @ 11:45 pm, after your individual deliverable.