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

ActorTypeRole
StudentPrimaryGuest or signed-in user. Starts almost every use case
Signed-in studentPrimarySame as Student, plus account services (sync, online AI, online voice)
Android OSSupportingDelivers alarms and reminder alerts, and provides microphone and audio
LAFINA backendSupportingAccount, 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
LAFINA core student use case diagram
Official use case diagram: Student, Android OS and LAFINA backend actors. Open full size ↗

«include» vs. «extend»

RelationshipMeaningLAFINA examples
«include»Always happens as part of the base use caseImport 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 conditionUse 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 caseActor(s)Needs internet?
Continue as guestStudentNo
Manage profile and preferencesStudentNo
Manage tasksStudentNo
Manage calendar events and time blocksStudentNo
Manage notes and categoriesStudentNo
Import class schedule from COR (+ review)StudentNo
Manage alarms and remindersStudent, Android OSNo
Respond to reminder alerts and simulated callsStudent, Android OSNo
Chat and query personal plans (+ push-to-talk)StudentNo (open conversation needs it)
Request assistant planning changes (+ review)StudentNo
Ask USTP handbook questions (+ evidence)StudentNo (better online)
Manage cloud accountStudent, backendYes
Sync personal recordsStudent, backendYes
Chat with online AIStudent, backendYes
Start online voice conversationStudent, backendYes

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?