News for hackers. Stuff that matters.
Re:What if writing tests was a joyful experience? by seanmcdirmid on Thursday January 12, 2023 @06:36AM (#34352080)
What about chatGPT’s unit tests? Does it even make sense to unit test code that generates a language model?
Re:What if writing tests was a joyful experience? by noduerme on Thursday January 12, 2023 @06:44AM (#34352129)
code with output that can only be evaluated artistically can't be called right or wrong anyway. As long as it throws no errors, it's a valid language model. I can only imagine how many nulls and undefineds and Infinitys they just throw out and shove under the rug. That's actually the kind of code where not knowing how it works is okay. Encouraged, even.