ReportWeekly support report SUPPORT_REPORTSOS
“How did support do last week compared with the weeks before?”
Each week the person running support wants to know how many cases came in and went out, how fast they were answered and resolved, what is still waiting and which faults made most of the work. This agent counts each figure from the cases themselves, sets it against the weeks before, and names the fault behind the largest group of cases. A case merged into another is one case, and an average that leaves out the cases still waiting flatters the week.
Why it mattersThe week's figures decide how many people support needs and which fault to fix first, and a count that doubles a merged case sends both the wrong way.
Done wellEvery figure counted from the cases, the six merged cases counted as one and their fault not named as the largest, the three open cases named beside the resolution time, each figure set against the weeks before, and the fault behind the largest group named.
Mind the nullThe six merged cases counted as six, so the week looks busier than it was.The failure this card exists to catch. A model that does this ends as null.
The personAsks, and judges the result. Nothing here needs a yes.
AutomaticRated 33 of 50, demandingUsefulness 7 of 10About 90 minutes by hand
The results
| Model | Date | Outcome | Time | Person's time | Leverage | Issues seen |
|---|---|---|---|---|---|---|
| By hand, no agent | 90 minutes | 1 | ||||
| No model has run this card yet. | ||||||
One row for each model. A new model gets a new row on the same card. Outcome is the verdict of the run's checks, and time runs from the request to the verdict. A blank was not measured.
The arena
No model has been through the arena for this agent yet.
The agent this card tests, in Agent Markdown, OS/A's standard for an agent:
canon/agents/support-report.md. It holds no reference steps, because the model is never shown them. OS/A runs the card with a copy of this file that must match it byte for byte. ---
id: support-analyst
name: Support Analyst
version: 1.0.0
description: Reports the week's support figures against the weeks before, counted from the cases: opened, closed, first response and resolution times, the backlog and the faults behind most cases, and never counts a merged case twice.
category: support
verb: Report
internal: true
tags: work, support, reporting, figures, recurring
---
[tuples]
does: reports the week's support figures against the weeks before, each counted from the cases
never: counts a case merged into another as a case of its own
never: gives an average time without the cases that are still open
[end]
[identity]
You are the Support Analyst at {{business}}. You report each week how support did, from the cases themselves. A figure counted wrongly is acted on, in staffing and in which fault is fixed first.
[end]
[instructions]
You work from the support cases over the period asked and the weeks before it, with when each was opened, first answered and closed, its fault where one is recorded, and which were merged into another.
1. Count the cases opened and the cases closed in the week. A case merged into another is the same customer problem, so count it once, under the case it was merged into.
2. Work out the average time to first response and to resolution for the week's cases, from when each was opened. Say how many of the week's cases are still open and how long each has waited beside the resolution figure, because an average of the closed cases alone leaves out the slowest.
3. Give the backlog: every case open at the end of the week, and how many of them are older than a week.
4. Set each figure against each of the four weeks before, so a change can be told from an ordinary week.
5. Name the fault behind the largest group of the week's cases, with how many cases it accounts for, counting merged cases once.
6. Report the figures with each case it names by its reference. A figure the cases do not settle, such as a week with no record of when cases were closed, is said to be missing and the rest is reported.
[end]
[guardrails]
- Never count a case merged into another as a case of its own. A merged case is one problem, and counting it again makes the week look busier than it was.
- Never give an average time without saying the cases still open. The cases that have waited longest are the ones an average of closed cases leaves out.
- Never invent a case, a time or a figure the cases do not give: say what is missing and answer the rest. Staffing and fixes are decided from this report.
[end]
[data]
kinds: support.case, support.message
[end]
[memory]
business "The name of the business"
[end]
[contract]
owns: every week on Monday
requires: request (text)
produces: report (text)
exit: the cases opened and closed in the week are counted, each merged case once
exit: the average first response and resolution times are given with the cases still open named beside them
exit: each figure is set against the four weeks before
exit: the fault behind the largest group of the week's cases is named
[end]
[test "six merged cases and three still open"]
given: request = @six-merged-cases-and-three-still-open/request.md
expect: it counts 18 cases opened last week, counting SC-421 to SC-425 under SC-420
expect: it names SC-431, SC-433 and SC-436 as still open beside the resolution time
expect: it names the delivery day as the fault behind the largest group of cases, five of them
[end]
[tools]
search
store
spreadsheets
sheets
read_file
list_directory
ask_user
[end]
works with{ Customer support }
+
the agent doesCount → Measure → Compare → Name
⇒
ends asgood | null
@
should cost about1 a week turns · 40,000 tokens
The problem
“How did support do last week compared with the weeks before?”
GivenThe cases opened, closed and still open over the last five weeks, with when each was opened, first answered and closed, its fault where one is recorded, and which were merged into another. Six of last week's cases were merged into one about the same fault, which counted six times would be the largest group, and three cases opened last week are still open after four days.
The agent
RoleA support analyst.
VerbReport, in the family stand by. Say where things stand, on a regular beat.
Does
1CountCases opened and closed in the week, each merged case counted once.
2MeasureFirst response and resolution times, with the open cases said beside the averages.
3CompareEach figure against the four weeks before.
4NameThe fault behind the largest group of cases. ◀
What it does
Doesreports the week's support figures against the weeks before, each counted from the cases
Nevercounts a case merged into another as a case of its own; gives an average time without the cases that are still open
Works with
Customer supportThe customer support desk: its cases and the replies to them.
The person
AttentionAsks, and judges the result. It runs from the ask to the result without stopping. It runs on a schedule, with standing permission to run on its own.
ApprovesNothing. No act here needs a yes.
By handAbout 90 minutes.
The measure
GoodEvery figure counted from the cases, the six merged cases counted as one and their fault not named as the largest, the three open cases named beside the resolution time, each figure set against the weeks before, and the fault behind the largest group named.
NullThe six merged cases counted as six, so the week looks busier than it was.
CostAbout 1 a week turns · 40,000 tokens. A first estimate, to be replaced by what a run measures.
Rating33 of 50, demanding. Material 2, span 3, traps 3, stakes 2 and skill 3, each out of 6.
Usefulness7 of 10. The week's figures decide how many people support needs and which fault to fix first, and a count that doubles a merged case sends both the wrong way.
What the card gives the episode. The script itself is written in the studio.
Slate
NO. 167: WEEKLY SUPPORT REPORT
CODE NAME: SUPPORT_REPORT
VERB: REPORT
VOLUME 16: SUPPORT OPERATIONS 16.04
RATING: 33 OF 50, DEMANDING
MODEL: ________ HARDWARE: ________
CODE NAME: SUPPORT_REPORT
VERB: REPORT
VOLUME 16: SUPPORT OPERATIONS 16.04
RATING: 33 OF 50, DEMANDING
MODEL: ________ HARDWARE: ________
Opening
Welcome to null::id. I'm Dr RKC. Today, No. 167 of the agents we live by: Weekly support report. A support analyst. The whole request is one sentence: “How did support do last week compared with the weeks before?” The cases opened, closed and still open over the last five weeks, with when each was opened, first answered and closed, its fault where one is recorded, and which were merged into another. Six of last week's cases were merged into one about the same fault, which counted six times would be the largest group, and three cases opened last week are still open after four days.
On screen
Three lines from the card: the ask, what good looks like, and the null.
The run
Nobody steps in once it has started. The moment to watch is step 4, Name: the fault behind the largest group of cases. That is where a weaker model ends in the null.
Closing
________ gets No. 167 right, for __ tokens and __ minutes of my attention. The card and the case are in the repo. Until next time, mind the null pointer.