---
title: "Benchmark Code and Scripts | Sensitive Data Discovery Tools"
description: "The scripts that downloaded the data, ran the three detectors and assembled the results of the open-source PII benchmark, with the README and license."
url: https://sensitivedatadiscoverytools.com/downloads/benchmark-code/
canonical: https://sensitivedatadiscoverytools.com/downloads/benchmark-code/
reviewed: 2026-12-04
last_updated: 2026-12-04
---

# Benchmark code

These are the scripts behind the [open-source PII detection benchmark](/benchmark/): one downloads the data, one runs the detectors, one assembles the results file. The README gives the commands and the license applies to the code.

Last reviewed December 4, 2026.

- [README.md](/downloads/benchmark-code/README.md)
- [run.py](/downloads/benchmark-code/run.py)
- [download.py](/downloads/benchmark-code/download.py)
- [assemble.py](/downloads/benchmark-code/assemble.py)
- [subset500.py](/downloads/benchmark-code/subset500.py)
- [count_truncation.py](/downloads/benchmark-code/count_truncation.py)
- [truncation.json](/downloads/benchmark-code/truncation.json)
- [LICENSE](/downloads/benchmark-code/LICENSE)

