Jupyter Notebook QA
When to use
Use for validating notebooks after changes or before sharing results.
Inputs
- •Notebook path
- •Target cells or full run
- •Expected outputs or checkpoints
Steps
- •Run notebook cells top-to-bottom in order.
- •Capture any exceptions and stop at the first failure.
- •Verify key outputs (tables, metrics, plots) against expectations.
- •Record the failing cell number and error summary.
- •If failures occur, fix and re-run from the start.
Outputs
- •Pass/fail summary
- •List of failing cell numbers (if any)
- •Verified output notes
Failure conditions
- •Any exception
- •Missing or incorrect expected output
Constraints
- •Never change the selected kernel.
- •Install dependencies inside notebook cells only.