Reproducible benchmarks
Same test set, same metrics, every run. Two engineers comparing two policies see the same numbers. No more debates about whether the new rules are actually better.
Score your redaction policies
Philter Scope is a standalone audit tool that scores redaction policies against gold-standard test data. Stop guessing whether a policy change made the pipeline better. Measure it, version it, and fail the build when it regresses.
Philter Scope compares a policy's redacted output against your labeled gold-standard set and reports precision, recall, and F1 for every entity type, so a change that regresses recall is caught before it reaches production.
Overall F1 0.94. Recall on MRN fell to 0.72, below the 0.75 threshold, the kind of regression Philter Scope fails a build on.
Philter Scope ships as a multi-arch image (x86-64 and arm64) on Docker Hub at philterd/philter-scope. The repository ships a docker-compose.yaml that scores a policy and then serves the report in your browser.
# 1. Grab the Compose file
curl -O https://raw.githubusercontent.com/philterd/philter-scope/main/docker-compose.yaml
# 2. Put your labeled gold standard in ./data/golden and the text
# you want scored in ./data/raw
mkdir -p data/golden data/raw
# 3. Score the policy against your Philter, then open http://localhost:5000
export PHILTER_URL=http://philter.internal:8080
docker compose up
The audit writes its reports into ./data, then the dashboard serves them. The running guide covers every flag, both golden-data formats, and the MongoDB setup that adds shared history and the trend chart below.
Same test set, same metrics, every run. Two engineers comparing two policies see the same numbers. No more debates about whether the new rules are actually better.
Annotate a representative sample of your real text once. Philter Scope compares any policy output against that ground truth and reports precision, recall, and F1 per entity type, along with an entity type confusion matrix showing where detectors misclassify.
Aggregate scores hide problems. Philter Scope reports per-entity-type metrics so you can see exactly which detectors are weakest and where the next tuning pass should land.
Run it as a step in your CI pipeline. Fail the build when precision or recall regresses below a threshold; catch policy regressions before they reach production.
The evaluation report is the artifact regulators and auditors actually want to see. Demonstrate that your redaction pipeline is verifiably correct, not just "trust us, it works."
Pair with Phileas and Philter, or use against any redaction output. The evaluation logic is open: your QA team can read every line of the code that scores them.
The Philter Scope dashboard breaks down precision, recall, and F1 by entity type, so you can see exactly where your policy is strong and where it needs tuning.

If something here isn’t covered, get in touch and we’ll answer.
Grab the open source and run it yourself, or work with our team directly. Pick the path that fits.