Add FairScore AI pricing engine, roadmap, and enhanced UI#1
Open
sumanthp wants to merge 2 commits into
Open
Conversation
- ai-engine.js: multi-factor FairScore model (vehicle risk, driving credential with FairCredit for international history, geographic risk, mileage pattern, coverage behavior) → quantified monthly premium with traditional vs. FairDrive comparison and per-action savings estimates - ROADMAP.md: full 4-phase product roadmap (AI foundation → intelligence layer → market entry → scale) with tech architecture, regulatory strategy, revenue model, and success metrics - index.html: new FairScore view with 6-factor input form, score gauge, factor breakdown, score narrative, and premium comparison; enhanced Coach view with AI-generated recommendations and savings badges - app.js: wires FairScore engine to UI — gauge animation, factor bars, score narrative, premium comparison, coach pre-population - styles.css: FairScore form grid, SVG gauge, factor bars, premium comparison blocks, savings badge, coach item with action link https://claude.ai/code/session_01RjgWJqDj9rNDnAcvr4A3R2
…ence Migrates the prototype to a production-grade Next.js 14 App Router TypeScript application with full Claude AI integration for insurance document analysis. Core additions: - FairScore AI pricing engine (TypeScript) with Bayesian confidence intervals and FairCredit system crediting international driving history - Claude API integration: document extraction (/api/analyze), streaming quote explanation (/api/explain), passport summary generation - Insurance Passport MVP: 6 document types with consent controls, share tokens - State minimums compliance checker for 20 US states - Full React component architecture: AppShell, Sidebar, HeroPanel, ScoreGauge, FairScoreView, QuoteView, PassportView, EstimatorView, CoachView - Three.js 3D vehicle viewer with static imports (ssr:false via next/dynamic) - Graceful mock mode when ANTHROPIC_API_KEY is absent for demo use https://claude.ai/code/session_01RjgWJqDj9rNDnAcvr4A3R2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ai-engine.js: multi-factor FairScore model (vehicle risk, driving credential with FairCredit for international history, geographic risk, mileage pattern, coverage behavior) → quantified monthly premium with traditional vs. FairDrive comparison and per-action savings estimates
ROADMAP.md: full 4-phase product roadmap (AI foundation → intelligence layer → market entry → scale) with tech architecture, regulatory strategy, revenue model, and success metrics
index.html: new FairScore view with 6-factor input form, score gauge, factor breakdown, score narrative, and premium comparison; enhanced Coach view with AI-generated recommendations and savings badges
app.js: wires FairScore engine to UI — gauge animation, factor bars, score narrative, premium comparison, coach pre-population
styles.css: FairScore form grid, SVG gauge, factor bars, premium comparison blocks, savings badge, coach item with action link
https://claude.ai/code/session_01RjgWJqDj9rNDnAcvr4A3R2