Define the decision the evaluation supports
State whether the trial is assessing a preparation workflow, a detection configuration or a proposed procurement requirement. Identify the intended document collection, recipient and use. Without those boundaries, a score can appear precise while answering a different question from the one the organisation needs to resolve.
Keep the final release decision separate. Finding a candidate, deciding that it should be removed, applying the removal and approving a usable output are different steps. A detector can identify the right passage while the final export retains an unwanted object. A workflow can also remove text correctly but destroy context required for the recipient's task. The evaluation should inspect both cases.
Establish approved reference decisions
Establish the reference decisions before scoring:
- Use authorised sources and people who understand the policy.
- Identify the required removals and the material that must remain.
- Record the source version, relevant region and decision reason.
- Resolve disagreements before treating the annotations as the scoring reference.
The reference is specific to the task. A customer name might be necessary in one approved review and excluded from another. Contextual commercial terms may require a different judgement from an exact identifier. If a policy question remains unresolved, label it as such and assign an owner instead of forcing a tool or reviewer error into the results.
Preserve the reference set and access controls around it. It contains sensitive sources and expected decisions, so it should not become an unrestricted testing archive. Use an approved evaluation environment and confirm any handling conditions before supplying material to another party.
Specify the counting unit and matching rule
Decide whether a unit is an occurrence, a defined text span, a region or another clearly described object. A sensitive value appearing in three locations may require three separate removals; counting only the distinct value can hide a missed occurrence. Keep that rule consistent across the reference and proposed findings.
Define how partial matches are handled. A box covering most of an identifier but leaving required content visible should not silently count as a complete match. Conversely, an expanded region may remove necessary neighbouring text. Record both coverage and unwanted loss under the project's rule rather than choosing the interpretation that makes the result look strongest.
Use the same unit for comparisons. A character-level score cannot be treated as equivalent to a document-level pass rate. Explain the denominator whenever reporting a metric, including which files, representations and categories were eligible for that calculation.
Use a small set of interpretable measures
The scikit-learn evaluation documentation explains classification measures including precision and recall. For a redaction evaluation, their meaning depends on a valid project-specific matching rule and counting unit; the library documentation does not validate the reference decisions or the output file.
| Measure | Question it answers | Important limit |
|---|---|---|
| Correct matched removals | Which proposed items match required removals? | Depends on the agreed match rule |
| Missed required removals | Which required items were not found adequately? | Must include repeated occurrences under the chosen rule |
| Unnecessary removals | Which proposed items should remain? | May affect meaning as well as reviewer workload |
| Precision | How many proposed removals were correct? | Does not describe all required content that was missed |
| Recall | How many required removals were found? | Does not establish final-file removal or usability |
| Completed usable outputs | Which files meet release conditions? | Requires checks beyond candidate detection |
If TP denotes correct matches, FP unnecessary proposed removals and FN missed required removals, precision = TP / (TP + FP), and recall = TP / (TP + FN). State how zero-denominator cases are handled. A file with no applicable reference items should not silently become evidence of perfect recall.
Walk an illustrative case through the record
Consider a deliberately constructed test contract, not a customer result. The approved policy requires a contact name to be removed from both the body and footer, while a nearby effective date must remain. Under an occurrence-based rule, the reference contains two required removals even though both occurrences contain the same name.
If the proposed findings cover the body name, miss the footer and select the effective date unnecessarily, record one correct match, one missed required removal and one unnecessary proposed removal. Counting only whether the name was found anywhere would hide the footer miss. Counting every selected region as useful work would hide the date error. Preserve the source locations and policy decisions so another reviewer can reproduce that classification.
Now inspect the completed export separately. If an accepted selection was correct but the delivered representation retains the excluded content, record an output failure rather than rewriting the detection record to make it appear successful. If a broad selection removes necessary neighbouring text, record the usability consequence too. This example illustrates the accounting method; it is not a measured accuracy result for any product or an acceptance threshold for a real project.
Sample the variation that matters
Build the sample coverage around the proposed collection:
- Include the expected formats and languages.
- Represent the document sources and quality conditions.
- Include tables, scans, repeated fields and contextual passages where relevant.
A set of clean, familiar identifiers is not sufficient evidence for complex contracts or poor image inputs.
Keep findings separated by meaningful groups. An overall result dominated by a common easy format can conceal an unacceptable problem in a less frequent but important category. Record the size and coverage of each group and the examples still missing from the evaluation. Do not describe an untested group as covered merely because it shares a filename extension with tested files.
Set aside an evaluation portion that is not used to choose instructions or settings. Avoid near-duplicate documents appearing on both sides of that separation. This helps distinguish a process that handles the intended variation from one tuned around the same sample repeatedly; it is not an assertion about a vendor's model-training practices.
Account for unprocessed and unreadable material
Keep a manifest linking every test source to its outcome: processed, unresolved, unsupported, failed or excluded for an approved reason. A zero-findings result should be distinguishable from failure to inspect the file. Do not remove difficult cases from the visible trial record simply because no output was produced.
When a metric applies only to successfully processed material, state that scope and report processing coverage separately. The business may still require all files in the collection to be handled through an approved route. A strong score on the processed subset does not establish that the complete delivery requirement has been met.
Inspect the actual completed output
Apply the accepted selections and open the final representation that would be delivered. Verify required removals through appropriate visual, search, copy, extraction or object checks for the format and risk in scope. A preview of candidate boxes is not evidence that the content has been removed from the actual file.
Inspect relevant hidden material, embedded objects or alternate representations where applicable. Confirm the selected tool's actual support instead of assuming every component was processed. The multi-format preparation guide provides specific review questions without promising universal format coverage.
Review retained meaning and usability. Check whether required labels, relationships, page content and reading order remain suitable for the task. Record an unusable output separately from a missed sensitive item. Combining the two into one detection score makes it difficult to identify the remedy or choose a workable process.
Measure review and correction effort
Record preparation, setup, candidate review, corrections, final-file checking, exception handling and approval. Processing duration alone is not the effort required to produce an approved package. Keep the observed tasks and conditions with any timing result.
Compare corrections by type. Numerous unnecessary findings can consume reviewer attention, while a small number of important misses may require another review route. A trial should help the team decide how it will operate, not merely select the largest headline percentage. The AI versus manual comparison places these measurements within a complete method-selection decision.
Set acceptance conditions before choosing a result
Agree which failures prevent use, which require an alternative route and which can be corrected within the normal workflow. Tie those conditions to document categories and consequences rather than adopting a universal percentage from another organisation's task.
Keep a decision register that identifies:
- The tested configuration and reference policy.
- The evidence supporting the decision.
- Unresolved cases and their responsible owner.
Separate acceptable candidate assistance from approval for unattended release. A system may be useful for proposing content while still requiring a human check the organisation is unwilling to remove. The evaluation should make that operating choice explicit.
Recheck changes and explain the limits
Repeat affected cases after material changes to instructions, rules, software, input representations or output settings. Preserve earlier evidence and identify which version produced each result. An old successful sample is not a permanent accuracy guarantee for a different collection or configuration.
bestCoffer AI Redaction supports sensitive-document preparation within its confirmed scope. Evaluate the actual deployment, formats, review process and outputs using the approved reference set. This guide provides no bestCoffer accuracy, recall or efficiency percentage. It describes how to obtain interpretable project evidence while preserving human policy judgement and final release responsibility.
Questions and answers
What is the difference between precision and recall?
With an agreed counting rule, precision concerns how many proposed removals are correct; recall concerns how many required removals are found. Neither alone establishes final-file quality.
Should repeated identifiers count once?
Define the unit explicitly. If each occurrence requires removal, counting only the distinct value can hide a missed location. Apply one rule consistently.
Can unsupported files be omitted from the result?
Keep them visible in the manifest and processing-coverage report. If a score covers only processed material, state that scope and retain unresolved business requirements.
Does a correct candidate box prove successful redaction?
No. Apply the selection and inspect the actual delivered representation, relevant hidden material and retained usability.
Is there a universal acceptance percentage?
No single threshold suits every collection and consequence. Agree project-specific conditions and alternative routes before selecting a result.
Sources and method
The trial procedures and worksheets are editorial recommendations for teams to adapt. References explain relevant concepts and risks; they do not certify a product or establish a legal or compliance outcome.
Test your document workflow
Discuss the documents, reviewer roles and trial samples with bestCoffer to confirm the applicable deployment and product scope.
Contact the team