Skip to content
tezvyn:

All bites

The whole library, newest first. Filter by what you are here for, or pick a topic if you already know.

4330 bites

Page 160

Data Science & Analytics1 min read

Explain false positives and negatives for churn

False positive flags a loyal customer (wasted incentive), false negative misses a leaver (lost customer), tie to threshold choice.

Data Science & Analytics1 min read

Design an automated A/B test reporting system

Standardized metric definitions, automated stats with confidence intervals and guardrails, segment breakdowns, a clear ship recommendation.

Data Science & Analytics1 min read

Explain a loan denial with LIME or SHAP

LIME fits a local surrogate, SHAP attributes the prediction across features via Shapley values, both give per-feature contributions.

Data Science & Analytics1 min read

repartition() versus coalesce() in Spark

Repartition does a full shuffle and can increase or balance partitions; coalesce avoids a full shuffle and only reduces them.

Data Science & Analytics1 min read

Purpose of watermarks in Spark Structured Streaming

A watermark sets a threshold on event-time lateness, lets late data update windows up to that bound, and tells Spark when to finalize and drop old state.

Data Science & Analytics1 min read

Communicate a forecast interval to an executive

Give the point estimate but frame the range as scenarios, use a fan chart, tie the interval to planning decisions and risk.

Data Science & Analytics1 min read

A/B test two fraud models in production

Randomize by entity, consider shadow mode first, collect precision/recall and business loss, decide with significance and guardrails.

Data Science & Analytics1 min read

Audit an ML pipeline for GDPR compliance

Inventory data and check minimization, verify processing matches stated purpose, build lineage to trace any prediction's inputs.

Data Science & Analytics1 min read

Parquet versus CSV for analytical data lakes

Parquet stores by column enabling projection pushdown, compression, and predicate skipping; CSV is row-based, untyped, and slow to scan.

Data Science & Analytics1 min read

Interactive versus static plots for EDA

Interactive libraries win for exploring dense, high-cardinality, or multi-dimensional data via zoom, hover, and filtering; static plots win for reproducible, publication output.

Data Science & Analytics1 min read

Present a small but significant A/B test lift

Hypothesis, design and validity checks, result with effect size and interval, business impact of 0.5%, then a clear recommendation.

Data Science & Analytics1 min read

Explain an interaction effect to a non-statistician

Define interaction as it depends on, show separate slope lines per age group, give the business takeaway on targeting.

Data Science & Analytics1 min read

Demographic Parity versus Equalized Odds in hiring

Demographic parity equalizes selection rates regardless of qualification; equalized odds equalizes true and false positive rates across groups, conditioning on the true label.

Outline README sections for a migration CLI and explain persuasion
Content & Copywriting2 min read

Outline README sections for a migration CLI and explain persuasion

Tests information architecture and developer persuasion. Strong answers sequence: hook, one-line install, runnable quickstart, comparison table, then config. Front-loads time-to-value and tackles migration pain.

How would you apply progressive disclosure to UI copy and tooltips?
Content & Copywriting2 min read

How would you apply progressive disclosure to UI copy and tooltips?

Tests tiering copy by expertise. Good answers: show plain labels and short tooltips for common tasks; hide advanced settings, risks, and edge-case definitions behind expanders or secondary sheets. Red flag: dumping all help text inline to eliminate clicks.

How would you document a destructive API endpoint safely?
Content & Copywriting2 min read

How would you document a destructive API endpoint safely?

This tests balancing legal safety and usability for irreversible API operations. Strong answers use signal words like WARNING, direct imperatives, and distinct formatting. Red flag: vague phrases like 'be careful' or burying warnings in prose.

Content & Copywriting2 min read

Write a conventional commit for a non-US date sorting bug

Pick fix(locale): imperative subject; body explains root cause, impact, and SemVer mapping.

Content & Copywriting1 min read

Structuring release notes for breaking API changes

Lead with a summary and why, group breaking changes with before/after migration steps, give deprecation timelines and an upgrade path.

How would you A/B test sign-up button copy and measure results?
Content & Copywriting2 min read

How would you A/B test sign-up button copy and measure results?

This tests basic experimental design. A strong answer covers: random assignment, serving variant copy, tracking impressions and conversions, and measuring lift. A red flag is sequential testing or vanity metrics like clicks without sign-ups.

How would you track clicks on headlines and calls-to-action?
Content & Copywriting2 min read

How would you track clicks on headlines and calls-to-action?

This tests DOM event handling and basic telemetry design. A strong answer covers event delegation with addEventListener, data attributes for element IDs, and a payload with timestamp and page context.