Overview
The Comparison Tools feature provides two powerful comparison modules for strategic analysis and benchmarking:- Compare Dilemmas (
compare.php) - Side-by-side comparison of multiple dilemmas - Compare Clients (
compare_clients.php) - Client performance benchmarking
1. Compare Dilemmas
Purpose
Compare the performance of 2-5 dilemmas side-by-side to:- Identify which content drives the most engagement
- Benchmark question performance across games
- Find difficulty disparities between similar dilemmas
- Inform content strategy and resource allocation
How to Access
From the Games Dashboard (games.php):
Key Metrics Summary
The comparison page displays three strategic KPI cards:Most Popular
Metric: Total ExecutionsHighlights the dilemma with the most user sessionsBadge: 🟢 “Más Popular”
Fastest Completion
Metric: Average Time (minutes)Identifies the dilemma with the lowest average completion timeBadge: 🔵 “Más Rápido”
Most Users
Metric: Unique User CountShows which dilemma reached the most unique participantsBadge: 🟣 “Mayor Alcance”
Question-Level Comparison Table
The main feature is a comparative table that analyzes shared questions across selected dilemmas:Table Structure
| Pregunta / Categoría | Dilemma 1 | Dilemma 2 | Dilemma 3 | Var. % |
|---|---|---|---|---|
| What is ethical leadership? (Ethics) | 78 (45 respuestas) | 82 (67 respuestas) | 65 (23 respuestas) | 17 pts |
| Define conflict of interest (Compliance) | 91 (88 respuestas) | 88 (102 respuestas) | 93 (56 respuestas) | 5 pts |
- Pregunta / Categoría: Question text with category badge
- Dilemma columns: Average score (0-100) and response count for each game
- Var. %: Score variation (max - min) to identify inconsistencies
Color-Coded Performance
Scores are color-coded for quick analysis:| Score Range | Color | Meaning |
|---|---|---|
| ≥80 | 🟢 Green Bold | Excellent performance |
| 50-79 | 🟡 Yellow Medium | Moderate performance |
| 1-49 | 🔴 Red | Poor performance - needs review |
| 0 | ⚪ Gray | No data available |
High Variation Scores:If a question has a variation >30 points, investigate why:
- Different user populations?
- Question presented with different context?
- One dilemma may have outdated content
Empty State
If no shared questions exist:Visual Charts
Two interactive Chart.js visualizations:1. Executions by Dilemma (Bar Chart)
2. Average Time by Dilemma (Bar Chart)
Export Functionality
Click the “Exportar” button to print/save the comparison:2. Compare Clients
Purpose
Benchmark two clients against each other across key performance metrics:- Identify which clients are most/least engaged
- Detect risk differences between organizations
- Inform client success strategies
- Support account management and renewal decisions
How to Access
Method 1: From Clients List Page Select 2 clients and click “Comparar”:compare_clients.php and use the dropdown selectors:
Client Headers
Selected clients are displayed in prominent header cards:- Client A: Blue background (
bg-blue-600) - Client B: Indigo background (
bg-indigo-600)
Comparative Metrics Table
Seven key metrics are compared side-by-side:| Metric | Client A | Client B | Winner Indicator |
|---|---|---|---|
| 👥 Usuarios Únicos | 247 | 189 | ↑ Mejor (A) |
| ▶️ Sesiones Totales | 1,893 | 2,104 | ↑ Mejor (B) |
| 📈 Score Promedio | 78.5% | 82.1% | ↑ Mejor (B) |
| ⏱️ Tiempo Promedio | 23 min | 19 min | ↑ Mejor (B) |
| ✅ Tasa Completitud | 76% | 68% | ↑ Mejor (A) |
| ⚠️ Índice de Riesgo | 18% | 12% | ↑ Mejor (B) |
| ⚡ Engagement | 7.6x | 11.1x | ↑ Mejor (B) |
Metric Definitions
Usuarios Únicos
Count of distinct users who participated in dilemmas
Sesiones Totales
Total number of dilemma sessions (a user may have multiple sessions)
Score Promedio
Mean score across all sessions (0-100 scale)
Tiempo Promedio
Average session duration in minutes
Tasa Completitud
Percentage of sessions that were fully completedFormula: (Finished sessions ÷ Total sessions) × 100
Índice de Riesgo
Percentage of sessions with scores <60 (failing grade)Formula: (Low score count ÷ Total sessions) × 100Note: Lower is better
Engagement
Average number of sessions per userFormula: (Total sessions ÷ Unique users) ÷ 10
Winner Highlighting
The client with the better metric is highlighted:- Winning value: Displayed in bold blue/indigo
- Losing value: Displayed in light gray
- ”↑ Mejor” badge: Green label appears under the winning value
Activity Trend Chart
A line chart displays 6-month activity trends for both clients:- Identify growth or decline trends
- Detect seasonality patterns
- Compare adoption rates over time
Use Cases
Content Strategy
Dilemma Comparison:Identify which dilemmas perform best to inform future content creation
Portfolio Optimization
Dilemma Comparison:Retire underperforming dilemmas and double down on high-engagement content
Account Management
Client Comparison:Benchmark clients to identify those needing proactive support or upsell opportunities
Best Practice Sharing
Client Comparison:Study high-engagement clients to replicate success with others
Question Difficulty Analysis
Dilemma Comparison:Find questions with high variation scores to investigate context differences
Risk Monitoring
Client Comparison:Track risk index trends to predict churn or engagement issues
Best Practices
For Dilemma Comparison:✅ Compare dilemmas with similar:
- Target audiences
- Difficulty levels
- Content domains (e.g., all ethics, all compliance)
- Dilemmas from vastly different time periods
- Games with <20 sessions (insufficient data)
- Dilemmas targeting different user populations
- Similar industry/size for meaningful benchmarks
- Active deployments (avoid inactive clients)
- Comparable time periods
- New clients (<30 days) with established ones
- Pilot programs with full deployments
- Clients with vastly different user counts
Access Control
Compare Dilemmas
Access Level: All authenticated users- Administrators can compare any dilemmas
- Client users may be restricted to their own dilemmas (depending on implementation)
Compare Clients
Access Level: Admin-onlyRelated Features
- Areas Management - Compare performance across organizational areas
- Questions Management - Analyze individual question performance
- Dilemma Games - Source page for multi-select dilemma comparison