Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
oliwary
on Dec 5, 2022
|
parent
|
context
|
favorite
| on:
Using ChatGPT as a Co-Founder
Or let us provide unit tests for generated code and automatically tell the AI to fix the code until the code passes the tests we provided.
Ajedi32
on Dec 5, 2022
[–]
Or tell the AI to write the unit tests itself, and let it run those to check its work. After all, that's how humans write code. We aren't so great at writing bug-free code on our first try without testing it either.
saulpw
on Dec 5, 2022
|
parent
[–]
I had ChatGPT generate a table of 10 test cases for a Jewish calendar to Gregorian calendar conversion function. None of them were valid.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: