AI and data engineer in Monastir, Tunisia. I build schema-migration engines, real-time ingestion pipelines, and document extraction systems in Python, SQL, Go, and TypeScript. When I hit parser or state-sync bugs in upstream libraries, I patch them directly.
- Financial Data Migration Engine (
PFE/smart-migration-service) - Automated ETL and schema-mapping platform for migrating legacy banking and leasing databases (Cassiopae,EVOLAN, Oracle, PostgreSQL) intoXloan. Introspects source and target DDL (migration/schema/), scores candidate mappings with weighted similarity and an Apache AGE GraphRAG knowledge base (migration/graph/client.py), and compiles validated JSON mappings into dbt SQL models (dbt_compiler.py) and Talend jobs. Runs AI-generated SQL inside an ephemeral PostgreSQL sandbox (migration/agent/sandbox.py,auto_healer.py) with statement timeouts, syntax auto-healing, OpenLineage UUIDv5 lineage tracking, and 28pytestsuites. - eSIM Price Truth & FX Pipeline (live site) - Zero-dependency Node data pipeline and static generator that normalizes 136,040 eSIM price points (6,802 plan variants across 94 destinations and 20 currencies) against European Central Bank spot rates to surface 224 currency inversions. Exposes flat dataset exports and live price-anomaly feeds behind HMAC-signed Cloudflare Worker and Appwrite Function gates.
- Adelaide Emergency Department Real-Time ETL (
sa-ed-dashboard) (live dashboard) - Time-series ingestion and monitoring pipeline polling 9 South Australia Health Emergency Department feeds (ED001-ED009) every 15 minutes via authenticated cron workers (app/api/cron/ed-data). Persists occupancy, triage wait-time, and ambulance stream snapshots in PostgreSQL with automated gap detection (app/api/monitor/data-continuity) and 48-point rolling window aggregation. - BVMT Financial Market RAG & Forecasting (
stockx-pt-backend) (live app) - Hybrid SQL and vector retrieval backend for Tunisian stock exchange (BVMT / BIAT) market data. Embeds PostgreSQL financial news into ChromaDB withall-MiniLM-L6-v2(load_pg_to_chroma.py), routes user queries between deterministic SQL KPI aggregations (kpi_queries.py) and Hugging Face RAG synthesis (chatbot.py), and serves price forecasts. - YuccaInfo GED (backend / frontend) & Seha - Document OCR and zero-shot classification pipelines. YuccaInfo extracts text from uploaded PDFs and scans with
pytesseracton Django REST + PostgreSQL and classifies documents across 9 categories usingfacebook/bart-large-mnli. Seha digitizes and tracks Tunisian CNAM health insurance claims in Next.js 15. - Multi-Provider Biometric & Document OCR (
id-verification) (live demo) - Identity verification pipeline in Next.js 15 and Sharp (app/api/ocr,app/api/face-match,app/api/liveness) combining Scandit capture and CompreFace with automatic fallback across AWS Textract/Rekognition, Google Cloud Vision, and Azure Face API. - Miranda AI (
miranda-medical-assistant) (live demo) - Cardiology assistant built in Next.js 15 and OpenAIgpt-4o-miniwith server-side medical document content extraction (app/api/extract-content), structured reasoning workflows (app/api/chat/deep-analysis), and Firebase file storage.
Merged pull requests in AI evaluation, data visualization, and networking libraries:
- UKGovernmentBEIS/inspect_ai#6078 (Python) - Extracted
urlparse(url).pathbefore file extension matching inprecomputed_scores()so HTTP(S) presigned.jsonlURLs carrying query strings stop falling back to the.jsonreader. - UKGovernmentBEIS/inspect_ai#5987 (Python) - Tagged blank model completions with
reason="no_response"inmodel_graded_qaandchoicescorers instead of grading empty strings. - holoviz/panel#9090 (Python) - Updated
FileDownloadinpanel/widgets/misc.pyto accept anyos.PathLikeobject (such asos.DirEntryfromos.scandir) rather than checkingisinstance(..., (str, Path))only. - holoviz/panel#9028 (Python) - Fixed an inverted batch-update guard in
ReactiveESM._update_modelsojslinkpreprocessing hooks fire when child components are appended dynamically. - holoviz/panel#8974 (Python) - Scoped embedded widget state deduplication in
panel/io/embed.pyto require matching widget types and candidate option values before merging keys. - holoviz/panel#8901 (Python) - Guarded
DateRangeSlider._sync_valuesinpanel/widgets/slider.pyagainstvalue=Nonebefore tuple unpacking. - go-resty/resty#1274 (Go) - Added CRLF (
\r\n) and CR (\r) line-ending support to the SSE stream scanner (splitSSEEventandlistenStreaminsse.go) per WHATWG HTML 9.2.5, fixing stalled event dispatch on non-LF servers and a race betweenSSESource.Closeandio.EOF.
Open pull requests under review:
- dexidp/dex#5100 (Go) - Returns a typed
UserNotInRequiredGroupsError(HTTP 403 Forbidden) instead of HTTP 500 when a GitHub OAuth user lacks required org or team membership inconnector/github/github.go. - super-productivity/super-productivity#11794 (TypeScript) - Adds explicit connect and read timeouts to
CapacitorHttprequests innativePostJsonso dropped mobile connections do not leave the SuperSync sign-in dialog spinning forever.
- Web: youssef-benatti.me
- Email: [email protected]



