• Not a newt@piefed.ca
    link
    fedilink
    English
    arrow-up
    24
    arrow-down
    2
    ·
    2 days ago

    Very much. That’s why generative AI needs to create tests before it writes code. It doesn’t know the answer (it can’t know anything), so instead the agent creates the tests to define the shape of the answer, and then the generative system keeps regenerating the whole output with variations until it fits the answer.

    It’s as if you baked a cake for your kid’s 10th birthday, realized that you only added 9 candles, and threw out the whole cake to make a new one. The new one has 10 candles, is perfect, but you’re looking at it from the wrong side so it looks upside down compared to the cookbook. In the garbage it goes, gotta make a new cake!