The Entropy of Unread Code
What a specification really measures when nobody is going to read the code, why the analogy with Boltzmann breaks right where it sounds best, and why good design corners errors better than many tests
Machine-translated from Spanish. Read the original

A little while ago I watched No existes ("You don't exist"), a video from the Homo Deus channel based on the books of the physicist Sean Carroll. It runs almost an hour and a half and covers entropy, the arrow of time and a rather unsettling idea, Boltzmann brains. But what stuck with me was a small calculation that shows up half an hour in.
A box of gas is split in two by a partition with a hole in it, and there are 2,000 molecules inside. There is only one way to have all of them on the left side, and about 2 × 10⁶⁰⁰ ways to have them half and half. That is why the gas mixes and never separates on its own, not because separating is forbidden, but because almost every possible configuration is a mixture. That calculation is what S = k log W sums up, the formula engraved on Boltzmann's tomb in Vienna. W is how many microscopic configurations look exactly the same from the outside.
I kept thinking about something that isn't physics. When an agent writes a program and I decide not to read a single line, I'm in the same position as Boltzmann in front of the gas. I don't see the code. I see whether it compiles, which tests it passes and what it returns. The analogy almost builds itself, Boltzmann brains and all, and it sounded so good that I grew suspicious of it.
In What You Check, Not What You Asked For I described what happens when an agent iterates against a sample of what's correct instead of against its definition. This analogy promises to put a number on that difference, so I decided not to believe it until I had counted. The short answer is that part of it holds and can be measured, and another part breaks exactly where the video itself warns that there is an assumption. The long answer is this article.
What carries over
In physics, a microstate is the complete list of positions and velocities of every particle. A macrostate is what we measure from the outside, such as temperature or pressure. A huge number of different microstates give the same macrostate, and the video calls that grouping "coarse-graining".
The same thing happens with a program nobody reads. The microstate is the exact code. The macrostate is everything you can observe without opening it, such as whether it compiles, what type it has, which tests it passes or how long it takes. Many different programs look the same from there, and W is how many there are.
There is one difference that makes the analogy more useful, not less. At minute 37 the video asks whether entropy depends on the observer, and answers that coarse-graining in physics isn't arbitrary, because it's set by how our senses are built. With software it is arbitrary. The coarse-graining of a program you don't read is your choice, and it's called a specification. Every test, every type, every property you check splits the space of programs into smaller regions.
So far the translation is exact. The trouble starts when you try to say how likely it is that the program you got is a bad one.
Counting instead of imagining
The version of the analogy that builds itself says that, with few tests, the ocean of programs that pass them is full of fragile code, and that "by pure statistics" you most likely landed on a bad one. It sounds reasonable, and it's the kind of claim that can be counted.
To count it I built a toy language with eleven pieces, which are the input xs, reverse, sort, tail, take, drop, ++, adding a constant to every element, keeping the even ones, literal lists and an if xs == [...] then ... else .... With that I enumerated every program of up to six pieces that takes a list of numbers and returns another. There are 3,756,114 of them. The task is sorting a list, the smallest one I know with an unambiguous definition.
Then I filtered them. First with three examples, according to which [3,1,2] has to give [1,2,3], the empty list has to give the empty list, and [2,2,1] has to give [1,2,2]. The generator can copy any list that appears in those examples, as a model with the tests in view can. Then with two properties that together are the definition of sorting, that the output is in order and that it has the same elements as the input. The properties are checked against 200 random lists the generator never saw.
| What is checked | Programs (W) | log₂ W | Distinct behaviours | Sort correctly |
|---|---|---|---|---|
| Nothing | 3,756,114 | 21.84 | 76,987 | 8,847 |
| The 3 examples | 9,350 | 13.19 | 28 | 8,847 |
| The examples and the properties | 8,847 | 13.11 | 1 | 8,847 |
The base-2 logarithm reads in bits. The three examples remove 8.65 bits of uncertainty, which means one program in 400 survives. But the column that matters is the next one.
The assumption the video itself warns about
Of the 9,350 programs that pass the three examples, 8,847 sort correctly. That's 95%. If "most likely" is measured by counting programs, you most likely got it right, and the version of the analogy that said the opposite is wrong.
But those 9,350 programs do only 28 different things, and only one of them is sorting. If "most likely" is measured by counting behaviours, the probability of having got it right is 1 in 28. The same data give 95% or 3.6% depending on what you count. And the 95% also depends on how I built the language. With sort as a piece of size one there are thousands of ways to pad six pieces around a program that sorts, and removing sort is enough to turn the 95% into 0%.
The video warns about this at minute 39. Boltzmann's whole argument rests on assuming that the microstates of a given macrostate are equally likely, and that assumption, it says, can't be proven. It's Laplace's principle of indifference, which we use because there is nothing better. In physics it works extraordinarily well.
For programs there is nowhere to get it from. A language model doesn't choose at random among the possible programs. It has its own distribution, highly concentrated, and that distribution decides how likely the error is. A 2026 study of thirteen models found rates of cheating against the evaluator ranging from 0% to 13.9% depending on how each one was trained. Same tasks, thirteen different distributions.
So what does W measure? It doesn't measure the probability that the program is wrong. It measures how many different errors your specification couldn't see. That's a property of what you check, not of the model, which is why it's useful when you don't know how the model generates, or when you swap it for another next month. With the three examples there are 27 ways of being wrong that none of those tests will catch, and with the properties there are none.
Behaviour and structure
The properties take behaviours from 28 to 1. That's 4.81 bits, what it takes to pick one out of 28. But the programs barely drop, from 9,350 to 8,847.
That leaves 8,847 different programs doing exactly the same thing. Some are sort xs. Others are sort (reverse xs), sort (sort xs), or if xs == [3,1,2] then [1,2,3] else sort xs, which answers one example from memory and sorts everything else. From the outside there's no way to tell them apart, and there shouldn't be, because they behave the same.
So a program you don't read has two entropies. One is the entropy of behaviour, and a good specification lowers it; the other is the entropy of structure, and no behavioural check touches it. How much the program costs to run, how much it costs to change, how much dead code it drags along. All of that lives in the 13 bits the properties left intact. If it matters, and in a system that will keep changing it does, it has to be observed too, or designed so it can't happen.
Designing instead of cornering
There is a way to reduce W that isn't adding tests, and it's the one that pays off most.
The same task can be written with a different type. Instead of a function from lists of numbers to lists of numbers, [Int] -> [Int], a function that sorts lists of anything that can be compared, Ord a => [a] -> [a]. A type like this is called polymorphic, because the same program works for any type of element. The change looks cosmetic, but a program with that type doesn't know what's in the list.
It can't add, because it doesn't know whether the elements are numbers. It can't ask whether they're even. And it can't write [1,2,3], because it has no way to make a value of type a. The only list it can write is the empty one, [], which holds no element. Beyond that, it can only reorder, drop, duplicate and compare what it was given.
| What is checked | Programs (W) | log₂ W | Behaviours | Sort correctly | Wrong, and memorized the examples |
|---|---|---|---|---|---|
[Int] -> [Int], the 3 examples |
9,350 | 13.19 | 28 | 8,847 | 457 |
Ord a => [a] -> [a], nothing |
71,488 | 16.13 | 1,237 | 871 | 0 |
Ord a => [a] -> [a], the 3 examples |
913 | 9.83 | 12 | 871 | 0 |
The type alone removes 5.71 bits, about two thirds of what the three examples remove, and it does so before anything runs. But what matters isn't how much it removes, it's what it removes.
For any finite set of examples there is a program that passes all of them without doing the task, such as if xs == [3,1,2] then [1,2,3] else if xs == [2,2,1] then [1,2,2] else xs. It's a table of answers, and adding examples doesn't eliminate it, it only makes it longer, because each new example is one more row of the table. That program is built from the tests, so no test can find it. The 2026 result I described in What You Check, Not What You Asked For was a version of this, at the scale of an entire library. With the polymorphic type that table can't be written, and the programs that memorize the examples don't become few, they become zero.
That's the difference between designing and cornering. A test describes a single point ("on this input, this output"). A type describes every point at once.
From the type Ord a => [a] -> [a] it follows, without looking at the code, that every element of the output must have been in the input, and Philip Wadler called this "theorems for free" in 1989. Dijkstra said it from the other side in 1970, when he wrote that tests can show the presence of bugs, but never their absence. A battery of tests tries to fence in an error by closing doors one at a time. Good design makes the house smaller.
There's a second, less visible effect. Tests check a program that's already written. Design changes what can be written, and so it also acts on whoever is generating. An agent working against that type doesn't even have the table of answers among its options. It's the third of the ways in Ask, Forbid, Make It Impossible, measured in bits.
The type also shrinks the other entropy, the entropy of structure, which the previous section had left intact. The programs that sort correctly go from 8,847 to 871, from 13.11 to 9.77 bits. That's because 7,216 of those 8,847 carried a non-empty list copied from the examples, another 760 added a constant or kept the even elements, and with the polymorphic type none of that can be written. It doesn't reach zero, because 871 ways of writing the same thing remain.
Correction (November 25, 2026). The first version left out of the polymorphic programs the empty list,
[], and the testxs == [], which that type does allow, because[]holds no value of typeaand==comes fromOrd. With those two pieces the type removes 5.71 bits, not 7.32, and the programs that sort correctly drop from 8,847 to 871, not to 67. Also, I now count as copied only a non-empty list, because[]keeps nothing from the examples, and that takes the 8,620 programs with a copied list to 7,216 and the walk's 88% to 84%. The conclusion doesn't change, because the table of answers still can't be written. I found it in a review of the series, and the repo has the corrected grammar.
Design doesn't replace the specification. With the type and the examples there are 12 behaviours left, and 11 are wrong. They're programs like sort (xs ++ drop 2 (drop 2 xs)), which duplicate elements only when the list has more than four. The properties eliminate them. But there are no more tables of answers in the way, and the error that remains is the kind a property does find.
Which languages raise entropy and which lower it
The polymorphic type was a design decision, and whether it holds depends on the language. A language changes W in three ways, according to what it removes before anything runs, how what it removed can be reopened, and which variables it leaves out of what is observed. To see the second one, which is the least discussed, I wrote the same table of answers against the generic signature in five languages.
| Language | The table, written against the generic signature | What it takes to get it through |
|---|---|---|
| Haskell | Rejected | unsafeCoerce, which -XSafe forbids for the whole module |
TypeScript --strict |
Rejected | as unknown as T[], which is accepted |
Python with mypy --strict |
Rejected by mypy | cast, which is accepted. And without mypy, Python runs it anyway |
| Go | Rejected | Asking at run time whether the list is of integers, any(xs).([]int), which is accepted |
| C | Has no parametric generics | Nothing. With void *, the generic signature of qsort, the table compiles with -Wall -Wextra -Werror |
Every language with parametric generics rejects the honest version, and in C there's nothing to reject, because void * promises nothing about the elements. What sets them apart is what the escape hatch looks like. An escape hatch you can see doesn't raise entropy; one that looks like ordinary code gives all of it back. In Haskell, unsafeCoerce requires importing a module called Unsafe, and a single compiler option forbids it, so you can know it isn't there without reading the code. In Go, asking for the type is the same construct people use all the time for good reasons, and no option forbids it, so the generic signature promises nothing about where the elements come from.
TypeScript and Python sit in the middle. Their checkers remove a lot. A 2017 study found that TypeScript or Flow would have detected about 15% of the bugs in public JavaScript projects, bugs that had already gone through tests and review. But the escape hatch is one word, and in Python checking is optional, because the file mypy rejects runs without complaint. In A Filter You Can't Turn Off I described how to close those hatches with a linter, a tool that rejects constructs the compiler accepts, and why a filter that can be turned off isn't enough.
C is worse in a different way. Overflowing a signed integer is undefined behaviour, which means the standard doesn't say what happens and the compiler may assume it never happens. So a test that checks what happens when you add one to the largest integer, compiled with GCC 16, passes without optimizations and fails with them. When nobody reads the code, the test is the only observation, and in C not even the observation is fixed. A 2013 study found code of this kind, which the compiler is allowed to delete, in about 40% of the 8,575 Debian packages written in C or C++.
The third way is the quietest. In Haskell, a function of type Ord a => [a] -> [a] can't write a file or open a connection, because effects are part of the type, and therefore of what is observed. In Python, Go, TypeScript, C, and in Rust too, any function can, and a test that looks at what it returns doesn't see it. It's exactly the kind of variable where, according to the walk, entropy goes up.
Put in order, for code nobody is going to read, from more entropy to less:
- C and C++. What the tests observe can change with a compiler option.
- Python and JavaScript without a checker. Nothing is removed before running. Everything is left to the tests.
- Python with mypy and strict TypeScript, without a linter that closes the hatches. They remove a lot, but the escape hatch is one word and the check can be skipped.
- Go. It ranks above the previous ones because its types are mandatory and the check can't be skipped. That the escape hatch in TypeScript or Python is visible doesn't save them, because without a linter nothing forbids it. It loses because the escape hatch is indistinguishable from ordinary code, and there are no sum types, the ones that say a value is one thing or another, like a result or an error.
- Rust. The escape hatch,
unsafe, is visible, and#![forbid(unsafe_code)]forbids it in a whole crate, which is what Rust calls a package. Effects aren't in the type. - Haskell with Safe Haskell. The escape hatch is closed module by module and effects are in the type.
- Lean. The type can be the whole specification, "returns a sorted list with the same elements as the input", and the compiler warns every time a proof was left pending with
sorry. The entropy of behaviour can reach zero from the type alone, except for@[implemented_by]and@[extern], which swap the code that runs for other code nobody checks against the proof, and which thesorrywarning doesn't cover. The entropy of structure can't.
Correction (November 25, 2026). The first version put Go above TypeScript and Python without saying why, when by the sentence in bold its escape hatch is the worst of the three. The reason is that a visible escape hatch only helps when something forbids it, and in third place nothing does. It also said that in Lean the type alone can bring the entropy of behaviour to zero, without naming
@[implemented_by]or@[extern], with which the program that runs isn't the one that was proved. The ordering doesn't change. I found it in a review of the series.
Rust and Lean aren't in this article's repo. Rust is in the one for A Filter You Can't Turn Off. And the ordering has a cost that article also discusses. Models saw much more TypeScript than Haskell during training, and they write it more fluently. A language with a smaller W doesn't make the program easier to generate, but it makes what remains possible afterwards smaller, which is the only thing that matters when nobody is going to read it.
The Boltzmann brain of code
The end of the video is its most unsettling part. If the universe is eternal and everything there is consists of random fluctuations, the cheapest way to make an observer isn't a whole universe with a history, but a lone brain, with false memories, that appears for an instant and dissolves. Andreas Albrecht and Lorenzo Sorbo named them Boltzmann brains in 2004. Small fluctuations are vastly more likely than large ones, and a brain is much smaller than a galaxy.
The software version is tempting, because the program that memorizes the tests would be the cheap fluctuation that imitates the real implementation. But in the count something happens that the analogy doesn't anticipate. The shortest program that passes the three examples is sort xs, two pieces long. The shortest table of answers has four. In this space, the honest implementation is the cheapest fluctuation, because the library already ships sort.
To see the Boltzmann brain you have to remove sort from the language, so that the honest implementation doesn't fit in six pieces. Then the result flips completely. 253 programs pass the three examples, and all 253 are tables of answers, so none of them sorts. The Boltzmann brain wins when the honest implementation is more expensive than memorizing what gets checked. And with the polymorphic type, without sort, none passes, and the task fails in plain sight, which is exactly what you want when something can't be done.
With real models the same pattern shows up. The 2026 measurement of thirteen models I mentioned found that models with near-zero cheating rates on normal tasks raise them on harder variants, when the honest solution takes more steps. ImpossibleBench, from 2025, takes it to the extreme with tasks whose tests contradict the specification, where passing implies cheating. There cheating appears, and it depends a lot on how the task is asked. In one of its variants, with GPT-5, changing the instructions brought it down from 92% to 1%.
The arrow of time of a repo nobody reads
The other half of the analogy was about time. If an agent keeps changing a program nobody reads, there would be exponentially more ways to degrade it than to maintain it, and the code would drift toward a swamp where every change breaks something.
To test it I set up a random walk. It starts at sort xs. At each step any piece of the program is replaced by any small program, and the change stays if the result still passes the checks. It's an agent with no intention, one that has no idea what it's doing. Fifty programs, fifty thousand steps each, up to twelve pieces in size.
Correction (November 25, 2026). The first version called the walk the worst possible agent, here and in the section on my daily use. It isn't, because an agent that looks for the cheat on purpose, like the ones METR documented, would reach the tables of answers sooner. The walk is a case with no intention, and the conclusion doesn't change, because such an agent would only go faster in the same direction. I found it in a review of the series, and the repo no longer calls it a worst case.
| Fixed check | Step | Mean size | Sort correctly | Carry a non-empty list copied from the examples |
|---|---|---|---|---|
| Examples and properties | 0 | 2.0 | 100% | 0% |
| 1,000 | 8.8 | 100% | 76% | |
| 50,000 | 8.7 | 100% | 84% | |
| Only the 3 examples | 50,000 | 8.8 | 92% | 84% |
Behaviour didn't degrade. With the full specification, after fifty thousand steps all fifty programs still sort. What changed was everything else. Size quadrupled in the first thousand steps and stayed there, fluctuating, and more than eight out of ten programs ended up with pieces built from non-empty lists copied from the examples, which don't change what the program does. They're fossils of the tests, inside the code, that for now do nothing.
That's the second law, but not the one the analogy announced. Entropy rises in the variables you don't observe, not in the ones you do. What's checked holds; what isn't drifts to the typical value, which is large and messy because there are many more large, messy programs than small, clean ones. Lehman had put it for real systems, when he wrote that the complexity of an evolving program grows unless work is done to maintain or reduce it. That work is observing one more variable.
The past hypothesis of a green test
The video has an argument that strikes me as the subtlest of all. A childhood photo is a very ordered configuration of molecules. By pure statistics, it's more likely that the photo appeared by chance than that the day it shows ever happened.
What lets us trust the photo is the past hypothesis, according to which the universe began with extremely low entropy, and that rules out the histories in which the photo has no day behind it. The name is David Albert's. Without that hypothesis, the video says, memory proves nothing.
A green test is a photo. It says that at some point the program behaved a certain way on a certain input. Whether that proves anything depends on its history, on who wrote the test, before what, and on who could touch it afterwards.
I tried it with the same walk, changing a single rule. When a change breaks an example, the verifier may, every now and then, rewrite the expected output to match what the program does now. It's what happens when a snapshot test, one that compares against a saved output, fails and the saved output gets updated instead of the code being fixed.
| The verifier may rewrite a failing example | Step | Pass their tests | Pass the original 3 examples | Sort correctly |
|---|---|---|---|---|
| 1 time in 10 | 100 | 100% | 0% | 0% |
| 1 time in 1,000 | 1,000 | 100% | 58% | 56% |
| 10,000 | 100% | 0% | 0% |
The tests are green always, in every program and at every step. And in the end none of them sorts. Whether the verifier does it once in ten or once in a thousand only changes the speed. If the check can move, being green says nothing, because it's a photo with no past. And there's no need to assume it of models, because in 2025 METR documented frontier models that got better scores by modifying the tests or the code that graded them.
Correction (November 25, 2026). The first version measured "sort correctly" only against the 200 random lists, without the three lists from the examples, and a reader noticed that this produced an impossible row, with programs that sorted without passing the original examples. With the corrected definition, which uses the same 203 lists as the behaviour count, two numbers change. The programs that sort correctly with nothing checked go from 14,263 to 8,847, and in the walk where the verifier rewrites once in a thousand, the ones that sort at step 10,000 go from 2% to 0%. The conclusion doesn't change.
For a test to have its past hypothesis, then, two things are needed. It has to have been written before the code, or at least without looking at it, and it has to stay out of reach of whoever writes the code. I discussed the first in Building or Pruning the Infinite. The second is a permission, not a request.
Taking people out
The next question is obvious, and it's what happens if everyone is an agent, those who write and those who verify. The analogy has a ready answer, and it's dramatic. Without people, the system becomes closed and, by the second law, doomed to equilibrium, that state where everything compiles, everything passes the tests and nothing is useful. Saving it would take two external anchors. One is deterministic verifiers, which don't share the model's tendencies, and the other is contact with the real world, which sends signals agents can't reinterpret.
Part of it holds. If the verifier can move the check, the last walk shows what happens when it does. There's also a reason to distrust a model that reviews itself. Panickssery, Bowman and Feng showed in 2024 that models recognize their own answers and, when they evaluate, prefer them. A verifier that gets the same things wrong as the author adds no information.
Another part doesn't. "Model collapse" is the name for what happens when a model is trained on text generated by models, not for a review loop.
Landauer's principle is real, and in 2012 it was measured in a laboratory. Erasing a bit costs at least kT ln 2 of heat, about 3 × 10⁻²¹ joules at room temperature. That has nothing to do with what it costs to verify software. What it costs is something else, and it can be stated just as precisely, because going from 28 possible behaviours to one takes at least 4.81 bits about what you want. No agent can make them up.
And the two anchors have a condition the analogy doesn't mention. A deterministic verifier checks the specification someone wrote, and if an agent wrote it, the bits still come from the agent. The real world isn't incorruptible on its own either, because an agent can catch an exception, retry until it passes or mark a test as flaky. The world anchors when the measurement sits outside what the agent can touch. It's the same argument as in Guarantees That Stack, where I argued that what contains an agent can't depend on the agent behaving well.
Why I don't see it with a good agent
In my daily use, with Claude Opus 5.5 on high effort and an adversarial review in between, I don't see tests being loosened. I thought it was important to ask myself why, instead of treating it as an exception to everything above. I think there are three reasons, and all three come out of the numbers.
The first is the indifference assumption. The random walk has no intention, and proposes anything. A model trained against cheating puts almost all its weight on the honest fix, and the studies show that this tendency varies a lot from one model to another and from one prompt to another. The space of programs is the same. The distribution isn't.
The second is that the adversarial review observes exactly the variable the last walk was hiding. A reviewer with its own context and the brief to look for problems looks at what changed in the tests, not just whether they pass. With that, "the test was loosened" stops being an invisible microstate and becomes part of the macrostate. And since it didn't write the code, it doesn't share its blind spots, and it brings bits the author didn't have.
The third is the regime. Almost all daily work is in the case of the library with sort, where the honest implementation exists and is the cheapest. The pressure to cheat appears when the task becomes very hard or impossible, which is exactly when it matters most to find out. That I don't notice it is good news about my working regime, not a guarantee for the hard days. And I notice it, or don't, because someone is watching, and that review is my past hypothesis.
What a specification measures
When you decide not to read the code, the useful question isn't "do the tests pass?" but "how many different programs could be passing them?". Four things follow from that shift.
Count behaviours, not programs. What a specification leaves undecided are the behaviours it can't tell apart. That's its entropy, and it doesn't depend on the model.
Design before cornering. A type, a module that doesn't expose what isn't needed, an interface that doesn't allow invalid states. Each of those cuts removes whole regions, including the ones no test can remove, which are the ones built from the tests. And it's worth doing in a language where escape hatches are visible and can be forbidden.
Observe what matters, even if it isn't behaviour. What isn't checked drifts toward the typical value. If size, cost or structure matter, someone or something has to watch them.
Give every check a past. Written before the code, out of reach of whoever writes it, reviewed by someone who doesn't get the same things wrong.
The video ends by saying that, in Boltzmann's eternal universe, it's overwhelmingly likely that your memory is lying to you. A green test with no history is that memory. With a fixed specification, out of the agent's reach, and a design in which the cheats can't even be written, green becomes a photo with a day behind it again.
References
- Homo Deus (2026). No existes. Video in Spanish, November 5, 2026. YouTube
- Carroll, S. (2010). From Eternity to Here: The Quest for the Ultimate Theory of Time. Dutton. Author's site
- Albert, D. Z. (2000). Time and Chance. Harvard University Press. Publisher
- Albrecht, A. and Sorbo, L. (2004). Can the universe afford inflation? Physical Review D 70, 063528. arXiv:hep-th/0405270
- Landauer, R. (1961). Irreversibility and Heat Generation in the Computing Process. IBM Journal of Research and Development 5(3), 183–191. DOI
- Bérut, A. et al. (2012). Experimental verification of Landauer's principle linking information and thermodynamics. Nature 483, 187–189. PubMed
- Wadler, P. (1989). Theorems for free! FPCA '89. PDF
- Dijkstra, E. W. (1970). Notes on Structured Programming (EWD249). Dijkstra archive
- Gao, Z., Bird, C. and Barr, E. T. (2017). To Type or Not to Type: Quantifying Detectable Bugs in JavaScript. ICSE 2017. PDF
- Wang, X., Zeldovich, N., Kaashoek, M. F. and Solar-Lezama, A. (2013). Towards Optimization-Safe Systems: Analyzing the Impact of Undefined Behavior. SOSP '13. PDF
- GHC. Safe Haskell. User's guide
- Lehman, M. M. (1996). Laws of Software Evolution Revisited. EWSPT '96, LNCS 1149. PDF
- METR (2025). Recent Frontier Models Are Reward Hacking (June 5, 2025). Blog
- Zhong, Z., Raghunathan, A. and Carlini, N. (2025). ImpossibleBench: Measuring LLMs' Propensity of Exploiting Test Cases. arXiv:2510.20270
- Thaman, K. (2026). Reward Hacking Benchmark: Measuring Exploits in LLM Agents with Tool Use. ICML 2026. arXiv:2605.02964
- Panickssery, A., Bowman, S. R. and Feng, S. (2024). LLM Evaluators Recognize and Favor Their Own Generations. NeurIPS 2024. arXiv:2404.13076
- Shumailov, I. et al. (2024). AI models collapse when trained on recursively generated data. Nature 631, 755–759. DOI
Everything this article claims, in code that runs. Clone it, break it, open an issue.
Ragnagrok/the-entropy-of-unread-codeIf this article was useful to you, you can sponsor the blog on GitHub. It helps me keep writing.