https://github.com/rempsyc/lab_copilot_demo
https://github.com/rempsyc/lab_copilot_demo
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rempsyc/lab_copilot_demo
- Owner: rempsyc
- Created: 2025-09-12T15:30:59.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-09-12T18:12:32.000Z (9 months ago)
- Last Synced: 2025-09-29T11:50:13.416Z (9 months ago)
- Language: JavaScript
- Homepage: https://rempsyc.github.io/lab_copilot_demo/
- Size: 7.81 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Behavioral Task - Center for Conflict and Cooperation
This repository hosts a jsPsych-based behavioral experiment designed for the Center for Conflict and Cooperation. The experiment investigates decision-making in social dilemmas involving cooperation and competition.
## ๐งช Experiment Overview
The behavioral task presents participants with various scenarios where they must choose between cooperative and competitive responses. The study examines:
- Resource sharing decisions
- Community contribution behavior
- Group project dynamics
- Social interaction patterns
## ๐ Access the Experiment
The experiment is hosted as a GitHub Pages website and can be accessed at:
`https://rempsyc.github.io/lab_copilot_demo/`
## ๐ Data Management
### OSF Integration
- Data is automatically saved to OSF through datapipe
- Experiment ID: `Cb1DhSdND5ek`
- Each participant receives a unique identifier
### CSV Download
- Participants can download their data as a CSV file after completion
- Green download button appears in the top-right corner after experiment completion
## ๐ง Technical Details
### Built with:
- **jsPsych 8.0.0** - Experimental framework
- **datapipe** - OSF data saving service
- **GitHub Pages** - Website hosting
### Experiment Structure:
1. Welcome and instructions
2. 4 social dilemma scenarios
3. Confidence ratings for each decision
4. Demographics questionnaire
5. Post-experiment questions
## ๐ Scenario Types
1. **Resource Sharing** - Innovation sharing in collaborative work
2. **Community Garden** - Contribution to shared community resources
3. **Group Project** - Handling non-contributing team members
4. **Traffic Merge** - Cooperative vs competitive behavior in traffic
## ๐ Development
The experiment uses modern web technologies and requires no server setup. All dependencies are loaded via CDN for easy deployment and maintenance.
### Files:
- `index.html` - Main experiment page
- `experiment.js` - jsPsych experiment logic and data handling
- `.github/workflows/pages.yml` - GitHub Pages deployment configuration