Interactive lab
Small experiments & visual explainers
Client-side demonstrations built from my engineering and research projects. Illustrative examples are explicitly labeled so they are never confused with raw experimental outputs.
1. Why IaC scanners disagree
Read the IaC benchmark case studySame file, different verdicts
Illustrative exampleThree hypothetical scanners read one Kubernetes manifest. Switch views to see why “no finding” is not “pass”.
apiVersion: v1kind: Podmetadata: name: webspec: containers: - name: app image: nginx:latest securityContext: privileged: true
| Concept | Scanner A | Scanner B | Scanner C |
|---|---|---|---|
| FAIL | FAIL | FAIL | |
| FAIL | no finding | FAIL | |
| FAIL | FAIL | no finding | |
| FAIL | no finding | FAIL | |
| no finding | FAIL | FAIL |
Image uses :latest
Scanner B prints nothing because it has no rule for image tags. Its silence says nothing about the file, so the label is not applicable, not pass.
Read naively, the 4 silent cells look like passes.
2. Multilingual synthetic identity sampling
Read the meddies-faker case studyBenchmark against Faker 40.44
Verified metrics100,000 generated profiles per country. Slot-type results come from 5,000 Meddies-PII v3 skeletons per language.
Evaluation note: Share of generated phone numbers that are valid mobile numbers for the country.
Country-aware synthetic identity preview
Synthetic exampleInspect why multilingual PII training requires country-specific name ordering, scripts, and ID formats.
- Full name
- Nguyễn Thị Minh Anh
- Phone
- +84 90 4xx xxxx
- Identifier
- 079 2 04 xxxxxx (CCCD)
Localization challenge: Family name comes first, middle names carry gender and generation patterns, and the first CCCD digits encode province, century and gender, and birth year.
3. Imbalanced ML decision thresholds
Read the fraud detection case studyHeld-out test results
Verified metricsModel vs random guessing on 200 held-out claims. In 5-fold cross-validation: PR-AUC 0.700, ROC-AUC 0.852.
Evaluation note: PR-AUC starts at 0.245 for random guessing here (about one claim in four is fraud), which is why it is reported instead of accuracy.
Decision threshold trade-off explorer
Illustrative exampleExplore how shifting the probability threshold balances caught fraud against investigator review load. The real threshold is chosen to minimise expected cost.
Simulated fraud recall
66%
Simulated precision
41%
Claims flagged for review
33%