Earlier quoted context omitted.
Sorry, did it try to predict the output, or did it only predict the output based on what it has seen people say about similar code online?
Is your objection to the use of the word "try"?
What would it do if the training data was only code? Only code+inputs+outputs? Only function signature+inputs/outputs? Only signature+comments?
Etc.