Heavyweight Laundry Use Case
Use Case 1 Housekeeper does laundry
Actor Housekeeper
Use Case Overview It is Wednesday and there is laundry in the laundry room. The housekeeper sorts it, then proceeds to launder each load. She folds the dry laundry as she removes it from the dryer. She irons those items that need ironing.
Subject Area Domestics
Actor(s) The housekeeper
Trigger Dirty laundry is transported to the laundry room on Wednesday.
Precondition 1 It is Wednesday
Precondition 2 There is laundry in the laundry room.
Basic Flow: Do Laundry
Description This scenario describes the situation where only sorting, washing and folding are required. This is the main success scenario.
1 Housekeeper sorts laundry items.
2 Housekeeper washes each load.
3 Housekeeper dries each load.
4 Housekeeper verifies that laundry item does not need ironing, is clean and not shrunken.
5 Housekeeper verifies that laundry item is foldable.
6 Housekeeper folds laundry item
7 Housekeeper does this until there are no more laundry items to fold
Termination outcome Laundry is clean and folded
Alternative Flow 4A: Laundry item needs ironing.
Description This scenario describes the situation where one or more items need ironing before or in lieu of folding
4A1 Housekeeper verifies that the laundry item needs ironing and is clean and not shrunken
4A2 Housekeeper irons the laundry item
4A3 Housekeeper puts laundry item on a hanger
Termination outcome Laundry that needs ironing is ironed and hung up.
Alternative flow 4B: Laundry item is dirty.
Description This scenario describes the situation where the laundry item did not get clean the first time through the wash.
4B1 Housekeeper verifies that the laundry item is not clean.
4B2 Housekeeper rewashes the laundry item
Termination outcome Dirty laundry is rewashed.
Alternative flow 4C: Laundry item shrank.
Description This scenario describes the situation where the laundry item shrank.
4C1 Housekeeper verifies that the laundry item shrank
4C2 Housekeeper disposes of laundry item.
Termination outcome Laundry item no longer exists.
Alternative flow 5A: Laundry item needs hanger.
Description This scenario describes the situation where the laundry item needs to be hung instead of folded.
5A1 Housekeeper verifies that laundry item needs hanging.
5A2 Housekeeper puts laundry item on a hanger.
Termination outcome Laundry that needs hanging is hung up.
Post conditions: All laundry clean and folded or hung up.
Business Rules:
• Laundry can only be done on Wednesdays.
• All ironed laundry items get hung on hangers
• Any laundry item that is irrevocably soiled, shrunken, scorched, etc. , gets thrown out.
Keeping this in mind, can you give a heavyweight use case for an ATM Machine
Assistant
Use Case: Withdraw Cash
Actors: Bank Customer
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Use Case Overview: A bank customer wants to withdraw cash from their account using an ATM machine. The customer inserts their bank card into the machine, enters their PIN, and selects the amount of cash they wish to withdraw. The ATM verifies the account has sufficient funds, dispenses the cash, and prints a receipt.
Subject Area: Banking
Actor(s): The bank customer
Trigger: The customer needs cash and approaches an ATM machine.
Preconditions:
The customer has a valid bank card.
The customer knows their PIN.
The ATM machine is operational and has sufficient cash.
Basic Flow: Withdraw Cash
The customer inserts their bank card into the ATM machine.
The customer enters their PIN.
The customer selects the amount of cash they wish to withdraw.
The ATM machine verifies the account has sufficient funds.
The ATM machine dispenses the cash.
The ATM machine prints a receipt.
The customer takes their bank card, cash, and receipt.
Termination outcome: Cash is withdrawn successfully.
Alternative Flow 6A: Insufficient funds.
Description: This scenario describes the situation where the customer's account does not have sufficient funds to cover the withdrawal.
6A1. The ATM machine verifies that the account has insufficient funds.
6A2. The ATM machine displays a message indicating that the account has insufficient funds.
6A3. The ATM machine prompts the customer to enter a lower amount or cancel the transaction.
Termination outcome: The customer cancels the transaction or withdraws a lower amount.
Alternative Flow 7A: ATM machine runs out of cash.
Description: This scenario describes the situation where the ATM machine runs out of cash during the transaction.
7A1. The ATM machine verifies that it has run out of cash.
7A2. The ATM machine displays a message indicating that it has run out of cash.
7A3. The ATM machine prompts the customer to cancel the transaction or try again later.
Termination outcome: The customer cancels the transaction or tries again later.
Post conditions: The customer has withdrawn cash or cancelled the transaction.
Business Rules:
The customer must insert a valid bank card and enter the correct PIN.
The customer's account must have sufficient funds to cover the withdrawal.
The customer can only withdraw cash in whole dollar amounts.
The ATM machine must have enough cash to dispense the requested amount.
The customer must take their bank card, cash, and receipt before leaving the ATM machine.
If the customer does not take their bank card, the ATM machine will retain it for security reasons.