coderot
89% of VS Code's commits last month credited an AI agent. coderot shows what that's doing to your code, which PRs drove it, and where to look first.
See any public repo’s last 6 months, no sign-in:
For example: mermaid-js/mermaid · dotnet/efcore
Or try the beta, freeFor GitHub repos in C#, TypeScript/JavaScript, Python, Go and Rust
// 00what you get
For every folder, coderot charts complexity month by month, marks the month most merged PRs started coming from agents, and names the PR behind each jump. Here are two folders of VS Code: same repo, same agents, but only the one that grew fast got more complex.
now AI PRs 93% complexity +11% since agents took over 341k lines, 4.8× since Dec 2025
Real data: microsoft/vscode as of Dec 4, 2026, from our live demo, which measures it every other day. Your first report covers the last 12 months of your git history.
// 01attribution
Quick test, 3 rounds. Every method is real, from dotnet/runtime and VS Code. In each round, GitHub Copilot's coding agent wrote one of the two. Which one?
Round 1 of 3
A · GroupJoinIterator()
{
using (IEnumerator<TOuter> e = outer.GetEnumerator())
{
if (e.MoveNext())
{
Lookup<TKey, TInner> lookup =
Lookup<TKey, TInner>.CreateForJoin(
inner, innerKeySelector, comparer);
do
{
TOuter item = e.Current;
yield return resultSelector(
item, lookup[outerKeySelector(item)]);
}
while (e.MoveNext());
}
}
}B · GroupJoinIterator()
{
using IEnumerator<TOuter> e = outer.GetEnumerator();
if (e.MoveNext())
{
Lookup<TKey, TInner> lookup =
Lookup<TKey, TInner>.CreateForJoin(
inner, innerKeySelector, comparer);
do
{
TOuter item = e.Current;
yield return new GroupJoinGrouping<TOuter, TInner>(
item, lookup[outerKeySelector(item)]);
}
while (e.MoveNext());
}
}Co-authored-by: copilot-swe-agent[bot]. CommitSpotted the newer using syntax? That dates the code, but it doesn't name the author: the agent mirrored the existing method next to it, line for line.
Round 2 of 3
A · IsWhiteSpaceByte()
{
// Check for ASCII whitespace characters: space (0x20),
// tab (0x09), newline (0x0A), carriage return (0x0D),
// form feed (0x0C), and vertical tab (0x0B)
// For non-ASCII bytes, convert to char and check with
// char.IsWhiteSpace
return b <= 127 ? char.IsWhiteSpace((char)b) : false;
}Co-authored-by: copilot-swe-agent[bot]. CommitB · SkipWhiteSpace()
{
// Create local copy to avoid bounds checks.
ReadOnlySpan<byte> localBuffer = _buffer;
for (; _consumed < localBuffer.Length; _consumed++)
{
byte val = localBuffer[_consumed];
// JSON RFC 8259 section 2 says only these 4
// characters count, not all of the Unicode
// defintions of whitespace.
if (val != JsonConstants.Space &&
val != JsonConstants.CarriageReturn &&
val != JsonConstants.LineFeed &&
val != JsonConstants.Tab)
{
break;
}
if (val == JsonConstants.LineFeed)
{
_lineNumber++;
_bytePositionInLine = 0;
}
else
{
_bytePositionInLine++;
}
}
}A's comment says non-ASCII bytes get checked with char.IsWhiteSpace, but the code returns false for them. A tell? People leave wrong comments too, and this one passed review.
Round 3 of 3
A · normalizeGitRepoPath()
{
const trimmed =
path.replace(/\/+/g, '/').replace(/\/+$/g, '');
if (!trimmed.toLowerCase().endsWith('.git')) {
return undefined;
}
const withLeadingSlash =
trimmed.startsWith('/') ? trimmed : `/${trimmed}`;
const pathWithoutGit = withLeadingSlash.slice(1, -4);
if (!pathWithoutGit || !pathWithoutGit.includes('/')) {
return undefined;
}
return withLeadingSlash;
}B · normalizeGitRepoPath()
{
const gitSuffix = '.git';
const trimmed =
path.replace(/\/+/g, '/').replace(/\/+$/g, '');
const withLeadingSlash =
trimmed.startsWith('/') ? trimmed : `/${trimmed}`;
// Strip .git suffix (if present) only for the purposes
// of validating path depth.
const pathWithoutGit =
withLeadingSlash.toLowerCase().endsWith(gitSuffix)
? withLeadingSlash.slice(1,
withLeadingSlash.length - gitSuffix.length)
: withLeadingSlash.slice(1);
if (!pathWithoutGit || !pathWithoutGit.includes('/')) {
return undefined;
}
return withLeadingSlash;
}Co-authored-by: copilot-swe-agent[bot]. CommitThe named constant and the explaining comment felt like AI? Fair guess. But A isn't proven human either: its commit message says "(Commit message generated by Copilot)", and nothing records who wrote the code. coderot would count A as unknown.
Method bodies as committed, with long lines wrapped.
So coderot doesn't guess. AI attribution comes only from what your tools record, and that's how coderot knows when agents took over and which agent wrote each PR. Everything else is marked "unknown", and every AI number shows how many of the PRs we could attribute.
Co-authored-by: ClaudeAIMade-with: CursorAIgit notes: Git AIAIauthor: copilot-swe-agent[bot]AIno signalunknownThinking of turning those lines off? How, tool by tool, and why you might not.
// 02the problem
In Nov 2026, 89% of commits merged into VS Code credited an AI agent as author or co-author.
In the median repo run by an organization, 74% of merged PRs got no review comments from another person: approved without a word, or not reviewed at all. AI PRs get no less review than the rest, but they're bigger.
In 55 of the 61 repos we measured, the median AI PR was bigger than the rest, typically 2.4×.
Quality tools show the code got worse, not what drove it: which agent, how big the PRs, how much review.
// 03how it works
The coderot app sees repo names and who has access, never code.
No secrets to set. Setup takes 5 minutes.
On the first run it walks 12 months of git history, so you start with a trend, not a single number.
Which folders are rotting since agents took over, which PR did it, which agent wrote it and how much review it had. Then where to look first, with one thing to consider for each.
# .github/workflows/coderot.yml on: push: branches: [main] # your default branch, nothing else pull_request: # a comment on each PR, nothing uploaded permissions: contents: read # check out the repo id-token: write # upload via GitHub OIDC, no secrets pull-requests: write # review counts, and the PR comment concurrency: coderot-${{ github.event.pull_request.number || github.sha }} jobs: coderot: runs-on: ubuntu-latest steps: - uses: actions/checkout@v5 with: { fetch-depth: 0 } - uses: coderot-ai/action@v1
Setup guide: every step, what you can configure, and what to do when a run fails.
// 04privacy
The analysis runs on your own runners. We receive numbers, file paths and function names, never source code, and coderot can't read your repository: the GitHub app you sign in with sees only its metadata, such as its name and who has access, never its files. Run npx @coderot-ai/cli analyze --out report to read what would be sent (the full list). Simplified, it looks like this:
// report/, simplified { "commit": "4f2a9c1", "ai": { "agent": "claude-code", "lines": 38 }, "path": "src/Orders/InvoiceCalculator.cs", "function": "CalculateTotal", "complexity": 14, "duplicates": ["src/Billing/Totals.cs:40-51"] }
// 05live demo
coderot runs every other day on 11 well-known TypeScript, C#, Go, Python and Rust repos, VS Code, n8n and Aspire among them, with the same CLI you'll run. See when agents took over, where complexity grew, and the PRs behind every jump.
The six where a fifth or more of PRs carry an AI signal rose more, a median 17.5%, against 4.5% for the other four. But they also grew fastest: a median 3.0× in code, against 1.5×. From the live demo's data as of Dec 4, 2026; github/spec-kit had under 8,000 lines a year ago, too few to compare.
Beyond the 11, our report on 450 popular repos over 12 months: Is AI code rotting open source?
// 06beta
Free during the beta. Sign in with GitHub, add one workflow file, and get 12 months of history in minutes.
Or see any public repo’s last month first, no sign-in:
Not ready yet? Get our open-source reports on AI code rot by email, and now and then news about coderot.
Double opt-in. Unsubscribe anytime. How we handle your email.