Interlude–AI Code Review

CodeRabbit ( https://www.coderabbit.ai/ ) provides a free tier for OSS to do code reviews

Also GitHub Copilot does that.

So I tried both . And it is nice to see their suggestions ( for example, see https://github.com/ignatandrei/Filters/pull/1 and the other PR  ) and then telling to another AI to do the changes

It was pretty fun – sometimes the suggestion of one AI is making the other unhappy ….

However, many suggestions were helpful to implement – and I did

Discussion

Human Text

For StartsWith and EndsWith add functions with StringComparison parameter . Also add BDD tests

AI TExt

The overloads for StartsWith and EndsWith with a StringComparison parameter (including LINQ-friendly versions) have been added, and BDD tests for these new overloads are passing. Code coverage remains at 100%.

Human Text

Also for Include function

AI Text

The Includes function now supports a StringComparison parameter and LINQ-friendly overloads. BDD tests for these new overloads are passing, and code coverage remains at 100%.


Posted

in

, , , , , ,

by

Tags: