OBLYTECH Logo
OBLYTECH Logo

Evaluation Sets From Closed Public Service Cases

An evaluation set built from closed public service cases is a collection of past requests, each paired with an agreed correct reply. Each new drafted reply is run against the same collection and scored with the same rubric. That repeatable scoring shows whether a change to prompts or routing made replies better or worse.

Deciding which closed cases belong in the set

Start with the question the set must answer. A set for benefits inquiries needs a different mix of cases from one built for permit checks. Write the intent in one sentence before you pull any records, since that sentence decides what counts as a representative case.

Pull closed cases from a window that matches how the service runs today. Cases from three years ago may reflect a retired form or an old rule. Six to twelve months is a common starting window for steady volumes. Write the window into the set header so later readers know what the set represents.

A random draw tends to over-represent easy, high-volume requests, so the set can look healthy while missing the hard ones. Set quotas by request type and by outcome. Include reopened and escalated cases in proportion to their risk rather than their volume, because a drafted reply is more likely to go wrong in those cases.

Public service cases handled in customer service management for public sector agencies look different from requests raised through request fulfillment and service catalog for public sector agencies. Set a separate quota for each source so both kinds of work appear in the test results.

Include a few cases from each of these groups:

  • Requests that carry a payment, a deadline or an eligibility decision
  • Cases reopened or escalated after the first reply
  • Cases where a letter or scanned form was read before replying
  • Cases written in a second language, if your service handles them

Preparing case text without exposing personal data

Closed cases often hold more personal data than a reply needs. Check your records and privacy rules before copying anything, and agree who can see the set, where it is stored and how long it is kept.

Redact in a fixed order so each step can be checked. Remove direct identifiers first. Replace dates of birth and street addresses with placeholders such as [DOB] or [ADDRESS-1]. Then read the free-text notes, where staff often type identifiers that field-level rules do not catch. Log who redacted each case and when.

Keep placeholders consistent. If a customer appears as [CITIZEN-1] in the question, the same token should appear in the draft under test. A mismatch makes a sound reply look wrong, and a reviewer then spends time on a problem that does not exist.

Writing the agreed answer for each case

The agreed answer anchors the set. It is not the reply the agent happened to send, because closed cases include slow or incorrect replies that the set should not reward. Build the answer from the policy in force on the case date, then compare it with what the customer received.

One subject matter expert writes the agreed answer and a second person reviews it. Where they disagree, settle the point against the policy text rather than by majority vote. A disagreement the policy cannot settle usually means the policy wording needs clarifying.

What the agreed answer must contain

Record four things so reviewers have something concrete to score against:

  • The outcome the customer should receive, stated as a plain fact
  • The next step the customer must take, with the channel and deadline if the policy sets them
  • The case facts the reply must quote, such as a reference number or decision date
  • The content the reply must leave out, such as internal routing notes or staff names

Keep the agreed answer short. Long answers score less consistently, because every extra clause gives reviewers another point to disagree on.

Building a scoring rubric that reviewers apply the same way

A rubric turns judgment into checks that different reviewers can apply the same way. Score each draft on a few dimensions: accuracy against the agreed answer, required content, prohibited content, tone, and clarity of the next step. Give each score level a written description so the scale means the same thing to everyone.

Use these steps for each draft:

  1. Check the draft for prohibited content first, and fail the case if any appears.
  2. Compare each fact in the draft with the agreed answer and note each mismatch.
  3. Confirm that each required element from the agreed answer appears in the draft.
  4. Rate tone and readability against the written scale.
  5. Record the reviewer’s name, the rubric version and the date.

Before scoring the full set, have three reviewers score the same twenty cases independently. Where scores differ by more than one point on a dimension, rewrite that dimension’s description and score the twenty cases again. Teams that skip this step tend to find that scores move when the reviewer changes, which says more about the reviewers than the drafts.

Splitting the set so tuning does not inflate results

Once the set exists, teams tune prompts, knowledge content and routing until scores rise. If the same cases both choose a change and judge it, the score stops measuring quality. Split the set into a development part for tuning and a holdout part that is opened to check a finished change.

A two-thirds and one-third split is a common starting point, although a small set may need a different ratio so each request type still has holdout cases to report. Keep the holdout sealed, and avoid reading its drafts during tuning.

When a change scores well on development but poorly on holdout, treat the gap as a sign of overfitting. Go back to the change rather than moving cases between the two parts to get a better result.

Running a test cycle from draft to decision

A test cycle follows a fixed order, so results from different runs can be compared:

  1. Freeze the set version, the rubric version and the generator settings under test.
  2. Generate drafts for all development cases and store each draft beside its case identifier.
  3. Score the drafts under the rubric and record the results in a spreadsheet with one row per case.
  4. Compare the results with the last accepted version and list each case that moved from pass to fail.
  5. Review each regression before accepting the change, since a drop on one case may point to a real fault or to a flaw in the agreed answer.
  6. Run the holdout part once development results are acceptable, and record the holdout result with the change.

Change one thing at a time, such as a prompt wording or a knowledge article, so a score movement can be traced to its cause. Bundling several changes into one run makes a rise or fall hard to explain.

For help planning this work, see AI and ML services.

Keeping the set current as the service changes

An evaluation set goes stale. Policies change, forms are replaced and new request types appear. A set built on last year’s rules will reward replies that follow rules nobody uses now. Review the set when a policy or form changes, and check it on a fixed schedule such as each quarter.

Retire cases to an archive rather than deleting them, so past results can still be reproduced. Record the version that introduced each new case. A new version should state how many cases were added, how many were retired and which request types changed. Keep scores from the previous version beside the new ones.

Watch for drift between the set and live work. Compare the mix of request types in the set with the mix in the latest closed cases each quarter. A jump in one request type after a policy announcement is a reason to add cases for that type before the next test cycle.

Connecting the set to human review after release

A set measures drafts before they reach a customer, not how they perform in production. Pair each test cycle with a sample of live drafts reviewed after release, and feed the errors back into the set as new cases with agreed answers. For oversight once a service is live, see AI observability and human oversight.

Questions about sizing, ownership and scoring a closed-case set

How many cases should a first evaluation set contain?

There is no fixed number that suits all services. Size the set so that each request type has enough cases for a score change to mean something. Small request types may need their own quota so larger types do not crowd them out. Where a type has a handful of cases, report its results separately rather than folding them into the total.

Can a model draft the agreed answers?

A model can draft a first version of an agreed answer from the policy text, which gives the expert a starting point to check. The expert still checks the draft against the policy in force on the case date. A draft that reads well can still rely on a retired rule, so treat it as a starting point for editing.

Who should own the set after it is built?

Ownership sits best with the team that owns the service policy, with a named editor who holds the rubric and the version history. People who run the drafting tool should review results but should not be the sole owners, since they have a stake in scores rising.

What happens to old scores when the rubric changes?

Rescore the current drafts under the new rubric before comparing them with earlier results. Scores from the old rubric are not directly comparable with the new one. Record both sets of results and label the rubric change in the version note, so the trend line does not suggest an improvement that came from a scoring change.