feat: initial implementation taller-wox.fitlabs.dev

Portal FastAPI + 5 endpoints REST para Bootcamp Agentic AI con
watsonx Orchestrate (FactorIT). Single container, Coolify-ready.

- Landing brandeado FIT con formulario de registro (honeypot anti-bot)
- Tokens itsdangerous para descargas (24h expiry)
- 5 endpoints API: historical/available procedures, member-insights,
  schedule, generate-report (Jinja2 + Plotly)
- SQLite con upsert-on-email para leads + log de descargas
- Admin endpoints (HTTP Basic): leads.json, leads.csv, stats
- 23 tests pytest pasando
- Dockerfile listo para Coolify con volúmenes persistentes
  (/app/leads.db, /app/app/data/reports_output, /app/material)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-13 03:01:44 +00:00
commit 041e2325e7
56 changed files with 7992 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
procedure,location,facility_rating,distance_miles,gold_ppo_plan_accepted,silver_epo_plan_accepted,accepted_plans,cost_facility,cost_physician,cost_anesthesia,cost_medication,total_cost
MRI,City Hospital,4.7,5.2,true,true,"Gold PPO, Family Plan - Silver EPO, Medicare Advantage",1450.00,820.00,0.00,12.00,2282.00
MRI,Regional Medical Center,4.6,12.6,true,true,"Gold PPO, Family Plan - Silver EPO",1380.00,790.00,0.00,11.00,2181.00
MRI,Green Valley Clinic,4.5,8.4,true,false,"Gold PPO, Bronze HDHP",1520.00,860.00,0.00,12.50,2392.50
MRI,Sunrise Health,4.3,15.1,true,false,"Gold PPO, Bronze HDHP",1610.00,880.00,0.00,13.00,2503.00
CT Scan,City Hospital,4.7,5.2,true,true,"Gold PPO, Family Plan - Silver EPO, Medicare Advantage",1600.00,750.00,0.00,8.00,2358.00
CT Scan,Regional Medical Center,4.6,12.6,true,true,"Gold PPO, Family Plan - Silver EPO",1540.00,720.00,0.00,7.50,2267.50
CT Scan,Sunrise Health,4.3,15.1,true,false,"Gold PPO, Bronze HDHP",1750.00,820.00,0.00,9.00,2579.00
X Ray,City Hospital,4.7,5.2,true,true,"Gold PPO, Family Plan - Silver EPO, Medicare Advantage",110.00,140.00,0.00,2.00,252.00
X Ray,Green Valley Clinic,4.5,8.4,true,true,"Gold PPO, Family Plan - Silver EPO, Bronze HDHP",95.00,125.00,0.00,1.50,221.50
X Ray,Sunrise Health,4.3,15.1,true,false,"Gold PPO, Bronze HDHP",90.00,120.00,0.00,1.50,211.50
X Ray,Regional Medical Center,4.6,12.6,true,true,"Gold PPO, Family Plan - Silver EPO",100.00,130.00,0.00,1.50,231.50
Annual Physical Exam,City Hospital,4.7,5.2,true,true,"Gold PPO, Family Plan - Silver EPO, Medicare Advantage",80.00,180.00,0.00,5.00,265.00
Annual Physical Exam,Green Valley Clinic,4.5,8.4,true,true,"Gold PPO, Family Plan - Silver EPO, Bronze HDHP",75.00,170.00,0.00,4.50,249.50
Annual Physical Exam,Sunrise Health,4.3,15.1,true,false,"Gold PPO, Bronze HDHP",85.00,200.00,0.00,4.50,289.50
Annual Physical Exam,Regional Medical Center,4.6,12.6,true,true,"Gold PPO, Family Plan - Silver EPO",90.00,210.00,0.00,5.00,305.00
Appendectomy,City Hospital,4.7,5.2,true,true,"Gold PPO, Family Plan - Silver EPO, Medicare Advantage",9100.00,5800.00,2200.00,195.00,17295.00
Appendectomy,Regional Medical Center,4.6,12.6,true,true,"Gold PPO, Family Plan - Silver EPO",8200.00,5400.00,2100.00,180.00,15880.00
Dental Cleaning,Green Valley Clinic,4.5,8.4,true,true,"Gold PPO, Family Plan - Silver EPO, Bronze HDHP",58.00,118.00,0.00,0.00,176.00
Dental Cleaning,City Hospital,4.7,5.2,true,true,"Gold PPO, Family Plan - Silver EPO",60.00,120.00,0.00,0.00,180.00
Dental Cleaning,Sunrise Health,4.3,15.1,true,false,"Gold PPO, Bronze HDHP",55.00,115.00,0.00,0.00,170.00
Vision Exam,Sunrise Health,4.3,15.1,true,false,"Gold PPO, Bronze HDHP",35.00,105.00,0.00,0.00,140.00
Vision Exam,Green Valley Clinic,4.5,8.4,true,true,"Gold PPO, Family Plan - Silver EPO, Bronze HDHP",38.00,108.00,0.00,0.00,146.00
Vision Exam,City Hospital,4.7,5.2,true,true,"Gold PPO, Family Plan - Silver EPO",40.00,110.00,0.00,0.00,150.00
Blood Test,City Hospital,4.7,5.2,true,true,"Gold PPO, Family Plan - Silver EPO, Medicare Advantage",25.00,55.00,0.00,2.50,82.50
Blood Test,Regional Medical Center,4.6,12.6,true,true,"Gold PPO, Family Plan - Silver EPO",28.00,55.00,0.00,3.00,86.00
Angioplasty,City Hospital,4.7,5.2,true,true,"Gold PPO, Family Plan - Silver EPO, Medicare Advantage",9432.80,4774.57,1894.37,834.80,16936.54
Angioplasty,Regional Medical Center,4.6,12.6,true,true,"Gold PPO, Family Plan - Silver EPO",8920.00,4520.00,1850.00,810.00,16100.00
Ultrasound,City Hospital,4.7,5.2,true,true,"Gold PPO, Family Plan - Silver EPO, Medicare Advantage",380.00,290.00,0.00,3.00,673.00
1 procedure location facility_rating distance_miles gold_ppo_plan_accepted silver_epo_plan_accepted accepted_plans cost_facility cost_physician cost_anesthesia cost_medication total_cost
2 MRI City Hospital 4.7 5.2 true true Gold PPO, Family Plan - Silver EPO, Medicare Advantage 1450.00 820.00 0.00 12.00 2282.00
3 MRI Regional Medical Center 4.6 12.6 true true Gold PPO, Family Plan - Silver EPO 1380.00 790.00 0.00 11.00 2181.00
4 MRI Green Valley Clinic 4.5 8.4 true false Gold PPO, Bronze HDHP 1520.00 860.00 0.00 12.50 2392.50
5 MRI Sunrise Health 4.3 15.1 true false Gold PPO, Bronze HDHP 1610.00 880.00 0.00 13.00 2503.00
6 CT Scan City Hospital 4.7 5.2 true true Gold PPO, Family Plan - Silver EPO, Medicare Advantage 1600.00 750.00 0.00 8.00 2358.00
7 CT Scan Regional Medical Center 4.6 12.6 true true Gold PPO, Family Plan - Silver EPO 1540.00 720.00 0.00 7.50 2267.50
8 CT Scan Sunrise Health 4.3 15.1 true false Gold PPO, Bronze HDHP 1750.00 820.00 0.00 9.00 2579.00
9 X Ray City Hospital 4.7 5.2 true true Gold PPO, Family Plan - Silver EPO, Medicare Advantage 110.00 140.00 0.00 2.00 252.00
10 X Ray Green Valley Clinic 4.5 8.4 true true Gold PPO, Family Plan - Silver EPO, Bronze HDHP 95.00 125.00 0.00 1.50 221.50
11 X Ray Sunrise Health 4.3 15.1 true false Gold PPO, Bronze HDHP 90.00 120.00 0.00 1.50 211.50
12 X Ray Regional Medical Center 4.6 12.6 true true Gold PPO, Family Plan - Silver EPO 100.00 130.00 0.00 1.50 231.50
13 Annual Physical Exam City Hospital 4.7 5.2 true true Gold PPO, Family Plan - Silver EPO, Medicare Advantage 80.00 180.00 0.00 5.00 265.00
14 Annual Physical Exam Green Valley Clinic 4.5 8.4 true true Gold PPO, Family Plan - Silver EPO, Bronze HDHP 75.00 170.00 0.00 4.50 249.50
15 Annual Physical Exam Sunrise Health 4.3 15.1 true false Gold PPO, Bronze HDHP 85.00 200.00 0.00 4.50 289.50
16 Annual Physical Exam Regional Medical Center 4.6 12.6 true true Gold PPO, Family Plan - Silver EPO 90.00 210.00 0.00 5.00 305.00
17 Appendectomy City Hospital 4.7 5.2 true true Gold PPO, Family Plan - Silver EPO, Medicare Advantage 9100.00 5800.00 2200.00 195.00 17295.00
18 Appendectomy Regional Medical Center 4.6 12.6 true true Gold PPO, Family Plan - Silver EPO 8200.00 5400.00 2100.00 180.00 15880.00
19 Dental Cleaning Green Valley Clinic 4.5 8.4 true true Gold PPO, Family Plan - Silver EPO, Bronze HDHP 58.00 118.00 0.00 0.00 176.00
20 Dental Cleaning City Hospital 4.7 5.2 true true Gold PPO, Family Plan - Silver EPO 60.00 120.00 0.00 0.00 180.00
21 Dental Cleaning Sunrise Health 4.3 15.1 true false Gold PPO, Bronze HDHP 55.00 115.00 0.00 0.00 170.00
22 Vision Exam Sunrise Health 4.3 15.1 true false Gold PPO, Bronze HDHP 35.00 105.00 0.00 0.00 140.00
23 Vision Exam Green Valley Clinic 4.5 8.4 true true Gold PPO, Family Plan - Silver EPO, Bronze HDHP 38.00 108.00 0.00 0.00 146.00
24 Vision Exam City Hospital 4.7 5.2 true true Gold PPO, Family Plan - Silver EPO 40.00 110.00 0.00 0.00 150.00
25 Blood Test City Hospital 4.7 5.2 true true Gold PPO, Family Plan - Silver EPO, Medicare Advantage 25.00 55.00 0.00 2.50 82.50
26 Blood Test Regional Medical Center 4.6 12.6 true true Gold PPO, Family Plan - Silver EPO 28.00 55.00 0.00 3.00 86.00
27 Angioplasty City Hospital 4.7 5.2 true true Gold PPO, Family Plan - Silver EPO, Medicare Advantage 9432.80 4774.57 1894.37 834.80 16936.54
28 Angioplasty Regional Medical Center 4.6 12.6 true true Gold PPO, Family Plan - Silver EPO 8920.00 4520.00 1850.00 810.00 16100.00
29 Ultrasound City Hospital 4.7 5.2 true true Gold PPO, Family Plan - Silver EPO, Medicare Advantage 380.00 290.00 0.00 3.00 673.00