Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
def urgency_tag(row):
|
| 2 |
if row['pricing_action'] == 'Raise Price' and row['synthetic_qty'] > 80:
|
| 3 |
-
return 'Fast-Moving'
|
| 4 |
elif row['pricing_action'] == 'Discount' and row['synthetic_qty'] < 10:
|
| 5 |
return '📦 Overstocked'
|
| 6 |
else:
|
|
@@ -76,7 +76,7 @@ X-axis: Reviewer roles assigned by governance logic (System, Inventory Analyst,
|
|
| 76 |
|
| 77 |
Y-axis: Number of products each role is responsible for reviewing
|
| 78 |
|
| 79 |
-
System has the highest count
|
| 80 |
|
| 81 |
Inventory Analyst is responsible for reviewing products flagged for Discounts, typically due to overstock or low demand
|
| 82 |
Visualize workload distribution across roles
|
|
|
|
| 1 |
def urgency_tag(row):
|
| 2 |
if row['pricing_action'] == 'Raise Price' and row['synthetic_qty'] > 80:
|
| 3 |
+
return '🔥Fast-Moving'
|
| 4 |
elif row['pricing_action'] == 'Discount' and row['synthetic_qty'] < 10:
|
| 5 |
return '📦 Overstocked'
|
| 6 |
else:
|
|
|
|
| 76 |
|
| 77 |
Y-axis: Number of products each role is responsible for reviewing
|
| 78 |
|
| 79 |
+
System has the highest count meaning most pricing decisions were auto-approved (i.e., flagged as "Stable" and didn’t require manual review).
|
| 80 |
|
| 81 |
Inventory Analyst is responsible for reviewing products flagged for Discounts, typically due to overstock or low demand
|
| 82 |
Visualize workload distribution across roles
|