Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Byte me Byte me
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 5
    • Issues 5
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • JuvrajSingh.-
  • Byte meByte me
  • Wiki
  • Deliverable 2
  • Use Case Descriptions and Scenarios

Use Case Descriptions and Scenarios · Changes

Page history
Update Use Case Descriptions and Scenarios authored Mar 14, 2025 by Wenjun.Chen's avatar Wenjun.Chen
Hide whitespace changes
Inline Side-by-side
Deliverable-2/Use-Case-Descriptions-and-Scenarios.md
View page @ ddf003a3
**User Scenarios for Smart Grocery Management System** **User Scenarios for Smart Grocery Management System**
_Scenario 1: Managing Grocery Inventory & AI Grocery Scanning _ _Scenario 1: Managing Grocery Inventory & AI Grocery Scanning_
Actors: Alex (a busy university student) Actors: Alex (a busy university student)
Goals: Keep track of groceries and avoid buying duplicate items. Goals: Keep track of groceries and avoid buying duplicate items.
Preconditions: Preconditions:
...@@ -8,6 +9,7 @@ Preconditions: ...@@ -8,6 +9,7 @@ Preconditions:
Summary: Summary:
Alex wants to efficiently manage groceries by scanning receipts and updating inventory with automatic recognition of item details like name, price, and expiration date. Alex wants to efficiently manage groceries by scanning receipts and updating inventory with automatic recognition of item details like name, price, and expiration date.
Steps Steps
| Actor Actions | System Responses | | Actor Actions | System Responses |
...@@ -20,7 +22,7 @@ Steps ...@@ -20,7 +22,7 @@ Steps
| 6. A few days later, Alex checks the inventory before shopping again | Displays the updated inventory list before the next shopping session | | 6. A few days later, Alex checks the inventory before shopping again | Displays the updated inventory list before the next shopping session |
_Scenario 2: Receiving Expiry Notifications & Custom Alerts _ _Scenario 2: Receiving Expiry Notifications & Custom Alerts_
Actors: Lisa (a working professional) Actors: Lisa (a working professional)
Goals: Avoid food spoilage by getting reminders about food expiration. Goals: Avoid food spoilage by getting reminders about food expiration.
...@@ -30,6 +32,7 @@ Preconditions: ...@@ -30,6 +32,7 @@ Preconditions:
Summary: Summary:
Lisa wants to receive reminders before groceries expire so she can use them in time and avoid waste. Lisa wants to receive reminders before groceries expire so she can use them in time and avoid waste.
Steps Steps
| Actor Actions | System Responses | | Actor Actions | System Responses |
...@@ -38,22 +41,29 @@ Steps ...@@ -38,22 +41,29 @@ Steps
| 2. A week later, Lisa receives a notification | Sends alert: “Your yogurt expires in 2 days! Consider using it soon.” | | 2. A week later, Lisa receives a notification | Sends alert: “Your yogurt expires in 2 days! Consider using it soon.” |
| 3. Lisa checks the notification and decides to use the yogurt for a smoothie | No system interaction at this step | | 3. Lisa checks the notification and decides to use the yogurt for a smoothie | No system interaction at this step |
| 4. Lisa customizes expiry alerts to receive reminders 3 days before expiration instead of 2 days | Updates notification settings based on user preferences | | 4. Lisa customizes expiry alerts to receive reminders 3 days before expiration instead of 2 days | Updates notification settings based on user preferences |
| Step 3 | Lisa decides to make a fruit smoothie with the yogurt before it spoils |
| Step 4 | The app allows her to customize expiry alerts so that next time, she gets reminders three days before expiration instead of two days|
Scenario 3: AI Recipe Suggestions & Roommate Sharing _Scenario 3: AI Recipe Suggestions & Roommate Sharing_
Actors: Mark and his roommate Tom
Goals: Cook a meal using available ingredients in their shared inventory.
Preconditions:
- Mark and Tom have a shared grocery inventory in the app.
- The AI Recipe Suggestions feature is available.
Summary:
Mark and Tom want to cook a meal based on available ingredients and update the shared inventory after using items.
| Category | Details | Steps
| Actor Actions | System Responses |
| ------ | ------ | | ------ | ------ |
| User | Mark and his roommate Tom | | 1. Mark and Tom check their shared inventory to see what ingredients they have | Retrieves available ingredients from the shared inventory |
| Goal | Cook a meal using available ingredients in their shared inventory| | Goal | Cook a meal using available ingredients in their shared inventory|
| Step 1 | Mark and Tom check their shared inventory to see what they have | | 2. They open the AI Recipe Suggestions feature and select “Find Recipes” | Suggests recipes based on available ingredients |
| Step 2 | They open the AI Recipe Suggestions feature and select "Find Recipes" based on available ingredients | | 3. The app suggests pasta with tomato sauce and chicken, which they both like | Displays step by step recipe instructions |
| Step 3 | The app suggests pasta with tomato sauce and chicken, which they both like| | 4. Mark and Tom follow the recipe and cook the meal | No system interaction at this step|
| Step 4 | They follow the step by step recipe instructions provided by the app | | 5. After cooking, Mark updates the inventory, removing used ingredients | Updates the inventory list automatically |
| Step 5 | After cooking, Mark updates the inventory, removing the used ingredients | | 6. The system syncs the changes, so Tom sees the updated list on his phone | Synchronizes inventory updates across multiple users |
|Step 6 | The system syncs the changes, so Tom sees the updated list on his phone |
| Outcome | Mark and Tom save money by using existing groceries instead of ordering takeout, and they manage their shared food efficiently |
Clone repository
  • Deliverable 2
    • Requirements Statement
    • UML Class Model
    • Use Case Descriptions and Scenarios
    • Use Case Model
  • Deliverable 3
    • Final Document
      • Challenges and How We Solved Them
      • Key summary of all participants
      • Video Link
    • System Architecture
    • Updated Class diagram
    • Updated Use case Diagram
  • Functional Properties
  • Participation Journal
View All Pages