An interactive, privacy-first web application that helps users discover their collapse archetype and dimensional psychological profile through a theory-grounded assessment of their worldview, values, and responses to uncertainty.
The Collapse Archetype Quiz explores 19 distinct archetypes that represent different patterns of awareness, agency, and response to societal collapse. Beyond simple categorization, the quiz provides a 5-dimensional psychological analysis grounded in Terror Management Theory, Cognitive Dissonance Theory, Social Identity Theory, and other established frameworks.
From the Ostrich who filters catastrophic information to the Apocaloptimist who finds opportunity in chaos, each archetype reveals deep insights about how we relate to uncertainty and change.
- 19 Unique Archetypes: Comprehensive coverage of collapse response patterns
- 20 Theory-Grounded Questions: Questions derived from psychological and sociological research
- 5-Dimensional Analysis: Affective, Cognitive, Relational, Temporal, and Behavioral dimensions
- Intelligent Scoring: Sophisticated tie-breaking using cosine similarity in trait space (124 passing tests)
- Human-Centered Interpretations: 25 unique, emotionally resonant explanations for dimensional scores
- Beautiful UI: Earthy, grounded design with smooth transitions
- Interactive Radar Chart: SVG-based visualization of your dimensional profile
- Accessible: WCAG 2.1 AA compliant with full keyboard navigation support
- Responsive Design: Works seamlessly on desktop and mobile devices
- Share Results: Easy sharing via Web Share API or clipboard
- Zero Tracking: No analytics, no cookies, no external requests
- Self-Hosted Assets: All fonts and icons served locally (no CDN tracking)
- Local Processing: All calculations happen in your browser
- No Data Storage: Results aren't saved anywhere (unless you screenshot them)
- Open Source: View the source code directly in your browser
- A modern web browser (Chrome, Firefox, Safari, or Edge)
- A local web server (required for ES6 modules)
Using Python (Recommended):
cd /path/to/collapse-archetypes
python3 -m http.server 8000Then open: http://localhost:8000
Other Options:
- Node.js:
npx http-server -p 8000 - PHP:
php -S localhost:8000 - VS Code: Install "Live Server" extension, right-click
index.html→ "Open with Live Server"
collapse-archetypes/
├── index.html # Main entry point
├── privacy.html # Privacy notice page
├── src/
│ ├── css/
│ │ └── styles.css # All application styles
│ ├── js/
│ │ ├── app.js # Main application (active implementation)
│ │ ├── scoring-engine.js # Sophisticated scoring algorithms
│ │ ├── state.js # State management module (legacy)
│ │ ├── quiz-logic.js # Quiz logic module (legacy)
│ │ └── ui-controller.js # UI controller module (legacy)
│ ├── data/
│ │ └── quiz-data.json # 20 questions, 19 archetypes, dimensional metadata
│ ├── fonts/
│ │ ├── crimson-pro-*.woff2 # Self-hosted serif font
│ │ └── inter-*.woff2 # Self-hosted sans-serif font
│ └── phosphor-icons/
│ ├── phosphor-icons.css # Self-hosted icon library
│ └── Phosphor.woff2 # Icon font file
├── assets/
│ └── images/ # Archetype images (placeholder)
├── spec.md # Original feature specification
├── basic-theory.md # Theoretical framework documentation
├── SCORING-ENGINE-ASSESSMENT.md # Scoring engine integration analysis
├── DIMENSION-INTERPRETATIONS.md # Design philosophy for dimensional text
├── DIMENSION-INTERPRETATIONS-REFERENCE.md # Quick reference for all 25 interpretations
├── INTERPRETATION-EXAMPLES.md # Example user profiles
├── scoring-engine.js # Root scoring engine (CommonJS for tests)
├── scoring-engine.test.js # 124 comprehensive tests
└── README.md # This file
Answer 20 carefully designed questions about your awareness, emotional responses, social orientation, time perspective, and coping strategies.
The scoring engine:
- Calculates weighted scores for all 19 archetypes
- Resolves ties using cosine similarity in 6-dimensional trait space
- Computes confidence metrics (STRONG/MODERATE/WEAK)
- Tracks your scores across 5 theoretical dimensions
Get your results including:
- Primary Archetype: Your dominant pattern with confidence score
- Dimensional Analysis: Radar chart visualization of 5 dimensions
- Human-Centered Interpretations: Warm, relatable explanations of what your scores mean
- Theoretical Context: Understanding of the psychological frameworks behind the analysis
Each dimension is grounded in established psychological and sociological theory:
Emotional tone and affective responses - from anxiety and despair to hope and equanimity
- Theory: Terror Management Theory, Emotional Regulation, Positive Psychology
- Interpretation: How you emotionally process collapse awareness
Level of awareness and acknowledgment - from denial and minimization to full recognition
- Theory: Cognitive Dissonance, System Justification Theory
- Interpretation: How clearly you see and acknowledge collapse dynamics
Social context and identity - individual autonomy versus collective belonging
- Theory: Social Identity Theory, Cultural Theory of Risk
- Interpretation: Whether you orient as an individual or within group identity
Relationship to time - past traditions, present moment, or future possibilities
- Theory: Holling's Adaptive Cycle, Panarchy
- Interpretation: Which timeframe most shapes your responses
Agency and coping strategies - from passive acceptance to active preparation
- Theory: Self-Efficacy Theory, Behavioral Adaptation
- Interpretation: Your sense of capacity to act and preferred coping style
- Ostrich - Filters catastrophic information, focuses on immediate world
- Blissed-Out Yogi - High awareness, positive affect, peaceful acceptance
- Illusionist - Spins narratives to mask collapse realities
- Normalizer - Maintains status quo, downplays systemic risks
- Prepper - High awareness and agency, active future-oriented preparation
- Prophet of Doom - High awareness, negative affect, urgency without agency
- Alt-Right Collapse Bro - Combines collapse awareness with far-right ideology
- Evangelical Nationalist - Sees collapse as divine judgment and spiritual opportunity
- Apocaloptimist - High awareness and agency with positive future orientation
- Trickster - Uses humor and chaos to navigate uncertainty
- Woke Lefty Socialist - Advocates systemic change, collective action orientation
- Salvager - Active agency in reclaiming and repurposing
- Sacred Keeper - Protects past wisdom and sacred knowledge
- Everyday Hustler - Navigates collapse through daily grit and pragmatism
- Already Collapsed - Lives in conditions of ongoing collapse
- Extracted - Insulated from immediate collapse impacts
- Child Witness - Observes with limited agency and understanding
- Opportunist Elite - High awareness and agency used for personal gain
- Conspiracy Theorist - Sees collapse as part of hidden agendas
The quiz uses a monolithic app.js with integrated scoring-engine module:
- app.js (27KB): Main application logic, UI, state management, dimensional analysis
- scoring-engine.js (27KB): Sophisticated archetype determination with tie-breaking
- quiz-data.json (structured data): Questions, archetypes, dimensional metadata
The scoring engine implements:
- Weighted Scoring:
S(A) = Σ(w_i × p_i(A))where w = question weight, p = points - Tie Detection: Threshold
τ = S_max × (1 - 0.05)to identify near-ties - Trait-Based Tie-Breaking: Cosine similarity in 6D trait space
- Confidence Calculation:
(S_max - S_second) / S_max - Dimensional Normalization: Maps raw scores to 0-100 scale
Test Coverage: 124 passing tests covering edge cases, mathematical invariants, and integration scenarios
{
"metadata": {
"version": "2.0",
"dimensions": [
{
"id": "affective",
"name": "Affective Dimension",
"description": "...",
"theoreticalBasis": "Terror Management Theory..."
}
]
},
"questions": [
{
"id": "q1",
"text": "When confronted with evidence...",
"dimension": "cognitive",
"theoreticalFocus": "Cognitive Dissonance...",
"answers": [
{
"text": "I question the data's reliability...",
"dimensionScores": { "cognitive": -2, "affective": 1 },
"archetypeScores": { "ostrich": 3, "normalizer": 2 }
}
]
}
],
"archetypes": [
{
"id": "prepper",
"name": "The Prepper",
"traits": {
"awareness": "high",
"affect": "neutral",
"agency": "high",
"temporality": "future",
"relationality": "individual",
"posture": "active"
}
}
]
}Fully accessible via keyboard:
- Tab: Navigate between elements
- Enter/Space: Activate buttons
- Arrow Keys: Navigate answer options
- Escape: (Future) Close modals
Edit src/data/quiz-data.json:
{
"id": "q21",
"text": "Your question text?",
"dimension": "cognitive",
"theoreticalFocus": "Relevant theory...",
"answers": [
{
"text": "Answer option",
"theoreticalBasis": "Why this maps to theory...",
"dimensionScores": { "cognitive": 2, "behavioral": -1 },
"archetypeScores": { "prepper": 3, "ostrich": -2 }
}
]
}All styles use CSS custom properties for easy theming:
:root {
--color-earth-dark: #2c241a;
--color-earth-medium: #6b5d50;
--color-cream: #faf8f3;
--color-sage: #8a9a7f;
--color-accent: #c67b5c;
--space-xs: 0.25rem;
/* ... more variables */
}# Tests currently require CommonJS version
cd /path/to/collapse-archetypes
node scoring-engine.test.jsOutput: 124 tests covering mathematical correctness, edge cases, and integration
- Chrome/Edge 90+
- Firefox 88+
- Safari 14+
- Mobile browsers (iOS Safari, Chrome Mobile)
Requirements:
- ES6 module support
- Fetch API
- SVG rendering
- CSS Grid and Flexbox
This quiz is truly private:
- ✅ No external requests: All assets self-hosted (fonts, icons, scripts)
- ✅ No tracking: Zero analytics, cookies, or third-party services
- ✅ No data collection: No names, emails, IP addresses, or location data
- ✅ Local processing: All calculations happen in your browser via JavaScript
- ✅ No storage: Results aren't saved (close the page and they're gone)
- ✅ Transparent: View source code directly, verify our claims
See privacy.html for complete privacy notice.
Built with accessibility as a core principle:
- ✅ Semantic HTML5 structure
- ✅ ARIA labels, roles, and landmarks
- ✅ Full keyboard navigation
- ✅ Screen reader compatibility tested
- ✅ WCAG AA color contrast ratios
- ✅ Focus indicators on all interactive elements
- ✅ Reduced motion support (
prefers-reduced-motion) - ✅ Progressive enhancement (works without JS for content viewing)
- spec.md - Original feature specification
- basic-theory.md - Theoretical framework and academic grounding
- SCORING-ENGINE-ASSESSMENT.md - Technical analysis of scoring integration
- DIMENSION-INTERPRETATIONS.md - Design philosophy for human-centered text
- CLAUDE.md - Developer guide for future AI assistance
- QUICK_REFERENCE.md - Quick reference for developers
- Design Philosophy: Earthy, grounded aesthetics with archetypal symbolism
- Fonts: Crimson Pro (serif), Inter (sans-serif) - self-hosted
- Icons: Phosphor Icons - self-hosted
- Architecture: ES6 modules with sophisticated scoring algorithms
- Development: Built with Claude Code using specialized agent team
- code-wizard: Core implementation
- ux-weaver: Human-centered design
- logic-alchemist: Mathematical scoring algorithms
- qa-oracle: Quality assurance and testing
- Gaia: All the living systems that inspire this work and make it possible to have digital technology
- Unacknowledged Workers: Everyone who has contributed to open source libraries, tools, and frameworks that made this possible
- Unseen Labor: The invisible labor of maintaining and supporting the internet infrastructure and LLMs that helped in developing this application
This quiz is for entertainment and self-reflection only. It is not:
- A clinical assessment
- A diagnostic tool
- Professional psychological evaluation
- Scientific personality measurement
The archetypes are conceptual frameworks for thinking about responses to uncertainty, not scientific categories or personality types.
Created for educational and self-reflection purposes. View source, learn, and adapt under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International license (CC BY-NC-SA 4.0). See LICENSE for complete terms.
Note: This application requires a web server to run due to ES6 module imports and CORS restrictions. Do not open index.html directly in a browser - use one of the server options above.
Privacy: No data leaves your device. See privacy.html for details.