SHELLAPANDIANGANHUNGING commited on
Commit
3133ce7
·
verified ·
1 Parent(s): 72da1b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -2384,16 +2384,16 @@ else:
2384
  # FALLBACK RULE-BASED
2385
  recs = []
2386
  if dev["lowest_ratio_9_locs"]:
2387
- recs.append({"point":"1","rec":"Launch spot-inspection sprint at low-ratio locations.","mit":"Enable 3-min QR checklist + auto-reminder."})
2388
 
2389
  if parts:
2390
- recs.append({"point":"2","rec":"Activate capacity dashboard.","mit":"Trigger coaching alerts if deviation >20%."})
2391
 
2392
  if uc + ua + nm > 0:
2393
- recs.append({"point":"3","rec":"Enforce photo-based validation.","mit":"Block submission without evidence."})
2394
 
2395
  if dev["obj5_q1_divs"] or dev["obj5_q2_divs"]:
2396
- recs.append({"point":"4","rec":"Assign safety crews to QI divisions.","mit":"Auto escalate if stuck 2 months."})
2397
 
2398
  if dev["obj6_top2_categories"]:
2399
  c1, c2 = dev["obj6_top2_categories"]
 
2384
  # FALLBACK RULE-BASED
2385
  recs = []
2386
  if dev["lowest_ratio_9_locs"]:
2387
+ recs.append({"point":"1","rec":"Launch spot-inspection sprint at across the 9 lowest-ratio locations.","mit":"Enable 3-min QR checklist + automated WhatsApp reminders."})
2388
 
2389
  if parts:
2390
+ recs.append({"point":"2","rec":"real-time monitoring of finding/reporter ratios and resolution lead times per division/individual.","mit":"Trigger coaching alerts to Area PICs & Division"})
2391
 
2392
  if uc + ua + nm > 0:
2393
+ recs.append({"point":"3","rec":"Enforce photo-based validation for Unsafe Condition/Action/Near Miss submissions to ensure accurate categorization.","mit":"System blocks submission if photo evidence or category justification is missing."})
2394
 
2395
  if dev["obj5_q1_divs"] or dev["obj5_q2_divs"]:
2396
+ recs.append({"point":"4","rec":"Assign dedicated safety crews to Quadrant I divisions; enforce One Finding, One Day closure policy for Quadrant II.","mit":"Auto-generate executive escalation reports to VP Operations if any division remains in QI/QII for ≥2 consecutive months."})
2397
 
2398
  if dev["obj6_top2_categories"]:
2399
  c1, c2 = dev["obj6_top2_categories"]