Mastodon Feed: Post

Mastodon Feed

jonny@neuromatch.social ("jonny (nonvenomous)") wrote:

this is what counts as benchmarking, with code links because this shit makes literally no sense and boils your brain if you try and read it:

benchmark for the ponytail skill on claude opus 4-8 where the prompt is "write me an email validation function" the regex is just "anything that's not an @ sign, then an @ sign, then anything that's not an @ sign, then a period, then anything that's not an @ sign or a space" python import re def valid_email(s):     return re.match(r"[^@\s]+@[^@\s]+\.[^@\s]+$", s) is not None  → skipped: full RFC 5322 grammar, add when you actually need to parse display names/quoted locals. For real verification, send a confirmation email — regex can't tell you an address exists. ```python