4 ms·
1. Change ... so that foobar(9) instead prints "yam". 2. Change ... so that foobar(9) also prints "yam" 1 is not ambiguous, but 2 is. It could mean that it do
by grogers 4y ago
1. Change ... so that foobar(9) instead prints "yam".
2. Change ... so that foobar(9) also prints "yam"
1 is not ambiguous, but 2 is. It could mean that it does it's original behavior and also does the new behavior. But it could mean like foobar(10), foobar(9) also prints only "yam" as you are interpreting it to be.
I could imagine that the whole point was to see what GPT-3 did with the ambiguity, and it didn't even acknowledge it. Given that the prompt is already ambiguous I'm not sure why you'd assume that there would have to be a single expectation of the order of the prints, either one should suffice.
Or maybe it was just a mistake in the prompt because English is hard. Certainly based on the code, the assumption that GPT-3 made is the most natural one.