I got test-driven-development working with AI (`o1...
# of-ai
t
I got test-driven-development working with AI (
o1-preview
) and it is totally nuts. It can do complex stuff, I am making serious progress with a decompiler with it https://observablehq.com/@tomlarkworthy/ai-written-decompiler. The key was feeding the test suite results back into context (plus o1-preview's ability to improve code without forgetting half the stuff in the middle)
I am mostly prompting "get the tests to pass" and letting it either fix the tests or the code.