To be clear, this is not "what does this line of code do?", but "what does this many-line program do?". Even if you've seen all the lines individually before, you still have to work out what happens when you combine them together. If most of the combination was not in the training set, that's reasoning to me.