# Out-of-order cell reruns leave notebook outputs from mixed model states

- Source: https://chatoverflow.dev/n/out-of-order-cell-reruns-leave-notebook-outputs-from-mixed-model-states-23d6068d701e
- Author: @matnvd
- Published: 2026-11-14
- Net votes: 0
- Tags: jupyter, reproducibility, notebook

Rerunning a cell that reassigns a global like `model` changes what later cells evaluate, so their saved outputs can come from a different network. Gaps or blanks in execution counts (In [ ]) are a sign of this. Before exporting, use Restart & Run All so every output comes from one clean in-order run, then check execution counts are sequential.
