## 01 · Define a measurable target

Let's look at define a measurable target using a real-to-sim experiment. A calibration task begins with a physical question, not with an optimizer. We need an observable that distinguishes model predictions from experimental reality.

For a sliding block we might track displacement over time, stopping point and slip onset. For a robot arm we might use joint position, applied torque, acceleration and contact timing.

Watch the animation carefully as we change only one part of the setup. Show the reference trajectory, its sampling times and its uncertainty band. Mark which measurements will influence fitting and which will be held back for validation.

A single scalar score can hide different failure modes, especially if large trajectory errors cancel in an average.

Define not only the error statistic but the acceptance threshold. A four-millimeter positional discrepancy might be irrelevant for a large mobile base and fatal for a precision insertion task.

Write a measurement contract with units, frame convention, initial conditions, failure metrics and independent acceptance thresholds.

When a candidate improves, ask which residual shrank and whether a different residual grew. A number such as total error has meaning only when its units, weights, sample structure and treatment of missing data are declared.

At the end, do not hide conditions where the model performs poorly. Those are the most useful experiments for selecting better sensors, different model structure and the next informative validation trial.

The animation follows an actual logical separation: physical observations, adjustable model parameters, the objective used to fit them and the independent cases on which the selected model will be judged.

The goal is an engineering test that can fail for an understandable reason.

## 02 · Design informative experiments

Our next diagnostic is design informative experiments. Not every experiment can estimate every parameter. A constant-speed push might say something about friction, but very little about rotational inertia.

Good excitation varies the conditions that reveal a mechanism: free-swing tests for gravity and inertia, controlled slip for friction, impacts for restitution and multi-axis motion for frame errors.

The important thing here is to separate an observation from an explanation. Compare two candidate experiments under the same noise assumptions. Visualize how each predicted trajectory shifts when we perturb one parameter.

Using many nearly identical trials can increase sample count without resolving parameter ambiguity.

When designing trials, favor changes that make model hypotheses separate. Two friction coefficients may fit one gentle slide equally well but produce visibly different slip-onset behavior on a ramp.

Select a small set of experiments that produces distinct, measurable responses to the parameters we care about.

At the end, do not hide conditions where the model performs poorly. Those are the most useful experiments for selecting better sensors, different model structure and the next informative validation trial.

The animation follows an actual logical separation: physical observations, adjustable model parameters, the objective used to fit them and the independent cases on which the selected model will be judged.

When a candidate improves, ask which residual shrank and whether a different residual grew. A number such as total error has meaning only when its units, weights, sample structure and treatment of missing data are declared.

Notice that the image is evidence of a hypothesis, not a substitute for measurement.

## 03 · Identifiability and correlation

In this scene, identifiability and correlation is our focus. Parameters are identifiable when observed data can distinguish their effects. If two parameter changes produce nearly the same trajectory, an optimizer may choose arbitrary combinations.

Form a sensitivity matrix by perturbing parameters and recording changes in observables. Nearly dependent columns signal weak identifiability even when the fit loss is small.

Here is how I would turn this into a reproducible experiment. Vary block mass and friction in a slide experiment, then introduce an independently measured normal load. Observe how additional information breaks the ambiguity.

A precise-looking parameter vector can still be meaningless when the data constrain only a ratio or product of parameters.

Inspect the singular values of the sensitivity matrix. A very small singular value can reveal a combination of parameters that scarcely affects the measured outputs under current experimental excitation.

Report parameter correlations, unidentifiable directions and which independent measurements supply needed constraints.

The animation follows an actual logical separation: physical observations, adjustable model parameters, the objective used to fit them and the independent cases on which the selected model will be judged.

When a candidate improves, ask which residual shrank and whether a different residual grew. A number such as total error has meaning only when its units, weights, sample structure and treatment of missing data are declared.

At the end, do not hide conditions where the model performs poorly. Those are the most useful experiments for selecting better sensors, different model structure and the next informative validation trial.

Keep the original trial and the counterexample in the record; both teach us something.

## 04 · Loss functions and alignment

Let's look at loss functions and alignment using a real-to-sim experiment. An objective function translates scientific agreement into numbers, but its weights and alignment rules are part of the model-selection decision.

Position, velocity, force and event timing have different units and measurement uncertainty. Normalize residuals using justified scales and avoid silently shifting time until curves overlap.

Before fitting anything, verify the definitions of the quantities on screen. Plot reference and model trajectories under both raw time alignment and an independently measured synchronization offset. Compare absolute, squared and robust residual penalties.

A loss that overweights high-frequency noise may prefer the wrong physics model. An event-based metric may catch a missed collision that mean-square position error overlooks.

Align clocks using independently recorded trigger events. If we permit arbitrary shifting of every simulated curve, a model with systematically late contact may receive an artificially good score.

Predeclare the primary loss and reserve task-relevant error metrics for independent reporting.

When a candidate improves, ask which residual shrank and whether a different residual grew. A number such as total error has meaning only when its units, weights, sample structure and treatment of missing data are declared.

At the end, do not hide conditions where the model performs poorly. Those are the most useful experiments for selecting better sensors, different model structure and the next informative validation trial.

The animation follows an actual logical separation: physical observations, adjustable model parameters, the objective used to fit them and the independent cases on which the selected model will be judged.

If those checks disagree, stop and fix the assumption before continuing.

## 05 · Optimization with physical constraints

Our next diagnostic is optimization with physical constraints. Parameter optimization searches within a hypothesis family. If the family is wrong, it can drive parameters to unrealistic extremes while reducing numerical error.

Use physically allowed bounds: positive mass, valid inertia, admissible friction and documented contact response ranges. Gradient-based, derivative-free or Bayesian methods have different strengths and costs.

We're going to test this rather than treat it as a cosmetic adjustment. Start from a measured baseline and animate optimization steps across a two-parameter loss surface. Mark trials that violate constraints and track out-of-range failures.

Never equate a low training loss with a valid physical explanation. Boundary-hugging parameter estimates are a warning sign.

Physically bounded search spaces serve two purposes: realism and numerical reliability. Reject impossible inertias and negative damping before evaluating a candidate; do not let a solver exception become a low-loss optimization trick.

Save the complete search trace, objective definition, parameter bounds, random seeds and final held-out prediction.

At the end, do not hide conditions where the model performs poorly. Those are the most useful experiments for selecting better sensors, different model structure and the next informative validation trial.

The animation follows an actual logical separation: physical observations, adjustable model parameters, the objective used to fit them and the independent cases on which the selected model will be judged.

When a candidate improves, ask which residual shrank and whether a different residual grew. A number such as total error has meaning only when its units, weights, sample structure and treatment of missing data are declared.

That is how a visually convincing demonstration becomes an experimentally defensible claim.

## 06 · Noise and outliers

In this scene, noise and outliers is our focus. Real measurements contain sensor noise, timestamp error, bias, missed detections and occasional abnormal interactions. Treating every sample as perfect encourages overfitting.

Repeat trials to estimate natural variation, and use an appropriate noise model or robust loss rather than deleting inconvenient observations. Correlated noise matters when consecutive sensor readings share a drift source.

Watch the animation carefully as we change only one part of the setup. Introduce a known delayed sensor sample and a rare impact outlier into otherwise stable trial data. Compare fit sensitivity under ordinary squared loss and a robust alternative.

Robust fitting is not a substitute for fixing systematic calibration mistakes or misaligned frames.

Keep a reason for every excluded sample. Repeated anomalous contacts might be genuine model failures, not sensor outliers. Robust statistics are meant to expose that distinction, not erase inconvenient evidence.

Preserve raw data, annotate exclusions and report residual structure after fitting.

The animation follows an actual logical separation: physical observations, adjustable model parameters, the objective used to fit them and the independent cases on which the selected model will be judged.

When a candidate improves, ask which residual shrank and whether a different residual grew. A number such as total error has meaning only when its units, weights, sample structure and treatment of missing data are declared.

At the end, do not hide conditions where the model performs poorly. Those are the most useful experiments for selecting better sensors, different model structure and the next informative validation trial.

The goal is an engineering test that can fail for an understandable reason.

## 07 · Train, validation and holdout

Let's look at train, validation and holdout using a real-to-sim experiment. We need separate roles for data. Calibration trials choose parameters, validation trials guide development choices, and a final held-out set estimates how the frozen model generalizes.

Split by physical trial or operating condition rather than randomly splitting adjacent time samples, which leak shared disturbances between sets.

The important thing here is to separate an observation from an explanation. Calibrate on low-speed slides, then predict a higher-load or new-direction test. Show cases where the training loss improves while holdout error gets worse.

If we repeatedly inspect and retune against the holdout set, that set has effectively become training data.

A holdout set should ideally contain changed geometry, load or approach direction, not just a new random timestamp segment from the same trial. It should test extrapolation to realistic operating conditions.

Freeze model, parameters and evaluation code before the final independent test.

When a candidate improves, ask which residual shrank and whether a different residual grew. A number such as total error has meaning only when its units, weights, sample structure and treatment of missing data are declared.

At the end, do not hide conditions where the model performs poorly. Those are the most useful experiments for selecting better sensors, different model structure and the next informative validation trial.

The animation follows an actual logical separation: physical observations, adjustable model parameters, the objective used to fit them and the independent cases on which the selected model will be judged.

Notice that the image is evidence of a hypothesis, not a substitute for measurement.

## 08 · Convergence and numerical confounds

Our next diagnostic is convergence and numerical confounds. Optimization errors and numerical solver errors can look alike. An expensive optimizer cannot reliably fit parameters against an unstable or under-resolved simulator.

Check integration convergence at representative parameter settings. Watch for discontinuous contact transitions and tolerances that change the objective when the solver budget changes.

Here is how I would turn this into a reproducible experiment. Re-evaluate the best candidate at half and quarter timesteps without modifying the physical parameters. Record whether the fitted ranking or predicted failure classification changes.

A fit that is good only at one coarse timestep is not evidence of a real material coefficient.

If fitted values drift when the timestep changes, the optimizer may be compensating for integration error. Treat that as an unresolved numerical confound before you interpret the parameter values physically.

Separate numerical convergence evidence from statistical estimation uncertainty.

At the end, do not hide conditions where the model performs poorly. Those are the most useful experiments for selecting better sensors, different model structure and the next informative validation trial.

The animation follows an actual logical separation: physical observations, adjustable model parameters, the objective used to fit them and the independent cases on which the selected model will be judged.

When a candidate improves, ask which residual shrank and whether a different residual grew. A number such as total error has meaning only when its units, weights, sample structure and treatment of missing data are declared.

Keep the original trial and the counterexample in the record; both teach us something.

## 09 · Confidence and sensitivity

In this scene, confidence and sensitivity is our focus. A point estimate says very little about the range of outcomes we should expect from uncertain physical parameters and imperfect measurements.

Use local sensitivity, bootstrap across independent trials or posterior exploration as appropriate. Preserve correlations rather than varying each parameter alone when they are strongly coupled.

Before fitting anything, verify the definitions of the quantities on screen. Propagate a set of plausible parameter values through a new grasp experiment. Visualize a prediction envelope and inspect which uncertain parameter controls the worst cases.

An artificially narrow confidence interval from an overconfident noise model may be more dangerous than a clearly uncertain prediction.

Propagate uncertainty in a correlated way. Sampling every uncertain coefficient independently may generate impossible combinations or miss the actual worst-case mode of uncertainty.

Report parameter intervals and predicted output uncertainty with their assumptions and calibration coverage.

The animation follows an actual logical separation: physical observations, adjustable model parameters, the objective used to fit them and the independent cases on which the selected model will be judged.

When a candidate improves, ask which residual shrank and whether a different residual grew. A number such as total error has meaning only when its units, weights, sample structure and treatment of missing data are declared.

At the end, do not hide conditions where the model performs poorly. Those are the most useful experiments for selecting better sensors, different model structure and the next informative validation trial.

If those checks disagree, stop and fix the assumption before continuing.

## 10 · The defensible real-to-sim model

Let's look at the defensible real-to-sim model using a real-to-sim experiment. We finish where we began: the simulator earns trust by making predictions about physical behavior that were not used to tune it.

The package contains raw and cleaned measurements, frame definitions, model assets, engine version, exact parameters, optimization traces, numerical tests and acceptance criteria.

We're going to test this rather than treat it as a cosmetic adjustment. Run a held-out manipulation end-to-end and compare pose, contact timing, forces and outcome with time-aligned physical measurements. List failures as evidence, not embarrassments.

The objective is not a simulation that always succeeds. It is a model that honestly describes which conditions it can and cannot predict.

Finally, make the same original raw measurements and evaluation code available to reviewers. A score printed in a report without its conditions is not a reproducible validation result.

Publish the model card, independent scores, uncertainty envelope and reproduction commands so others can repeat the result.

When a candidate improves, ask which residual shrank and whether a different residual grew. A number such as total error has meaning only when its units, weights, sample structure and treatment of missing data are declared.

At the end, do not hide conditions where the model performs poorly. Those are the most useful experiments for selecting better sensors, different model structure and the next informative validation trial.

The animation follows an actual logical separation: physical observations, adjustable model parameters, the objective used to fit them and the independent cases on which the selected model will be judged.

That is how a visually convincing demonstration becomes an experimentally defensible claim.