Hillclimbing your prompts

2026年11月25日

AI 摘要 AI 生成,可能有误

本文描述了如何使用爬山算法递归地自我改进用于博客文章类别分类器的提示词。经过几次迭代后,分类器的精确率从28.7%大幅提升到70.6%,不过召回率从51.7%略微下降到47.3%。总体而言,作者报告称该方法效果非常好,F1分数从36.9%上升到了56.7%。

You can hillclimb to recursively self-improve a prompt! I tried this for an article category classifier for my blog and it worked wonderfully.

Got from less than 30% precision to 70% after a few iterations 💪

| Metric | Before | Now | | ----------------------- | -----: | --------: | | Precision | 28.7% | 70.6% | | Recall | 51.7% | 47.3% | | F1 | 36.9% | 56.7% | | Precision-weighted F0.5 | 31.5% | 64.3% |

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 Swizec Teller

Software has no value

AI 摘要The article argues that software has no inherent value, humorously noting that nobody buys software just to admire it. Instead, software is merely a means to an end, and its true worth lies in what it enables people to accomplish.

How do we auto-approve and merge 60% of PRs?

AI 摘要The author, still overwhelmed by code review, explains how they raised auto-approved and merged pull requests to about 16% and aims to reach 60%. They argue that 100% automation isn't realistic because some changes are high-risk, require coordinated deployments, or need additional feedback before they're ready. They also note that manual review preserves valuable mentoring opportunities for junior team members.

No more tech debt

AI 摘要The author celebrates completing a design system migration for the first time in their career, finding the new math on big rewrites gratifying. They argue that at scale, a company is perpetually mid-migration or mid-rewrite, since organizations change every few months and systems built years ago become unfit for purpose. Therefore, how a team handles these migrations is what truly matters.

When code is cheap, judgement becomes the job

AI 摘要The author describes working at a 21-person engineering organization that ships code with remarkable velocity—merging multiple times per day, auto-approving 16% of pull requests, and letting AI write 97% of their code—while still maintaining reliability in a business where outages cost thousands of dollars. The central takeaway is that when AI makes writing code cheap and fast, human judgment becomes the engineer's primary job.

Why I'm excited about Jev-like classifiers

AI 摘要The author is excited about Jev-like classifiers, demonstrating that Jev can find product recommendations much faster than Claude, with both relying purely on prompt engineering via API calls rather than training, large eval sets, or months of data collection. This speed advantage makes Jev dramatically cheaper, so much so that it can play a game in real time, where every key press corresponds to an API call that observes the game state and decides which key to press.