# ClickReflex - Comprehensive Technical Reference ## Technical Stack - Framework: Next.js 16 (App Router) - Language: TypeScript / React 19 - I18n: next-intl (Supports EN, ZH, DE, JA, PT-BR) - Performance: ISR-enabled for dynamic leaderboards. ## Detailed Metrics & Tools ### 1. Input Lag Diagnostics - **Mouse Polling Test**: Measures real-time reporting frequency (Hz) and jitter. - **System Jitter Test**: Detects OS scheduling variance and DPC latency impacts. - **Display Latency Test**: Visualizes frame delivery consistency and V-Sync/G-Sync impact. - **Double Click Test**: Hardware-level detection for switch bouncing failures. ### 2. Reaction Benchmarks - **Simple RT**: Baseline visual response time. - **Choice RT**: Decision-making speed under multi-stimulus pressure. - **Game Simulators**: Precision-calibrated reaction tests styled after Valorant and CS2 mechanics. ### 3. Cognitive Performance - **Visual Memory**: Spatial recall and focus stability. - **Sequence Memory**: Short-term logical chunking. - **Stroop Test**: Cognitive interference and inhibitory control. ## Global Ranking & Normalization ClickReflex uses Z-Score normalization to calibrate performance across different test modes. Formula: `TGS = (Z_Score_Simple + Z_Score_Aim + Z_Score_Stroop) / 3` This allows players to have a unified "Triathlon Global Score" (TGS) that is comparable globally. ## Accessibility All core tools are reachable via `/en`, `/zh`, `/de`, `/ja`, `/pt` prefixes. Markdown endpoints for documentation are available via our crawler-friendly routes.