跳到正文
dex· @dexhorthy · X·· 4 天前AI 评分60
AI 导读

Dex Horthy 公布 SlopCodeBench 早期结果,测试对 Fable 5.2 加入 "你是代码库的长期维护者" 提示(出自 Anthropic 官方提示指南)的效果。初步显示重复代码明显减少、测试增多,并在 circuit_eval 上提分,但也有测试早期锁定了对规范的误读,导致后续表现变差。

正文

some fun early results from my SlopCodeBench (eval by @GOrlanski and team) on my biggest question:

what happens to code quality when you tell fable 5.2 "you own this codebase and will be working in it over time"

this prompt tip comes from anthropic's official fable 5.2 prompting guide. some interesting behavior:

1) it definitely reduces code duplication compared to just asking for features, and results in more tests being written

2) it improved scores on one of the easy challenges (still early in the campaign here)

3) in at least one case, the tests written early locked in bad behavior that caused worse performance over time, compared to the stock "just build the feature" prompt without the ownership line

来源:dex · x.com