
The author laid out design rules as a contract table in AGENTS.md, had AI write the Rails code and RSpec to match, and used the evilution mutation tester plus per-method CRAP scores to check test strength. In the final run, evilution killed 1,088 of 1,093 mutants, with 0 survivors.
Summaries like this, in your inbox every morning.
The piece builds its contract table on Design by Contract, splitting rules into invariants, preconditions, and postconditions. It gives concrete evidence that invariants alone are not enough: a spec checking only that the total stays at 10 let a swap bug survive, where available_stock and reserved_stock were exchanged. Adding the postcondition that available drops by 3 and reserved rises by 3 killed that mutant, and adding boundary values just below, at, and just above the reservation quantity took the inventory model from 62 survivors out of 150 to all 150 killed.
On tooling, the author compared Ruby mutation testers directly. mutant's README restricts free use to public repositories, with $30 per developer per month or $250 per year for commercial use, so it was avoided for a private app. The archived mutest fork failed to install. evilution, under MIT, was chosen, and the author notes both evilution and the also-MIT mutineer only appeared in 2026, so changelogs and issues are worth reviewing before adoption.
The review division of labor is explicit: quality gates decide automatically whether the completion conditions are met, and humans check only whether each spec actually verifies the contract row named in its ID, whether surviving mutants are real test gaps, and whether disabled lines have genuine equivalence reasons. The author adds that stub usage in specs should be limited to two cases — failures unreachable from any real DB state, and external APIs — each with a written reason.
Pick your industry and the AI tools you use, and get news related to your work every day.
Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →
Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.
In a SiliconANGLE essay, Imagine Art's M
ルールベース株研 started 投資可否チェッカー on 2026年9月25日 and 急騰株チェッカー on 2026年10月8日, reaching over 300 commits and more than 8…

Tested on Windows 10 with Claude Code 2.1.296, a deny rule written as Edit(../shared/partner/**) did not stop…

A writer had Google Gemini read his health check results; Gemini warned of a future dialysis risk linked to hi…

The author has been running Claude Code since October 2026 with a Root session directing planning, marketing…

TypeSafe AI opened early access to Jev on September 15, 2026
