How I see it, simplified it's something like:kingliveson wrote: The constraint will probably be a book made with a single game--so there is only one predefined position for the 1000 games. Now the question is up to how many moves before exiting the book. It would seem the higher the number of book moves the more likely there is a chance of getting repeat games--because you could end up with singular move positions.
The probability that the engine will play the same move in game at ply=n (where n is the number of book plys) is p. The probability at ply=n+1 becomes p^2, at n-2 becomes p^3, etc.
Let's say we have 10 moves from the book. The probability that the game will diverge up to move 30 is:
(1-p)+(1-p^2)+...+(1-p^40). Now let's say p=99.9%. This gives us probability of 81% that the game will diverge up to move 30 starting from the book move of 10.
All this is just hypothetical but it give you some feeling about how the number of book moves could effect it.
Also, the shorter time control is, the smaller p is and vice-versa.