ZJU-ACES-ISE / chatunitest-core

A framework to generate unit tests using LLMs
MIT License
21 stars 5 forks source link

Wrong Logic which causes a loop #3

Open jaykeerti opened 5 days ago

jaykeerti commented 5 days ago

https://github.com/ZJU-ACES-ISE/chatunitest-core/blob/79d741846c7a6bff66fa7fee6ba75c078e022f45/src/main/java/zju/cst/aces/api/Phase.java#L135

The logic here is wrong because the llm returns the entire class and it is checking for method correction which always returns false. then it moves on to repair and repeats the process

coder-chenzhi commented 4 days ago

@Mikekkkkk @cube-dragon