https://github.com/rempsyc/lab_copilot_demo3
https://github.com/rempsyc/lab_copilot_demo3
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rempsyc/lab_copilot_demo3
- Owner: rempsyc
- Created: 2025-09-12T01:48:56.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-09-12T02:06:23.000Z (9 months ago)
- Last Synced: 2025-09-29T11:50:13.650Z (9 months ago)
- Language: JavaScript
- Homepage: https://rempsyc.github.io/lab_copilot_demo3/
- Size: 9.77 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cooperation and Conflict Study
A behavioral experiment built with jsPsych for the Center for Conflict and Cooperation.
## Overview
This experiment investigates decision-making in cooperative and competitive scenarios. Participants make choices about resource allocation, trust, and cooperation across various social situations.
## Features
- **Interactive Behavioral Task**: Five scenarios testing cooperation vs. competition
- **Data Collection**: Automatic saving to OSF via datapipe (experiment ID: Cb1DhSdND5ek)
- **CSV Download**: Participants can download their data as a CSV file
- **GitHub Pages Deployment**: Ready to host as a website
## Scenarios Included
1. **Resource Allocation**: Dividing points between self and partner
2. **Public Good**: Contributing to shared resources
3. **Trust Game**: Sending money with potential returns
4. **Competitive Resource**: Claiming from limited resources
5. **Charitable Giving**: Donating with social visibility
## Technical Details
- Built with jsPsych 7.3.4
- Uses datapipe for OSF integration
- Responsive design for web deployment
- Client-side CSV generation and download
## Running the Experiment
1. Open `index.html` in a web browser, or
2. Deploy to GitHub Pages for online access
3. Data is automatically saved to OSF with experiment ID: Cb1DhSdND5ek
## Data Output
- JSON format saved to OSF via datapipe
- CSV download available to participants
- Includes demographics, decisions, and post-experiment ratings