Create a tool using rust-code-analysis and ML to find similar snippets of code and:
suggest fixes from past bug fixes to new patches (prevent reintroducing some bugs);
if the patch is a bug-fix, suggest applying the same fix to other code locations that exhibit the same bug (obvious example: often developers copy and paste code, with minor modifications. Then at some point a bug could be found in the original code (or the copied code) and fixed, but the fix will not be shared);
suggest similar past reviews (when we detect the patch is adding code that has been r-ed before, we can show the developer the previous r- explanation).
This is directly related with, and a follow-up to, risk analysis.
Create a tool using rust-code-analysis and ML to find similar snippets of code and:
This is directly related with, and a follow-up to, risk analysis.