Build an Automated Insurance Claims Fraud Agent with FastHTML and Instructor
Insurance claims processing in Asia-Pacific markets requires fast automated fraud triage to combat inflated or fraudulent loss reports. Construct a web dashboard and structured extraction agent using FastHTML and Instructor in Python that screens claim documentation.
What you are building
The core problem, expected build, and operating context for this challenge.
Build an interactive FastHTML web portal connected to an Instructor structured LLM agent for insurance claim fraud detection.
How work is evaluated
Evaluates accuracy of claim fraud classification and Pydantic schema adherence.
Challenge datasets
Public datasets, plus the private datasets you have access to.
How submissions are scored
These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.
test_siu_referral
Ensure policy inception proximity triggers SIU referral
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
f1_score
F1 score for claim fraud triage • target: 0.95 • range: 0.85-1
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
What you should walk away with
Build a pure Python FastHTML UI for submitting and viewing insurance claims.
Use Instructor to enforce structured Pydantic schemas on claim narrative extractions.
Calculate fraud likelihood based on repair cost outliers and treatment timestamps.
Reference links and supporting material
Synthetic insurance claim records and accident incident descriptions.
Challenge setup
Evaluates accuracy of claim fraud classification and Pydantic schema adherence.
Challenge input
JSON claim submission including description, claimed_amount, and policy_age_days
FastHTML
UI framework requirement
Instructor
Structured extraction tool requirement
Evaluated output
JSON validated model with fraud_score, routing_decision, red_flags
- Ensure policy inception proximity triggers SIU referral
- F1 score for claim fraud triage • target: 0.95 • range: 0.85-1
- Benchmark: Insurance Triage Benchmark v1
- F1 Score target: 0.95
- 1 public reference case
- Python execution harness
- Python sandbox (unavailable on Versalist)
Summary shows the first task, up to three tools, and up to three evidence items. Open the technical recipe to view all configured items.
View technical recipe
Configured tools
- Instructor · Required
Evaluation contract
- test_siu_referral · Weight 1
- f1_score · Weight 1
Metrics
- f1_score · Target 0.95
Benchmarks
- Insurance Triage Benchmark v1
- security
Reference cases
- 1 public reference case
Workflow tasks
- Task 1
Input: JSON claim submission including description, claimed_amount, and policy_age_days
Output: JSON validated model with fraud_score, routing_decision, red_flags
Execution harness: Python
Evaluation tools
- FastHTML · web_framework
- Instructor · structured_llm_tool
Recipe freeze marker
No recipe freeze time is recorded.