Users' decisions in recommendation systems are prone to be similar in similar decision frames. Even after watching a video, a socially engineered interface may make them signal their like of content that they do not like. RegretBlocker deletes content that users state they regret outside of a platform. This data collection tool can be run and deployed on any server capable of running docker. We provide installation instructions and our data collection tool. We provide learning tools for your personal RegretBlocker in the future.
- Clone the repository:
git clone https://github.com/Algorithmic-Personalization/Regret-Blocker.git
- Navigate to the project directory:
cd Regret-Blocker
- Install Docker Compose
- Install dependencies:
pip install -r requirements.txt
- Fill
To start the application, run:
docker-compose up -d # start the docker image in the background
docker-compose exec flask db init # Initialize a new database schema
docker-compose exec flask db migrate -m "Initial migration" # Apply the migration to the database
flask db upgrade
docker-compose restart
Then, the application should be accessible under http://127.0.0.1:5001/upload?uid=user_id for any user_id
.
app/
contains the main application logic.
migrations/
: Database migration files.static/
: containscss
andjs
filestemplates/
: containshtml
templatesuploads/
: stores uploaded data for regretsutils/
: Utility functions.
For questions or support, contact [email protected].