News for hackers. Stuff that matters.
Re:Claude Code's source code has been leaked via a map file ... by orphea on Tuesday March 31, 2026 @08:02AM (#47586098)
Then they made it wrong. For example, "What the actual fuck?" is not getting flagged, neither is "What the *fuck*".
Re:Claude Code's source code has been leaked via a map file ... by vntok on Tuesday March 31, 2026 @09:33AM (#47587146)
They evidently ran a statistical analysis and determined that virtually no one uses those phrases as a quick retort to a model's unsatisfying answer... so they don't need to optimize for them.
Re:Claude Code's source code has been leaked via a map file ... by arcfour on Tuesday March 31, 2026 @09:42AM (#47587286)
It is exceedingly obvious that the goal here is to catch at least 75-80% of negative sentiment and not to be exhaustive and pedantic and think of every possible way someone could express themselves.
Re:Claude Code's source code has been leaked via a map file ... by Zamaamiro on Tuesday March 31, 2026 @09:55AM (#47587453)
Classic over-engineering. Their approach is just fine 90% of the time for the use case it’s intended for.
Re:Claude Code's source code has been leaked via a map file ... by orphea on Tuesday March 31, 2026 @10:19AM (#47587785)
75-80% [1], 90%, 99% [2]. In other words, no one has any idea.

I doubt it's anywhere that high because even if you don't write anything fancy and simply capitalize the first word like you'd normally do at the beginning of a sentence, the regex won't flag it.

Anyway, I don't really care, might just as well be 99.99%. This is not a hill I'm going to die on :P

[1]: https://news.ycombinator.com/item?id=47587286

[2]: https://news.ycombinator.com/item?id=47586932

Re:Claude Code's source code has been leaked via a map file ... by zwirbl on Tuesday March 31, 2026 @10:56AM (#47588261)
It compares to lowercase input, so doesn't matter. The rest is still valid
Re:Claude Code's source code has been leaked via a map file ... by morkalork on Tuesday March 31, 2026 @11:23AM (#47588706)
Except that it's a list of English keywords. Swearing at the computer is the one thing I'll hear devs switch back to their native language for constantly