Comment by Dzugaru
24 days ago
There is no substitute for reading the code in many many cases. I spend more than 3k/mo on tokens. I find incorrect assumptions baked into the code (the ultimate spec) and missed by the agents and tests daily. This is more pronounced in data analysis and complex systems.
As a side effect having to read the code at least once inevitably makes it way shorter and usually much better.
That's right. And you have to read what the agent is doing as well. Once I said (Opus 5.5), given this list, find issues that are both critical and related to {X feature}.
Guess what: because I said "both", Opus decided I was looking to pick out exactly two of the issues. If I hadn't read that reasoning log, I would've remained oblivious and thought there were only two it could find.
> Guess what: because I said "both", Opus decided I was looking to pick out exactly two of the issues.
That seems like a misinterpretation of English that I'd expect from a much less capable model. Like, a complete lack of understanding of grammar. To have that meaning, you would have to have put "both" before "issues" instead.
It is, and it was surprising in an unsurprising sort of way. This only happened last week, I'm not "misremembering" or anything either. It was a long context session, though.
You get a reasoning trace from Opus 5.5?
Yes, I use the pi harness and an API key.
2 replies →
To be fair, that's a pebkac problem. You got exactly what you requested (and the language was unambiguous).
This is like writing `if (cond_x && cond_y) {}` and then blaming the compiler because it didn't realise that actually meant to write `if (cond_x || cond_y) {}`.
That's not what they said, they said it limited its output to 2 issues because it saw the "both" in the sentence, which is clearly an incorrect reading of their instructions.
2 replies →
The language is not unambiguous; it's exactly ambiguous (you and your first reply demonstrate how hard it can be to see the other reading):
0. "find issues that are both critical and related to X"
...could be read as "issues that are X and are Y":
1. [valid, intended] find [all] issues that are[, at the same time,] 1) critical; and 2) related to X
...or as "issues, both of which issues are X and are Y":
2. [valid, your reading] find [an to-be-specified number of] issues that are, both [so I want two issues], possessing X and Y attributes.
> I spend more than 3k/mo on tokens.
I'd be curious to learn how you're using them.
Exactly, I see insidious errors made by Claude Opus daily, all the time. Errors that would be very hard to catch with tests, because usually they are architectural level issues.
[flagged]
> I spend more than 3k/mo on tokens.
Dude you should buy tin. I can get you a banger box for $30k.