3 ms·
True, but it did do ok with the "why" on some code I gave it, correctly summarizing that it was applying a low and high pass filter to an audio sample. I suspe
by AnIdiotOnTheNet 4y ago
True, but it did do ok with the "why" on some code I gave it, correctly summarizing that it was applying a low and high pass filter to an audio sample.
I suspected that this was largely do to variable names, so I replaced them with names that obfuscated their purpose, but without being intentionally misleading, and it indeed only gave me the "what" without the "why".
I tested again with variable names that were intentionally misleading, as though the code in question operated on images instead of audio samples, and named a function "invert_colors" that did nothing like that at all. Interestingly, it did not take the bait and instead produced a description similar to the previous test.