▲ | bcrosby95 5 days ago | ||||||||||||||||||||||||||||
I don't think it's that simple. Fundamentally, unit tests are using the same system to write your invariants twice, it just so happens that they're different enough that failure in one tends to reveal a bug in another. You can't reasonably state this won't be the case with tools built for code review until the failure cases are examined. Furthermore a simple way to help get around this is by writing code with one product while reviewing the code with another. | |||||||||||||||||||||||||||||
▲ | jmull 5 days ago | parent [-] | ||||||||||||||||||||||||||||
> unit tests are using the same system to write your invariants twice For unit tests, the parts of the system that are the same are not under test, while the parts that are different are under test. The problem with using AI to review AI is that what you're checking is the same as what you're checking it with. Checking the output of one LLM with another brand probably helps, but they may also have a lot of similarities, so it's not clear how much. | |||||||||||||||||||||||||||||
|