Repository navigation
Commit 42b3e57
committed
test(qa-scenarios): add the leave_balances mid-tier scenario card
The 请假与假期余额 (leave and balances) card: seven objects (department,
employee, leave_type, leave_balance, leave_request, leave_day,
approval_step), a route set by the request's days (manager only up to
3 days, manager then HR above), the balance reduced on approval, three
personas (two row-scoped), 120 requests from July to October 2026,
10 questions, 6 operations and 4 agent actions.
Its own test file pins every computed truth, over all rows and per
persona, against hand-worked values, checks the seed against the rules
the card states, and shows a wrong seed cell and a wrong truth spec in a
fixture copy go red.
Claude-Session: https://claude.ai/code/session_016WV4cw5kGUbtDLQqKwTH7E
Co-authored-by: Claude <noreply@anthropic.com>1 parent 66a8822 commit 42b3e57
2 files changed
Lines changed: 1342 additions & 0 deletions
0 commit comments