Skip to content
Coding Script or NotebookGoogle ColabAcademy

Internal Linking QA and Holdout Group Notebook

ForInternal linkingReporting

By Sam Torres· Updated 5 Dec 2026

Bad internal linking automation at scale does more harm than no automation. This Google Colab notebook is the check before you ship: it reviews a batch of link recommendations, removes what fails, and sets up the comparison you will need when you measure.

What it helps you do

  • Check the health of the whole batch first, then review a sample of rows and record a status for each
  • Get a clean batch to feed to your automation, with the rejects and their reasons kept
  • Set aside a holdout group: pages that meet your criteria but don’t get the links, so you can separate your change from algorithm updates. Sam Torres uses 25% of the batch in the lesson
  • Take a baseline snapshot of where your numbers are today
  • Write a rollback file, so a bad batch can be undone quickly

Where it is used

Lesson 6.2, after the QA sampling and red-flag checklist in Lesson 6.1. The holdout and baseline are what the Module 7 dashboard compares against.

It comes with the AI-powered Internal Linking Audit and Automation course, led by Sam Torres. If you want to build the whole pipeline from audit to measured links with her, that is the place to start.

What’s included

  • Batch health checks before row-by-row review
  • A review sample with a status column you fill in
  • A clean batch ready for your automation
  • A holdout group of pages you leave unchanged
  • A baseline snapshot and an automatic rollback file