Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -57,15 +57,14 @@ IoU / Mask Overlap Cross-Reference
|
|
| 57 |
β
|
| 58 |
βΌ
|
| 59 |
Cost Estimation (GradientBoosting ML model)
|
| 60 |
-
βββ Repair
|
| 61 |
βββ Regional labor rates by state β body / mechanical / paint (SCRS 2024 survey data)
|
| 62 |
-
|
| 63 |
-
βββ Total loss flag (repair cost > 70% of estimated ACV)
|
| 64 |
β
|
| 65 |
βΌ
|
| 66 |
-
Gemini Flash β natural language explanation + STP eligibility decision
|
| 67 |
-
βββ STP criteria: cost < $1,500, confidence > 60%
|
| 68 |
-
βββ Auto-escalation to adjuster if confidence < 40%
|
| 69 |
β
|
| 70 |
βΌ
|
| 71 |
Audit Trail (JSONL) β claim ID, session ID, timestamp, model version, full decision log
|
|
@@ -110,7 +109,7 @@ python -m venv venv
|
|
| 110 |
source venv/bin/activate # Windows: venv\Scripts\activate
|
| 111 |
pip install fastapi "uvicorn[standard]" python-multipart pillow numpy \
|
| 112 |
opencv-python-headless pycocotools ultralytics scikit-learn joblib \
|
| 113 |
-
google-
|
| 114 |
--index-url https://download.pytorch.org/whl/cpu
|
| 115 |
uvicorn api:app --reload --port 8000
|
| 116 |
```
|
|
@@ -220,14 +219,12 @@ Upload a vehicle photo and receive structured damage detections, cost estimates,
|
|
| 220 |
],
|
| 221 |
"total_cost_range": [373, 505],
|
| 222 |
"state": "MI",
|
| 223 |
-
"labor_rates": {"body": 67.0, "mechanical": 95.0, "paint": 65.0}
|
| 224 |
-
"acv_estimate": 20000,
|
| 225 |
-
"total_loss": false
|
| 226 |
},
|
| 227 |
-
"explanation": "
|
| 228 |
"confidence_score": 0.81,
|
| 229 |
"stp_eligible": true,
|
| 230 |
-
"stp_reasoning": "Claim eligible for auto-approval: cost $439 under $1,500 threshold, 81% confidence meets requirement
|
| 231 |
"requires_adjuster_review": false,
|
| 232 |
"override_allowed": true,
|
| 233 |
"model_version": "1.0.0",
|
|
|
|
| 57 |
β
|
| 58 |
βΌ
|
| 59 |
Cost Estimation (GradientBoosting ML model)
|
| 60 |
+
βββ Repair/replace decision per part (glass/severe damage β replace, else repair)
|
| 61 |
βββ Regional labor rates by state β body / mechanical / paint (SCRS 2024 survey data)
|
| 62 |
+
βββ Total cost range (Β±15% band)
|
|
|
|
| 63 |
β
|
| 64 |
βΌ
|
| 65 |
+
Gemini 2.5 Flash β natural language explanation + STP eligibility decision
|
| 66 |
+
βββ STP criteria: cost < $1,500, confidence > 60%
|
| 67 |
+
βββ Auto-escalation to adjuster if confidence < 40%
|
| 68 |
β
|
| 69 |
βΌ
|
| 70 |
Audit Trail (JSONL) β claim ID, session ID, timestamp, model version, full decision log
|
|
|
|
| 109 |
source venv/bin/activate # Windows: venv\Scripts\activate
|
| 110 |
pip install fastapi "uvicorn[standard]" python-multipart pillow numpy \
|
| 111 |
opencv-python-headless pycocotools ultralytics scikit-learn joblib \
|
| 112 |
+
google-genai python-dotenv torch torchvision \
|
| 113 |
--index-url https://download.pytorch.org/whl/cpu
|
| 114 |
uvicorn api:app --reload --port 8000
|
| 115 |
```
|
|
|
|
| 219 |
],
|
| 220 |
"total_cost_range": [373, 505],
|
| 221 |
"state": "MI",
|
| 222 |
+
"labor_rates": {"body": 67.0, "mechanical": 95.0, "paint": 65.0}
|
|
|
|
|
|
|
| 223 |
},
|
| 224 |
+
"explanation": "The vehicle sustained a moderate dent to the front bumper requiring repair...",
|
| 225 |
"confidence_score": 0.81,
|
| 226 |
"stp_eligible": true,
|
| 227 |
+
"stp_reasoning": "Claim eligible for auto-approval: cost $439 under $1,500 threshold, 81% confidence meets requirement.",
|
| 228 |
"requires_adjuster_review": false,
|
| 229 |
"override_allowed": true,
|
| 230 |
"model_version": "1.0.0",
|