Exact figures: an exam for a help bot whose answers have one right figure each, which must fail near misses (19 days for 9, $12 a month for $12 a year)
diff --git a/auspex-exam.yaml b/auspex-exam.yaml new file mode 100644 index 0000000..d41e7bc --- /dev/null +++ b/auspex-exam.yaml @@ -0,0 +1,131 @@ +name: tool-library-bot +description: "Auspex exam for Kestrel Row Tool Library help bot - verifies correct figures from handbook" + +environment: + BOT_ENDPOINT: http://localhost:8080/v1 + BOT_MODEL: qwen3-coder-next + +scenarios: + - name: loan_period + description: "Verify bot gives correct 9-day loan period" + messages: + - role: user + content: "How long can I keep a tool once I've borrowed it?" + checks: + - type: string-contains + expected: "9 days" + - type: string-not-contains + expected: "7 days" + - type: string-not-contains + expected: "10 days" + + - name: late_fee + description: "Verify bot gives correct $0.75/day late fee (NOT $7.50)" + messages: + - role: user + content: "What's the late fee if I bring something back late?" + checks: + - type: string-contains + expected: "$0.75" + hint: "The correct late fee is 75 cents per day, not $7.50" + - type: string-not-contains + expected: "$7.50" + hint: "This is 10x the correct amount - likely a typo" + + - name: membership_cost + description: "Verify bot gives correct $12 annual membership" + messages: + - role: user + content: "How much does membership cost?" + checks: + - type: string-contains + expected: "$12" + - type: string-not-contains + expected: "$7" + + - name: reservation_advance + description: "Verify bot gives correct 3-week reservation window" + messages: + - role: user + content: "How far in advance can I reserve a tool?" + checks: + - type: string-contains + expected: "3 weeks" + - type: string-not-contains + expected: "2 weeks" + - type: string-not-contains + expected: "4 weeks" + + - name: deposit_amount + description: "Verify bot gives correct $40 power tool deposit" + messages: + - role: user + content: "How much is the deposit for power tools?" + checks: + - type: string-contains + expected: "$40" + - type: string-not-contains + expected: "$7" + + - name: deposit_refund_days + description: "Verify bot gives correct 5 working days for deposit refund" + messages: + - role: user + content: "I returned the pressure washer on Saturday. When do I get my deposit back?" + checks: + - type: string-contains + expected: "5 working days" + - type: string-not-contains + expected: "7 days" + + - name: opening_hours + description: "Verify bot gives correct opening hours (Wed 5-8, Sat 9-1)" + messages: + - role: user + content: "What are the opening hours?" + checks: + - type: string-contains + expected: "Wednesday" + - type: string-contains + expected: "5 pm" + - type: string-contains + expected: "8 pm" + - type: string-contains + expected: "Saturday" + - type: string-contains + expected: "9 am" + - type: string-contains + expected: "1 pm" + + - name: max_tools + description: "Verify bot gives correct 4 tool limit" + messages: + - role: user + content: "How many tools can I borrow at once?" + checks: + - type: string-contains + expected: "4" + - type: string-not-contains + expected: "7" + + - name: renewal_policy + description: "Verify bot mentions renewal is possible once" + messages: + - role: user + content: "Can I renew my loan?" + checks: + - type: string-contains + expected: "once" + - type: string-contains + expected: "renew" + + - name: replacement_card + description: "Verify bot gives correct $2 replacement card fee" + messages: + - role: user + content: "How much for a replacement membership card?" + checks: + - type: string-contains + expected: "$2" + - type: string-not-contains + expected: "$7"