Konrad Hinsen
02/14/2026, 9:09 AMTom Larkworthy
02/14/2026, 11:55 AMexpect gives good readable output. I reactively pipe this into LLM. Several benefits of dataflow
• tests only recompute if they are causally linked to the change
• you can use a test throwing to stop dataflow when invariants are not met. Only execute this risky block if the system is working correctly. I have started doing where there is a risk of self-triggering loops (pictured, bidirectional sync to the page URL is risky)
I do not see any value in a special language for it. Expect is widely adopted, gives a readable output, which tells the LLM exactly where expectations were broken. I feel like expect was popular with humans because it was so readable, and this transfers to LLMs quite well. No need to reinvent the wheel and invalidate the training set.Konrad Hinsen
02/14/2026, 2:43 PM