Updated UAT_PLAYBOOK.md §3.2 — new test cases for GRO-1962:
- TC-API-3.25: Verify 30+ total pets in UAT DB
- TC-API-3.26: Verify 25-35% medicalAlerts distribution
Co-Authored-By: Paperclip <noreply@paperclip.ing>
Fixes GRO-1962:
- Random pet loop (lines 968-982): removed stale uc.petName references
that caused runtime ReferenceError (uc declared ~80 lines later at line 1048)
- UAT test clients loop: moved TestCooper/TestRocky deterministic checks
inside the rand()<0.3 branch so they receive alerts ~30% of the time
rather than 100% of the time (previously the checks fired before the
random gate, always triggering)
This gives a true ~30% medicalAlerts distribution across all pets,
well within the TC-API-3.22 acceptance criteria band of 25-35%.
Co-Authored-By: Paperclip <noreply@paperclip.ing>