Inspiration

We observed that recent computer science graduates often struggle with pivotal decisions such as what to do after university whether intership or volunteering, choosing housing, pursuing further education, or defining a career path. These choices are frequently made with limited foresight, leading to mistakes and long-term consequences that are difficult to predict. This is why we built Clarity to help these recent computer science graduates solve the bias trap, where they choose paths based on immediate benefits while ignoring hidden structural costs like "time famine." We built Clarity with the aim that recent computer science graduates would think more clearly and systematically rather than simply providing answers to where they steers their lives towards.

What it does

Clarity is an AI-powered decision intelligence platform that helps recent computer science graduates evaluate major life decisions through structured reasoning, trade-off analysis, and scenario simulation. Computer science graduates begin by defining a decision dilemma, such as choosing between career paths, educational opportunities, business ventures, or relocation options. They then provide their available options, personal constraints, and key priorities. Using these inputs, Clarity generates a comprehensive Trade-Off Matrix that evaluates each option against the specified criteria by the graduates. The system highlights potential advantages, risks, opportunity costs, confidence levels, and hidden factors that may not be immediately obvious. To help recent graduatess think beyond immediate outcomes, Clarity includes a Scenario Explorer that allows them to stress-test their decisions against hypothetical future events. Examples include economic downturns, funding shortages, family obligations, health challenges, or increased market competition. The platform then analyzes how each decision pathway may be affected under those conditions.

Unlike traditional AI assistants that provide direct recommendations, Clarity follows a Zero-Recommendation Policy. The system never tells them what decision to make. Instead, it presents structured insights, trade-offs, and plausible future scenarios, enabling them to make informed choices while maintaining full control over the final decision. Key capabilities include:

  • Decision dilemma analysis
  • Multi-option comparison
  • Trade-off matrix generation
  • Risk and opportunity assessment
  • Scenario-based stress testing
  • Confidence and uncertainty scoring
  • Human-centered decision support
  • Responsible AI safeguards

By transforming complex choices into structured evaluations, Clarity helps recent computer science graduates reduce cognitive bias, overcome analysis paralysis, and make higher-confidence decisions.

How we built it

Clarity was built as a full-stack AI application designed to turn complex life decisions into clear, structured insights using AI reasoning instead of simple information retrieval.

1. System Architecture

Clarity uses a Node.js + Express backend to securely handle all API requests. This ensures that sensitive API keys are never exposed on the client side.

To improve reliability and uptime, we implemented a cascading failover system. If one AI model is unavailable, the system automatically switches to the next:

  • Gemini 3.5 Flash
  • Gemini 2.5 Flash
  • Gemini 3.1 Flash-Lite
  • Local fallback logic

This ensures the system remains stable even during rate limits or service interruptions.

2. Structured AI Processing

To ensure consistent and reliable outputs, Clarity uses schema-based AI responses through the Gemini SDK. Instead of free-form text, the AI returns structured JSON data such as:

  • Evaluations of each option
  • Risk and benefit scores
  • Confidence levels
  • Scenario outputs

This makes it possible for the frontend to directly render results without complex text parsing.

3. Core AI Features

Clarity is built around three main AI capabilities:

Decision Support & Reasoning

The system builds a Trade-Off Matrix that compares options based on defined priorities such as:

  • Financial stability
  • Career growth
  • Learning opportunities

Scenario Simulation

Recent computer science graduates can test “what-if” situations such as:

  • Economic downturns
  • Job loss
  • Funding delays
  • Personal life changes

This helps Recent computer science graduatesunderstand second-order consequences.

Natural Language Understanding

The system converts simple inputs into structured decision frameworks that can be analyzed by the AI engine.

4. Data Strategy & Responsible AI

Clarity uses synthetic and Computer science graduates -provided data only. No private or external datasets are required.

A key part of the system is Responsible AI design:

  • Every output includes a confidence score (1–5)
  • Uncertainty is clearly displayed
  • The system never makes final decisions for the recent computer science graduates

This ensures that humans remain in control of the final choice.

5. Design Philosophy

Clarity is built on one core principle:

AI should help people think better, not decide for them.

All system design choices support this idea by focusing on transparency, structure, and control.

Challenges we ran into

Our primary challenge was ensuring the AI didn't 'hallucinate' generic advice. We solved this by moving away from free-form text to a Strict Schema Constraint architecture using the Gemini SDK. Mapping non-linear life variables into structured JSON arrays that our React client could reliably render was a significant technical hurdle. We chose this LLM-driven approach over a static rules engine because rules cannot interpret the qualitative nuance of subjective priorities like 'creative sovereignty' versus 'financial runway

Another challenge we encountered is preventing AI overreach as LLMs naturally provide recommendations contrary to our goal, which is to preserve human agency. We solved this by designing a Zero-Recommendation Policy that prevents the AI from declaring a winner or telling users which path to choose.

Furthermore, Managing Uncertainty was another issue encountered as life decisions involve uncertainty, and no AI system can predict the future with complete accuracy. Instead of generating predictions, Clarity generates plausible scenario pathways and attaches confidence indicators to help users understand uncertainty.

Accomplishments that we're proud of

We are proud of our Cascading Failover Protocol. By building a server-side stack that automatically cycles through Gemini 3.5, 2.5, and 3.1-Lite, we achieved 99.9% uptime and resilient reasoning even when model rate limits were reached. We implemented a rigorous output validation process to ensure the reasoning engine met our "editorial-grade" standards. Our tests confirmed that despite switching between models, the AI consistently generated high-quality outputs

What we learned

We discovered that while rules-based engines are static, LLMs are uniquely capable of uncovering hidden structural factors like transition reversibility that are missing from an initial framing by the graduate students. We learned that 'AI Thinking' isn't just about code, but about designing frameworks that help humans reason through uncertainty.

What's next for Clarity: AI-Powered Simulator for High-Stakes Life Choices

Our next step is integrating External APIs for live labor market trends and cost-of-living data. This will expand our processing pipeline, allowing our Gemini-powered engine to ingest real-time economic context into our Strict Schema responses. This shifts our 'What-If' scenarios from synthetic projections to data-grounded simulations of real-world economic shifts, providing users with even higher-fidelity decision inputs.

Built With

Share this project:

Updates

posted an update

Discovering Clarity, The Anti-Slop Life Decision Simulator I am thrilled to share the evolution and current release of Clarity: AI-Powered Simulator for High-Stakes Life Choices, live on the USAII Global AI Hackathon platform!

Most AI applications today suffer from what we call "AI Slop", they either spit out generic, praise-filled motivational advice or force-feed rigid machine-generated conclusions. Clarity takes a different path. It is an honest, analytical sandbox designed to help humans navigate complex life crossroads by exposing what they are truly willing to sacrifice.

The Core Evolution: What We’ve Built Clarity has evolved from a simple tradeoff scanner into a comprehensive, responsive full-stack decision-intelligence dashboard. Here is a log of the core features and how they have evolved:

  1. Multi-Dimensional Tradeoff Matrices The simulator maps your declared alternatives (e.g., Bootstrap a Micro-SaaS vs. Accept an early-stage AI startup role) directly against your priority pillars (e.g., Financial Runway, Creative Autonomy, Professional Speed).

The Upgrade: Ratings are accompanied by precise Certainty Indication Metrics (using a 5-point discrete confidence range) to represent how realistic a trajectory is.

  1. Branching "What-If" Stress Testing You can inject high-impact shock events (e.g., "What if my student visa work window shifts?" or "What if customer acquisition cost triples?") onto specific paths.

The Upgrade: The system runs predictive feedback loops, generating second-order consequences and alternative trajectories dynamically mapped by the reasoning engine.

  1. Dual-Mode Live Interactive Dossier (NEW) We just rolled out a major feature to let users preview and export their final reflections in two formats:

Monospace Raw Text: Generates a retro, code-styled terminal log for direct clipboard copy.

High-Colour Editorial Preview: A gorgeous, bookish layout using Playfair Display typography, custom grid-alignments, subtle border-rules, and solid visual accents.

  1. Direct Print & Standalone HTML Exports (NEW) Instead of forcing a plain .txt download, you can now:

Download Coloured HTML Dossier: Generates an independent, fully responsive, CSS-styled HTML dashboard wrapper file for beautiful offline viewing.

Print/Save to PDF: Fully optimized @media print stylesheet that strips away headers, buttons, and navigation elements, transforming your screen into a pristine Print-Ready Decision Briefing Document with page-break protection.

The Architecture Behind the Scenes code Code ┌────────────────────────────────────────────────────────┐ │ Client Level: React 19 + Tailwind │ │ - Priority Inputs - Stress Builders - PDF Render │ └───────────────────────────┬────────────────────────────┘ │ (Secure HTTPS App Route) ┌───────────────────────────▼────────────────────────────┐ │ TypeScript Express Server Proxy │ │ - Enforces Schema Contracts │ │ - Conceals Private API Credentials from Scrapers │ └───────────────────────────┬────────────────────────────┘ │ (Structured JSON Endpoint) ┌───────────────────────────▼────────────────────────────┐ │ Google Gemini API │ │ - Dynamic fallback queues: gemini-3.5/2.5-flash │ └────────────────────────────────────────────────────────┘ Server-Side Proxy Securing Keys: API keys are isolated in Node.js server memory, preventing key exposure.

Structured JSON Schema Contracts: Enforces rigid, type-safe JSON schema output parameters from the Google GenAI SDK to eliminate runtime serialization crashes.

Zero-Storage Privacy Blueprint: No tracking databases, analytics cookies, or profiling systems. Your most stressful choices remain your own.

Crisis Safety Lock: Scans inputs locally for distressing keywords. If detected, it cuts the API connection and renders instant support interfaces connecting users to the 988 Suicide & Crisis Lifeline. Code Snippet Highlight: Dynamic Poly-Renderer This is how we render the high-fidelity dual-preview within the client bundle to allow instant CSS-based PDF rendering:

code

// Conditional rendering for the dual dossier preview system {previewMode === "terminal" ? ( /* Monospace RAW style /

{constructDossierText()}
) : ( / Elegant Printable Editorial Sheet */ CLARITY DOSSIER

The Deliberate Crossroad

{new Date().toISOString().slice(0,10)}

{/* Tradeoff table with responsive, full-coloured design */}
<div className="space-y-3">
  <span className="text-[10px] font-bold uppercase tracking-widest text-[#706F6C] block">Evaluation Matrix:</span>
  <table className="w-full text-left text-xs border border-[#E5E4E0] bg-white">
    {/* Render dynamically mapped structured rows with styled rating circles */}
  </table>
</div>

)}

High-Contrast Editorial Aesthetic We designed the application to read like a print newspaper or academic journal.

Color Palette: Grounded in soft creams (#FAF9F6), warm card backings (#F1F0EC), deep ink blacks (#1A1A1A), and muted charcoal grays (#706F6C).

Type Pairing: High-contrast, wide Inter sans-serif font for indicators and cards, paired with elegant, bookish Playfair Display italic headings for quote blocks and core choices.

Project Links & Access Explore the system live, stress-test your current ideas, and print your strategic life dossier:

Interactive App Dev Sandbox: Access Clarity Preview

Hackathon Shared Preview: Access Clarity Shared

Log in or sign up for Devpost to join the conversation.