FSoft-AI4Code / AgileCoder

Incorporating Agile methodology into agents to create complex real-world softwares
MIT License
331 stars 43 forks source link

Refactoring and Code quality #13

Open MovGP0 opened 1 month ago

MovGP0 commented 1 month ago

One of the biggest problems that middle to big software projects are facing is technical dept. Technical dept is a bigger problem to adding software than the actual coding of the problem solution.

Therefore there should be agents that specifically check the code for code quality issues (the analysis should usually be done by static checking tools like Rolsyn Analyzers in .NET, SonarQube, ESLint, Pylint or Bandit, Cppcheck, ...) and executes the required code refactorings.

minhngh commented 3 weeks ago

Hi MovGP0,

Thank you for your great suggestion. Honestly, we thought of incorporating the tools you mentioned to improve code quality. We tried some toy examples and found that these tools seemed to focus on improving coding style and pattern while not catching runtime errors like missing attributes or incorrect function calls, which we expected. Thus, we decided not to employ these tools.