Transparent evaluation

How RedactAgent redaction workflows should be benchmarked

A defensible benchmark measures the complete review path—not only whether a model found a name in extracted text.

Synthetic Carlos Garnell legal document benchmark set in RedactAgent

Benchmark scope

Synthetic matter

Use a versioned matter containing PDFs, scans, images, email families, office documents, spreadsheets, CSV data, duplicates and inaccessible exceptions. Synthetic data avoids exposing client information and permits repeatable expected outcomes.

Ground truth

Record target text, page or cell location, category, rationale, document-family context, expected production decision and whether human review is mandatory. Hash the manifest and source files.

Version control

Record application revision, prompts, model versions, OCR processor versions, configuration, regional endpoints and timestamps. Results without version evidence cannot be reproduced or compared fairly.

Metrics that matter

Detection

  • Target-level precision and recall.
  • Category confusion and missed-document rate.
  • Results split by file type, scan quality and content layer.

Placement

  • Text-anchor and region intersection with ground truth.
  • Complete coverage at export resolution.
  • Spreadsheet row, column, sheet and formula correctness.

Workflow

  • Reviewer acceptance, change and rejection rates.
  • Unresolved exception and privilege-routing rates.
  • Time, pages, model calls and cost per completed matter.

Production

  • Searchability of removed values after export.
  • Metadata, attachment and hidden-layer sanitisation.
  • Manifest completeness and hash verification.

Failure handling is part of the score

A benchmark run should fail closed when the configured model, OCR service or output schema cannot provide a valid answer. Deterministic guessing must not be counted as successful AI review. Partial runs should identify completed documents, failed documents, retry state and every production blocker.

Report raw counts alongside percentages. A high aggregate accuracy can conceal a complete failure on spreadsheets, scans, faces, signatures, privilege or document families.

Publication standard

Publish the corpus version, manifest hash, test date, environment, limitations and full metric definitions. Separate observed test results from product claims and never use real customer content without explicit authority.

Next resource

Use the legal redaction QA checklist to validate individual productions.