Source code for the Observatory of anonymity, available online at https://cpg.doc.ic.ac.uk/observatory/. The Observatory of Anonymity allows users to test their degree of anonymity in 89 different countries.
This is a client-side only application developed in TypeScript. All the computation to run the models are done directly in the browser. The Observatory uses a statistical model developed in our original article ‘Estimating the success of re-identifications in incomplete datasets using generative models’, published in Nature Communications.
To get the code, and run the application locally on Linux or Mac, try the following:
# Get the code from GitLab
git clone git@github.com:computationalprivacy/observatory.git
cd observatory
# Install npm dependencies
npm install
# Run the application
npm run start:dev
Then browse to http://localhost:8080: you should see the client-side application.
Package | Content Description |
---|---|
src/ |
Main source files for React App |
src/model |
Model files ported to TS from CorrectMatch.jl |
static/mvndst.js |
Numerical integration algorithm compiled to WebAssembly |
The application is currently built with the following technologies:
- React - web-application with client side rendering
- TS - model generation & uniqueness calculation
- WebAssembly - Numerical integration routine
GNU General Public License v3.0
See LICENSE to see the full text.