I believe it detected the hard cut between content and commercial. It was honestly flawless as long as I had it.
Apparently one offline technique was checking for black frames inserted by local stations.
Some more information here: https://en.m.wikipedia.org/wiki/ReplayTV