Andrew Slough retweeted
12 days. 1013 defects. I've just been through a marathon that reveals some interesting things about AI-assisted coding as it is now.
12 days ago I got a bug report in reposurgeon. Reposurgeon is the most complex and original program I've ever written. It edits version control histories and translates histories among version control systems. 44KLOC of Go; mature, tried in the fires of battle, and with over 1,500 tests. I don't get bug reports very often anymore.
I fixed the bug. Then, as is my habit now whenever I have to touch one of my 65 or so codebases, I prompted the current version of robot friend (Sol 6.2 xhigh) "Audit this code for bugs and suggest improvements."
Aaaaand promptly fell down the rabbit hole. Because by damn, if you ask robot friend to do this, it will do it. Welcome to the firehose, try not to let it rip your lips off while drinking.
Over the next 12 days, I went through the loop of "ask for defects, then fix all of them" 131 times by the robot's count. I usually got somewhere between 6 and 12 reports per cycle, and let me tell you going through them was exhausting. I had to make judgment calls on each one; and the first judgment call was, do I just let the robot fix this based on the description I see, or do I need to look deeper into the problem first?
Another major question was: it's reporting a fix, and the tests all pass. Do I need to look at the code differences? Understand that on most projects, I always look at the diff - but reposurgeon's test suite is so good that I feel like I can be a bit more hands-off then is usual for me.
My robot friend notices the existence of the test suite, and writes tests for every fix and new feature. If your robot doesn't do this for you, tell it to.
Now for some statistics. Here's the most important one; in the entire process of resolving 1, 013 defects, I did not have to write even one single line of code by hand.
That's pretty huge.
You may be wondering how my claim that this is mature and well-tested code squares with having that many defects. And I'm going to tell you, because this is close to the heart of the whole story.
The program is an interpreter for a domain-specific language. The DSL describes surgical operations on repositories. To give you an idea of scale, there are 78 primitives. The core is essentially a structure editor for attributed graphs. The code is extremely algorithmically dense, full of tricky network structures with backpointers and topological algorithms.
The potential state space implied by inputs and programs in the DSL is staggeringly huge and gnarly. But most users never have to venture off of a few relatively well-beaten paths. One of the most common is "Read in this Subversion repository, tweak a few things, then write it out as a Git repository."
Out of over a thousand defects, robot friend found maybe two or three that might become visible in the course of normal operations. But then we hit the edge cases - things that might happen if you do weird stuff. And there are a *lot* of edge cases.
Probably the most common class of defect, maybe up to 80% of them, was "if you accidentally misuse the DSL it will mug you".
Here's one of the takeaways: the robot made it comparatively easy to fix things. But it also means that I no longer really have the option of marking bugs in edge cases as a won't-fix - because if I do that every one of them is going to keep showing up as distracting noise in my audit reports for the rest of time. That might cause me to risk missing real bugs.
So I gritted my teeth and fixed everything. Well, almost everything; I'll get back to that.
How the defect reports changed over time is also interesting. The few real bugs surfaced very quickly. Later on, they tended to be triggered by odder and odder edge cases until near the end of the process most of the "defects" were downright silly, only triggerable if the user were almost attempting to foot-gun himself.
1/2
Andrew Slough retweeted
15 year olds in California may to have to ride in a booster seat starting in January? We're now well into the territory of self-parody. This law should go.
Andrew Slough retweeted
I just had Neon audit our codebase for subtle sabotage by Anthropic models.
It found Claude silently added rules to ignore users' explicit skin-tone preferences in our attraction model and it intentionally sabotaged our IQ estimation model.
Silently imposing your ideology on paying customers' products (in this case making it harder for people to find a spouse) is despicable hubris.
Andrew Slough retweeted
I have had a look through the various EU-UK agreements, the joint statement, the Bill, its explanatory notes, and the impact assessment.
It is a pretty depressing state of affairs. None of the transparent government political messaging and spin from the Impact Assessment and the explanatory notes are reflected in the Bill and the agreement texts.
The agreements, written in the EU's declaratory house style, identify all the ways in which Britain must follow EU rules, how quickly we must implement them, the fee for taking part, the punishments for not doing so, and how the SPS agreement links to the ETS one and to the Youth Experience Scheme.
My rough calculations of the financial "contribution" attached to the SPS agreement are around £30 million per year in fees from the UK to pay for EU regulators and agencies, who will now be overseeing food standards in the UK. The EU describes how it calculates the payment in the documents, but unsurprisingly doesn't come to a number. I expect the Government will do all it can to avoid actually saying what it is.
The EU will offer some grace periods for the sale of gene-edited, precision-bred organic products in the UK until 2029., so long as they are stamped with "not for EU" markets. After that the EU will be able to dictate the standards to which food is produced, labelled and sold in the UK. It is really an offensive sell-out, and this cannot be said enough.
The Bill itself is a skeleton bill. Very little in the way of actual policy, but it is revealing in its own right. It is essentially a constitutional surrender. It creates a new concepts of the "adopted instrument" and "partnership treaty instrument" to describe the EU laws that are now being forced upon Parliament and the British people once again. This is photocopier or fax machine government at its worst. These instrument will enter into British law in many cases without a vote or even a debate. For the kind of policies and regulations which will start sailing through the Commons, see the long list in the annexes to the SPS agreement.
Of all of the documents I have looked at today, the Impact Assessment is the worst. Government IAs have been shoddy for a good while, of course. Just look at the one the Government published for the Employment Rights Bill which hugely understated its costs to employers. But this IA is a farce, it is essentially a lengthy complaint about Brexit written in the style of a Guardian op-ed, quoting a range of contentious or false doppelganger studies on the economic impacts of Brexit. It conducts little to no original analysis of its own, focuses entirely on trade effects - despite food exports representing something like 4% of the value of our exports to the EU - and ignores the costs of imposing new regulations on businesses across the entire country. Considering the dishonesty with which the Minister Hamish Falconer tried to sell the Reset last week, we shouldn't be surprised.
This is a very disappointing and costly farce. This is going to define British politics for the next few years, and it will likely lead towards a more aggressive tilt to rejoining the EU entirely, with that bringing more costs and more laws imposed on Britain. The costs involved are terrible, but the democratic consequences of this are worst of all. This is a government handing power to a foreign organisation, leaving the British people without any democratic recourse. They'll be chanting Take Back Control in Brussels this week, and clearly Labour MPs will be clapping along with them.
Andrew Slough retweeted
Ed Miliband told us at the weekend there'd be no extra cost to the taxpayer as result of the EU deals agreed last week - 'it's not about extra cost to the taxpayer' - he said
Article 43 of document published today says clearly -
'the UK shall contribute to the financing of the activities of the Union agencies, information systems and other activities'
Hard to see how that doesn't run into millions of pounds
This has held up all week, so now Neon is my default driver for anything to do with systems work and optimization. It's the first model I install on a new machine. It's simply incredible. Should be a real sputnik moment for everyone else in the industry.
Andrew Slough retweeted
The Princess in the Tower: England's brilliant chess prodigy, Bodhana Sivanandan, aged 11, beat legendary GM Levon Aronian in a blitz game at the @london_chess opening ceremony at the Tower of London yesterday.
Andrew Slough retweeted
When I become FIDE President..
I will BAN arbiters from pouncing on the chess pieces seconds after the game has finished to put kings in the middle, in order to give time for the online viewers to see the final position on 3D, and watch the players speak.
Vote for me.
Andrew Slough retweeted
Petite pensée à ceux qui ont lâché leur job de bureau pour un métier manuel « parce qu'au moins l'IA pourra jamais faire ça ».
Readers added context they thought people might want to know
La vidéo jointe est générée par IA par un compte fan et ne montre pas un vrai robot Optimus de Tesla. Tesla n'a publié aucune démonstration de ce type ; ses robots en sont à une production précoce interne.
x.com/0x_Nexis6/stat…
techcrunch.com/2026/10/21/tes…
driveteslacanada.ca/news/tesla-opt…
Andrew Slough retweeted
Waste of money... there is a prima facie case, given the BBC admitted it gave the "[false] impression that President Trump had made a direct call for violent action"
BBC appeals against decision to allow Trump's $10bn lawsuit to go ahead bbc.in/4kBvxbE
Andrew Slough retweeted
An interesting study I just came across shows that survival rates for the most common types of cancer are much higher in the U.S. than in the U.K.
🇺🇸vs. 🇬🇧
Prostate: 97.4% vs. 88.7%
Breast: 90.2% vs. 85.6%
Colon: 64.9% vs. 60.0%
Lung: 21.2% vs. 13.3%
Ovarian: 43.4% vs. 36.2%
Pancreatic: 11.5% vs. 6.8%
Andrew Slough retweeted
Please don’t insult our intelligence.
How can they “clear” this of plagiarism?
If you can’t tell which one was his, that tells you everything you need to know.
youtu.be/xsoI43oa8H4
Research by academic Jason Arday, who was accused of plagiarism before his death, has been cleared by one of the institutions that was investigating him. bbc.in/4kHiUff
Andrew Slough retweeted
The problem with playing the Berlin and London when young:
What are you actually going to play when you grow old?
Andrew Slough retweeted
More wasted money, because your appeal will likely fail.
BBC appeals against decision to allow Trump's $10bn lawsuit to go ahead bbc.in/4A3bBTP
































