Skip to content

Latest commit

 

History

History
78 lines (49 loc) · 2.79 KB

File metadata and controls

78 lines (49 loc) · 2.79 KB

Customer Membership Program

1. Case Description

PacCommerce is a new e-commerce service that has tier membership feature:

  • Silver
  • Gold
  • Platinum

Each tier membership has the benefit provided in this table:

Membership Discount Another Benefit
Platinum 15% Benefit Silver + Gold + Voucher Liburan + Cashback max. 30%
Gold 10% Benefit Silver + Voucher Ojek Online
Silver 8% Voucher Makanan

Each tier membership has also the requirements:

Membership Monthly Expense (juta) Monthly Income (juta)
Platinum 8 15
Gold 6 10
Silver 5 7

2. Features Requirement

  • Show benefit and price of each tier membership
  • Show requirements for each tier membership
  • Predict membership for user based on their monthly expense and monthly income
  • Update user data after predicting membership
  • Calculate final price and discount based on their membership

3. Data

The user data is dictionary type containing:

  • Username
  • Membership (Platinum, Gold, Silver)

4. Test Case

In test case, there is a new user named Shandy. We predict his membership based on his monthly expense (Rp 9.000.000) and monthly income (Rp 12.000.000). Then calculating final dan discount price for his shopping

1. Show benefit and price of each tier membership

Alt text

2. Show requirements for each tier membership

Alt text

3. Predict membership for user based on their monthly expense and monthly income

Alt text

4. Update user data after predicting membership

Alt text

5. Calculate final price and discount based on membership prediction

Alt text

5. Special Test Case

  • In special test case 1, there are users named Ana and Elsa. User Ana is already in our data, while user Elsa is not listed in our data.

    Alt text

  • In special test case 2, there is a new user named Bambang. We predict his membership based on his monthly expense (Rp 3.000.000) and monthly income (Rp 4.000.000). Then calculating final and discount price for his shopping.

    Alt text

Author Copyright (c) 2024 Muhammad Chavez Assad Patriot