Skip to main content

ACRO: Tools for the Semi-Automatic Checking of Research Outputs

IEEE Xplore PyPI package Conda Python versions codecov

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.

ACRO workflow and architecture schematic

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

acro-1.0.0.tar.gz (108.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

acro-1.0.0-py3-none-any.whl (59.3 kB view details)

Uploaded Python 3

File details

Details for the file acro-1.0.0.tar.gz.

File metadata

  • Download URL: acro-1.0.0.tar.gz
  • Upload date:
  • Size: 108.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for acro-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5de7d91c7adb3a6ddb82e151ee6e08eeb89f13f627690a5d402f8537d1801daf
MD5 a9b7c7c33c975171f571f6f102b1332a
BLAKE2b-256 23afdaabed5dccaad1fb19b7574479711d49520aad4d309eddec1e16612c2cfb

See more details on using hashes here.

Provenance

The following attestation bundles were made for acro-1.0.0.tar.gz:

Publisher: pypi.yml on AI-SDC/ACRO

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file acro-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: acro-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 59.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for acro-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0a9b636491cabaa27fd836356b496bde2ec3d909d91c5fcf1e0d5362c9aa6a3a
MD5 d3fa78c51671e61d4683dd1ac8755d1b
BLAKE2b-256 8a24f4c7e2048b3c5bb6f407bbf22d9ee2f524dfc53066fd939c77fcb466c640

See more details on using hashes here.

Provenance

The following attestation bundles were made for acro-1.0.0-py3-none-any.whl:

Publisher: pypi.yml on AI-SDC/ACRO

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page