Available Messages
The following is a list of recent messages for codenewsletter. Select one to see the content. Messages are removed frequently. Check early. Check often.
Selected Message
To: [email protected]
Date: Sun, 22 Nov 2026 15:31:57 GMT
Subject: π How to pick a decision model
- HTML Content
- HTML Source
- Plain Text
HTML Content
HTML Source
<!DOCTYPE html><html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" style="font-size:16px;"><head></head><head><meta charset="utf-8"/><!--[if !mso]><!--><meta http-equiv="X-UA-Compatible" content="IE=edge"/><!--<![endif]--><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="x-apple-disable-message-reformatting"/><meta name="format-detection" content="telephone=no,address=no,email=no,date=no,url=no"/><meta name="color-scheme" content="light"/><meta name="supported-color-schemes" content="light"/><title>π How to pick a decision model</title><!--[if mso]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]--><style>
:root { color-scheme: light; supported-color-schemes: light; }
body { margin: 0; padding: 0; min-width: 100%!important; -ms-text-size-adjust: 100% !important; -webkit-transform: scale(1) !important; -webkit-text-size-adjust: 100% !important; -webkit-font-smoothing: antialiased !important; }
.body { word-wrap: normal; word-spacing:normal; }
table.mso { width: 100%; border-collapse: collapse; padding: 0; table-layout: fixed; }
img { border: 0; outline: none; }
table { mso-table-lspace: 0px; mso-table-rspace: 0px; }
td, a, span { mso-line-height-rule: exactly; }
#root [x-apple-data-detectors=true],
a[x-apple-data-detectors=true],
#MessageViewBody a { color: inherit !important; text-decoration: inherit !important; font-size: inherit !important; font-family: inherit !important; font-weight: inherit !important; line-height: inherit !important; }
span.MsoHyperlink { color: inherit !important; mso-style-priority: 99 !important; }
span.MsoHyperlinkFollowed { color: inherit !important; mso-style-priority: 99 !important; }
.a { background-color:#FFFFFF; }
.b { background-color:#030712; }
.c { background-color:#FFFFFF; }
h1, h1 a, h2, h2 a, h3, h3 a, h4, h4 a, h5, h5 a, h6, h6 a, ul, li, ol, p, p a { margin: 0;padding: 0; }
h2 { font-family:'Helvetica',Arial,sans-serif;font-weight:400;font-size:24px;color:#2A2A2A;line-height:1.5;padding-bottom:4px;padding-top:0px;mso-margin-top-alt:0px;mso-margin-bottom-alt:4px }
h3 { font-family:'Helvetica',Arial,sans-serif;font-weight:400;font-size:20px;color:#2A2A2A;line-height:1.25;padding-bottom:2px;padding-top:2px;mso-margin-top-alt:2px;mso-margin-bottom-alt:2px }
h5 { font-family:'Helvetica',Arial,sans-serif;font-weight:400;font-size:16px;color:#2A2A2A;line-height:1;padding-bottom:2px;padding-top:12px;mso-margin-top-alt:12px;mso-margin-bottom-alt:2px }
p { font-family:'Helvetica',Arial,sans-serif;font-weight:400;color:#2D2D2D;font-size:16px;line-height:1.5;padding-bottom:7px;padding-top:7px;mso-margin-top-alt:7px;mso-margin-bottom-alt:7px; }
p a, .e a, ul a, li a, .h a, .h2 a, .h3 a { word-break:break-word;color:#3593FF !important;text-decoration:underline;text-decoration-color:#3593FF;font-weight:bold; }
p span[style*="font-size"] { line-height: 1.6; }
.f p { font-size:12px;line-height:15px;color:#2D2D2D;padding:0;mso-margin-top-alt:0px;mso-margin-bottom-alt:0px; }
.f p a { color:#2D2D2D !important; }
.f p a, .i p a, .i2 p a, .i3 p a, .h p a, .h2 p a, .h3 p a { text-decoration:underline; }
.j { border-top:1px solid #030712; }
.t p { font-family:'Helvetica',Arial,sans-serif;font-size:12px;line-height:1.5;font-weight:400;color:#000000;font-style:italic;padding:0px;mso-margin-top-alt:0px;mso-margin-bottom-alt:0px; }
.w p { font-size:12px;line-height:15px;font-weight:400;color:#FFFFFF; }
.w p a { text-decoration: underline !important;color:#FFFFFF !important; }
ul { font-family:'Helvetica',Arial,sans-serif;margin:0px 0px 0px 25px !important;padding:0px !important;color:#2D2D2D;line-height:24px;list-style-type:disc !important;font-size:16px; }
ul > li { font-family:'Helvetica',Arial,sans-serif;margin:10px 0px 0px 0px !important;padding: 0px 0px 0px 0px !important; color: #2D2D2D; }
li > p, li p { font-family:'Helvetica',Arial,sans-serif;font-size:16px;font-weight:400;line-height:24px;padding:0px;mso-margin-top-alt:0px;mso-margin-bottom-alt:0px; }
li.listItem p { word-break:break-word; }
.e h3,
.e p,
.e span { padding-bottom:0px;padding-top:0px;mso-margin-top-alt:0px;mso-margin-bottom-alt:0px; }
.e span,
.e li { font-family:'Helvetica',Arial,sans-serif;font-size:16px;color:#2D2D2D;line-height:24px; }
.copyright a {color: inherit !important; text-decoration: none !important; font-size: inherit !important; font-family: inherit !important; font-weight: inherit !important; line-height: inherit !important;}
@media only screen and (max-width:667px) {
.aa, .w100pc { width: 100% !important; }
.bb, .bb td { max-width: 100% !important; }
.bb img { max-width: 100% !important; height: auto !important; }
.dd { overflow-wrap: break-word !important; }
.ee { padding-top:10px !important;padding-bottom:10px !important; }
.mob-stack {width:100% !important;display:block !important;}
.mob-w-full {width:100% !important;}
.bodyWrapper { padding:8px 4px 0px 4px !important; }
}
@media screen and (max-width: 480px) {
u + .a .gg { width: 100% !important; width: 100vw !important; }
}
</style><!--[if mso]><style type="text/css">
h1, h2, h3, h4, h5, h6 {font-family: Arial, sans-serif !important;}
body, table, td, p, a, span {font-family: Arial, sans-serif !important;}
sup { font-size: 100% !important;vertical-align: .5em !important;mso-text-raise: -1.5% !important;line-height: 0 !important; }
ul { margin-left:0px !important; margin-right:10px !important; margin-top:20px !important; margin-bottom:20px !important; }
ul li { margin-left: 0px !important; mso-special-format: decimal; }
ol { margin-left:0px !important; margin-right:10px !important; margin-top:20px !important; margin-bottom:20px !important; }
ol li { margin-left: 0px !important; mso-special-format: decimal; }
li.listItem { margin-left:15px !important; margin-top:0px !important; }
li.listItem p { mso-line-height-alt:150.0%; }
.paddingDesktop { padding: 10px 0 !important; }
.edm_outlooklist { margin-left: -20px !important; }
.embedImage { display:none !important; }
</style><![endif]--><!-- __merge_tags_in_links__ --><style></style></head><body class="a" style="margin:0px auto;padding:0px;word-wrap:normal;word-spacing:normal;background-color:#FFFFFF;"><div role="article" aria-roledescription="email" aria-label="email_name" lang="en" style="font-size:1rem"><div style="display:none;max-height:0px;overflow:hidden;"> Also: 3 workflows to try this weekend  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ </div><table role="none" width="100%" border="0" cellspacing="0" align="center" cellpadding="0" class="gg"><tr><td align="center" valign="top"><table role="none" width="670" border="0" cellspacing="0" cellpadding="0" class="aa" style="width:670px;table-layout:fixed;"><tr><td class="bodyWrapper" align="center" valign="top" style="padding:8px 0px 0px 0px;"><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" align="center"><tr><td align="center" valign="top" style="border-width:0px 0px 0px 0px;border-style: solid; border-color: #FFFFFF;border-radius:10px 10px 0px 0px;background-color:#FFFFFF;" class="c"><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" align="center"><tr id="header"><td style="padding:0px 0px 0px 0px;"><div style="padding-top:0px;padding-right:0px;padding-bottom:20px;padding-left:0px;"><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" align="center"><tr><td class="f" align="right" valign="top"><p> November 22, 2026 | <a data-read-online-tooltip="true" href="https://link.mail.beehiiv.com/ss/c/u001.kro7WBsAmEsY5mGgiUDePbOdMF_BvViPt7FxYKgxL9vQXzXXR_PG6VJiO0C2yNl7abyfbYzod7CoPaAMggKVQRqQpVIJ2U-nHHVM-dRwPKvR31bDf7pyYeqWs8ItynzB1rpVh9YKL2OgPfhh59Qu3HvXGyvLeUadZODM0prcW1sG9xpUwG_tLEoevtviWaNsWOL6K4A8Wjx32zPJO4jxc5xUJrfDh2onaavsZPmZUAaIUgIOUxX-GaINiokzOniCq9TFwrzfN9xO42YJunD_2FM0v7fiP7LaF0-nnzLIL8t0vVHrmkRAof0CpCb6H9k-lulrNC9Cu9h52wXEWm8OhpkUe_n0pJwufgjx9nWqptK_eXa5ra-3n8SwFy11KVtB6u0oMSqD4fjJTZ6uOsuT21lp4eAyaJpI80xdF7mw51x0RN0LbXkiQFiIbXPEWwG44Jd5KZLgKU8IEXrPh6jtklW9c56wtmPH09uTK6AlkN291RsH25LnrqVAgXLh44kRWaE66oavw8gIN2nnouQu1OWPkP0EyqIGgGDeA0vOfmobdXbJDzwAQ-YFYIgt1XJHb7WO9P4s-Q_pHcvnTlgfEnHtrBI71QqwsfwtSxYzJLGW5SEgqTcNuNBrw24kKkpseIoHLZ1Ve-ZboJv5mhZXJ9BfbSUrHHrNdTHTCnaFqncucrIRO6UMUcFJq8ep_pHpp0ry6ugnmqhmI9dfEy7xTSYIFHxueW4kNqpH_qEMtEwBwMp_lE778YsARkmj28DKXjWpcKCZexgq3TfmdyJFgw/4vy/v2fCKU1SRkOev-EhR3LzBw/h0/h001.TiwznIXMMY_xzTLLlIU5XxAnT4suXL7gFqD-fWAQxZI">Read online</a></p></td></tr><tr><td style="line-height:0;"><div data-open-tracking="true"> <img src="https://link.mail.beehiiv.com/ss/o/u001.KyojDkr7Qchq5lk88rZzJw/4vy/v2fCKU1SRkOev-EhR3LzBw/ho.gif" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;"/> </div></td></tr></table></div></td></tr><tr id="content-blocks"><td class="email-card-body" align="center" valign="top" style="padding-bottom:0px;"><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" align="center"><tr><td align="center" valign="top" style="padding-bottom:0px;padding-left:0px;padding-right:0px;padding-top:0px; " class="dd"><table role="none" border="0" cellspacing="0" cellpadding="0" class="bb" style="margin:0 auto 0 auto;"><tr><td align="center" valign="top" class="bb" style="width:670px;"><img src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80,width=1920,height=3840/uploads/asset/file/19c25ccf-428f-4317-8865-bd0da7b9c121/Add_a_heading__9_.jpg?t=1793965482" alt="" height="auto" width="670" style="display:block;width:100%;" border="0"/></td></tr></table></td></tr><tr><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style=""><tr><td bgcolor="transparent" style="background-color:transparent;padding:0.0px 0px 0.0px 0px;box-sizing:border-box;"><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td class="dd" align="left" style="padding:0px 0px;text-align:left;word-break:break-word;"><p style="mso-line-height-alt:150.0%;"><b>Welcome back.</b> Two months ago, a startup named TypeSafe went viral after dropping Jev, an AI model that cannot write a single word. Since then, OpenAI, Microsoft, Cloudflare, AWS, and Google have all shipped their own versions. Most of them make money every time you use an LLM, and now theyβre racing to sell you something much cheaper. </p></td></tr><tr><td class="dd" align="left" style="padding:0px 0px;text-align:left;word-break:break-word;"><p style="mso-line-height-alt:150.0%;"> Today, you'll see what decision models are good for, then set up 3 workflows that put one to work. Let's get started: </p></td></tr></table></td></tr><tr><td height="8.0px" style="line-height:1px;font-size:1px;height:8.0px;"> </td></tr></table></td></tr><tr><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style=""><tr><td bgcolor="transparent" style="background-color:transparent;border-bottom-width:1px;border-color:#222222;border-left-width:1px;border-right-width:1px;border-style:solid;border-top-width:4px;padding:10.0px 0px 10.0px 0px;box-sizing:border-box;"><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td width="10" style="line-height:1px;font-size:1px;width:10px;"> </td><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td class="dd" align="left" valign="top" style="color:#2A2A2A;font-weight:400;padding:0px 0px;text-align:left;"><h3 style="color:#2A2A2A;font-weight:400;mso-line-height-alt:125.0%;"><span style="color:#0080FE;font-family:Eczar, Lora, "DejaVu Serif", Georgia, serif;"><b>Todayβs Brief</b></span></h3></td></tr><tr><td style="padding:0px 0px 6px 0px;" class="ee"><div style="margin-left:0;" class="edm_outlooklist"><ul style="font-weight:400;list-style-type:disc;margin-bottom:0px !important;margin-top:0px !important;padding:0;"><li class="listItem ultext"><p style="text-align:left;"> What decision models are and how they work </p></li><li class="listItem ultext"><p style="text-align:left;"> Workflow #1: Catch breaking PRs before review </p></li><li class="listItem ultext"><p style="text-align:left;"> Workflow #2: Replace a costly LLM the way Amazon did </p></li><li class="listItem ultext"><p style="text-align:left;"> Workflow #3: Pick a decision model and build evals </p></li></ul></div></td></tr></table></td><td width="10" style="line-height:1px;font-size:1px;width:10px;"> </td></tr></table></td></tr><tr><td height="12.0px" style="line-height:1px;font-size:1px;height:12.0px;"> </td></tr></table></td></tr><tr><td align="center" valign="top" style="padding-bottom:0px;padding-left:0px;padding-right:0px;padding-top:0px; " class="dd"><table role="none" border="0" cellspacing="0" cellpadding="0" class="bb" style="margin:0 auto 0 auto;"><tr><td align="center" valign="top" class="bb" style="width:670px;"><img src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80,width=1920,height=3840/uploads/asset/file/18efc0eb-c3c4-483f-a001-0fe0dcca16c3/Group_from_Figma__2_.png?t=1758120539" alt="" height="auto" width="670" style="display:block;width:100%;" border="0"/></td></tr></table></td></tr><tr><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style=""><tr><td bgcolor="transparent" style="background-color:transparent;border-bottom-width:0px;border-color:#222222;border-left-width:1px;border-right-width:1px;border-style:solid;border-top-width:0px;padding:0.0px 0px 0.0px 0px;box-sizing:border-box;"><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td width="10" style="line-height:1px;font-size:1px;width:10px;"> </td><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td class="dd" align="left" valign="top" style="color:#2A2A2A;font-weight:400;padding:0px 0px;text-align:left;"><h5 style="color:#2A2A2A;font-weight:400;mso-line-height-alt:100.0%;"><span style="color:#3593ff;font-family:Eczar,Lora,'DejaVu Serif',Georgia,serif;"><b>DEEP DIVE</b></span></h5></td></tr><tr><td class="dd" align="left" style="padding:0px 0px;text-align:left;word-break:break-word;"><p style="mso-line-height-alt:150.0%;"></p></td></tr></table></td></tr></table></td></tr></table></td></tr><tr><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style=""><tr><td bgcolor="transparent" style="background-color:transparent;border-bottom-width:0px;border-color:#222222;border-left-width:1px;border-right-width:1px;border-style:solid;border-top-width:0px;padding:0.0px 0px 0.0px 0px;box-sizing:border-box;"><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td align="center" valign="top" style="padding-bottom:0px;padding-left:0px;padding-right:0px;padding-top:0px; " class="dd"><table role="none" border="0" cellspacing="0" cellpadding="0" class="bb" style="margin:0 auto 0 auto;"><tr><td align="center" valign="top" class="bb" style="width:670px;"><a href="https://link.mail.beehiiv.com/ss/c/u001.y8XueU-stBfRyqUeoBxfLrmuiDjuXMAXbugD1pFJL3s-EQraer_C3yZ20B3KEsVwn0k1h4DvXxQQj1QOtaRfBSn8VE2NMXqi8W54xhLpTL_CWLrUucd3ts_tRevXJQK208fwguQ3Crpswlb52wK6qO6QvKIvHfP_v233L4xofoQIKEFd-LvbCHkLN0tgiR9bAJLjeMTfSu3gzgFPJ_c0g6TQWYAim6WV_saEHz-ua0o2RoOMmMKBNizdiK66g_GvHGLa_b-MESZRemYUyk-6EQ/4vy/v2fCKU1SRkOev-EhR3LzBw/h1/h001.LkBfv3rA_1SpD6fCXQU5DzW6JkhFY9sDB-UkJiCpcgg" rel="noopener noreferrer nofollow" style="text-decoration:none;" target="_blank"><img src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80,width=1920,height=3840/uploads/asset/file/155179d8-34ed-4f93-800f-a78f4cdcc04b/Thumbnail__47_.jpg?t=1795080940" alt="" height="auto" width="670" style="display:block;width:100%;" border="0"/></a></td></tr><tr><td align="left" valign="top" class="t bb" style="width:670px; padding: 4px 4px 4px 4px;"><p>Click here to see how PostHog runs decision models in production.</p></td></tr></table></td></tr></table></td></tr></table></td></tr><tr><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style=""><tr><td bgcolor="transparent" style="background-color:transparent;border-bottom-width:1px;border-color:#222222;border-left-width:1px;border-right-width:1px;border-style:solid;border-top-width:0px;padding:10.0px 0px 10.0px 0px;box-sizing:border-box;"><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td width="10" style="line-height:1px;font-size:1px;width:10px;"> </td><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td class="dd" align="left" style="padding:0px 0px;text-align:left;word-break:break-word;"><p style="mso-line-height-alt:150.0%;"><b>What it is.</b> A decision model answers a closed question about whatever you hand it, such as a diff, a log line, or an agent trace. It picks from the answers you allow and tells you how sure it is, so your code gets a value it can branch on. </p></td></tr><tr><td class="dd" align="left" style="padding:0px 0px;text-align:left;word-break:break-word;"><p style="mso-line-height-alt:150.0%;"><b>How it works.</b> Jev, Gemini Decision 1, and OpenAI's Decisions API all take the same three kinds of question, and each answer comes back with a probability: </p></td></tr><tr><td style="padding:0px 0px 6px 0px;" class="ee"><div style="margin-left:0;" class="edm_outlooklist"><ul style="font-weight:400;list-style-type:disc;margin-bottom:0px !important;margin-top:0px !important;padding:0;"><li class="listItem ultext"><p style="text-align:left;"><b>Yes/no.</b> Does this PR change a public API? β Yes, 0.94 </p></li><li class="listItem ultext"><p style="text-align:left;"><b>Choice.</b> Which team should review it? β Payments, 0.88 </p></li><li class="listItem ultext"><p style="text-align:left;"><b>Score.</b> How risky is this change, from 1 to 5? β 4, 0.71 </p></li></ul></div></td></tr><tr><td class="dd" align="left" style="padding:0px 0px;text-align:left;word-break:break-word;"><p style="mso-line-height-alt:150.0%;"><b>Why the number matters.</b> In a well-calibrated model, answers scored 0.8 are right about 80% of the time. So you set a cutoff. Above it, your code acts on the answer, and below it, the case goes to an LLM or a person. Not every model's scores are that honest, so test them on your own data before you trust them. </p></td></tr><tr><td class="dd" align="left" style="padding:0px 0px;text-align:left;word-break:break-word;"><p style="mso-line-height-alt:150.0%;"><b>Where it fits.</b> Use one for a narrow question with a clear answer, where an LLM is too slow or too expensive to ask every time. Skip it for anything that takes several steps of reasoning, and keep those jobs for an LLM. </p></td></tr><tr><td class="dd" align="left" style="padding:0px 0px;text-align:left;word-break:break-word;"><p style="mso-line-height-alt:150.0%;"> Here are 3 workflows worth trying out today: </p></td></tr></table></td><td width="10" style="line-height:1px;font-size:1px;width:10px;"> </td></tr></table></td></tr><tr><td height="10.0px" style="line-height:1px;font-size:1px;height:10.0px;"> </td></tr></table></td></tr><tr><td align="center" valign="top" style="padding-bottom:0px;padding-left:0px;padding-right:0px;padding-top:0px; " class="dd"><table role="none" border="0" cellspacing="0" cellpadding="0" class="bb" style="margin:0 auto 0 auto;"><tr><td align="center" valign="top" class="bb" style="width:670px;"><img src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80,width=1920,height=3840/uploads/asset/file/18efc0eb-c3c4-483f-a001-0fe0dcca16c3/Group_from_Figma__2_.png?t=1758120539" alt="" height="auto" width="670" style="display:block;width:100%;" border="0"/></td></tr></table></td></tr><tr><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style=""><tr><td bgcolor="transparent" style="background-color:transparent;border-bottom-width:0px;border-color:#222222;border-left-width:1px;border-right-width:1px;border-style:solid;border-top-width:0px;padding:0.0px 0px 0.0px 0px;box-sizing:border-box;"><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td width="10" style="line-height:1px;font-size:1px;width:10px;"> </td><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td class="dd" align="left" valign="top" style="color:#2A2A2A;font-weight:400;padding:0px 0px;text-align:left;"><h5 style="color:#2A2A2A;font-weight:400;mso-line-height-alt:100.0%;"><span style="color:#3593ff;font-family:Eczar, Lora, "DejaVu Serif", Georgia, serif;"><b>WORKFLOW #1: PR TRIAGE</b></span></h5></td></tr><tr><td class="dd" align="left" valign="top" style="color:#2A2A2A;font-weight:400;padding:0px 0px;text-align:left;"><h2 style="color:#2A2A2A;font-weight:400;mso-line-height-alt:150.0%;"><b>How to catch breaking PRs before review</b></h2></td></tr></table></td></tr></table></td></tr></table></td></tr><tr><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style=""><tr><td bgcolor="transparent" style="background-color:transparent;border-bottom-width:0px;border-color:#222222;border-left-width:1px;border-right-width:1px;border-style:solid;border-top-width:0px;padding:0.0px 0px 0.0px 0px;box-sizing:border-box;"><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td align="center" valign="top" style="padding-bottom:0px;padding-left:0px;padding-right:0px;padding-top:0px; " class="dd"><table role="none" border="0" cellspacing="0" cellpadding="0" class="bb" style="margin:0 auto 0 auto;"><tr><td align="center" valign="top" class="bb" style="width:670px;"><a href="https://link.mail.beehiiv.com/ss/c/u001.nlNyt-7byyNE7aOaVBNll5MMqjOyaW6libWQH1U14VoCfrqTJRXatLuRyYwYRdsWhguWDrekdjwOrYCCMsJzCCs20_T-GlVVVXjZzoy8k6wZ88tCUrImYAr2jkuP6tAXSoQq5-U6PIziTwFuQ1Z-3zg2-q_RwcsbdAell_gwJLLWuAz-ubevwbxojN_6oE-j2QLQvSN21n7M-EU9wVF-HOJ8rcPrG0LYmOIF1tva0jBOJukPSRNtzBQYnfs6-99erTE3W5AoasXJyOoAtZ47u3-zwz_zbd0u7R3VLe90q5s/4vy/v2fCKU1SRkOev-EhR3LzBw/h2/h001.eaXpkI5edIduMWg3cT2Rcbh0AtsWjGyCyNT0UlBmosg" rel="noopener noreferrer nofollow" style="text-decoration:none;" target="_blank"><img src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80,width=1920,height=3840/uploads/asset/file/94f2a44a-c641-4581-92c0-a215e05cec5d/Thumbnail__50_.jpg?t=1795091527" alt="" height="auto" width="670" style="display:block;width:100%;" border="0"/></a></td></tr></table></td></tr></table></td></tr></table></td></tr><tr><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style=""><tr><td bgcolor="transparent" style="background-color:transparent;border-bottom-left-radius:0px;border-bottom-right-radius:0px;border-bottom-width:1px;border-color:#030712;border-left-width:1px;border-right-width:1px;border-style:solid;border-top-left-radius:0px;border-top-right-radius:0px;border-top-width:0px;padding:12.0px 0px 12.0px 0px;box-sizing:border-box;"><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td width="12" style="line-height:1px;font-size:1px;width:12px;"> </td><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td class="dd" align="left" style="padding:0px 0px;text-align:left;word-break:break-word;"><p style="mso-line-height-alt:150.0%;"> Engineers tend to review small PRs faster and with less scrutiny than large ones. If a diff is only ten lines and labeled "cleanup," it usually gets approved in thirty seconds.Β </p></td></tr><tr><td class="dd" align="left" style="padding:0px 0px;text-align:left;word-break:break-word;"><p style="mso-line-height-alt:150.0%;"> That speed creates a blind spot. Those few lines can change a default or a function's behavior and break another team's build. </p></td></tr><tr><td class="dd" align="left" style="padding:0px 0px;text-align:left;word-break:break-word;"><p style="mso-line-height-alt:150.0%;"> To catch this before code merges, a Vercel engineer <a href="https://link.mail.beehiiv.com/ss/c/u001.nlNyt-7byyNE7aOaVBNll5MMqjOyaW6libWQH1U14VoCfrqTJRXatLuRyYwYRdsWhguWDrekdjwOrYCCMsJzCCs20_T-GlVVVXjZzoy8k6wZ88tCUrImYAr2jkuP6tAXSoQq5-U6PIziTwFuQ1Z-3zg2-q_RwcsbdAell_gwJLLWuAz-ubevwbxojN_6oE-j2QLQvSN21n7M-EU9wVF-HOJ8rcPrG0LYmOIF1tva0jDc8m44lbVmCXE6i3_htYUJ3hShSFR-5rytGGL3Msg0n82tUjhrKVh02Dq5AtFn9N0/4vy/v2fCKU1SRkOev-EhR3LzBw/h3/h001.I_66nfV4KizIydSF0Y2TaOCLR0TtX3QvOiUZKy80FCM">built a script</a> that checks any PR you point it at. It asks OpenAI's Decisions API two simple questions: What kind of review does this change need? And will existing callers break? </p></td></tr><tr><td class="dd" align="left" style="padding:0px 0px;text-align:left;word-break:break-word;"><p style="mso-line-height-alt:150.0%;"> Here's how you can implement it: </p></td></tr><tr><td style="padding:0px 0px 6px 0px;" class="ee"><div style="margin-left:0;" class="edm_outlooklist"><ul style="font-weight:400;list-style-type:disc;margin-bottom:0px !important;margin-top:0px !important;padding:0;"><li class="listItem ultext"><p style="text-align:left;"><b>Step 1:</b> Install Node 22 or later. </p></li><li class="listItem ultext"><p style="text-align:left;"><b>Step 2:</b> Set "OPENAI_API_KEY" and "GITHUB_TOKEN" in your terminal. The GitHub token only needs "Pull requests: read" access. </p></li><li class="listItem ultext"><p style="text-align:left;"><b>Step 3:</b> Copy the script from <a href="https://link.mail.beehiiv.com/ss/c/u001.nlNyt-7byyNE7aOaVBNll5MMqjOyaW6libWQH1U14VoCfrqTJRXatLuRyYwYRdsWhguWDrekdjwOrYCCMsJzCCs20_T-GlVVVXjZzoy8k6wZ88tCUrImYAr2jkuP6tAXSoQq5-U6PIziTwFuQ1Z-3zg2-q_RwcsbdAell_gwJLLWuAz-ubevwbxojN_6oE-j2QLQvSN21n7M-EU9wVF-HOJ8rcPrG0LYmOIF1tva0jBFZBCSUVZ6fXJUuUpZQRhg-gR63Yrh7pKnKfesmRxoIVeBOb60CjTjeGyL1Wg5l0PPBI_Iyd-qxKMKavHVH9cnHfpjBOvDdSSIwnUIfvrdEa1oh6vWftuvIIM0MyjTOIdGfcqzXQ8YARc1YCe3ZEMzN3ul6iu9mEoAVQTw6AtXkokZzGTrwCM-DQKGkveKP73lPUx0FZoSYEQrNsCLC2a8NB0ybqz8JAYbOweE6hOokRE4Uti5_vXlZ1jfljLSdw4/4vy/v2fCKU1SRkOev-EhR3LzBw/h4/h001.yqiyykl9R5OmtD7niwe3y2LxltAURlV0JGr60pdQycY">Vercel's guide</a> and save it as "triage-pr.mjs". </p></li><li class="listItem ultext"><p style="text-align:left;"><b>Step 4:</b> Run this command on a real PR from your repo. It handles PRs with up to 100 changed text files: </p></li></ul></div></td></tr><tr><td style="padding:0px 0px;"><pre style="background:#282828;border-radius:10px;color:#FFFFFF;line-height:1.5;overflow-wrap:break-word;padding:16px;white-space:pre-wrap;word-break:break-word;"><code>node triage-pr.mjs OWNER REPO PR_NUMBER</code></pre></td></tr><tr><td style="padding:0px 0px 6px 0px;" class="ee"><div style="margin-left:0;" class="edm_outlooklist"><ul style="font-weight:400;list-style-type:disc;margin-bottom:0px !important;margin-top:0px !important;padding:0;"><li class="listItem ultext"><p style="text-align:left;"><b>Step 5:</b> Check the JSON it prints. Under "answers" you get "review_track" and "migration_needed", the probability that callers have to change. </p></li><li class="listItem ultext"><p style="text-align:left;"><b>Step 6:</b> Show the suggested track to your reviewers and log where they disagree. Automate only after you've seen those cases. </p></li></ul></div></td></tr></table></td><td width="12" style="line-height:1px;font-size:1px;width:12px;"> </td></tr></table></td></tr><tr><td height="8.0px" style="line-height:1px;font-size:1px;height:8.0px;"> </td></tr></table></td></tr><tr><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style=""><tr><td bgcolor="transparent" style="background-color:transparent;border-bottom-width:1px;border-color:#3593FF;border-left-width:1px;border-right-width:1px;border-style:solid;border-top-width:4px;padding:10.0px 0px 10.0px 0px;box-sizing:border-box;"><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td width="10" style="line-height:1px;font-size:1px;width:10px;"> </td><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td class="dd" align="left" valign="top" style="color:#2A2A2A;font-weight:400;padding:0px 0px;text-align:left;"><h3 style="color:#2A2A2A;font-weight:400;mso-line-height-alt:125.0%;"><span style="color:#3593FF;font-family:Eczar, Lora, "DejaVu Serif", Georgia, serif;"><b>Your opinion matters!</b></span></h3></td></tr><tr><td class="dd" align="left" style="padding:0px 0px;text-align:left;word-break:break-word;"><p style="mso-line-height-alt:150.0%;"> This is our eighth <span style="color:#3593FF;"><b>Sunday Special</b></span>. Itβs a quick 5 min email designed to show how to use the latest and most relevant AI tools to code faster. Let us know what you think of this email in the poll at the bottom of this email (or by replying to this email). </p></td></tr><tr><td class="dd" align="left" style="padding:0px 0px;text-align:left;word-break:break-word;"><p style="mso-line-height-alt:150.0%;"> Weβre writing this email just for you, so your feedback will shape what we write next! </p></td></tr></table></td><td width="10" style="line-height:1px;font-size:1px;width:10px;"> </td></tr></table></td></tr><tr><td height="12.0px" style="line-height:1px;font-size:1px;height:12.0px;"> </td></tr></table></td></tr><tr><td align="center" valign="top" style="padding-bottom:0px;padding-left:0px;padding-right:0px;padding-top:0px; " class="dd"><table role="none" border="0" cellspacing="0" cellpadding="0" class="bb" style="margin:0 auto 0 auto;"><tr><td align="center" valign="top" class="bb" style="width:670px;"><img src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80,width=1920,height=3840/uploads/asset/file/18efc0eb-c3c4-483f-a001-0fe0dcca16c3/Group_from_Figma__2_.png?t=1758120539" alt="" height="auto" width="670" style="display:block;width:100%;" border="0"/></td></tr></table></td></tr><tr><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style=""><tr><td bgcolor="transparent" style="background-color:transparent;border-bottom-width:0px;border-color:#222222;border-left-width:1px;border-right-width:1px;border-style:solid;border-top-width:0px;padding:0.0px 0px 0.0px 0px;box-sizing:border-box;"><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td width="10" style="line-height:1px;font-size:1px;width:10px;"> </td><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td class="dd" align="left" valign="top" style="color:#2A2A2A;font-weight:400;padding:0px 0px;text-align:left;"><h5 style="color:#2A2A2A;font-weight:400;mso-line-height-alt:100.0%;"><span style="color:#3593ff;font-family:Eczar, Lora, "DejaVu Serif", Georgia, serif;"><b>WORKFLOW #2: MODEL SWAP</b></span></h5></td></tr><tr><td class="dd" align="left" valign="top" style="color:#2A2A2A;font-weight:400;padding:0px 0px;text-align:left;"><h2 style="color:#2A2A2A;font-weight:400;mso-line-height-alt:150.0%;"><b>How Amazon saves millions with its own decision model</b></h2></td></tr></table></td></tr></table></td></tr></table></td></tr><tr><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style=""><tr><td bgcolor="transparent" style="background-color:transparent;border-bottom-width:0px;border-color:#222222;border-left-width:1px;border-right-width:1px;border-style:solid;border-top-width:0px;padding:0.0px 0px 0.0px 0px;box-sizing:border-box;"><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td align="center" valign="top" style="padding-bottom:0px;padding-left:0px;padding-right:0px;padding-top:0px; " class="dd"><table role="none" border="0" cellspacing="0" cellpadding="0" class="bb" style="margin:0 auto 0 auto;"><tr><td align="center" valign="top" class="bb" style="width:670px;"><a href="https://link.mail.beehiiv.com/ss/c/u001.lj8E5PmaCEQWZtY8yZ5P0nLcmlwjDsndAy8Kyhu_kbAz-fTWyzn82u8EpYkElWtqPD2Lp3o1ZOeOUrjmUywILos7vu-Mq6JGZ_5Cwm7sWVKrow_WUstAgjwnrnI6Zir_pdWNq19fjd2KxPDm0PAuBDWJCkNxa3GPbkch16gqzkLv402yC8M8ENs_yn99uTg74VbVGE2aUvggKRlNZxNFXpRu905ssc6vegaKr7J7bTLzU7L6Rzz3pANcFgx4bLQBMA9gSA6BTDHPODXWVjs7f9RIREti9aUcxNSui2KreTf2GWjCYKhGsj64cSdHt498JxQ_DkuXMJGP8itlh3Vl-g/4vy/v2fCKU1SRkOev-EhR3LzBw/h5/h001.GzfaWBzNp3PM4QYvLeaEDjrySDkEeBCnAvrl7CNJUrc" rel="noopener noreferrer nofollow" style="text-decoration:none;" target="_blank"><img src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80,width=1920,height=3840/uploads/asset/file/0779168c-1dce-4961-88d1-776205ede529/Thumbnail__51_.jpg?t=1795094959" alt="" height="auto" width="670" style="display:block;width:100%;" border="0"/></a></td></tr></table></td></tr></table></td></tr></table></td></tr><tr><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style=""><tr><td bgcolor="transparent" style="background-color:transparent;border-bottom-width:1px;border-color:#030712;border-left-width:1px;border-right-width:1px;border-style:solid;border-top-width:0px;padding:10.0px 0px 10.0px 0px;box-sizing:border-box;"><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td width="10" style="line-height:1px;font-size:1px;width:10px;"> </td><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td class="dd" align="left" style="padding:0px 0px;text-align:left;word-break:break-word;"><p style="mso-line-height-alt:150.0%;"> Two Amazon engineers, Carr Onstott and Mehul Jaiswal, were paying Claude Sonnet about two cents to label each ticket in one of the company's largest internal queues. </p></td></tr><tr><td class="dd" align="left" style="padding:0px 0px;text-align:left;word-break:break-word;"><p style="mso-line-height-alt:150.0%;"> They <a href="https://link.mail.beehiiv.com/ss/c/u001.lj8E5PmaCEQWZtY8yZ5P0nLcmlwjDsndAy8Kyhu_kbAz-fTWyzn82u8EpYkElWtqPD2Lp3o1ZOeOUrjmUywILos7vu-Mq6JGZ_5Cwm7sWVKrow_WUstAgjwnrnI6Zir_pdWNq19fjd2KxPDm0PAuBDWJCkNxa3GPbkch16gqzkLv402yC8M8ENs_yn99uTg74VbVGE2aUvggKRlNZxNFXpRu905ssc6vegaKr7J7bTLzU7L6Rzz3pANcFgx4bLQBpa1PcJeBnfktxrkiLPzItjOxwFa3qrnBY6QF8iHaNUPWfBQ3b2ha0zVaPnv8WEB14GisEJYSvWx1cDIaMhrylw/4vy/v2fCKU1SRkOev-EhR3LzBw/h6/h001.UdujbjTtxdq9O0O88jleLbLgHgohH-DiXmhXRsGZnJ0">replaced it with Strands Decider</a>, a small decision model built at AWS. The cost per ticket dropped by 98%, and answers came back almost five times faster. </p></td></tr><tr><td class="dd" align="left" style="padding:0px 0px;text-align:left;word-break:break-word;"><p style="mso-line-height-alt:150.0%;"> The team made the swap carefully. Both models ran side by side on live traffic first, and switching back took about 45 seconds. </p></td></tr><tr><td class="dd" align="left" style="padding:0px 0px;text-align:left;word-break:break-word;"><p style="mso-line-height-alt:150.0%;"> Here's how you can implement it: </p></td></tr><tr><td style="padding:0px 0px 6px 0px;" class="ee"><div style="margin-left:0;" class="edm_outlooklist"><ul style="font-weight:400;list-style-type:disc;margin-bottom:0px !important;margin-top:0px !important;padding:0;"><li class="listItem ultext"><p style="text-align:left;"><b>Step 1:</b> Find an LLM call in your stack that only picks from a fixed list, like a label or a queue. </p></li><li class="listItem ultext"><p style="text-align:left;"><b>Step 2:</b> Install <a href="https://link.mail.beehiiv.com/ss/c/u001.yBywWjiZ7oCsTrXLmaNhkoehdDcnC0egalDxb3xmap1lHUkfEI9bAKxel5R8qQBl27ggY2iKWEqxC63N6vLkomImO3Dl5Q0ghCJEnPqxL70SbLgftc77P-gpGrdoG9q8kq3k9mgQUSczfx3V-fIfiVvOf1Y-Hkx37Za5HcV9iT_gMRDW6kyi3XiOBjXHCdYapeUHTjjnLCXwvndud6TZSNS6b-1cGwNYzuIFs54VTPoM9B799AeEjiCxNu25C1ZZkcg9aAa7iorfL0zVXy1rZQ/4vy/v2fCKU1SRkOev-EhR3LzBw/h7/h001.bDazjMZmwKI50e3oxUuziOeYLmk0iL7ddBAFywvZ9Xg">Strands Decider</a> with "pip install strands-decider". The 2B model in its README runs on a GPU, an Apple-silicon Mac, or a CPU. </p></li><li class="listItem ultext"><p style="text-align:left;"><b>Step 3:</b> Start its server with "strands-decider serve" and the model name. Your rules only work through the server, not through the one-line "ask" command. </p></li><li class="listItem ultext"><p style="text-align:left;"><b>Step 4:</b> Rewrite each option as a one or two sentence rule, and add a "none" option. Amazon did this for its 20 labels. </p></li><li class="listItem ultext"><p style="text-align:left;"><b>Step 5:</b> Add a switch with three settings: old model only, both models, and new model only. Run "both" on live traffic, and keep using the old model's answers. </p></li><li class="listItem ultext"><p style="text-align:left;"><b>Step 6:</b> Review every case where the two disagree and fix your rules, then flip the switch. <a href="https://link.mail.beehiiv.com/ss/c/u001.lznXd49QiNGJYJE2EWz2vYkgh9AhPYVzVWegzdzh99ky1iWjUoHqh8yMcvJ_VpuWRnNTRyp-dERTaVwneGQ18dR_8IA-vs-y7ojKkgXj7-yt_uy_hgbsNY4KSKEDMjdJR3MYyW-0HJkiTd0unPM2OtdEIuP8O3mxOiuTTo3OVd5KBm0vKNUb9jyd4_hyy8EoFXQC9GBXsbQd0wPDSdmURsBWJpnJF-3N6dLVZ3vLdVbtcc35QIYdBrOL_4JlAwPaCihAe9_7_y6gS_YzC6-0CsTA71c5KAIyjEIjYl7uVAEBYZuNOFGZIAitUKjWxh0viVCpPadCqPEBWWpadXZ9-GI4bJ9OTWoOjlsjm70Ra2BoMC8zcjSVHTEjve15Li8ro_GacnY5DtWvDec0ggsaZLR3cD-KhY5qeTl2xDCt1Nk/4vy/v2fCKU1SRkOev-EhR3LzBw/h8/h001.Wa39Dqt2TD4-U165VkyjzoljD1q_N_jllhf8aItlUhA">Amazon's write-up</a> says this taught the team more than offline testing did. </p></li></ul></div></td></tr></table></td><td width="10" style="line-height:1px;font-size:1px;width:10px;"> </td></tr></table></td></tr><tr><td height="10.0px" style="line-height:1px;font-size:1px;height:10.0px;"> </td></tr></table></td></tr><tr><td align="center" valign="top" style="padding-bottom:0px;padding-left:0px;padding-right:0px;padding-top:0px; " class="dd"><table role="none" border="0" cellspacing="0" cellpadding="0" class="bb" style="margin:0 auto 0 auto;"><tr><td align="center" valign="top" class="bb" style="width:670px;"><img src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80,width=1920,height=3840/uploads/asset/file/18efc0eb-c3c4-483f-a001-0fe0dcca16c3/Group_from_Figma__2_.png?t=1758120539" alt="" height="auto" width="670" style="display:block;width:100%;" border="0"/></td></tr></table></td></tr><tr><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style=""><tr><td bgcolor="transparent" style="background-color:transparent;border-bottom-width:0px;border-color:#222222;border-left-width:1px;border-right-width:1px;border-style:solid;border-top-width:0px;padding:0.0px 0px 0.0px 0px;box-sizing:border-box;"><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td width="10" style="line-height:1px;font-size:1px;width:10px;"> </td><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td class="dd" align="left" valign="top" style="color:#2A2A2A;font-weight:400;padding:0px 0px;text-align:left;"><h5 style="color:#2A2A2A;font-weight:400;mso-line-height-alt:100.0%;"><span style="color:#3593ff;font-family:Eczar, Lora, "DejaVu Serif", Georgia, serif;"><b>WORKFLOW #3: EVALS</b></span></h5></td></tr><tr><td class="dd" align="left" valign="top" style="color:#2A2A2A;font-weight:400;padding:0px 0px;text-align:left;"><h2 style="color:#2A2A2A;font-weight:400;mso-line-height-alt:150.0%;"><b>How to pick a decision model and build evals around it</b></h2></td></tr></table></td></tr></table></td></tr></table></td></tr><tr><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style=""><tr><td bgcolor="transparent" style="background-color:transparent;border-bottom-width:0px;border-color:#222222;border-left-width:1px;border-right-width:1px;border-style:solid;border-top-width:0px;padding:0.0px 0px 0.0px 0px;box-sizing:border-box;"><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td align="center" valign="top" style="padding-bottom:0px;padding-left:0px;padding-right:0px;padding-top:0px; " class="dd"><table role="none" border="0" cellspacing="0" cellpadding="0" class="bb" style="margin:0 auto 0 auto;"><tr><td align="center" valign="top" class="bb" style="width:670px;"><a href="https://link.mail.beehiiv.com/ss/c/u001.NH9KF4GoWlrG6bVA-B2EJc5HI2THLgeYmsOoM5E0hcFe5_vi6JmHaKuEhDmwj1A9dYC4gJy5LQBnSsyHtYpecDFA3KhIIB5Ct4kKieAGj0LMRpD1_5nfATNDhhM2fbX0LH95BkyURbmSYlUCVjlL4rRchT7kZncDVJ8x3tzuKiec6VPGx5GT-79SUVa4rifgx0jbZ6kr22UNd26_BDrwhizJ0tyCm8UuKX2CbLRy1lvB3nwkNiFH_02hehMPyWvK5mRuhGnN-EaztzSAiCt0xw/4vy/v2fCKU1SRkOev-EhR3LzBw/h9/h001.teBz9Kn9-iL-Cvwg_tPNfhPi1Yu1HSjDIAPDfyxqgiQ" rel="noopener noreferrer nofollow" style="text-decoration:none;" target="_blank"><img src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80,width=1920,height=3840/uploads/asset/file/df125695-9793-4a3c-aaa8-2bcee4c74176/CleanShot_2026-11-19_at_3.06.49_PM_2x.jpg?t=1795081039" alt="" height="auto" width="670" style="display:block;width:100%;" border="0"/></a></td></tr></table></td></tr></table></td></tr></table></td></tr><tr><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style=""><tr><td bgcolor="transparent" style="background-color:transparent;border-bottom-width:1px;border-color:#030712;border-left-width:1px;border-right-width:1px;border-style:solid;border-top-width:0px;padding:10.0px 0px 10.0px 0px;box-sizing:border-box;"><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td width="10" style="line-height:1px;font-size:1px;width:10px;"> </td><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td class="dd" align="left" style="padding:0px 0px;text-align:left;word-break:break-word;"><p style="mso-line-height-alt:150.0%;"> There are now more than a dozen decision models to choose from. The only way to know which one works for you is to test them on your own data. </p></td></tr><tr><td class="dd" align="left" style="padding:0px 0px;text-align:left;word-break:break-word;"><p style="mso-line-height-alt:150.0%;"> AI evals expert Hamel Husain ran that test on six of them, using 98 real conversations from an AI agent. Only three were reliable enough to catch the agent's mistakes. </p></td></tr><tr><td class="dd" align="left" style="padding:0px 0px;text-align:left;word-break:break-word;"><p style="mso-line-height-alt:150.0%;"> His guide shows how to run the <a href="https://link.mail.beehiiv.com/ss/c/u001.nWZojHskIfWq5w8Zm9qW7sBAU6Yixr0jrIm134fS0I-io1LIE0jp_dmls4OWK1zFxnSw9dCzHdT5R4ClyklRg6OAIazuKHx9bS3EqsMiHeLA_HpLqQjgFxCt5sQpCo6o4eEaOOcqjdyV66bX8Vzmg_s-VvOyo-Gtse7WqBKeVnW4GI4oXebf7gJ8HemqCf5SbraQkCOCGhJqdTMRlNmruBBnB-sTUNYOVbXGoEd7hU1AjuAi-sDY63SlTMbEXQ-7L0OkdJRPczB1MuTLBUb68A/4vy/v2fCKU1SRkOev-EhR3LzBw/h10/h001.KY-gHIjuWaq4zM4b_sd8d0ak8eti8NwF4xwfMB7OWqA">same test yourself:</a></p></td></tr><tr><td style="padding:0px 0px 6px 0px;" class="ee"><div style="margin-left:0;" class="edm_outlooklist"><ul style="font-weight:400;list-style-type:disc;margin-bottom:0px !important;margin-top:0px !important;padding:0;"><li class="listItem ultext"><p style="text-align:left;"><b>Step 1:</b> Collect real conversations from your agent and label each one pass or fail. Hamel used 98. </p></li><li class="listItem ultext"><p style="text-align:left;"><b>Step 2:</b> Write one pass/fail question for a single type of failure. Hamel's own judge prompt is in the appendix of <a href="https://link.mail.beehiiv.com/ss/c/u001.lznXd49QiNGJYJE2EWz2vT3JiHIitXGxE7u0nnT82k--O1OYA6oAw_4NLmzb3E6XP2EkSjG9KJk_uWVSgbbuD_qFP-hKugq2ZkfzJQAz0X2J6tXs7X6nqbUKCCryRM8rxjQ-f15z_dMC2bS6cmI7N6hBEYKBIGmA9c0i3OE044aMdejQXEn4j-pB1rqYPYNFirjanygvsipQ09OVh4ejIZYwGeVbS0pUn5zUFSTnNu6VuY0ojmvYHc50xQDYNAlxJm_tVFpnOyZ8xfAhY0V_JufocVIhz2kRHpmombyXEs_f0hiucbKJ_LaRZHwiEsCGFfGBUyhgdjgOo40ArKMw7G-j3zuGcLRyswVn73ey8zWD34bGrBXPbvLJB5eZjjowx0ioWUzQ_ekAuS2pft4nykW3PmQjx6tK2HmrvJ83sFQ/4vy/v2fCKU1SRkOev-EhR3LzBw/h11/h001.O8vxDK3mK_IPhXve3TTrBfH-Dj0rySfjvtMgmcl5r20">his post</a>. </p></li><li class="listItem ultext"><p style="text-align:left;"><b>Step 3:</b> Set your minimums before you compare models. Hamel required the judge to catch 80% of real failures and to be right on 80% of its flags. </p></li><li class="listItem ultext"><p style="text-align:left;"><b>Step 4:</b> Run two or three decision models on the same conversations. Save each model's scores next to your labels. </p></li><li class="listItem ultext"><p style="text-align:left;"><b>Step 5:</b> Paste the prompt under "Tuning the decision threshold" in <a href="https://link.mail.beehiiv.com/ss/c/u001.nWZojHskIfWq5w8Zm9qW7sBAU6Yixr0jrIm134fS0I-io1LIE0jp_dmls4OWK1zFxnSw9dCzHdT5R4ClyklRg6OAIazuKHx9bS3EqsMiHeLA_HpLqQjgFxCt5sQpCo6o4eEaOOcqjdyV66bX8Vzmg_s-VvOyo-Gtse7WqBKeVnW4GI4oXebf7gJ8HemqCf5SbraQkCOCGhJqdTMRlNmruIFCbynvNITwI6FVa42rHVaFwHHPOZlKABBVOx37GFxFE24BCGqc5WBmmKBMkJbnDQ/4vy/v2fCKU1SRkOev-EhR3LzBw/h12/h001.4-Od-QVTNLb2VGSmWJ99VQT4CS3TYZKZC5ybfm1Yu24">his post</a> into your coding agent to find the best cutoff for each model. Drop any model that still misses your minimums. </p></li><li class="listItem ultext"><p style="text-align:left;"><b>Step 6:</b> If you plan to treat a score as confidence, run his calibration prompt too. It sits in the same post. </p></li></ul></div></td></tr></table></td><td width="10" style="line-height:1px;font-size:1px;width:10px;"> </td></tr></table></td></tr><tr><td height="10.0px" style="line-height:1px;font-size:1px;height:10.0px;"> </td></tr></table></td></tr><tr><td align="center" valign="top" style="padding-bottom:0px;padding-left:0px;padding-right:0px;padding-top:0px; " class="dd"><table role="none" border="0" cellspacing="0" cellpadding="0" class="bb" style="margin:0 auto 0 auto;"><tr><td align="center" valign="top" class="bb" style="width:670px;"><img src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80,width=1920,height=3840/uploads/asset/file/18efc0eb-c3c4-483f-a001-0fe0dcca16c3/Group_from_Figma__2_.png?t=1758120539" alt="" height="auto" width="670" style="display:block;width:100%;" border="0"/></td></tr></table></td></tr><tr><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style=""><tr><td bgcolor="transparent" style="background-color:transparent;border-bottom-width:0px;border-color:#222222;border-left-width:1px;border-right-width:1px;border-style:solid;border-top-width:0px;padding:0.0px 0px 0.0px 0px;box-sizing:border-box;"><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td width="10" style="line-height:1px;font-size:1px;width:10px;"> </td><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td class="dd" align="left" valign="top" style="color:#2A2A2A;font-weight:400;padding:0px 0px;text-align:left;"><h5 style="color:#2A2A2A;font-weight:400;mso-line-height-alt:100.0%;"><span style="color:#3593ff;font-family:Eczar, Lora, "DejaVu Serif", Georgia, serif;"><b>MORE IDEAS TO TRY</b></span></h5></td></tr></table></td></tr></table></td></tr></table></td></tr><tr><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style=""><tr><td bgcolor="transparent" style="background-color:transparent;border-bottom-width:1px;border-color:#222222;border-left-width:1px;border-right-width:1px;border-style:solid;border-top-width:0px;padding:10.0px 0px 10.0px 0px;box-sizing:border-box;"><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td width="10" style="line-height:1px;font-size:1px;width:10px;"> </td><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td style="padding:0px 0px 6px 0px;" class="ee"><div style="margin-left:0;" class="edm_outlooklist"><ul style="font-weight:400;list-style-type:disc;margin-bottom:0px !important;margin-top:0px !important;padding:0;"><li class="listItem ultext"><p style="text-align:left;"> Run only the end-to-end tests a PR can actually break (<a href="https://link.mail.beehiiv.com/ss/c/u001.NH9KF4GoWlrG6bVA-B2EJc5HI2THLgeYmsOoM5E0hcGK3p6sadC_P5axdNpaRkhyVstGa84IK5PCHR7jOh0a-O3UFP1abkdUTiBdAdxLxzZdb917BxlUhjBZCNVc_jJy0D49p3iG7pbtttMOMzCXZx5ysxKpzuQs02cPz8mkFporkgm8OKdVDfsf9lBjdNZ3uRjNCftoerHzqjbWJ8IDDPZ_TcSCR34zsZXY0g2JoUCEhoetm8uaKNn7x_LK9d19OeT9lXZT8K0m-oMxhC7qaw/4vy/v2fCKU1SRkOev-EhR3LzBw/h13/h001.viDxWCAH__yRXpwrfBfyt2cJCEl7J7b7_QpyzHkcC9I">link</a>). </p></li><li class="listItem ultext"><p style="text-align:left;"> Stop prompt injections in GitHub issues from reaching your coding agent (<a href="https://link.mail.beehiiv.com/ss/c/u001.NH9KF4GoWlrG6bVA-B2EJc5HI2THLgeYmsOoM5E0hcEFN14kgWSsiAH65xUlqwbVgD_ni1m_S1U9_DMP1azmucnNcgKMbYmMZDguAqotTTYwW2DXz6PR9FpBl_GQq4rYCWwFJUk5-7ov1yXOB7zzhk3mzqyl3eZCvgXmFMhf9jILpEiPru7Eq7NvHuFU3NYalDO9TDIZPCA0FDe69CfwDQV669zz3iwKiXOKROyywaWLphvcO1eg0co0_1y39kwQNuUWT8LEQkVOuDTBw6Fl3Q/4vy/v2fCKU1SRkOev-EhR3LzBw/h14/h001.GK4xspyEWMVaeE7uuWqoB1S6s8l1YiVDw26Xlcn7KUw">link</a>). </p></li><li class="listItem ultext"><p style="text-align:left;"> Write UI tests that don't break when the wording changes (<a href="https://link.mail.beehiiv.com/ss/c/u001.kro7WBsAmEsY5mGgiUDePcFaS3LOUI8eTho0PYVd1bImWmDwGn2sk493tXxpF0uWQzffEVtW_qZq60ANHLG9kJP8p6C7M0_Wd_82u1KSo0xQdp7R1yLmp91_Vwi71NK-49_KMAh90aHxlSpV1eGO-Cj2j_tSOhtaxXZZabuZmYLOxrAxWRFvGywErC2c7fQuWreUKqw5Fnqr_vY0fdp8j_BlF4WUKjTgmvhI-xkd6WQNmtrjc75nQ1S1dm38WrmyfYEntwFecEBF0Qrs5HsVPA/4vy/v2fCKU1SRkOev-EhR3LzBw/h15/h001.ATlWGPgomwqWjz8jFKIOOGlQ8LND0fPgHdOKhFyQb8k">link</a>). </p></li><li class="listItem ultext"><p style="text-align:left;"> Let a cheap model grade your evals and call Opus only when it's unsure (<a href="https://link.mail.beehiiv.com/ss/c/u001.nWZojHskIfWq5w8Zm9qW7qn7YS0xV9a0dNqvP5kxOaYIPLg637CCt_x1tF9B7XKryI-VRrdsr86-Dgq_XDnADoAu6uMKfO9DC1J_TF-rxMcPxJAIddh8dULVLXwNOtEnxVNie5bIwhCBD1hQFLDFJnBkCoxQ6h025Djb-2WUmbViaetVZdlfYb6d3WKlFBWXWiujhfQKhth0GWN_3IlGRcJ9dUs00xAWGfslZPjfa42Dh8FR2aHZ4168lzRJ4VcV93cNYrWX8VRHEuO4-07rgbyvr5pr23jfTc7B3xh0mtk/4vy/v2fCKU1SRkOev-EhR3LzBw/h16/h001.YnntMtrATlP72cjt1fE89WeYlXYPBRm5nnc_Gy2__x8">link</a>). </p></li><li class="listItem ultext"><p style="text-align:left;"> Match a PR's UI screenshot to the parts of your system it changed (<a href="https://link.mail.beehiiv.com/ss/c/u001.NH9KF4GoWlrG6bVA-B2EJc5HI2THLgeYmsOoM5E0hcEujwEU0Phk42aPXx4kzBlD-pFz-ZQKgIb08afGADP5ZY_cUh6y46Pyp6Pcii9l8Emja-I_UTl9UGuu_apXi1kMOgrNzuk40d4ef9jj1t99mLQslos2j7GkTdTa7LeFHZTO0wr1NLwSqeMX4dBW67Y2N0jTciSmKAkqfwJDJUpQwZQHAAY1CCjwtJ2RSkr8RMbjakF_bCZW_6aem54Q0OyeOSiZd897iWtOS8f9M5P7dg/4vy/v2fCKU1SRkOev-EhR3LzBw/h17/h001.MjtfgUu72IVBbtg3p5u0osse63ONeiH7dBrGVb2PV2I">link</a>). </p></li><li class="listItem ultext"><p style="text-align:left;"> Compare three decision models on your own video footage (<a href="https://link.mail.beehiiv.com/ss/c/u001.NH9KF4GoWlrG6bVA-B2EJc5HI2THLgeYmsOoM5E0hcGkhdNaEiW19If1HN6lUMzgD2BLV4rwFwIL2m7-eEQop4TX3DfJnNRx_nUm_i9QbYNskMH3hgeVctt_SBVKnmoxzRZrKc_KvZ6w-_6RSgZsyXc52F7ktWQxY1OHPI1x7nt5xKC7DaTTKR7Blyoa4VOuit9-Eq05FTUCIkEjyXXV03dsNU8GgIh5a5FrGFDyXjzLU7TmqghG7KUyT_i5uHlEP7Pg6OTaLxd_ZgsViKtlDQ/4vy/v2fCKU1SRkOev-EhR3LzBw/h18/h001.nAHMvWlaZv1XPkmiSDWUhQFXMj9AzIPwL7GtiPkakrU">link</a>). </p></li><li class="listItem ultext"><p style="text-align:left;"> Train your own decision model on 4GB of VRAM (<a href="https://link.mail.beehiiv.com/ss/c/u001.NH9KF4GoWlrG6bVA-B2EJc5HI2THLgeYmsOoM5E0hcHwj8MqTvfTVBvKEt81vIUBfaswhIW0meKDcJL7UNOD_AFvCBiRtf5ZJdudqp_1OnlaXJ3Yu1oHUiugm1E9d8Qufrs-3wLiVqy4zVny0hn0KgE3eHno16V4tIZalw9h97wdMc-qfCLjqTxxxsjOKD2bufXEqscfV26XBoP7JO9AA1DuMTulXiGHzgtihCs83q2d_UVgW7_OxCFMgr-KwX98IZj6DeuzT5rxle6ZmNkmSA/4vy/v2fCKU1SRkOev-EhR3LzBw/h19/h001.7dpFl421HWzAHuW7DBT7MINuV07lxKJt3vhhmj4_L78">link</a>). </p></li></ul></div></td></tr></table></td><td width="10" style="line-height:1px;font-size:1px;width:10px;"> </td></tr></table></td></tr><tr><td height="10.0px" style="line-height:1px;font-size:1px;height:10.0px;"> </td></tr></table></td></tr><tr><td align="center" valign="top" style="padding-bottom:0px;padding-left:0px;padding-right:0px;padding-top:0px; " class="dd"><table role="none" border="0" cellspacing="0" cellpadding="0" class="bb" style="margin:0 auto 0 auto;"><tr><td align="center" valign="top" class="bb" style="width:670px;"><img src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80,width=1920,height=3840/uploads/asset/file/18efc0eb-c3c4-483f-a001-0fe0dcca16c3/Group_from_Figma__2_.png?t=1758120539" alt="" height="auto" width="670" style="display:block;width:100%;" border="0"/></td></tr></table></td></tr><tr><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style=""><tr><td bgcolor="transparent" style="background-color:transparent;border-bottom-width:0px;border-color:#222222;border-left-width:1px;border-right-width:1px;border-style:solid;border-top-width:0px;padding:0.0px 0px 0.0px 0px;box-sizing:border-box;"><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td width="10" style="line-height:1px;font-size:1px;width:10px;"> </td><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td class="dd" align="left" valign="top" style="color:#2A2A2A;font-weight:400;padding:0px 0px;text-align:left;"><h5 style="color:#2A2A2A;font-weight:400;mso-line-height-alt:100.0%;"><span style="color:#3593ff;font-family:Eczar, Lora, "DejaVu Serif", Georgia, serif;"><b>STARTING POINT</b></span></h5></td></tr></table></td></tr></table></td></tr></table></td></tr><tr><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style=""><tr><td bgcolor="transparent" style="background-color:transparent;border-bottom-width:1px;border-color:#222222;border-left-width:1px;border-right-width:1px;border-style:solid;border-top-width:0px;padding:10.0px 0px 10.0px 0px;box-sizing:border-box;"><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td width="10" style="line-height:1px;font-size:1px;width:10px;"> </td><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td class="dd" align="left" style="padding:0px 0px;text-align:left;word-break:break-word;"><p style="mso-line-height-alt:150.0%;"><b>How to start today.</b> Run the PR triage script on one real PR from your repo. Within ten minutes, you'll see how a decision model reads a diff. If you have the afternoon, label a batch of conversations from your own agent and turn your biggest failure type into one pass/fail question. By tonight, you'll know whether a decision model can be trusted with that call. </p></td></tr></table></td><td width="10" style="line-height:1px;font-size:1px;width:10px;"> </td></tr></table></td></tr><tr><td height="10.0px" style="line-height:1px;font-size:1px;height:10.0px;"> </td></tr></table></td></tr><tr><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style=""><tr><td bgcolor="transparent" style="background-color:transparent;border-bottom-width:1px;border-color:#222222;border-left-width:1px;border-right-width:1px;border-style:solid;border-top-width:5px;padding:8.0px 0px 8.0px 0px;box-sizing:border-box;"><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td width="8" style="line-height:1px;font-size:1px;width:8px;"> </td><td><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;"><tr><td class="dd" align="left" valign="top" style="color:#2A2A2A;font-weight:400;padding:0px 0px;text-align:left;"><h3 style="color:#2A2A2A;font-weight:400;mso-line-height-alt:125.0%;"><b>Whenever you're ready to dive deeper</b></h3></td></tr><tr><td class="dd" align="left" style="padding:0px 0px;text-align:left;word-break:break-word;"><p style="mso-line-height-alt:150.0%;"> If you enjoyed this newsletter, you should definitely check out our IT and cybersecurity newsletters. Subscribe using the links below: </p></td></tr><tr><td style="padding:0px 0px 6px 0px;" class="ee"><div style="margin-left:0;" class="edm_outlooklist"><ul style="font-weight:400;list-style-type:disc;margin-bottom:0px !important;margin-top:0px !important;padding:0;"><li class="listItem ultext"><p style="text-align:left;"><a href="https://link.mail.beehiiv.com/ss/c/u001.pljPPsurrJ8ITcFAp15gIQCavMMOUjCKrOE-ZNdXFoHyCi18ZbLNHrJDjqnWSdCilF3ZkklQxDQWkXtEVD6-vQLCYyxqS0uGDSbCmMNDUILQKQVTWZmW3Y394CV2GnkSx5Bzya-5zLFR77rdg1rFjiwaQjbvQYHPUcE70LjPYUjaqOcgBhuY4a07qAUEnlTpnbEa8eFXJug2GdMGN5plOTgpXBnz-QrC8ELJXsVK4SgjlfVC-p5Szj3QdnnTqsrXEJDcAg9mvLnvdzDlDtaPpNCfsO7DpbIhDNev4sqAFV0KvI58yEzbpewgEUmV2n0VrQH8GVP4RJIuRavHXci9RYOyX7Z5ufQPCa90GvC90cs/4vy/v2fCKU1SRkOev-EhR3LzBw/h20/h001.HRggeIcgFLWLH6eiyfc8GCvCJLSeNKtHkoPRWdA0rvU">The Code Cybersecurity</a></p></li><li class="listItem ultext"><p style="text-align:left;"><a href="https://link.mail.beehiiv.com/ss/c/u001.pljPPsurrJ8ITcFAp15gIQCavMMOUjCKrOE-ZNdXFoHuWEycYhRdKNi8890ClSZo0Hsu2siS3OWI6H9k7YBYd70X20_aR5q4IX6kEmc75bShF-5tDipR5BKcGSIyYaK8Y4TvIbPqgfeed9Z6KyNHef2EVV8HmPfv9L32KFqZmiyXJB6D9mAo0PwaQ76K_hOvhZkewxzpaPSZobCVSgloRo95yd2CaEIrefFB_Eu40Fv6Vg0oiOqvj0LBrxA8Ei3Ytu4r5WWqTR8gtNY7mhRY1-7ocUnOmPkAJnaMq8L--uuRC4RrUviUdf5gh3StfcECcgEXVi3XQUqWeK9ALSzt4-yBkh_XiXIM2ylwgnRo3jc/4vy/v2fCKU1SRkOev-EhR3LzBw/h21/h001.tXd2tk8rXS46IiINsD12s4Uy8lbi88Aw8yXb7bw5epQ">The IT Code</a></p></li></ul></div></td></tr><tr><td class="dd" align="left" style="padding:0px 0px;text-align:left;word-break:break-word;"><p style="mso-line-height-alt:150.0%;"> We put together 20+ hands-on guides covering coding agents, agentic engineering, and leadership frameworks to help you level up your career.Β You can <a href="https://link.mail.beehiiv.com/ss/c/u001.kro7WBsAmEsY5mGgiUDePbOdMF_BvViPt7FxYKgxL9swIO_4_RCL9DE5UAlr4-SyFehzOuLxMx_QVrGzqL-mob3ROeLTAtnfkCvx0syn6cNakS5lIjm4giQ3s30clGuTYRsZ0TLEH_hhv1ECotCePF5JMaSYjciprYwRYgX8PoAYLprVkOMdndTP4HSJv95enQ4CzCuXpmhNhsdNu05CN7u4PKPmTmgFADxrqxbOTvUD4alccrP4J9a2DGO1fiNTopdEBzTYtJBaAjdEuuy2XTDvivLzCKlrLgmwGduZi1sZyZ34Z_8KcxHzWsVwLsSyVDiEWW-2nBxX1r_rjI3GqepsFmzl_S6b8zEraOOMZJ12Q0UJ8RGwVdkDvFgyraIGXM4l2VZK5E5rsYEGnSEshyhVxh9qaXHAnWzDEHzLKgA78QrONyMfijO5hdE-0Z5svZSn3qxQMfjT7AAOEDQgyqnRk1VnOwuC_vDuz7ZlH3VOkQUm6EZ11gk_vTeRo1UNKJkCFhcpbDiFk-YqFcTWjeEyYeB3H-XaT2wvzBj1Q3bt9pKhfvVrzzC8H_EuF9aZ_xLJcgwM6zs1VQWlBtZMduneJ7mvkje1xT4BNmkE5U42kcJ4QqvLRrftJH5jo4GIU-NqsJEdau2WlFQYfHdIfBwYeOOw9YcYVtZbNKXv76mWYybEzBY4ufo1YjGub3jYdcilVf8-7aEAEtaCoNxDelsMftiECA-4_R8HS6Ny67Ar172ImP3Rt7btA-r3FnuBMjEBxECuYWoDYxQ17FBbrf0XON2pxEYTBolFLUTqNWJ_Q-yUZ9xKhsLa4gw2ShK8/4vy/v2fCKU1SRkOev-EhR3LzBw/h22/h001.u2IN449kUJdmdLh2wo_20kWwNglByaqbKUzjQCKGlCo">get them here</a>. </p></td></tr><tr><td align="center" valign="top" style="font-size:0px;line-height:0px;padding:10px 0px 10px;" class="dd"><table class="j" role="none" width="98%" border="0" cellspacing="0" cellpadding="0" align="center"><tr><td> </td></tr></table></td></tr><tr><td class="dd" align="left" style="padding:0px 0px;text-align:left;word-break:break-word;"><p style="mso-line-height-alt:150.0%;"><span style="background-color:#f1ff00;border-radius:0.25em;padding:0.125em 0;color:inherit;box-decoration-break:clone;-webkit-box-decoration-break:clone;"><b>Advertise with us:</b></span> Join companies like Google, IBM, and Datadog. Showcase your product to our 350K+ engineers and 150K+ followers on socials. <a href="https://link.mail.beehiiv.com/ss/c/u001.AtRzLqL3EQmRcf6rV4Xqukg2WkDQFtGSBHA5_1_aSjBSny57Pg9S0g8rkJc0Vn9fVlKpmUYIKtbzCNK49A4bb2FGoMHQ-Kl1xF4r_ygjggEXBnwdJX50VI3VNf5mA585naIdgUkvgjXl9d1QxjLzGMeGeVxz2V9SxbvGrXTHxHjOZQykNHpK2wP7fgCG-CcA-o9NlKLQpWmPf-1mjM7-DZxnCh_nncDIlf300jPW3poHAE5lcXFGgO3nzh4NSA96/4vy/v2fCKU1SRkOev-EhR3LzBw/h23/h001.aNevkcBr6MuWhaSJS1iT7lK8yQPee9eZhktZqd0dgIY">Get in touch.</a></p></td></tr><tr><td align="center" valign="top" style="font-size:0px;line-height:0px;padding:10px 0px 10px;" class="dd"><table class="j" role="none" width="98%" border="0" cellspacing="0" cellpadding="0" align="center"><tr><td> </td></tr></table></td></tr><tr><td class="e" align="left" valign="top" style="padding:0px 0px 7px;"><h3 style="">What did you think of today's newsletter?</h3><p style="">Your feedback helps us create better emails for you!</p></td></tr><tr><td class="ee e " style="padding:0px 0px 0px;"><div style="margin-left:0px;" class="edm_outlooklist"><table role="none" border="0" cellspacing="4" cellpadding="0" align="left" style="min-width:300px;"><tr><td style="width:100%;border:1px solid rgba(50, 50, 50, 0.17);padding:6px 12px; border-radius:4px;"><a style="font-style:normal;text-decoration:none;" href="https://link.mail.beehiiv.com/ss/c/u001.kro7WBsAmEsY5mGgiUDePbOdMF_BvViPt7FxYKgxL9su7eJ8jn4pJH4nJy1BDM8Ka3gPzzyaeb0Zt71C26KnZc8na-mYFOCr9-W0iXrbrAM58ub9i1cevY3jG7xK5UcPDwnz6tsGkkjTmiKFcuJ05ZmBHGZ0D0BLYe7bZbQP6GHJN72KCH7P-GKTiTXBMiXrS6kwIU_Uet8iP54s_0EFbfiwfpGsz_2gw8Ap94xTsxhLTV5dgbZMPwerlv2u8ZeGgq3mcTAaOktDk6LAJ6tmL9evZnTPpp4nXqETXi2HfK43YaZv5icPOxpEEcVGKJ9y_NDh78cpXdXmJIz_8NyKYlf-jUDP9U4WlK2w_Y2oZfZo4gkLzquazGepyZmXTioVlfGpZ7NJS97-hGSmJzN4sa1gt7I9PrXFmOGUlsGvK6o7Ti6VZb7Qtptq6SVNV9SLprRkK88hI0GHEYX4BR0Y7oitnozrYtbb6uf2ot7_YjTkDLIxhgvTnLDtpUAvEqgkbwLRGGy6RUdFeJG3CPyQeq5qM54GbKuSsow23Zt12clb3KimmMV1SXGWVVkrEBsnFd_823B730KUNm6mEcl5KTBHXhuUxQ5CAg6kijjZ2g8Z3-a6mTpxbOvCeLwXoS4MmtJTRmm6Bk0PJTbtDRpPFMHv4DcS8_dYscFDr-u6h5zWS6kfFhZE44uztt9Reksv9nPIO5VEWjJUTrE7-OjG4BVeu4Yy8tc9Fe-tyUzNcqmb055XBwMF7NI0QRLZBlYop_yItJkhvmbGVwebS-uPB7m0pGpiPRZBaFhGG64aa11eqCj9PAdFxITqMIv90GzvUA8CCFj4pZOciEYnoX4kU6oky3HbyqXtNGdUkNLWk7y-GnBQoRaHhii1r2jc-XY478aEoIMhDck1rj7ZHGek6ftSgh1LoVF3YoJnH6byNhzOIF_OhGvAYyAYSB4TGFLPaEfaOJEsAugSOgYV0-nJebQbM0FtT9N_5OTgtab1hKEXvSHznEEVrJVbtOeNNa4tDg4mvnW2UwGm5Q0Md0Oolw/4vy/v2fCKU1SRkOev-EhR3LzBw/h24/h001.UN7vQ6180g7VK4wGfOsi2-NlEBdwIvOsPrqJJF7hbCs"><p style="font-size:14px;color:inherit;"> Loved it π§ π§ π§ </p></a></td></tr><tr><td style="width:100%;border:1px solid rgba(50, 50, 50, 0.17);padding:6px 12px; border-radius:4px;"><a style="font-style:normal;text-decoration:none;" href="https://link.mail.beehiiv.com/ss/c/u001.kro7WBsAmEsY5mGgiUDePbOdMF_BvViPt7FxYKgxL9su7eJ8jn4pJH4nJy1BDM8Ka3gPzzyaeb0Zt71C26KnZc8na-mYFOCr9-W0iXrbrAO_5iK01-grb5B6b9rxJbggCgMjlnTyujZ67LuZkL4w3QYbSZASQEjt_h9ck9FHbNK2vOvToLHAHez6rS1NF64X-mNOeNASRP9XDP413AvYgYKV04YZDZ4pwZfU3ndWTUW42hAZMQ-V1mgKHnHVXQUqylVfrP-RC51Yi7QPSzxgJjpfM4LwdPafnFHz5IZHIYkRXV_viFVCA5AoWbocIpTin4ktneL44rvxZ8UljvsUK6GbU2J3aqqQzg1XVMwHnseCxq3dqVp8GoFLIS2SE8cWf0XAlitT7rJ_vBysHW-BOabzqjqCi_hiOOxcJM24GUBVV1rJYamaMWfPenxRe4qQ-2o7YbtBIkR8eJoSvmJK9iQei58Jz5P8De6mDaXsuDBA5IITj7itmLsTFX0ACxEMeVpKcIcJ5joF2jbOyhOEpD7rZWf7R_sZnsdoPtJgEJuFy6IKey6UtMmQmIQeEYHlcIHBVDN0P5hX5pZhjSryKeD-I-k_5qxD_blNL4G0AUiX5_wEhrA9XytPY_5j5100FWjpnMJkU7u3ihFLwjzGvdsogtlgVhKkonvvqM0MJzRStvNoSK5LV6NnJ0ncCPOrHFkY4Wj795zJOvg0jMfSweFZRzNjpHNq5fGix3BglSpPRddCNS82Z0OiATeDQkiMMtpik4LhyT_r3Jd5uuoJYz4naux91_-D3-q4ljm66iCVP9mCRhoNEviDHOTGwbOUx8TOUWzPE6QFAyWj1Iv40-G3rxzQZIbNlNYQ5gbOgufmgRucB0Uysh5AHwcUGgoU7yYj-yOabY0IxWJtr8hO2ud1t3Lzqa047T83BxdarZhrLtmf1gfBTwRin1Itqj64H4yv578fRl-sTvkAADwIc4CXO39Bzp2SK5Zhj6GSACNqpHSqMtBSzTJJrFSFeyAoQUg13ovz9TSiNYeDpBAaEQ/4vy/v2fCKU1SRkOev-EhR3LzBw/h25/h001.Jdb-C9VnUreshARwxbz0T6Pgotf1s9T-4C6AjXS_Pm0"><p style="font-size:14px;color:inherit;"> Average π§ π§ </p></a></td></tr><tr><td style="width:100%;border:1px solid rgba(50, 50, 50, 0.17);padding:6px 12px; border-radius:4px;"><a style="font-style:normal;text-decoration:none;" href="https://link.mail.beehiiv.com/ss/c/u001.kro7WBsAmEsY5mGgiUDePbOdMF_BvViPt7FxYKgxL9su7eJ8jn4pJH4nJy1BDM8Ka3gPzzyaeb0Zt71C26KnZc8na-mYFOCr9-W0iXrbrANqaaF2ft4LZNSaoIDXjUpqdWD4X47Cztewvx9_eSAMyt-U_s6AftXBC3OfCry1RhC-OwDWYd0fbh8FBZ0GOuCPbUqUPZLi3ABHdybCsP_sSzbXBrr07gjP_tzid2ZzxjUr201P7DV5doCBIjWu4jL5x5CHiYHTMNhexAZcnH3jfqFiTzp4fErVIN4tw7FesQ6MQHXbC8XYGIF_gBkb4zWNKI8aiAVw9hQKCe-gUlXJbRDLQt-THVm7Dm8a33cFAGMtoRrSHXsEQw7FaFm9NsD0GeVCScQW5xA2N8EaN-hj6NkKnpTXTbo5eIGYry_2ZIPWpV-YM0znhigzKL5w-t3rxCietUo_iUZkFAQQrhN52pk_Vc0Gbgqr5m9rfzt_5hCKUnjfxl_xpxu9Ls9Q-cNAkDplSkJYdNd0NYjYaWvPZ6O_WGjNkwvdXkLwAk-14wh5sjj3vMioOPPdeRDEfDsuUlP3Xlkjf5LQ5hgG_MSRf5mvfTlOPgPgVPZNF_g2teV-4ikP67wJq1_a5ghU5KtCF3N6CxRL0bJjjJMPNXXx47dTFi1m3vqhdT2Eh2u2yvLyAasRhzuOwrqQMtzNb_JkSXZdxHuJXDk5HucvAZRnwyC_Ci7mD3Rda5iBGwa_-QMaac91TzjfFBtqebAiAXEf0xoerFsPDjR1gKx7k8RuJK5GNH--zs8ZByct2LmKE2Fc8fy1VA0Dp-t1TnVJFY65BF9qLfs2Vu1zScJro71Tnfb87xObj-99qyhsGmfS3_lIAZDuMgEiLDUYdazrgOsexMcsy5FfMMjQoAank5EEoSIZNPx-d-AKhjDl7bSfnP5FUrerE83MlLmVBBiffFaACWu6OH4zeJ0lDnej8wKqeza2Pb-XhFGRAokAXKbBrBEXDQpCgRn5urQ4re5cas6NqVXVRFgVLlUyeLFRGE-Dgg/4vy/v2fCKU1SRkOev-EhR3LzBw/h26/h001.KGR9ye_Rx-QtNfR2VsatrOhwGZMNvrnUZsABEHZGfAE"><p style="font-size:14px;color:inherit;"> It sucked π§ </p></a></td></tr></table></div></td></tr><tr><td class="dd" align="left" style="padding:0px 0px;text-align:left;word-break:break-word;"><p style="mso-line-height-alt:150.0%;"> You can also reply directly to this email if you have suggestions, feedback, or questions. </p></td></tr><tr><td class="dd" align="left" style="padding:0px 0px;text-align:left;word-break:break-word;"><p style="mso-line-height-alt:150.0%;"> Until next time β The Code team </p></td></tr></table></td><td width="8" style="line-height:1px;font-size:1px;width:8px;"> </td></tr></table></td></tr><tr><td height="10.0px" style="line-height:1px;font-size:1px;height:10.0px;"> </td></tr></table></td></tr></table></td></tr></table></td></tr><tr><td align="center" valign="top"><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" align="center"><tr><td class="b" align="center" valign="top" bgcolor="#030712" style="padding:0px 0px 0px 0px;border-style:solid;border-width: 0px 0px 0px 0px;border-color: #FFFFFF;border-bottom-left-radius:10px;border-bottom-right-radius:10px;"><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" align="center"><tr><td height="10" style="line-height:1px;font-size:1px;height:10px;"> </td></tr><tr><td class="w" align="center" valign="top" style="padding:15px 15px 15px 15px;"><table role="none" width="100%" border="0" cellspacing="0" cellpadding="0" align="center"><tr><td align="center" valign="top"><p style="font-family:'Verdana',Geneva,sans-serif;color:#FFFFFF!important;"> Update your email preferences or unsubscribe <a class="link" href="https://link.mail.beehiiv.com/ss/c/u001.kro7WBsAmEsY5mGgiUDePbOdMF_BvViPt7FxYKgxL9szpjhO_X7CGaQ-dHuFN4dv2nDJM7VwywhH_aNIWJ7DpCUiK5m3JnN9be-e_wBbmchHe5y58AGenpvwTn14-nul6z8UJPGRhm47YbludU9BDAuIaLMMliuZ_SJWuxnF8q4M7YYEbTKVM3uvrwt3rzcnuBEYQdLazgJJbqscmDFTn4txndlJxgcr8tZsj3rzVwXLZalxT9dtKZRNl7iUa3gn0XjCD94dM6eK7UMUHgBKRE0UoR_ig3XwkI3YQF-b0kGH-yXeI4VqQbN1pzUaPlqHLlYCnOsjg2dsgA75yqJ_jMbnr7EWdbjtrdW6_4E4Rk-KfZvqc_1U4barEbVLIJ44d108gC80SBjrfronwc60ZAuu3nNrPT0mk8T4zFcTA3OTRLpuDIDsnyQy-viFr5nAy6izw04mCwKLiOIjbvLGGutDiVgXUQKZLMBjx11f-0liNamnCjh5SFqIgWLa1NWoGYDnePr80JlqCaTVmLCqTeUDbR_Gs0-5peJofrZLynAp6RVjg-zh66SUkKSKAi3BXEwoQ20dg7gjXBjJVhRpjekK68QGCqB3hYgMXUcrK4uc46Uohd_LmBE2_lo7nxrKVDQJOf2ZzXM6JITpYDLQEHpfpPj8MBxYQpLs07o0JLy6WcOw0a01jjFr-FAb5YRfYPy8ElajbPhR9fnLZLrpXn7d0XkNYFiny8GioVPI2Sks20ffeWhr-jybPcv_IAsSIwtG68S6GgslvmQSvfzMfR-gm8bIN6vVMzAiX1VElvijen1C1Jt23lhETpOlUsSiKDnjK4Kt1fk62gWpxUalRdyaPrF2MKNNYOYbVm1SateCOpA3l1PpId2hl-yatv8RVoMEFziAchh4ncqgqoVSj3O_WBScnHshWBJlaTRJUUO6-xjSDpoTBtGZCAwQsev5WcMoKriMK9aWIqDahJElAFdy_uwYeQykFmC1rI27K_8690OkrE_gCrNbqX2P5iyv-XlyIxoDINSEaurI3k7kfQ/4vy/v2fCKU1SRkOev-EhR3LzBw/h27/h001.kVFlSQFLsvu7iI21cO9A80Tsa7ETt10ZocAk5iMs92o" style="text-decoration:underline;text-decoration-color:#FFFFFF!important;color:#FFFFFF!important;"> here</a></p><p class="copyright" style="font-family:'Verdana',Geneva,sans-serif;color:#FFFFFF!important;"> © 2026 The Code </p><p style="font-family:'Verdana',Geneva,sans-serif;color:#FFFFFF!important;"> 228 Park Ave S, #29976, New York, New York 10003, United States </p></td></tr><tr><td align="left" valign="top" height="2" style="height:2px;line-height:1px;font-size:1px;mso-line-height-rule:exactly;"><a href='https://link.mail.beehiiv.com/ss/c/u001.nWZojHskIfWq5w8Zm9qW7uhFPeDiAXllchtVb3ARdSmgeTOVYjNABTLSj0sIlkKCskkGgA1RO9I5oiggfHFCsCKEetsAfCqK7dGXR0zIuNc/4vy/v2fCKU1SRkOev-EhR3LzBw/h28/h001.2k7HgtA71tupC1wsUjqtfNTt0Gr4wY8vZTG7OYfod6k' style="color: #030712 !important; cursor: default; font-size: 1px; text-decoration: none;"></a></td></tr><tr><td align="left" valign="top" height="2" style="height:2px;"><a href='https://email.beehiivstatus.com/35589e8e9a15571ba2952e93f7219523e9dd175b/hclick' clicktracking="off" style="color: #030712 !important; cursor: default; font-size: 1px; text-decoration: none;"></a></td></tr></table></td></tr></table></td></tr></table></td></tr></table></td></tr></table></td></tr></table></div></body></html>
Plain Text
View image: (https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/19c25ccf-428f-4317-8865-bd0da7b9c121/Add_a_heading__9_.jpg?t=1793965482)
Caption:
----------
**Welcome back.** Two months ago, a startup named TypeSafe went viral after dropping Jev, an AI model that cannot write a single word. Since then, OpenAI, Microsoft, Cloudflare, AWS, and Google have all shipped their own versions. Most of them make money every time you use an LLM, and now theyβre racing to sell you something much cheaper.
Today, you'll see what decision models are good for, then set up 3 workflows that put one to work. Let's get started:
--------------------
### **Todayβs Brief**
* What decision models are and how they work
* Workflow #1: Catch breaking PRs before review
* Workflow #2: Replace a costly LLM the way Amazon did
* Workflow #3: Pick a decision model and build evals
----------View image: (https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/18efc0eb-c3c4-483f-a001-0fe0dcca16c3/Group_from_Figma__2_.png?t=1758120539)
Caption:
----------
##### **DEEP DIVE**
--------------------
View image: (https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/155179d8-34ed-4f93-800f-a78f4cdcc04b/Thumbnail__47_.jpg?t=1795080940)
Follow image link: (https://posthog.com/newsletter/decision-models)
Caption: Click here to see how PostHog runs decision models in production.
--------------------
**What it is.** A decision model answers a closed question about whatever you hand it, such as a diff, a log line, or an agent trace. It picks from the answers you allow and tells you how sure it is, so your code gets a value it can branch on.
**How it works.** Jev, Gemini Decision 1, and OpenAI's Decisions API all take the same three kinds of question, and each answer comes back with a probability:
* **Yes/no.** Does this PR change a public API? β Yes, 0.94
* **Choice.** Which team should review it? β Payments, 0.88
* **Score.** How risky is this change, from 1 to 5? β 4, 0.71
**Why the number matters.** In a well-calibrated model, answers scored 0.8 are right about 80% of the time. So you set a cutoff. Above it, your code acts on the answer, and below it, the case goes to an LLM or a person. Not every model's scores are that honest, so test them on your own data before you trust them.
**Where it fits.** Use one for a narrow question with a clear answer, where an LLM is too slow or too expensive to ask every time. Skip it for anything that takes several steps of reasoning, and keep those jobs for an LLM.
Here are 3 workflows worth trying out today:
----------View image: (https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/18efc0eb-c3c4-483f-a001-0fe0dcca16c3/Group_from_Figma__2_.png?t=1758120539)
Caption:
----------
##### **WORKFLOW #1: PR TRIAGE**
## **How to catch breaking PRs before review**
--------------------
View image: (https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/94f2a44a-c641-4581-92c0-a215e05cec5d/Thumbnail__50_.jpg?t=1795091527)
Follow image link: (https://vercel.com/i/triage-github-pull-requests-openai-decisions-api)
Caption:
--------------------
Engineers tend to review small PRs faster and with less scrutiny than large ones. If a diff is only ten lines and labeled "cleanup," it usually gets approved in thirty seconds.Β
That speed creates a blind spot. Those few lines can change a default or a function's behavior and break another team's build.
To catch this before code merges, a Vercel engineer [built a script](https://vercel.com/i/triage-github-pull-requests-openai-decisions-api) that checks any PR you point it at. It asks OpenAI's Decisions API two simple questions: What kind of review does this change need? And will existing callers break?
Here's how you can implement it:
* **Step 1:** Install Node 22 or later.
* **Step 2:** Set "OPENAI_API_KEY" and "GITHUB_TOKEN" in your terminal. The GitHub token only needs "Pull requests: read" access.
* **Step 3:** Copy the script from [Vercel's guide](https://vercel.com/i/triage-github-pull-requests-openai-decisions-api#:~:text=This%20script%20sends%20the%20selected%20PR%27s%20title%2C%20description%2C%20and%20text%20patches%20directly%20to%20OpenAI.) and save it as "triage-pr.mjs".
* **Step 4:** Run this command on a real PR from your repo. It handles PRs with up to 100 changed text files:
```
node triage-pr.mjs OWNER REPO PR_NUMBER
```
* **Step 5:** Check the JSON it prints. Under "answers" you get "review_track" and "migration_needed", the probability that callers have to change.
* **Step 6:** Show the suggested track to your reviewers and log where they disagree. Automate only after you've seen those cases.
--------------------
### **Your opinion matters!**
This is our eighth **Sunday Special**. Itβs a quick 5 min email designed to show how to use the latest and most relevant AI tools to code faster. Let us know what you think of this email in the poll at the bottom of this email (or by replying to this email).
Weβre writing this email just for you, so your feedback will shape what we write next!
----------View image: (https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/18efc0eb-c3c4-483f-a001-0fe0dcca16c3/Group_from_Figma__2_.png?t=1758120539)
Caption:
----------
##### **WORKFLOW #2: MODEL SWAP**
## **How Amazon saves millions with its own decision model**
--------------------
View image: (https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/0779168c-1dce-4961-88d1-776205ede529/Thumbnail__51_.jpg?t=1795094959)
Follow image link: (https://strandsagents.com/blog/amazon-saves-millions-replacing-sonnet-with-strands-decider/)
Caption:
--------------------
Two Amazon engineers, Carr Onstott and Mehul Jaiswal, were paying Claude Sonnet about two cents to label each ticket in one of the company's largest internal queues.
They [replaced it with Strands Decider](https://strandsagents.com/blog/amazon-saves-millions-replacing-sonnet-with-strands-decider/), a small decision model built at AWS. The cost per ticket dropped by 98%, and answers came back almost five times faster.
The team made the swap carefully. Both models ran side by side on live traffic first, and switching back took about 45 seconds.
Here's how you can implement it:
* **Step 1:** Find an LLM call in your stack that only picks from a fixed list, like a label or a queue.
* **Step 2:** Install [Strands Decider](https://github.com/strands-labs/strands-decider) with "pip install strands-decider". The 2B model in its README runs on a GPU, an Apple-silicon Mac, or a CPU.
* **Step 3:** Start its server with "strands-decider serve" and the model name. Your rules only work through the server, not through the one-line "ask" command.
* **Step 4:** Rewrite each option as a one or two sentence rule, and add a "none" option. Amazon did this for its 20 labels.
* **Step 5:** Add a switch with three settings: old model only, both models, and new model only. Run "both" on live traffic, and keep using the old model's answers.
* **Step 6:** Review every case where the two disagree and fix your rules, then flip the switch. [Amazon's write-up](https://strandsagents.com/blog/amazon-saves-millions-replacing-sonnet-with-strands-decider/#:~:text=you%20compare%20runs.-,Our%20lessons,-This%20worked%20because) says this taught the team more than offline testing did.
----------View image: (https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/18efc0eb-c3c4-483f-a001-0fe0dcca16c3/Group_from_Figma__2_.png?t=1758120539)
Caption:
----------
##### **WORKFLOW #3: EVALS**
## **How to pick a decision model and build evals around it**
--------------------
View image: (https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/df125695-9793-4a3c-aaa8-2bcee4c74176/CleanShot_2026-11-19_at_3.06.49_PM_2x.jpg?t=1795081039)
Follow image link: (https://archive.codenewsletter.ai/2112588257104216294)
Caption:
--------------------
There are now more than a dozen decision models to choose from. The only way to know which one works for you is to test them on your own data.
AI evals expert Hamel Husain ran that test on six of them, using 98 real conversations from an AI agent. Only three were reliable enough to catch the agent's mistakes.
His guide shows how to run the [same test yourself:](https://hamel.dev/blog/posts/decision-model-evals/)
* **Step 1:** Collect real conversations from your agent and label each one pass or fail. Hamel used 98.
* **Step 2:** Write one pass/fail question for a single type of failure. Hamel's own judge prompt is in the appendix of [his post](https://hamel.dev/blog/posts/decision-model-evals/#:~:text=get%20revenge%20%F0%9F%99%82.-,Appendix%3A%20Evaluation%20prompt,-Perplexity%2C%20Liquid%20d1).
* **Step 3:** Set your minimums before you compare models. Hamel required the judge to catch 80% of real failures and to be right on 80% of its flags.
* **Step 4:** Run two or three decision models on the same conversations. Save each model's scores next to your labels.
* **Step 5:** Paste the prompt under "Tuning the decision threshold" in [his post](https://hamel.dev/blog/posts/decision-model-evals/) into your coding agent to find the best cutoff for each model. Drop any model that still misses your minimums.
* **Step 6:** If you plan to treat a score as confidence, run his calibration prompt too. It sits in the same post.
----------View image: (https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/18efc0eb-c3c4-483f-a001-0fe0dcca16c3/Group_from_Figma__2_.png?t=1758120539)
Caption:
----------
##### **MORE IDEAS TO TRY**
--------------------
* Run only the end-to-end tests a PR can actually break ([link](https://archive.codenewsletter.ai/2116237813582582072)).
* Stop prompt injections in GitHub issues from reaching your coding agent ([link](https://archive.codenewsletter.ai/2122591275845112164)).
* Write UI tests that don't break when the wording changes ([link](https://codecept.io/blog/jev-based-testing/)).
* Let a cheap model grade your evals and call Opus only when it's unsure ([link](https://hightouch.com/blog/llm-judges-identity-resolution)).
* Match a PR's UI screenshot to the parts of your system it changed ([link](https://archive.codenewsletter.ai/2111133240136462527)).
* Compare three decision models on your own video footage ([link](https://archive.codenewsletter.ai/2121254759453671918)).
* Train your own decision model on 4GB of VRAM ([link](https://archive.codenewsletter.ai/2107868866361930236)).
----------View image: (https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/18efc0eb-c3c4-483f-a001-0fe0dcca16c3/Group_from_Figma__2_.png?t=1758120539)
Caption:
----------
##### **STARTING POINT**
--------------------
**How to start today.** Run the PR triage script on one real PR from your repo. Within ten minutes, you'll see how a decision model reads a diff. If you have the afternoon, label a batch of conversations from your own agent and turn your biggest failure type into one pass/fail question. By tonight, you'll know whether a decision model can be trusted with that call.
--------------------
### **Whenever you're ready to dive deeper**
If you enjoyed this newsletter, you should definitely check out our IT and cybersecurity newsletters. Subscribe using the links below:
* [The Code Cybersecurity](https://magic.beehiiv.com/v1/d2a465f5-6c1f-44f8-8380-5acad96cdaa7?email=codenewsletter@liamon.com&redirect_to=https%3A%2F%2Fthecode-cybersecurity.beehiiv.com%2Fconfirmation&utm_source=thecode&utm_medium=newsletter)
* [The IT Code](https://magic.beehiiv.com/v1/c8e380c2-717a-4ce2-8531-bf4e67c35ad7?email=codenewsletter@liamon.com&redirect_to=https%3A%2F%2Ftheitcode.beehiiv.com%2Fconfirmation&utm_source=thecode&utm_medium=newsletter)
We put together 20+ hands-on guides covering coding agents, agentic engineering, and leadership frameworks to help you level up your career.Β You can [get them here](https://codenewsletter.ai/guides).
βββββββββββββββββββββββββββ
==**Advertise with us:**== Join companies like Google, IBM, and Datadog. Showcase your product to our 350K+ engineers and 150K+ followers on socials. [Get in touch.](https://www.passionfroot.me/the-code)
βββββββββββββββββββββββββββ
You can also reply directly to this email if you have suggestions, feedback, or questions.
Until next time β The Code team
----------
βββ
You are reading a plain text version of this post. For the best experience, copy and paste this link in your browser to view the post online:
https://codenewsletter.ai/p/how-devs-are-using-decision-models
Warning
Almost all the messages that arrive here are garbage! Resist the urge to click on any unexpected or questionable links.
It may happen that e-mail will claim to come from liamon.com, perhaps from some administrative role or process. There are no users with liamon.com addresses that should be sending anyone e-mail. There are no accounts to expire. There are no passwords to leak. These are certainly garbage messages. These are certainly phishing attempts in some messages.
Absolutely ignore those links!
