All work The queue

Catching duplicate documents kept a customer that was ready to leave

The queue
Company
OPEXUS / Casepoint · FOIAXpress
Role
Lead Product Designer: design sessions with customers, interaction design, prototyping
Timeline
2023 to 2025

The business problemOPEXUS, 2023

One of OPEXUS’s largest customers, a federal department, was ready to leave because its officers kept reviewing the same documents over and over. Other agencies had the same problem, and if the department moved to software that handled documents better, they might follow it out.

A nine-step specification from the customer

The department had been finding duplicate documents by hand since 2019. By the time I met its team they were frustrated enough to write the fix themselves: a specification for duplicate detection nine steps long, with four actions an officer could take on a match and a score whose thresholds changed from office to office. If we built it, they’d stay.

It was a careful document, and you could tell it had been written in frustration. My job was to keep the department happy while I took it apart, fitting it to what our system could actually do and showing them where something simpler would serve their officers better. I went to the department three times and their team came to us three times. Every session ran all day, and every version of the design came out of one of them.

Exact copies first

Which part of the specification should ship first?

Officers reviewed every document in a request, and nothing told them the same document had already been reviewed for another one.

Exact matches, the first release
The departmentWe’ve been finding duplicates by hand since 2019.
EngineeringWe can match identical files by their hash first. Matching the same text after OCR has to come later.
CounselA duplicate can still be needed in litigation, so it can’t just be deleted.
My point of viewStart with exact copies. Show how many reviewed copies each document has, and let the officer swap one in, for this request only.

What changed

  1. A Duplicates column of exact copies
  2. Each count opens where its copies were reviewed
  3. The reviewed copy swapped in, and nothing deleted

A replaced document leaves the officer’s view and the working system, and it’s kept in storage for counsel. When a match sits in a request the officer can’t open, it shows as a blurred document with no name or description and says who owns it, so the officer can ask for access and give a reason.

The department piloted the first release on its own around the start of 2024. We tuned the matching and the comparison from what its officers did and added bulk actions after the pilot. Its officers caught thousands of duplicates and closed dozens of cases, and the department kept its contract. Duplicate detection then went out to ten more agencies.

Near matches, one pair at a time

Near matches came later in 2024. A model scores how alike two documents are from their text, but two near matches differ somewhere by definition, and an officer has to see where before deciding anything. I took the comparison from code review and from Apple’s Time Machine. One pair shows at a time, in a stack. The line that differs is marked on both pages, pointing at the score shows what went into it, and each document lists the requests it’s already in and whether it’s been reviewed. Officers often need to read a document or check its redactions before they decide, so either page opens both side by side, scrolling together, with the decision still under them. One click replaces the document with the reviewed copy, keeps both, or marks the pair as not a duplicate.

Near matches, one pair at a time

Closing requests before the wait

Duplicate documents were the tail end of a longer problem. By 2024 the wait for records was about 90% of the time it took to answer a request, as the research found. Some of the requests sitting in that wait had been answered before. Others had been filed twice, or sent to the wrong agency.

Early on I’d drawn one set of tools to close those requests before the wait began. Intake and triage would catch duplicate requests and misroutes at the door. A queue for each officer would show what to do next, and a requests page would open on the officer’s own work. Duplicate detection for documents would catch whatever made it through to review. The company could fund one piece at a time, so they shipped separately, starting with the one the department needed. The requests page is in the design system case study.

A queue for each officer

My Work came next, and it grew out of duplicate detection. An intake officer checks each new request and sends the ones that hold up to a case processor, by expertise and workload. My Work is that processor’s queue. It used to be a search result: a table of every request assigned to them, a Next button on each row, and nothing that said what to do first. Now it opens on the processor’s own requests, soonest due first. Each one has a title and a summary drawn from what the requester asked for, its status, and the days it has left. Beside them are the other queues the processor works from, their secondary assignments and each team they belong to, with a count on each.

My Work, before and after

Flags at intake

After the merger with Casepoint, staffing cuts at federal agencies left fewer officers with more requests each, as the usage data showed. Intake and triage had waited years for its turn, and that finding put it on the roadmap. It started from My Work. Detection of duplicate requests moved into it, and an officer can still sweep the whole queue for duplicates whenever they like.

Some of the checks at intake are models and some are rules, but to an officer they all work the same way. The system suggests, and the officer decides. A model scores how close a new request is to the ones already in the queue, and the flag shows that score with the words the two share. Rules suggest where a misrouted request belongs, and every rating an officer gives a suggestion goes back into the rules. Another model flags a request too vague to search on, drafts the note asking the requester for more, and learns where each agency draws that line from what its officers send, edit, or override. Models also write the title and summary on each card. An officer can edit either one, and the request as the requester wrote it is one click away.

Requests that never needed processing

Duplicates filed after a news event, requests meant for another agency, requests missing the details needed to search, and ordinary requests all landed in the same queue. Each check flags one kind, shows why, and leaves the decision to the officer, with one click that can be undone.

Merging automatically would have been simpler to build. But a merge that shouldn’t have happened gives someone an answer to a question they never asked, and it leaves the agency out of compliance. The flag is the same interruption the public portal’s request form uses, which by then was a pattern in the design system.

A potential duplicateA new request that looks like one already in the queue comes with its score, the language the two share, and both side by side. An officer can also sweep the whole queue for duplicates at any time.
A potential misrouteWhen a request’s content suggests another agency holds the records, the flag names the agencies more likely to hold them and offers the transfer. Officers rate each suggestion.
The end of the queueEach way of resolving a request has an animation of its own. The queue ends with a checkmark and a count of what became of the day’s requests.

What I learned

Identify what matters and let it shine

The department’s specification had nine steps, four actions, and scores with thresholds for each office. The first release showed a count on each document and let the officer swap in the reviewed copy. The department piloted that, and the ten agencies after it got the version the department’s own officers had shaped.

There is such a thing as good friction

Closing requests automatically would have been simpler to build, and a wrong merge answers a question nobody asked. Every flag shows why it was raised and waits for one click from the officer, which can be undone. Where a summary can’t tell what a request is asking for, it shows a question mark instead of a guess.

What I would do differently

After my first trip to the department, our chief marketing officer and chief product officer told me to let them lead. I’d talked about the design too eagerly, before the department had committed to a solution. I’d let the people who own a customer relationship lead it, and bring the design in when they ask for it.