ML engineering · Synthetic sample
Investigate a suspicious model improvement
Score breakdown
Expand to see whyLeakage diagnosis4.0/5
Detects shared customers. Temporal and feature leakage need further inspection.
Evaluation design4.0/5
Separates customers and fits the pipeline only on training records.
Comparison evidence3.0/5
Defines a fair baseline protocol, but supplies no measured comparison in this excerpt.
Deployment planning3.0/5
Names future-window testing; drift thresholds and rollout controls remain unspecified.
How to read these scores
1 = major gaps · 3 = partially meets · 5 = fully meets. This example weights all four criteria equally.
These scores and excerpts are illustrative, not a live evaluation or a hiring recommendation. In the product, evaluations score submitted work against the configured criteria; missing evidence is identified separately.
Candidate outcome
Addressed customer leakage; production performance is untested.
Delivered A group-separated evaluation pipeline and a shared baseline comparison protocol. [02][03]
Demonstrated strengths
Work risks
- Future-window testing and drift thresholds remain open. [04]
Evidence limits
The excerpt shows a protocol, not a measured model improvement. [03]
Competency evidence
Compares models consistently
Supported in this example
Plans for distribution changes
Follow-up needed
Supporting sources
Fictional excerpts and check results. Open a source to inspect its support and limits.
[01] Look for shared entities.
Split audit · Illustrative excerpt
split_audit.py
overlap = set(train.customer_id) & set(test.customer_id) assert len(overlap) == 0 # Original split: assertion fails.- What it supports
- The audit exposes an entity shared between training and evaluation data.
- What remains open
- No entity overlap alone does not rule out temporal or feature leakage.
[02] Keep training and evaluation separate.
Pipeline excerpt · Illustrative excerpt
evaluate.py
train, holdout = group_split(customer_id) pipeline.fit(X[train], y[train]) prediction = pipeline.predict(X[holdout])- What it supports
- The illustrative pipeline fits preprocessing and the model on training records only.
- What remains open
- A reviewer would inspect feature construction and the full split implementation.
[03] Use one comparison protocol.
Comparison protocol · Illustrative excerpt
evaluation.md
Baseline and candidate: same held-out groups Primary metric: MAE Report: overall error + error by customer segment Holdout tuning: not permitted- What it supports
- The protocol makes the model comparison and reporting scope explicit.
- What remains open
- A single holdout cannot establish stability across future distributions.
[04] Keep deployment questions visible.
Model handoff · Illustrative excerpt
model_report.md
“The revised comparison removes shared customers. Next: evaluate a future time window. Drift thresholds are not yet specified.”- What it supports
- The handoff acknowledges the difference between this evaluation and future behavior.
- What remains open
- Drift thresholds, operational costs, and rollout controls require follow-up.
