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.
What changed
- A Duplicates column of exact copies
- Each count opens where its copies were reviewed
- 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.
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.
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.
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.