Summary:
Built a modular and intelligent rating engine tailored for insurance products on InsuranceMarket.sg, streamlining policy scoring, pricing, commission calculation, and promotional adjustments. Started with complex car insurance and later adapted it for travel, pet, and maid insurance.
Overview:
As Solution Architect and Lead Developer, I led the creation of an end-to-end insurance pricing framework focused initially on the highly regulated and variable domain of car insurance. The solution involved:
Custom CMS Platform
Designed and developed a custom CMS interface that allows business teams to define and manage insurance policies with granular control. This included inputting policy wordings, conditions, coverages, inclusions, exclusions, and premium breakdowns.
Relational Policy Modeling
Architected a UI and backend system that supports complex relationships such as one-to-many and many-to-many mappings across policy types, features, coverage tiers, and conditions.
Validation and Data Integrity
Integrated intelligent validation rules at the input layer to ensure consistency and compliance before any policy data reaches the rating logic.
Dynamic Rating Engine
Engineered a scoring mechanism that evaluates policies based on user-provided data and policy rules. This determines which policies rank highest in terms of relevance, value, and comprehensiveness, especially for high-complexity products like car insurance.
Commission and Pricing Adjustments
Built a flexible commission module enabling tiered or flat commission configurations per partner. This system automatically recalculates policy pricing based on the assigned commission, ensuring seamless synchronization.
Promotions and Discounts Module
Enabled creation and application of promotional rules, both fixed and percentage-based, that are auto-applied to qualifying products or user segments.
API Integration
Connected the pricing engine to frontend marketplaces and quote flows using GraphQL, enabling real-time rendering of policy comparisons with live price and benefit scoring.
Scalability for Other Products
Once the core framework was validated for car insurance, it was efficiently extended to handle simpler insurance types such as travel, pet, and maid policies by reducing rule complexity while retaining the CMS and scoring model’s flexibility.
Key Outcomes
Delivered a robust pricing platform that reduced manual errors and turnaround time for updating insurance plans. Enabled the marketing and operations teams to independently manage promotions and commission updates without developer intervention. Created a competitive advantage by introducing a feature-rich comparison experience for users, combining price, coverage, and ranking in real time.
Tech Stack
React, TypeScript, Node.js, NestJS, PostgreSQL, Prisma ORM, GraphQL, Redis, Docker