Skip to content
tezvyn:

Reproducibility

30 bites tagged Reproducibility — interview questions with model answers, and 60-second explainers.

MLOps & Infrastructure1 min read

Versioning a 10TB dataset as code

Treat data like code via content-addressed pointers in Git while bytes live in object storage; dedupe by hashing so versions share unchanged files. reproducible data versioning at scale. copying the whole dataset per version.

Data Science & Analytics1 min read

Why version data and model artifacts, not just code

Code alone cannot reproduce a model; data and artifact versioning enable rollback, debugging, audit. reproducibility discipline. thinking Git on code suffices, or ignoring rollback and regulatory traceability.

Cloud Platforms1 min read

What a machine image is and why it matters

An image is a frozen template of OS, software, and config; it makes launches identical and fast. understanding of immutable, reproducible infrastructure. confusing an image with a running instance or a live backup snapshot.

Docker & Kubernetes1 min read

Why :latest is a production anti-pattern

Latest is mutable so pods run different code, rollbacks and pull policy break, and you should use immutable version tags or digests. deployment determinism and reproducibility.

MLOps & Infrastructure1 min read

ORPilot JSON IR Ends Solver Lock-In

ORPilot's open-source IR captures optimization models as solver-agnostic JSON, letting teams swap solvers or update data without calling the LLM again. It separates model structure from solver syntax, making LLM-generated OR models reproducible in production.

MLOps & Infrastructure2 min read

Why avoid global Python dependencies for ML, and how do containers help?

This probes environment isolation and reproducibility in ML. A strong answer cites global dependency conflicts, system library skew, and brittle environments; then notes containers freeze the full stack for deterministic deployment.

MLOps & Infrastructure2 min read

Reproduce a six-month-old model using experiment tracking

Trace code commit, dataset version, feature pipeline, hyperparameters, dependency manifest, and random seeds through a model registry. Reproducibility as a dependency graph, not a single binary.

MLOps & Infrastructure2 min read

Why systematically track ML experiments and what should you log?

This tests reproducibility mindset over bookkeeping. A strong answer names three motivations—reproducibility, selection, debugging—and three logs: hyperparameters, metrics, and code versions.

MLOps & Infrastructure2 min read

How do you ensure ML experiment reproducibility beyond random seeds?

Tests system-level reproducibility through data versioning, environment capture, and pipeline automation. Strong answers cover versioned datasets, containerized dependencies, and immutable experiment logs.

MLOps & Infrastructure2 min read

How would you design a reproducible ML training pipeline?

Tests if you can version ML's three moving parts: code, data, and environment. Good answers cover Git for code, DVC or lakehouse versioning for data, and Docker plus locked dependencies for environments.

MLOps & Infrastructure2 min read

How do you containerize a Python training script for GPU cloud VMs?

This tests reproducible GPU containerization. A strong answer uses an NVIDIA CUDA base image, installs Python dependencies at build time, copies the training script, and runs with --gpus.

MLOps & Infrastructure2 min read

How do you version and distribute Docker dev environments consistently?

Tests immutable dev environment distribution. Strong answers cover: versioned Dockerfiles in Git, immutable image tags pushed to a registry, and enforcing identical pulls for CI and developers. Red flag: using the "latest" tag or local Dockerfile rebuilds.

MLOps & Infrastructure2 min read

Walk me through essential Dockerfile commands for a reproducible Python ML environment

Tests your ability to containerize Python ML scripts reproducibly. A strong answer covers FROM with a pinned slim image, WORKDIR, COPY for requirements and code, RUN pip install, and CMD or ENTRYPOINT.

MLOps & Infrastructure2 min read

How would you implement versioning for feature definitions in a feature store?

Tests separation of metadata schema versions from data snapshots for reproducible training. Strong answers cover: immutable schema versions on breaking changes, safe appends without backfill, and time-travel data reads.

MLOps & Infrastructure2 min read

How to establish data lineage and reproducibility for hundreds of ML models

This tests MLOps traceability architecture. A strong answer proposes a unified metadata graph linking raw data, feature transforms, dataset versions, training runs, and deployed models via automated hooks.

MLOps & Infrastructure2 min read

Why version code, data, and models in MLOps?

Tests immutable lineage across code, data, and models. Strong answers cover content-addressed data, git commits, a model registry linking both, and CI triggers on any change. Red flag: saying git alone handles data and models.

MLOps & Infrastructure2 min read

Parameterization: One Pipeline, Any Environment

Externalize every path, hyperparameter, and compute setting so one pipeline runs unchanged across dev, staging, and production. This enables reproducible experiments and safe CI/CD. The footgun is branch-per-environment repos that silently diverge.

MLOps & Infrastructure2 min read

Docker Image vs. Container: Blueprint vs. Runtime

A Docker image is a read-only blueprint; a container is a live instance with a writable layer. You build an image once in CI and run many containers from it in production. The footgun is mutating a running container without updating the image recipe.

MLOps & Infrastructure2 min read

MLflow Models Standardize Deployment Packaging

MLflow Models wrap artifacts into a standard package so one pipeline serves sklearn or PyTorch without new deployment code. Teams ship experiments to REST endpoints without Dockerfiles per model. Missing dependency logging lets model load but fail to predict.

MLOps & Infrastructure2 min read

Experiment Run: The Immutable Training Receipt

An experiment run is an auto-generated log for one training job: it captures hyperparameters, metrics, code, and artifacts. Teams use runs to debug regressions and audit settings. The footgun is logging many metrics without versioning data so comparison fails.

MLOps & Infrastructure2 min read

Nix: Reproducible Builds Through Functional Package Management

Nix treats system configuration like pure functional programming, ensuring reproducible builds by isolating every package into a unique, immutable path. It's used for reliable CI/CD and consistent dev environments. The footgun is its steep learning curve.

MLOps & Infrastructure2 min read

Model Lineage: The Git History for Your AI

Think of model lineage as the `git log` for your AI, tracking every input from data to code that created it. It's essential for reproducing models, debugging failures, and satisfying regulatory audits.

MLOps & Infrastructure2 min read

MLflow Tracking: A Lab Notebook for Your ML Experiments

Think of MLflow Tracking as a lab notebook for your models. It logs parameters, metrics, and artifacts for every training run, letting you compare results and find the best model. The main footgun is forgetting to set a remote server, trapping logs locally.

MLOps & Infrastructure2 min read

DVC: Git for Data and ML Models

DVC extends Git to version large data files and models without bloating your repo. It stores small pointer files in Git that reference large files in cloud storage.

Get Reproducibility bites daily.

Five a day, five minutes, offline. With quizzes so it sticks.

Open testing — you’ll join as an early tester.