🔍 Research Overview
This platform hosts Experiment 3 (E3) in our long-term context memory research project. Built with jsPsych and deployed via Cloudflare Pages, it leverages Firebase for robust data storage and features a sophisticated Render backend for seamless data processing.
Memory Research
Advanced psychological experiments studying context-dependent memory formation and retrieval.
Modern Tech Stack
Built with jsPsych, Firebase, and deployed on Cloudflare Pages for optimal performance.
Data Pipeline
Sophisticated data collection and analysis pipeline with real-time storage and processing.
🎓 Dissertation Project
My Ph.D. dissertation explores the intricate mechanisms of long-term context memory using the REM (Retrieving Effectively from Memory) model. This groundbreaking research investigates:
- Context vs. Feature Similarity: How different types of similarity affect recognition performance in complex memory tasks
- Stage-wise Decision Thresholds: The role of memory trace strengthening in multi-stage recognition processes
- Computational Modeling: Advanced simulations using Julia programming and Bayesian statistical analyses with Stan
- Multi-List Learning: How context changes across different word lists influence long-term memory formation
Experiment 3 represents a significant advancement in our understanding of how context change by list and word influences recognition performance over extended time periods, providing crucial insights into the mechanisms underlying human memory systems.
🔗 Research Resources
Current Project
- 🏠 Main Repository - Complete experiment hosting platform
- 🐛 Issues & Templates - Bug reports and feature requests
- 📦 Releases & Tags - Version history and downloads
Connected Repositories
- 📚 Full Dissertation Repository - Complete research project with all experiments
- 🔬 REM E3 Mathematical Model - Computational implementation of the theoretical framework
⚙️ Technical Architecture
Our platform features a sophisticated, modular architecture designed for scalability and maintainability:
📁 JavaScript Modules
- Configuration:
const_general.js
&const_exp.js
– Centralized parameter management - Utilities:
helpfunctions.js
– Reusable helper functions and algorithms - Data Layer:
load.js
– Firebase initialization and data persistence wrapper - Experiment Logic:
main.js
– jsPsych timeline orchestration and result submission
🔄 Data Processing Pipeline
- Client-Side Collection: Real-time data capture during experiment sessions
- Secure Transmission: Encrypted POST requests to Render endpoint
- Backend Processing: Render server forwards data to Firestore via Admin SDK
- Cloud Storage: Persistent storage in Firebase Firestore with automatic scaling
🛠️ Development Tools
- Data Export:
export_firestore.py
– Automated JSON/CSV export utilities - Firebase Configuration:
firebase.json
,firestore.rules
,firestore.indexes.json
- Deployment: Automated CI/CD pipeline with Cloudflare Pages integration
🚀 Quick Start Guide
Get up and running with our research platform in minutes:
# 1. Clone the repository
git clone https://github.com/naszhu/EXP_host.git
cd EXP_host
# 2. Install dependencies
npm install
# 3. Configure Firebase
# - Add your Firebase configuration to js/load.js
# - Update firebase.json rewrites for your domain
# - Set up Firestore security rules
# 4. Deploy to Cloudflare Pages
# - Push changes to main branch
# - Automatic build and deployment
# - SSL and CDN optimization included
# 5. Monitor and analyze
# - View real-time data in Firebase Console
# - Export results using export_firestore.py
# - Run statistical analyses with your preferred tools
📄 License & Attribution
This research platform is released under the MIT License © 2025 Shuchun Lai (Lea Lai). Feel free to use, modify, and distribute this code for academic and research purposes. For commercial use, please contact the author.
Citation: If you use this platform in your research, please cite our work and reference the GitHub repository.