Lesson 2: Use Cases
Goal of this lesson
Know the four actors, group the use cases, and explain «include» vs. «extend» using LAFINA’s own examples.
The actors
| Actor | Type | Role |
|---|---|---|
| Student | Primary | Guest or signed-in user. Starts almost every use case |
| Signed-in student | Primary | Same as Student, plus account services (sync, online AI, online voice) |
| Android OS | Supporting | Delivers alarms and reminder alerts, and provides microphone and audio |
| LAFINA backend | Supporting | Account, sync, online AI and voice services |
Use cases, grouped
Student (guest or signed-in)
Plan Manage tasks, events, time blocks, notes, categories, profile
with Android OS
Be reminded Manage alarms and reminders. Respond to alerts and simulated calls
Ask Chat, query plans, request changes, Ask USTP, import a COR
with LAFINA backend
Optional cloud services Account, sync, online AI chat, online voice conversation
«include» vs. «extend»
| Relationship | Meaning | LAFINA examples |
|---|---|---|
| «include» | Always happens as part of the base use case | Import class schedule from COR «include» Review and confirm extracted classes |
| Request assistant planning changes «include» Review and confirm proposed change | ||
| Ask USTP handbook questions «include» Retrieve supporting handbook evidence | ||
| «extend» | Optionally adds to the base use case, under a condition | Use push-to-talk voice input «extend» Chat and query personal plans [when voice is selected] |
Memory trick
Include = must (you can’t import a COR without reviewing it). Extend = may (you can chat without voice, and voice is an optional extra). Read-only questions do not include a review, because nothing is written.
Full use case list
| Use case | Actor(s) | Needs internet? |
|---|---|---|
| Continue as guest | Student | No |
| Manage profile and preferences | Student | No |
| Manage tasks | Student | No |
| Manage calendar events and time blocks | Student | No |
| Manage notes and categories | Student | No |
| Import class schedule from COR (+ review) | Student | No |
| Manage alarms and reminders | Student, Android OS | No |
| Respond to reminder alerts and simulated calls | Student, Android OS | No |
| Chat and query personal plans (+ push-to-talk) | Student | No (open conversation needs it) |
| Request assistant planning changes (+ review) | Student | No |
| Ask USTP handbook questions (+ evidence) | Student | No (better online) |
| Manage cloud account | Student, backend | Yes |
| Sync personal records | Student, backend | Yes |
| Chat with online AI | Student, backend | Yes |
| Start online voice conversation | Student, backend | Yes |
Check yourself
- Who are the two supporting actors, and which use cases connect to each?
- Give one «include» and one «extend» example from LAFINA, and explain the difference.
- Why doesn’t a read-only question include a review?
- Which use cases can a guest not do?