💡 In Simple English: What is RelyMind & Why Does it Matter?
The 30-Second Summary:
Think of RelyMind as a virtual psychology lab that runs smoothly inside your everyday web browser.
- The Challenge: Traditionally, measuring human reaction times accurately (down to a single millisecond) required expensive laboratory hardware. When experiments are run on regular browsers, devices experience micro-stutter, lag, and inconsistent timing that messes up scientific results.
- The Innovation: RelyMind uses modern background browser workers and smart hardware-synchronized timing buffers. This allows anyone around the world to participate in reaction-time studies on their everyday laptop or phone with laboratory-grade precision.
- Zero Hassle & 100% Privacy: Participants do not need to download or install any apps. You click a link, give your clear consent, complete the quick test, and your answers are kept strictly anonymous.
1. Executive Summary & Problem Context
Empirical psychology and behavioural science increasingly rely on online participant crowdsourcing to achieve diverse demographic sampling. However, moving experiments from dedicated university laboratory hardware to heterogeneous consumer web browsers introduces unpredictable timing jitter, visual tearing, and inconsistent input latency variations.
RelyMind is an in-development software platform engineered within the RELYBAL ecosystem. It bridges the gap between laboratory-grade precision and consumer browser accessibility. By leveraging deterministic Web Workers, hardware-calibrated visual timing buffers, and zero-knowledge participant consent verification, RelyMind provides developers, students, and experimenters with verifiable, reproducible cognitive experiment infrastructure.
Key Takeaway: Online behavioural testing reduces participant acquisition costs by up to 80% while enabling worldwide sampling diversity. RelyMind guarantees sub-millisecond precision directly within modern web browsers without requiring participants to install external software.
2. The Web Experimentation Latency Problem
In reaction-time-sensitive psychology paradigms (such as the Stroop Color-Word Task, Eriksen Flanker Task, or rapid visual categorization), differences of 15 to 30 milliseconds represent statistically significant experimental effects.
On standard consumer browsers:
- JavaScript timer drift (
setTimeout,setInterval) introduces 10ms to 40ms of latency jitter. - Garbage collection pauses unpredictably freeze UI rendering during critical stimulus moments.
- Variable display refresh rates (60Hz vs 120Hz vs 144Hz) cause visual tearing if frames are not synchronized to hardware VSync.
Standard Web Loop: [setTimeout] ──> Jitter (±35ms) ──> Inaccurate RT Data
RelyMind Pipeline: [requestAnimationFrame + WebWorker] ──> Hardware VSync (<1ms) ──> Lab-Grade Precision
RelyMind eliminates these errors by bypassing legacy timer loops. Stimuli are pre-rendered into offscreen buffers during preceding fixation intervals, and response timing is captured using high-resolution hardware timestamps via performance.now().
3. RelyMind Core System Architecture
RelyMind is structured across three decoupled layers:
- Declarative Experiment Builder: Experimenters define trials, stimuli, response keys, and timeouts using simple, declarative JSON schemas.
- Isolated Participant Sandbox: An isolated, distraction-free web environment running on an independent execution thread.
- Statistical Telemetry Ingestion Engine: An automated pipeline that cleans, validates, and exports tidy datasets for statistical packages like R, Python, and JASP.
Sample Declarative Trial Definition
{
"paradigm": "flanker-incongruent",
"trialId": "trial_042",
"fixationDurationMs": 500,
"stimulus": {
"type": "text",
"value": ">>><>>>",
"targetDirection": "left",
"contrast": "high"
},
"validKeys": ["ArrowLeft", "ArrowRight"],
"timeoutLimitMs": 1500,
"metrics": ["rawRT", "accuracy", "inputJitter"]
}
4. Ethical Consent & Zero-Knowledge Privacy
Modern behavioural platforms require strict compliance with ethical standards and privacy regulations (such as GDPR). RelyMind introduces a zero-knowledge consent architecture:
- Cryptographic Separation: Demographic data and identity identifiers are stored separately from behavioural response streams.
- Local SHA-256 Signatures: A verifiable cryptographic session token is minted locally upon participant consent, creating an immutable audit trail without collecting IP addresses or invasive hardware fingerprints.
- Privacy-First Telemetry: Zero advertising pixels, zero third-party trackers, and zero cross-site cookies.
5. Supported Cognitive Paradigms
RelyMind provides pre-validated implementations of foundational psychology paradigms:
- Stroop Color-Word Task: Assesses cognitive interference, selective attention, and executive control processing.
- Eriksen Flanker Task: Measures response inhibition and directional conflict resolution.
- Go / No-Go Paradigm: Evaluates sustained attention and motor inhibition.
- Custom Decision Trees: Allows creators to construct branching behavioral pathways based on real-time participant choices.
Every paradigm includes automated interactive practice trials with instant feedback, ensuring participants comprehend task rules before contributing experimental data.
6. Statistical Data Pipeline & Open Data Exports
A major bottleneck for experimenters is the manual labor required to clean raw CSV files. RelyMind structures telemetry into tidy datasets adhering to Open Science Framework (OSF) and Frictionless Data standards.
session_id | participant_hash | trial_index | condition | stimulus | rt_ms | correct | outlier_flag
rm_98241 | 7f8a12c... | 1 | congruent | >>>>>>> | 384.21 | 1 | NONE
rm_98241 | 7f8a12c... | 2 | incongruent | >>><>>> | 442.89 | 1 | NONE
rm_98241 | 7f8a12c... | 3 | incongruent | <<<<><< | 112.04 | 0 | ANTICIPATORY
Outliers (such as anticipatory responses under 150ms or attention lapses over 2000ms) are flagged with transparent statistical indicators rather than silently discarded.
7. Current Status & Engineering Roadmap
RelyMind is currently in active development within the RELYBAL ecosystem:
- Phase 1 (Completed): Core hardware timing testbench and declarative trial schema engine.
- Phase 2 (In Active Progress): Isolated participant sandbox, cryptographic consent verification, and initial Stroop trials.
- Phase 3 (Upcoming): OSF API integration, automated R/Python tidy data exporter, and multi-participant collaborative games.
Developers, researchers, and students interested in exploring or contributing can review the open-source repository directly on GitHub: github.com/abdullahsaamisada/relymind.