Yes!
And we can replace "reduce slop" with "maximize maintainability".
Code is just a means to an end. It has an ongoing carrying cost.
This is the MASSIVE fallacy of the agentic coding era - code only became cheap to write. Each line still has an ongoing cost to maintain.
Starting to wonder if the smartest way to reduce slop is just to produce less code
Force code review to continually reduce code while ALSO keeping cyclomatic complexity low
Less code means less code to maintain, fewer bugs
@haacked Hey Phil, I'm on the governance board for OpenFeature and working on building deeper connections with feature flagging vendors.
I would love to connect with PostHog's feature flag team. Any chance you can help?
@mattpocockuk@dexhorthy@GergelyOrosz This is why I love CodeSlopBench so much as an eval - it's at least attempting to measure the *long-term trajectory* of an agent-authored codebase, on the scale of months/years, rather than hours.
curmudgeonly take: Everyone is gonna call whatever they're wrapping around Claude Code/Codex/Pi their "Software Factory", whether it's basic harness engineering or a full on Minion's style platform.
You should definitely be building the former, but perhaps not the latter
@dexhorthy Can I take partial credit for persuading you that the SlopCodeBench measures are at least directionally useful? :)
re:
"..well-factored codebase will tend to lead to shorter, more token-efficent...", I thought this was super interesting: https://t.co/pOIxAMaA0Q
recommended reading, if you don't follow dex you're ngmi. also, please stop posting useful stuff. haven't written a blog post in ages and this makes me feel bad.
i must stress that factories is not a token or llm problem. it’s a systems engineering and corporate culture problem.
it won’t be solved through tokens or how you apply the tokens (but it is a piece of the puzzle)
ugh. blog post time.
@dexhorthy@theo The quality signals they're measuring aren't based on an LLM, they look like pretty traditional (deterministic) academic measures based on things like cyclometric complexity.
Those types of measures have their own flaws, but it's not model-judging-model.
At HumanLayer, we’re on a mission to solve the AI slop code problem.
In 2025 we open-sourced our Research, Plan, Implement framework, now deployed inside fortune 500s like Block and Uber - places where shipping slop is just not an option
And that was just the beginning.
Today, we’re opening access to HumanLayer - an Agentic IDE, collaboration platform, and building blocks for your software factory.
HumanLayer enables engineers solving hard problems in complex codebases to:
> move 2-3x faster across the entire SDLC (not just coding)
> maintain rigorous standards for system architecture and program design
Hundreds of engineers at companies of all sizes are already using HumanLayer to ship fast without sacrificing quality.
I'm excited to invite you to try humanlayer today at https://t.co/cQ648EkrnG, and I'm even more excited to see what you build.
@0xblacklight and I are deeply grateful to our team, our customers who give us so much incredible energy and feedback, our investors who have always been in our corner, and our friends and family who have supported us along this crazy journey
if you're a staff or principal engineer trying to make AI coding work at scale for your team, we'd love to hear from you
as @swyx likes to say - let's make this the year of no more slop
I've got an agent in a loop optimizing a renderer with the goal to minimize frame times (and tests to measure). It got times down from 88ms to 2ms and allocations down from ~150K to 500. Sounds good, right? Wrong. This is exactly why agent psychosis is a big fucking problem.
As an experiment, I rewrote the Ghostty core render state in Go, with access to identically laid out data structures as Ghostty and the exact same validation tests. I made a purposely naive renderer (simple, correct, but slow). 88ms per frame with 150,000 allocations (horrendous, lol)!
I then kickstarted a Ralph loop to bring the frame times down. I told it it can't modify input data structures or the public API or tests (they're correct), but it can do anything else it wants. It got to work.
It has worked for about 4 hours. I've spent around $350 on this experiment so far. The results?
88ms => 1.5ms
150K allocs => ~500 allocs
Incredible right? Nope.
My hand-written renderer I ported has frame times (same benchmark) of ~20us (0.020ms) and 0 allocations in the update path.
This is the problem with psychosis and lacking systems understanding. If you don't understand the system, you're going to accept that this is an incredible result. If you understand the system, you'll see better solutions immediately and can do roughly 75x better on throughput.
The people who blindly trust agent output are in the former camp. They're sheeple, overdrinking from a fountain of mediocrity.
Standard disclaimer: I use AI all the time. I like AI. The point I'm making is to not blindly accept results. Think. Analyze. Learn.
Modern macOS contains a fully local inference model. No network calls, stays fully on device.
Here's a single file script to turn it into an OpenAI API compatible completions server:
https://t.co/07ieY8ASKu
@shubhamJReacts@mattpocockuk I think you have it backwards. Markdown is interpreted pretty permissively, but HTML way more so.
HTML is probably the most permissively interpreted file format out there. Renderers and parsers will wade on no matter how malformed it is.
@techgirl1908 100% agree on "just give it more context" being unhelpful.
But I remain skeptical on automatically managed memories, until I see compelling results. I'm not ready to trust the quality of context being injected behind the scenes, at least when it comes to coding agents.
the funniest thing about the token grift is most folks who pushed token burn in q1 are now having a falling out with their CFOs because they don’t have a metric that correlates to business outcomes
Inputs -> outputs -> outcomes
If you can’t measure revenue, measure KPIs
If you cant measure KPIs, measure customer outcomes
If you cant measure customer outcomes, measure task throughput (features, tickets, bugs)
If you cant measure task throughput, measure work throughput (PRs)
If you cant measure PRs, measure LOC
If you cant measure LOC, measure tokens
if you’re a leader and you’re not focused on improving your ability to measure things that matter, you’re cooked
You cannot outsource the need for tasteful judgement.
There's times you don't need it - when a good-enough decision is fine - and in those situations you should be using an LLM every time.
But when thoughtful design decisions pay dividends, you still need an experienced human.
Judging by my tl there is a growing gap in understanding of AI capability.
The first issue I think is around recency and tier of use. I think a lot of people tried the free tier of ChatGPT somewhere last year and allowed it to inform their views on AI a little too much. This is a group of reactions laughing at various quirks of the models, hallucinations, etc. Yes I also saw the viral videos of OpenAI's Advanced Voice mode fumbling simple queries like "should I drive or walk to the carwash". The thing is that these free and old/deprecated models don't reflect the capability in the latest round of state of the art agentic models of this year, especially OpenAI Codex and Claude Code.
But that brings me to the second issue. Even if people paid $200/month to use the state of the art models, a lot of the capabilities are relatively "peaky" in highly technical areas. Typical queries around search, writing, advice, etc. are *not* the domain that has made the most noticeable and dramatic strides in capability. Partly, this is due to the technical details of reinforcement learning and its use of verifiable rewards. But partly, it's also because these use cases are not sufficiently prioritized by the companies in their hillclimbing because they don't lead to as much $$$ value. The goldmines are elsewhere, and the focus comes along.
So that brings me to the second group of people, who *both* 1) pay for and use the state of the art frontier agentic models (OpenAI Codex / Claude Code) and 2) do so professionally in technical domains like programming, math and research. This group of people is subject to the highest amount of "AI Psychosis" because the recent improvements in these domains as of this year have been nothing short of staggering. When you hand a computer terminal to one of these models, you can now watch them melt programming problems that you'd normally expect to take days/weeks of work. It's this second group of people that assigns a much greater gravity to the capabilities, their slope, and various cyber-related repercussions.
TLDR the people in these two groups are speaking past each other. It really is simultaneously the case that OpenAI's free and I think slightly orphaned (?) "Advanced Voice Mode" will fumble the dumbest questions in your Instagram's reels and *at the same time*, OpenAI's highest-tier and paid Codex model will go off for 1 hour to coherently restructure an entire code base, or find and exploit vulnerabilities in computer systems. This part really works and has made dramatic strides because 2 properties: 1) these domains offer explicit reward functions that are verifiable meaning they are easily amenable to reinforcement learning training (e.g. unit tests passed yes or no, in contrast to writing, which is much harder to explicitly judge), but also 2) they are a lot more valuable in b2b settings, meaning that the biggest fraction of the team is focused on improving them. So here we are.