UiForge
Prompt

Driftwatch — Monitoring de modèles ML

DashboardMinimalVercelStripeFadeHover effectMicro-interactionsReactTailwindD3.jsRecharts
Prêt à l'emploi

Copie le prompt dans le presse-papier, sans quitter la page.

❯ Prompt Claude
CONTEXT & GOAL: Driftwatch is a production ML model monitoring dashboard covering data drift, prediction quality, inference latency, and serving cost. The primary user is an ML engineer who owns three production models and needs to answer 'is my model still trustworthy this week?' and catch silent degradation before business metrics feel it. The signature idea is the Drift Horizon: a ridgeline plot stacking each week's distribution of a feature as successive mountain crests (most recent in front), so drift appears as a mountain range slowly migrating sideways — a visual you can read in two seconds where a PSI table takes two minutes.

ART DIRECTION: Measurement-instrument light: lab white, graphite structure, one oscilloscope-green accent, hairline grid rules everywhere — the personality of a beautifully calibrated instrument, closer to Braun than to a BI tool. References: Vercel Analytics' typographic precision, Stripe's table craft, vintage oscilloscope faceplates. The Drift Horizon ridgelines and the single-accent discipline distinguish it from rainbow-colored ML platforms.

COLOR SYSTEM: Background #FCFCFB, surface #FFFFFF, raised surface #F7F7F5. Border #E4E4E0, hairline grid #EEEEEA, border hover #CACAC2. Text primary #191A17, text secondary #5F615A, text tertiary #92948C. Oscilloscope green accent #12A876, hover #0E8C62, active #0B7350, for the current-week ridge, links, primary buttons, and healthy statuses. Ridge history strokes: graphite scale from #3A3B37 (last week) fading to #C9CAC4 (8 weeks ago), current week filled #12A87626 with #12A876 stroke. Drift statuses: stable #12A876, watch #D9A32E, drifting #D96A2E, critical #CC4536 — text badges with 10% tint backgrounds. Threshold lines #CC4536 dashed.

TYPOGRAPHY: Inter for UI and body, JetBrains Mono for metric values, PSI scores, versions, and timestamps — numbers are the protagonists so they get the mono treatment. H1 24px/30px weight 600. Panel title 14px/19px weight 600. KPI figure 30px/34px weight 700 JetBrains Mono tabular-nums. Body 13px/19px weight 400 Inter. Mono data 12.5px/18px weight 400. Axis labels 11px/14px weight 400 text tertiary. Uppercase micro-labels 10px/14px weight 600 letter-spacing 0.08em.

LAYOUT & GRID: Sidebar 220px, white with a hairline right border, model quick-list at top with status dots. Topbar 56px: model selector 'churn-predictor v2.4.1 — deployed Jun 18' with a version dropdown, time-window segmented control (7d/30d/90d), and a Compare Versions button. Content max-width 1480px, 24px padding, 12-column grid, 20px gutters. Row 1: KPI band, 4 cards of 3 columns. Row 2: Drift Horizon panel 8 columns 360px tall with a feature selector list on its left edge, beside training-vs-production comparison panel 4 columns. Row 3: performance curves 7 columns beside prediction volume 5 columns. Row 4: features table full width. Responsive: ≥1280px as described; 1024-1279px comparison panel drops below the Horizon; <1024px single column, ridgeline reduces to 5 visible weeks with a depth slider, table scrolls horizontally in its container.

SECTIONS & COMPONENTS: KPI band: Models in Production 7, Active Drift Alerts 3, Inference p95 84 ms, Serving Cost Today $41.20. Drift Horizon (feature 'days_since_last_order' selected): 8 weekly ridges stacked back-to-front; the range visibly migrates right over the last 3 weeks; annotations mark 'Jun 21 — marketing campaign launched' as a dashed vertical event line; hovering a ridge lifts it to full opacity, dims others to 30%, and shows week, mean 12.4 (was 9.1 in training), and PSI 0.31; the feature selector lists 12 features with mini status dots — psi values in mono: days_since_last_order 0.31 critical, cart_value_avg 0.18 drifting, sessions_7d 0.06 stable. Training-vs-production panel: overlaid histograms (training graphite outline, production green fill 25%) for the selected feature with a KS-statistic readout 0.24 and 'p < 0.001'. Performance curves: F1 line over 90 days at 0.83 declining to 0.79 with the alert threshold 0.78 as a red dashed line and a projected crossing 'in about 9 days' annotation; accuracy 0.91; both with confidence bands. Prediction volume: daily bars, 184k predictions yesterday, weekend dips visible. Features table: columns Feature, PSI (mono), Status badge, Model Importance %, Last Alert, Action ('Open investigation'); sorted by PSI descending by default; sortable headers. Filters: model select, version dropdown, time window. States: critical drift pins a banner 'days_since_last_order PSI 0.31 exceeds 0.25 — retraining recommended' with a Create Retraining Job button; missing telemetry renders a gray hatched zone on affected chart ranges labeled 'no data Jul 4-5'; an archived model version shows read-only mode with a note 'v2.3 archived — served until Jun 18'.

MOTION: On load, ridges stack back-to-front, each fading in and translating up 8px over 260ms, 70ms stagger, cubic-bezier(0.25, 0.46, 0.45, 0.94) — the range assembles like sediment layers. Ridge hover transitions opacity over 120ms ease-out with no transform (precision instruments do not wobble). Performance curves draw via stroke-dashoffset over 700ms cubic-bezier(0.65, 0, 0.35, 1) once on viewport entry. Version switches crossfade all panels over 200ms with the mono version label doing a 150ms fade-through. KPI values tick to new numbers with a 300ms mono digit fade, no count-up theatrics. Reduced motion: all entrances become single 120ms opacity fades, curve drawing renders complete, hover dimming preserved.

TECH & QUALITY: Build with React 19, Tailwind CSS v4 with the lab-white/graphite/green tokens, D3.js for the ridgeline geometry (d3-shape area with kernel density estimates) and histogram overlays, Recharts for performance and volume charts. Structure: src/features/drift/DriftHorizon.tsx, src/features/drift/FeatureSelector.tsx, src/features/performance/MetricCurves.tsx, src/components/FeaturesTable.tsx. Accessibility: drift status is always a text badge beside any color dot; the ridgeline exposes an sr-only summary ('Feature days_since_last_order: PSI 0.31, distribution shifted right over 3 weeks'); every chart offers a 'View as table' toggle rendering the underlying numbers; hover interactions have keyboard equivalents (arrow keys walk ridges when the chart is focused); text secondary #5F615A on white passes 4.5:1 and threshold red #CC4536 passes 4.5:1 on white; focus-visible is a 2px green outline with 2px offset.
Objectif

Driftwatch surveille des modèles de machine learning en production : dérive des données, qualité des prédictions, latence d'inférence et coûts. Cible : ML engineers et data scientists responsables de modèles servis en production. Idée signature : l'horizon de dérive (Drift Horizon) — un ridgeline plot empilant les distributions hebdomadaires de chaque feature comme des lignes de crête successives, où la dérive se voit comme une chaîne de montagnes qui migre lentement vers la droite.

Style

Light technique et dense, blanc lab et graphite, accent unique vert oscilloscope, précision d'instrument de mesure.

Composants
Sidebar : Modèles, Dérive, Performance, Coûts, Alertes, RapportsHorizon de dérive (Drift Horizon) en ridgeline par featureBandeau KPI : modèles en production, alertes de dérive actives, latence p95, coût d'inférence journalierSélecteur de modèle avec version et date de déploiementCourbes de métriques : accuracy/F1 en ligne avec seuils, volume de prédictionsTable des features : score PSI, statut de dérive, importance, dernière alertePanneau comparaison training vs production (histogrammes superposés)Filtres par modèle, version, fenêtre temporelleÉtats : dérive critique détectée, données manquantes, modèle archivé
Animations
Empilement séquentiel des crêtes du ridgeline au chargementSurbrillance d'une crête au survol avec les autres en retraitTracé progressif des courbes de métriquesTransition douce lors du changement de version de modèle
Stack technique
React 19Tailwind CSS v4D3.jsRecharts
Scores
9/10
Qualité
9/10
Originalité
Notes de revue

Le ridgeline empilé qui migre visuellement pour représenter la dérive est une métaphore précise et originale pour le monitoring ML. Un des prompts les plus rigoureux du lot, aucune réécriture nécessaire.

À voir aussi

Prompts liés

Dashboard

Cockpit d'usine connectée – Forma OS

Industriel sombre façon plan d'ingénieur, ambiance salle de contrôle, accents ambre et sarcelle sur fond quasi noir.

Q 8/10O 7/10Dark modeFuturisticMinimal
Dashboard

Gestion des sinistres assurance – Claimhouse

Suisse clair et dense, papier ivoire, filets fins noirs, accent rouge réservé au risque.

Q 8/10O 8/10MinimalStripeFade
Dashboard

Harbordesk — Support client et helpdesk

Light dense façon Zendesk/Intercom, bleu-gris apaisant, vue scindée liste/conversation.

Q 8/10O 7/10MinimalAppleHover effect