frisket DocsSearch

How-to guides

Check an action against expected answers

Join a sheet of known answers to saved output and compare the matching rows.

Prepare the answer sheet

Sometimes you already know the right answers for some of your documents: a reporter checked twenty filings by hand, or an agency published a summary table. That's an answer key, and it's the most reliable way to measure an action. Frisket compares the action's output with the key on every row and tells you how often it matched, field by field.

You need two things:

Import a table

The identifying column has to match exactly. If the key says "RV-CV-2026-00418.pdf" and your sheet says "RV-CV-2026-00418_alvarez.pdf", the rows won't pair up.

Join the matching rows and fields

On the Tables tab, click Join expected answers.

Tables: Join expected answers

The dialog has three steps:

  1. Sheets. Under Expected sheet, choose your answer key. Under Action to check, choose the run. Click Next.

    Sheets: the answer key and the run to check
  2. Match rows. Choose the column in each sheet that identifies the document. Frisket shows how many rows matched, how many weren't found and how many matched more than once. Fix any that matched more than once before going on; usually it means the key has duplicate rows.

    Match rows: the identifying column in each sheet
  3. Columns. For each answer column, choose the output it should be compared with, and a match rule. Click Join.

Columns: each expected answer paired with an output and a match rule

The match rule decides what counts as the same answer. Choose it for what the field holds:

Inspect matches and misses

On the Analyze tab, click Compare and choose the run ending in vs expected.

Analyze: Compare

Click a field's name to see how the run did on it. The filters narrow the rows: Any miss shows every row where the output didn't match.

Any miss: the rows where the output differs from the answer key

Open each miss and read the source. A miss isn't always the action's fault:

If any fields use Score by hand, click to score by hand and mark each answer.

Compare action variants

Keep the key for another comparison

The answer key is an ordinary sheet, so it stays in the project. To use it in another project, export it as CSV and import it there, then join it again. The join's settings, such as which columns pair up and the match rules, don't travel with the CSV.

Export data

Try an example

Turn court filings into a checked table →

Related

Review saved results →