ACRO: Tools for the Semi-Automatic Checking of Research Outputs
ACRO is a free and open source tool that supports the semi-automated checking of research outputs (SACRO) for privacy disclosure within secure data environments. SACRO is a framework that applies best-practice principles-based statistical disclosure control (SDC) techniques on-the-fly as researchers conduct their analysis. SACRO is designed to assist human checkers rather than seeking to replace them as with current automated rules-based approaches.
The ACRO package is a lightweight Python tool that sits over well-known analysis tools that produce outputs such as tables, plots, and statistical models. This package adds functionality to:
- automatically identify potentially disclosive outputs against a range of commonly used disclosure tests;
- apply optional disclosure mitigation strategies as requested;
- report reasons for applying SDC;
- and produce simple summary documents trusted research environment staff can use to streamline their workflow and maintain auditable records.
This creates an explicit change in the dynamics so that SDC is something done with researchers rather than to them, and enables more efficient communication with checkers.
A graphical user interface (SACRO-Viewer) supports human checkers by displaying the requested output and results of the checks in an immediately accessible format, highlighting identified issues, potential mitigation options, and tracking decisions made.
Additional programming languages used by researchers are supported by providing front-end packages that interface with the core ACRO Python back-end; for example, see the R wrapper package: ACRO-R.
Installation
ACRO is available through PyPI and Conda.
If installed in this way, the examples and data files used therein will need to be copied from the repository.
PyPI:
$ pip install acro
Conda:
$ conda install acro
Examples
See the example notebooks for:
Try Online with MyBinder
Try an example notebook online on MyBinder.org.
Documentation
The github-pages contains pre-built documentation.
Additionally, see our paper describing the SACRO framework to learn about its principles-based SDC methodology and usage.
Training Materials
For training videos about ACRO, see training videos.
Contributing
See CONTRIBUTING.md
Acknowledgement
This work was funded by UK Research and Innovation under as part of the DARE UK (Data and Analytics Research Environments UK) programme, delivered in partnership with Health Data Research UK (HDR UK) and Administrative Data Research UK (ADR UK). The specific projects were:
- Semi-Automatic Checking of Research Outputs (SACRO) [Grant Number MC_PC_23006] - a phase 1 Driver project
- TREvolution [Grant Number MC_PC_24038] - phase 2:Transformative Components.
Release files for acro 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| acro-1.0.2.tar.gz | 130.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| acro-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 205.6 kB
Release files / acro-1.0.2.tar.gz
| Download URL | acro-1.0.2.tar.gz |
|---|---|
| Size | 130.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ea1c6c3a8f93e55cc82c55232fe9d4198a4e1a1b288fd1193b13ff26890d5c58
|
|
BLAKE2b-256 checksum How to use checksums |
02db34579cd80b30d1a10f9152de40e9591d480baf72937bc49b79e1bdf31600
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 28, 2026.
Transparency logRelease files / acro-1.0.2-py3-none-any.whl
| Download URL | acro-1.0.2-py3-none-any.whl |
|---|---|
| Size | 75.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b39d7623562298b8014054d888abcfbaea4f083c56f666a9157562e649921ba4
|
|
BLAKE2b-256 checksum How to use checksums |
b38a0e238b8455f40dfc4e3c81ea33a2f4e169a5e518e9526ea3934a7376d773
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 28, 2026.
Transparency log