A complete web-based interface that mimics Guidewire ClaimCenter's look and feel, making LiabilityIQ appear as a native part of the claims management system.
- Generates self-contained HTML files with embedded CSS and JavaScript
- ClaimCenter-style color scheme (blue/gray palette: #1e3a5f)
- Professional tabbed interface
- Responsive design
- No external dependencies
- Flask-based web server
- Dashboard for viewing all claims
- Interactive claim processing
- Real-time dossier generation
- RESTful API endpoints
- Now supports HTML output format (in addition to Markdown)
- Seamlessly integrates with existing pipeline
- Configuration-driven (set in
config/config.yaml)
- Primary Blue: #1e3a5f (ClaimCenter standard)
- Secondary Gray: #f8f9fa, #e9ecef
- Status Colors:
- High/Success: Green (#28a745)
- Medium/Warning: Orange (#ffc107)
- Low/Error: Red (#dc3545)
- Header: Gradient blue header with claim information
- Tabs: Horizontal tab navigation matching ClaimCenter
- Panels: White panels with gray headers
- Tables: Professional data tables with hover effects
- Badges: Color-coded severity/priority indicators
- Score Visualizations: Circular readiness indicators and progress bars
- Timeline: Vertical timeline with event markers
- Large readiness score circle (color-coded)
- Key metrics (Existence, Completeness, Quality)
- Key findings summary
- Executive summary
- Detailed scoring dashboard table
- Requirement-by-requirement breakdown
- Visual progress bars for each score
- Rationale and rule hits/misses
- Incident details in card layout
- Claimants, vehicles, drivers
- Damage areas
- Policy and registration information
- Master timeline of events
- Document creation dates
- Visual timeline with markers
- List of identified gaps
- Severity badges
- Required items
- Evidence references
- Detected inconsistencies
- Conflicting documents
- Conflicting values displayed
- Risk indicators
- Severity classification
- Supporting evidence
- Prioritized action items
- Templated outreach messages
- Related gaps/conflicts/risks
- Document summaries table
- Quick reference to all documents
python web_app.pyOpen browser to: http://localhost:5000
- Dashboard: View all available claims
- Generate: Create sample synthetic claims (if needed)
- Process: Click "Process" to analyze a claim
- View: Click "View Dossier" to see the full analysis
- Navigate: Use tabs to explore different aspects
- Run as separate service
- Access via URL
- Can be deployed to any web server
- Extract HTML/CSS/JS
- Embed as custom screen/widget
- Use ClaimCenter's theming system
- Use Flask API endpoints
- Integrate with ClaimCenter REST API
- Real-time processing
- Generate HTML files
- Store in ClaimCenter document repository
- Link from claim screens
src/output/
├── dossier_generator.py # Main generator (supports HTML/Markdown)
└── claimcenter_html_generator.py # HTML-specific generator
web_app.py # Flask web application
- HTML dossiers:
output/dossier_CLM-*.html - Self-contained (no external CSS/JS files)
- Can be opened directly in browser
- Can be embedded in iframes
- Flask (web server)
- All existing dependencies (pydantic, faker, etc.)
Edit _get_css() method in claimcenter_html_generator.py:
- Primary:
.cc-headerbackground - Accent:
.cc-tab.activeborder-color - Status colors:
.readiness-circle.high/medium/low
- Add tab button in
_generate_tabs() - Create
_generate_*_tab()method - Add tab content div in
_generate_content()
- Panel structure: Modify
_generate_*_tab()methods - Grid layouts: Adjust CSS grid definitions
- Tables: Customize
.cc-tablestyles
- Chrome/Edge: Full support
- Firefox: Full support
- Safari: Full support
- IE11: Limited (use modern browsers)
- HTML files: ~50-100KB per dossier
- Load time: <1 second
- No external API calls
- All processing server-side
For production deployment:
- Add authentication/authorization
- Sanitize user inputs
- Use HTTPS
- Implement rate limiting
- Add CSRF protection
- Styling Refinement: Match exact ClaimCenter CSS
- Interactive Features: Add filtering, sorting, search
- Export Options: PDF, Excel exports
- Real-time Updates: WebSocket support
- Mobile Responsive: Optimize for tablets/phones
- Accessibility: WCAG compliance
- Internationalization: Multi-language support