Boris Cherny on Trying to Get Claude Code to Rewrite the Claude App
11–20 of 20 posts
Re: Boris Cherny on Trying to Get Claude Code to Rewrite the Claude App
#12Mostly I’m borrowing heavily from model based systems engineering and adapting it to some form of constitutional spec driven development.
Re: Boris Cherny on Trying to Get Claude Code to Rewrite the Claude App
#13Re: Boris Cherny on Trying to Get Claude Code to Rewrite the Claude App
#14Re: Boris Cherny on Trying to Get Claude Code to Rewrite the Claude App
#15I've since refactored it to first do some deterministic checks using CSS, to determine visual glitches like overlaps. Only after do I use LLMs to figure out if text is broken, loading spinners still display, or other such things where models are better.
For deterministic tasks like pixel-by-pixel comparison, I don't think LLMs are good enough (for now, at least).
Re: Boris Cherny on Trying to Get Claude Code to Rewrite the Claude App
#16I've worked on a LLM-based visual validation framework for mobile layouts of different websites. The results are pretty flaky, even with Claude models. I've actually seen better performance with older ones like Meta Llama 4 or Amazon's Nova (the solution was running on AWS Bedrock). I've since refactored it to first do some deterministic checks using CSS, to determine visual glitches like overlaps. Only after do I us…
User interfaces are like pieces of artwork. You really don't know until it's finished, and even then it's not for everyone.
LLMs are most effective when working with human parsed representations of websites. They are terrible at doing the actual parsing.
They're also good at working on a relative basis. One png screenshot of the viewport is a difficult hill to climb. The difference between two screenshots is much more informative. Deltas usually tell a much bigger story than dead reckoning against the base world model.
Re: Boris Cherny on Trying to Get Claude Code to Rewrite the Claude App
#17I've worked on a LLM-based visual validation framework for mobile layouts of different websites. The results are pretty flaky, even with Claude models. I've actually seen better performance with older ones like Meta Llama 4 or Amazon's Nova (the solution was running on AWS Bedrock). I've since refactored it to first do some deterministic checks using CSS, to determine visual glitches like overlaps. Only after do I us…
I speculate that maybe the OpenAI models have the edge here over Claude's (while still being terrible at web UIs), as the training necessary to handle computer use stuff is heavily image processing based. I wouldn't bet on either being bad for much longer though.
Re: Boris Cherny on Trying to Get Claude Code to Rewrite the Claude App
#18I've worked on a LLM-based visual validation framework for mobile layouts of different websites. The results are pretty flaky, even with Claude models. I've actually seen better performance with older ones like Meta Llama 4 or Amazon's Nova (the solution was running on AWS Bedrock). I've since refactored it to first do some deterministic checks using CSS, to determine visual glitches like overlaps. Only after do I us…
It might help to consider how stable an arbitrary human would be at this task. User interfaces are like pieces of artwork. You really don't know until it's finished, and even then it's not for everyone. LLMs are most effective when working with human parsed representations of websites. They are terrible at doing the actual parsing. They're also good at working on a relative basis. One png screenshot of the viewport i…
The hard point is doing that well deterministically in a way that is token efficient and which can be iterated on. I suspect it's difficult to encode that into an AI model of what's good taste.
Re: Boris Cherny on Trying to Get Claude Code to Rewrite the Claude App
#19Re: Boris Cherny on Trying to Get Claude Code to Rewrite the Claude App
#20Better technology cannot compensate for poor product design. Two weeks' worth of tokens sounds like tens of thousands of dollars by the time it is done. Wouldn't it be better to hire someone who knows what they are doing, get it right, and teach the other engineers why and how? Tech dept and product dept creeping in on every LLM loop, compounding.