---
title: "Comment by Salman Parvez | ML Systems on \"truthassert: The PythonAssert That Can Never Fail\" | Hashnode"
description: "\"The comfort of a guard without the guard\" is the line I'd keep. Coming from carpentry and estimating, this is an inspection sticker that got printed before the"
url: "https://hashnode.com/posts/truthassert/6b0c535ea53f32c229b3dbc1/comment/6b0c77295fecb4bd472cb08a"
---

[Discussion](https://hashnode.com/posts/truthassert/6b0c535ea53f32c229b3dbc1)

Comment [truthassert: The PythonAssert That Can Never Fail](https://hashnode.com/posts/truthassert/6b0c535ea53f32c229b3dbc1)

[Salman Parvez | ML Systems](https://hashnode.com/@ml-systems)

[3d ago](https://hashnode.com/posts/truthassert/6b0c535ea53f32c229b3dbc1/comment/6b0c77295fecb4bd472cb08a)

"The comfort of a guard without the guard" is the line I'd keep. Coming from carpentry and estimating, this is an inspection sticker that got printed before the inspector showed up. Everyone after that builds on it, and the failure turns up three trades later, far from the check that was supposed to catch it. The comma inside the parentheses being the whole bug is a good example of why reading the tree beats reading the text. It looks right to a person, which is how it gets past review. I direct agents as a Language Modeler, and a check that can't fail is the first thing I look for in generated tests. Narrow tools that catch one thing are easy to trust.
