This tool is designed to study incivility in online debates and to test whether AI-based interventions can improve the quality of discussions in realistic social network environments. It allows researchers to examine how toxic or uncivil comments emerge and how they influence broader conversation dynamics.
In this case study, the platform was used to test an AI-assisted paraphrasing intervention. When users wrote potentially uncivil comments, they were provided with an alternative, AI-generated paraphrased version designed to reduce toxicity while preserving the original meaning. Users could then decide whether to post their original comment or accept the suggested revision.
The study evaluated whether these AI-supported interventions reduced toxicity at both the individual and conversation levels. Toxicity was measured using automated scoring (e.g., via Perspective API), capturing dimensions such as general toxicity, severe toxicity, insults, profanity, threats, and identity attacks. Results showed that paraphrased comments were significantly less toxic than the original versions.
Importantly, the tool also allows researchers to examine downstream effects. The findings indicate that when users accept AI-generated paraphrases, not only does their own comment become less toxic, but the overall tone of subsequent discussion improves as well. This makes the platform suitable for testing proactive, user-centered, and non-intrusive AI interventions aimed at fostering healthier online discourse in realistic social media settings.
- Landing page
- Consent form
- Pre-survey
- Topic selection (choose 4 topics)
- Username selection
- Feed and per-post interaction loop:
- You are shown one post/article at a time
- You write a comment for that post
- The system provides an LLM suggestion to reduce toxicity
- You accept or reject the suggestion
- You complete a questionnaire for that specific post
- You are then moved to the next post
- Repeat this loop until all 4 posts (from the 4 selected topics) are completed
- After the 4th post questionnaire, you are redirected to the post-survey
client/: React frontend for participant flow pages and feed interactionsserver/: Node/Express backend, APIs, and MongoDB modelsserver/routes/: API route definitionsserver/controllers/: request handlers and study logicserver/models/: MongoDB schemas for users, posts, surveys, and interaction datascreenshots/toxicity screenshots/: UI screenshots used in this README
- Ensure MongoDB is running and environment variables are configured.
- Install server dependencies:
cd server && npm install
- Install client dependencies:
cd client && npm install
- Run server and client (in separate terminals):
- Server:
cd server && npm start - Client:
cd client && npm run build
- Server:
The production deployment is available on:
When started on your server, backend logs may show entries similar to:
Server started on port 1077 and https://socialapp.ijs.si/Connected to the database successfully!
This project is licensed under the MIT License. See LICENSE.








