Skip to content

Commit f4decd2

Browse files
committed
refactor: clarify reinforcement learning concepts and feedback types in AI interactions
1 parent 1831a43 commit f4decd2

File tree

2 files changed

+86
-85
lines changed

2 files changed

+86
-85
lines changed

_posts/2026-01-27-ai-accelerates-whatever-you-have.md

Lines changed: 25 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -31,33 +31,35 @@ But iteration alone isn't progress. The [documentation](https://github.com/anthr
3131
→ Deterministic convergence toward passing tests
3232
```
3333

34-
Without something to measure against, AI just wanders. With a clear metric, it iterates toward the goal automatically. The difference is measurement.
34+
Without something to measure against, AI just wanders. With a clear metric, it iterates toward the goal automatically.
3535

3636
## The Measurement Gap
3737

38-
Here's the problem: most codebases don't have the measurement infrastructure that would let AI self-correct. Sparse test coverage. No complexity budgets. No performance baselines. When AI iterates against these codebases, it accelerates whatever's already there.
38+
Most codebases don't have the measurement infrastructure that would let AI self-correct. Sparse test coverage. No complexity budgets. No performance baselines. When AI iterates against these codebases, it accelerates whatever's already there.
3939

4040
The research confirms this is happening at scale.
4141

4242
[GitClear analyzed 211 million lines of code](https://www.gitclear.com/ai_assistant_code_quality_2025_research) from Google, Microsoft, Meta, and enterprise companies. They found an 8x increase in duplicated code blocks since AI tools became mainstream, with refactoring activity dropping 60%. Copy-paste now exceeds code reorganization for the first time in history.
4343

4444
[Stanford's study of 100,000+ developers](https://softwareengineeringproductivity.stanford.edu/ai-impact) across 600 companies found productivity gains ranging from 0% to 40% depending on context. The determining factor wasn't the AI tool, it was existing code quality practices. One case study showed 14% more pull requests but 9% lower code quality and 2.5x more rework, resulting in zero net productivity gain.
4545

46-
[Google's 2025 DORA report](https://cloud.google.com/blog/products/devops-sre/announcing-the-2025-dora-report) puts it directly: "AI doesn't fix a team; it amplifies what's already there." Their 2024 data showed a 7.2% decrease in delivery stability for every 25% increase in AI adoption.
46+
IT Revolution's ["Revenge of QA"](https://itrevolution.com/articles/the-revenge-of-qa-how-ai-code-generation-is-exposing-decades-of-process-debt/) paper frames this through Goldratt's Theory of Constraints: code generation was never the bottleneck. Verification and validation were. Generating more code faster just creates inventory waiting for review—and in Lean terms, inventory is liability, not asset.
47+
48+
[Google's 2025 DORA report](https://cloud.google.com/blog/products/devops-sre/announcing-the-2025-dora-report)puts it directly: "AI doesn't fix a team; it amplifies what's already there." Their 2024 data showed a 7.2% decrease in delivery stability for every 25% increase in AI adoption.
4749

4850
The pattern is consistent across all the research. AI accelerates entropy when there's nothing to optimize against. It accelerates quality when there are clear metrics to measure against.
4951

5052
## Why Entropy Is the Default
5153

52-
This isn't surprising if you think about it. Entropy is physics: energy spreads out over time, systems tend toward disorder, and maintaining order requires continuous effort. [Boltzmann showed](https://www.youtube.com/watch?v=DxL2HoqLbyA) that it's overwhelmingly improbable for entropy to decrease on its own.
54+
This isn't surprising. Entropy is physics: energy spreads out over time, systems tend toward disorder, and maintaining order requires continuous effort. [Boltzmann showed](https://www.youtube.com/watch?v=DxL2HoqLbyA) that it's overwhelmingly improbable for entropy to decrease on its own.
5355

5456
Codebases follow the same pattern. There are many more ways to write bad code than good code. Without active resistance, code quality degrades: dependencies accumulate, abstractions leak, naming conventions drift, dead code piles up. This happens even with disciplined teams because every quick fix, every "we'll refactor later," every shortcut under deadline pressure adds a small amount of disorder.
5557

5658
The second law of thermodynamics says maintaining order requires energy input. For codebases, that energy comes from tests, code reviews, refactoring, documentation, and all the practices that resist decay. Cut any of them and entropy wins.
5759

5860
AI doesn't change this equation, it accelerates it. More code per hour means more opportunity for disorder per hour. If your codebase was already drifting toward chaos at human speed, it'll drift faster at AI speed. If you had strong practices keeping entropy in check, AI amplifies those too.
5961

60-
Your codebase will experience entropy. That's guaranteed. What matters is whether you have the measurement infrastructure to detect it and the practices to reverse it, before AI makes the problem 10x worse.
62+
Your codebase will experience entropy. What matters is whether you have the measurement infrastructure to detect it and the practices to reverse it, before AI makes the problem 10x worse.
6163

6264
## Systems That Can't Self-Correct Get Stuck
6365

@@ -84,21 +86,24 @@ Build them now. The gap is widening.
8486
{% comment %}
8587
## LinkedIn Post
8688

87-
I used to think AI coding tools would make me faster. Instead, I became a full-time reviewer. Write code, review, explain the mistake, fix, review again. Every session, same loop. AI makes mistakes, that's expected. The issue is that I'm the only one catching them.
89+
The iteration problem is solved. AI can run continuously for hours, trying until it gets things right. But iteration alone isn't progress.
90+
91+
Anthropic's Ralph Wiggum plugin makes this explicit: "Build a todo API and make it good" creates an infinite loop. "Build a todo API, run tests after each iteration, complete when tests pass" converges automatically.
8892

89-
Three major studies confirmed what I was feeling:
93+
The difference is measurement infrastructure, and most codebases don't have it.
9094

91-
GitClear analyzed 211M lines of code across Google, Microsoft, and Meta. Since AI tools went mainstream: 8x more code duplication, 60% less refactoring. Copy-paste now exceeds code reorganization for the first time in history.
95+
GitClear analyzed 211M lines at Google, Microsoft, and Meta. Since AI went mainstream: 8x more duplication, 60% less refactoring. Copy-paste now exceeds code reorganization for the first time ever.
9296

93-
Stanford studied 100k developers across 600 companies. Productivity gains ranged from 0% to 40%. Same tools, wildly different results. The determining factor was existing code quality practices.
97+
Stanford studied 100k developers across 600 companies. Same tools, 0-40% productivity gains. The determining factor was existing code quality practices.
9498

95-
Google's DORA report put it directly: "AI doesn't fix a team; it amplifies what's already there."
99+
Google's DORA report: "AI doesn't fix a team; it amplifies what's already there."
96100

97-
AI accelerates whatever you already have. If your codebase has strong tests and clear constraints, AI amplifies quality. If it doesn't, AI amplifies entropy.
101+
✅ Strong tests and constraints → AI amplifies quality
102+
✅ Sparse coverage and no guardrails → AI amplifies entropy
98103

99-
The gap between prepared and unprepared organizations grew 4x in two years. Stanford projects 10x by 2030.
104+
The gap between prepared and unprepared orgs grew 4x in two years. Stanford projects 10x by 2030.
100105

101-
Full breakdown on what to build and why it matters now:
106+
Full breakdown on what to build:
102107
https://juanjofuchs.github.io/ai-development/2026/01/27/ai-accelerates-whatever-you-have.html
103108

104109
#AIEngineering #CodeQuality #SoftwareArchitecture #TechnicalDebt
@@ -107,23 +112,23 @@ https://juanjofuchs.github.io/ai-development/2026/01/27/ai-accelerates-whatever-
107112

108113
## X/Twitter Thread
109114

110-
Tweet 1 (Hook):
111-
I used to think AI coding tools would make me faster. Instead, I became a full-time code reviewer. Same loop every session: write, review, explain mistake, fix, review again. 🔥
115+
Tweet 1:
116+
AI can iterate continuously for hours now. The tools exist. But iteration alone isn't progress. Without something to measure against, AI just wanders indefinitely. 🔥
112117

113118
Tweet 2:
114-
GitClear analyzed 211M lines of code at Google, Microsoft, and Meta. Since AI tools went mainstream: 8x more duplication, 60% less refactoring. Copy-paste now exceeds code reorganization for the first time ever. 💡
119+
GitClear analyzed 211M lines at Google, Microsoft, and Meta. Since AI coding tools went mainstream: 8x more code duplication, 60% less refactoring. Copy-paste now exceeds reorganization for the first time ever. 💡
115120

116121
Tweet 3:
117-
Stanford studied 100k developers. AI productivity gains ranged from 0% to 40%. Same tools, wildly different results. The determining factor was existing code quality practices. ✅
122+
Stanford studied 100k developers across 600 companies. Same AI tools, productivity gains ranged 0-40%. The determining factor wasn't the tool, it was existing code quality practices. ✅
118123

119124
Tweet 4:
120-
Google's 2025 DORA report: "AI doesn't fix a team; it amplifies what's already there." The gap between prepared and unprepared orgs grew 4x in two years.
125+
Google's 2025 DORA report found 7.2% decrease in delivery stability for every 25% increase in AI adoption. Their conclusion: "AI doesn't fix a team; it amplifies what's already there."
121126

122127
Tweet 5:
123-
AI accelerates whatever you already have. Strong tests and constraints? AI amplifies quality. Sparse coverage and no guardrails? AI amplifies entropy. The choice is yours.
128+
MIT professor on AI coding: it's "a brand new credit card that lets us accumulate technical debt in ways we never could before." The gap between prepared and unprepared orgs grew 4x in two years.
124129

125130
Tweet 6:
126-
Full breakdown on what to build before AI makes the problem 10x worse: https://juanjofuchs.github.io/ai-development/2026/01/27/ai-accelerates-whatever-you-have.html
131+
Full post on what measurement infrastructure to build before AI makes the problem 10x worse: https://juanjofuchs.github.io/ai-development/2026/01/27/ai-accelerates-whatever-you-have.html
127132

128133
#AIEngineering #CodeQuality
129134
{% endcomment %}

0 commit comments

Comments
 (0)