This repository aims to measure and plot the privacy-utility trade-off for code completion tasks.
To run the Privacy-Utility trade-off.ipynb notebook:
- Make sure Python is installed.
- Clone the repository:
git clone <URL>
- Create virtual environment (optional/recommended)
- using venv:
python -m venv venv source venv/bin/activate # On macOS/Linux venv\Scripts\activate # On Windows
- alternatively using conda:
conda create -n myenv python=3.14 -y conda activate myenv
- Install dependencies:
pip install -r requirements.txt
- Launch Jupyter Notebook:
When the notebook interface opens in your browser, navigate to the .ipynb file and open it.
jupyter notebook