If {
✅ you have code in Python
✅ you are not sure which documentation of the code is reliable
✅ don't have time to check for it manually
}
Then : definitely look for codeBERT library
codeBERT is an open-source package to automatically check if your code documentation is up-to-date. codeBERT uses Machine Learning on code to classify the docstring of functions.
Given a function f and a doc string d a code-bert predicts whether f and d are matching or not.
CodistAI@aicodistA few days ago @Altimor showed how GPT3 could write code.
Now, this is how #codeBERT can read your code and automatically review your documentation.
When #MLonCode can help get rid of the documentation pain!
🕹 Repo: github.com/autosoft-dev/c…
🎬youtu.be/oDqW1JHmaYY
#codequality23:46 PM - 06 Jul 2020
So far the accuracy of the library is pretty stable around 93-95% when it comes to detect if a docstring is outdated.
Top comments (0)