To achieve the same with an AI that doesn't have a real understanding of the business logic, programmers would still be needed to write the test suite. But unlike most test suites that are typically underspecified, the test suite would need to be likely more complicated than the program itself. You could use ChatGPT to expedite writing of the test programs, but attention would still be required to actually verify the tests themselves.
Edit: If you showed a programmer from the 1950s python syntax and told them that all you have to do is write these words to build a program, they'd think it was artificial intelligence.
I think you might be underestimating programmers in the 1950s.
> The first practical compiler was written by Corrado Böhm in 1951 for his PhD thesis
https://en.wikipedia.org/wiki/History_of_compiler_constructi...
> Why not? The profession went from writing machine code by
hand to auditing "auto-generated" machine code from
assembly.
A compiler determistically creates assembly through a set of rules not through AI. You absolutely cannot compare these two in that way. > Edit: If you showed a programmer from the 1950s python
syntax and told them that all you have to do is write these
words to build a program, they'd think it was artificial
intelligence.
I guarantee you that your bias is a complete misunderstanding. People today are not more intelligent compared to people then. People are people, and programmers in the 1950s had to be extremely clever.he's a computer programmer, not a teutonnic knight.
Well, if you showed a programmer from late 1960s / early 1970s that same thing, they'd show you Lisp and laugh you off, or despair that programming seemingly regressed in the future.
I fed the prompt for https://leetcode.com/problems/two-sum/ to ChatGPT, which generated code for an answer, and I then asked it for additional test cases, which it gave. What's mind blowing though is that it "reasoned" that:
> These test cases demonstrate that the twoSum() function can handle cases where the input array contains negative numbers, where the target is negative, where the indices of the two elements are not adjacent, and where the input array contains duplicate elements.
Full transcript: https://pastebin.com/BpdcuWEM
I can imagine that it would be stressful to review code like this. Where you know you cannot trust a single line of it but that it looks consistent. You might have to verify back to the original assumptions every time and and make sure that you have not been led astray by the AI.
A computer can sort an array of numbers faster than likely 99% of the population, it doesn't mean it's useful.
https://gkoberger.github.io/stacksort/
ChatGPT’s program output seems to be basically the smarter version of this, but it ain’t gonna scale to anything truly novel.
The total percentage isn't exactly what matters. Emergent properties as a metric is a smokescreen.
If that last 1% incorrectly demonstrates that A<C<B implies A<B<C, that means the system is not reliable enough to perform logical computations. You'd need to have a person oversee 100% to catch the last 1% of serious but basic errors. In such a case you might as well hire the person directly for the job.
I mean, it depends on what we expect the AI to do. Maybe it would be revolutionary to just have, like, an average programmer with a ton of free time (so, the AI only has to beat like 99.7% of humanity to do that). On the other hand, if we want it to change the world by being much better than the average person, I guess we’d need a couple more 9’s.
Let’s say it can simulate theory of computation better than 99% of the population and can very capably synthesize and infer from any text based sources. I think that would shake the world, and it wouldn’t even need to be near AGI.