{"id":2124,"date":"2026-09-20T10:00:00","date_gmt":"2026-09-20T10:00:00","guid":{"rendered":"https:\/\/muzi.tw\/thinking\/negative-test-tmp-en-us\/"},"modified":"2026-09-28T03:37:43","modified_gmt":"2026-09-28T03:37:43","slug":"negative-test","status":"publish","type":"post","link":"https:\/\/muzi.tw\/en\/thinking\/negative-test\/","title":{"rendered":"A checker that never fails is worse than no checker"},"content":{"rendered":"<p class=\"mz-nt-lead\">When a checker stays green from the day it goes live, there are only two explanations: nothing is broken, or it isn&#8217;t looking.<\/p>\n<p>On screen, the two look exactly the same.<\/p>\n<h2>How we found out<\/h2>\n<p>The script was supposed to catch design tokens written out as raw hex colors. We ran it the day we wrote it: green. We ran it every day after that: green. Two weeks later someone stumbled on an obvious raw hex value by hand, and we went back to ask why the script hadn&#8217;t flagged it. The regex was missing a character class, and the scan scope resolved to an empty list. Every day it had carefully scanned zero files and reported a pass.<\/p>\n<p>The cost wasn&#8217;t the two weeks. It was that for those two weeks we <strong>believed<\/strong> someone was watching, so we stopped looking ourselves.<\/p>\n<h2>Fixing the regex isn&#8217;t the fix<\/h2>\n<p>A corrected regex only fixes this one case. The real fix: <strong>every checker has to ship with an input that makes it fail.<\/strong><\/p>\n<p>Every validator we run now has a <code>--selftest<\/code>. It feeds the checker deliberately broken sample data, and if the checker doesn&#8217;t complain, <code>--selftest<\/code> itself exits with code 1.<\/p>\n<p>That&#8217;s when the green light started to mean something. Now it says, &#8220;I looked, and I&#8217;ve proven I can see.&#8221;<\/p>\n<h2>It isn&#8217;t only about code<\/h2>\n<p>The same shape turns up elsewhere.<\/p>\n<p>Design guidelines without examples of misuse are just a pile of suggestions. Nobody can tell whether the image in front of them breaks the rules. A handoff document that no one has followed from scratch is just a well-written memoir.<\/p>\n<p>\u26d4 The test is simple: <strong>can you point to something that would make it say no?<\/strong> If you can&#8217;t, it isn&#8217;t guarding anything.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We once ran a validator for two weeks without a single red light. Then we found out it hadn&#8217;t been catching anything since day one.<\/p>\n","protected":false},"author":1,"featured_media":1025,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[30],"tags":[],"class_list":["post-2124","post","type-post","status-publish","format-standard","has-post-thumbnail","category-craft-notes-en-us"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>A checker that never fails is worse than no checker - Muzi Studio<\/title>\n<meta name=\"description\" content=\"We once ran a validator for two weeks without a single red light. Then we found out it hadn&#039;t been catching anything since day one.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/muzi.tw\/en\/thinking\/negative-test\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A checker that never fails is worse than no checker - Muzi Studio\" \/>\n<meta property=\"og:description\" content=\"We once ran a validator for two weeks without a single red light. Then we found out it hadn&#039;t been catching anything since day one.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/muzi.tw\/en\/thinking\/negative-test\/\" \/>\n<meta property=\"og:site_name\" content=\"Muzi Studio\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-20T10:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-09-28T03:37:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/muzi.tw\/wp-content\/uploads\/2026\/09\/muzi-nt-negative-test-fea004dd.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1800\" \/>\n\t<meta property=\"og:image:height\" content=\"1004\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/muzi.tw\\\/en\\\/thinking\\\/negative-test\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/muzi.tw\\\/en\\\/thinking\\\/negative-test\\\/\"},\"author\":{\"@id\":\"https:\\\/\\\/muzi.tw\\\/en\\\/#organization\"},\"headline\":\"A checker that never fails is worse than no checker\",\"datePublished\":\"2026-09-20T10:00:00+00:00\",\"dateModified\":\"2026-09-28T03:37:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/muzi.tw\\\/en\\\/thinking\\\/negative-test\\\/\"},\"wordCount\":309,\"publisher\":{\"@id\":\"https:\\\/\\\/muzi.tw\\\/en\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/muzi.tw\\\/en\\\/thinking\\\/negative-test\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/muzi.tw\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/muzi-nt-negative-test-fea004dd.jpg\",\"articleSection\":[\"Craft &amp; Tools\"],\"inLanguage\":\"en\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/muzi.tw\\\/en\\\/thinking\\\/negative-test\\\/\",\"url\":\"https:\\\/\\\/muzi.tw\\\/en\\\/thinking\\\/negative-test\\\/\",\"name\":\"A checker that never fails is worse than no checker - Muzi Studio\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/muzi.tw\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/muzi.tw\\\/en\\\/thinking\\\/negative-test\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/muzi.tw\\\/en\\\/thinking\\\/negative-test\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/muzi.tw\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/muzi-nt-negative-test-fea004dd.jpg\",\"datePublished\":\"2026-09-20T10:00:00+00:00\",\"dateModified\":\"2026-09-28T03:37:43+00:00\",\"description\":\"We once ran a validator for two weeks without a single red light. Then we found out it hadn't been catching anything since day one.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/muzi.tw\\\/en\\\/thinking\\\/negative-test\\\/#breadcrumb\"},\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/muzi.tw\\\/en\\\/thinking\\\/negative-test\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\\\/\\\/muzi.tw\\\/en\\\/thinking\\\/negative-test\\\/#primaryimage\",\"url\":\"https:\\\/\\\/muzi.tw\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/muzi-nt-negative-test-fea004dd.jpg\",\"contentUrl\":\"https:\\\/\\\/muzi.tw\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/muzi-nt-negative-test-fea004dd.jpg\",\"width\":1800,\"height\":1004,\"caption\":\"A glowing slider rail and clamp on a metal jig\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/muzi.tw\\\/en\\\/thinking\\\/negative-test\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/muzi.tw\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"A checker that never fails is worse than no checker\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/muzi.tw\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/muzi.tw\\\/en\\\/\",\"name\":\"Muzi Studio\",\"description\":\"Muzi Studio\",\"publisher\":{\"@id\":\"https:\\\/\\\/muzi.tw\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/muzi.tw\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/muzi.tw\\\/en\\\/#organization\",\"name\":\"Muzi Studio\",\"url\":\"https:\\\/\\\/muzi.tw\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\\\/\\\/muzi.tw\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/muzi.tw\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/muzi-logo-512.png\",\"contentUrl\":\"https:\\\/\\\/muzi.tw\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/muzi-logo-512.png\",\"width\":512,\"height\":512,\"caption\":\"Muzi Studio\"},\"image\":{\"@id\":\"https:\\\/\\\/muzi.tw\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"email\":\"hello@muzi.tw\",\"description\":\"A brand, web, and content studio in Taipei and Tokyo. We look at your business growth goals and current gaps before deciding if design is the answer.\",\"areaServed\":[\"Taiwan\",\"Japan\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"A checker that never fails is worse than no checker - Muzi Studio","description":"We once ran a validator for two weeks without a single red light. Then we found out it hadn't been catching anything since day one.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/muzi.tw\/en\/thinking\/negative-test\/","og_locale":"en_US","og_type":"article","og_title":"A checker that never fails is worse than no checker - Muzi Studio","og_description":"We once ran a validator for two weeks without a single red light. Then we found out it hadn't been catching anything since day one.","og_url":"https:\/\/muzi.tw\/en\/thinking\/negative-test\/","og_site_name":"Muzi Studio","article_published_time":"2026-09-20T10:00:00+00:00","article_modified_time":"2026-09-28T03:37:43+00:00","og_image":[{"width":1800,"height":1004,"url":"https:\/\/muzi.tw\/wp-content\/uploads\/2026\/09\/muzi-nt-negative-test-fea004dd.jpg","type":"image\/jpeg"}],"author":"admin","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/muzi.tw\/en\/thinking\/negative-test\/#article","isPartOf":{"@id":"https:\/\/muzi.tw\/en\/thinking\/negative-test\/"},"author":{"@id":"https:\/\/muzi.tw\/en\/#organization"},"headline":"A checker that never fails is worse than no checker","datePublished":"2026-09-20T10:00:00+00:00","dateModified":"2026-09-28T03:37:43+00:00","mainEntityOfPage":{"@id":"https:\/\/muzi.tw\/en\/thinking\/negative-test\/"},"wordCount":309,"publisher":{"@id":"https:\/\/muzi.tw\/en\/#organization"},"image":{"@id":"https:\/\/muzi.tw\/en\/thinking\/negative-test\/#primaryimage"},"thumbnailUrl":"https:\/\/muzi.tw\/wp-content\/uploads\/2026\/09\/muzi-nt-negative-test-fea004dd.jpg","articleSection":["Craft &amp; Tools"],"inLanguage":"en"},{"@type":"WebPage","@id":"https:\/\/muzi.tw\/en\/thinking\/negative-test\/","url":"https:\/\/muzi.tw\/en\/thinking\/negative-test\/","name":"A checker that never fails is worse than no checker - Muzi Studio","isPartOf":{"@id":"https:\/\/muzi.tw\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/muzi.tw\/en\/thinking\/negative-test\/#primaryimage"},"image":{"@id":"https:\/\/muzi.tw\/en\/thinking\/negative-test\/#primaryimage"},"thumbnailUrl":"https:\/\/muzi.tw\/wp-content\/uploads\/2026\/09\/muzi-nt-negative-test-fea004dd.jpg","datePublished":"2026-09-20T10:00:00+00:00","dateModified":"2026-09-28T03:37:43+00:00","description":"We once ran a validator for two weeks without a single red light. Then we found out it hadn't been catching anything since day one.","breadcrumb":{"@id":"https:\/\/muzi.tw\/en\/thinking\/negative-test\/#breadcrumb"},"inLanguage":"en","potentialAction":[{"@type":"ReadAction","target":["https:\/\/muzi.tw\/en\/thinking\/negative-test\/"]}]},{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/muzi.tw\/en\/thinking\/negative-test\/#primaryimage","url":"https:\/\/muzi.tw\/wp-content\/uploads\/2026\/09\/muzi-nt-negative-test-fea004dd.jpg","contentUrl":"https:\/\/muzi.tw\/wp-content\/uploads\/2026\/09\/muzi-nt-negative-test-fea004dd.jpg","width":1800,"height":1004,"caption":"A glowing slider rail and clamp on a metal jig"},{"@type":"BreadcrumbList","@id":"https:\/\/muzi.tw\/en\/thinking\/negative-test\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/muzi.tw\/en\/"},{"@type":"ListItem","position":2,"name":"A checker that never fails is worse than no checker"}]},{"@type":"WebSite","@id":"https:\/\/muzi.tw\/en\/#website","url":"https:\/\/muzi.tw\/en\/","name":"Muzi Studio","description":"Muzi Studio","publisher":{"@id":"https:\/\/muzi.tw\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/muzi.tw\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en"},{"@type":"Organization","@id":"https:\/\/muzi.tw\/en\/#organization","name":"Muzi Studio","url":"https:\/\/muzi.tw\/en\/","logo":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/muzi.tw\/en\/#\/schema\/logo\/image\/","url":"https:\/\/muzi.tw\/wp-content\/uploads\/2026\/09\/muzi-logo-512.png","contentUrl":"https:\/\/muzi.tw\/wp-content\/uploads\/2026\/09\/muzi-logo-512.png","width":512,"height":512,"caption":"Muzi Studio"},"image":{"@id":"https:\/\/muzi.tw\/en\/#\/schema\/logo\/image\/"},"email":"hello@muzi.tw","description":"A brand, web, and content studio in Taipei and Tokyo. We look at your business growth goals and current gaps before deciding if design is the answer.","areaServed":["Taiwan","Japan"]}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/muzi.tw\/wp-content\/uploads\/2026\/09\/muzi-nt-negative-test-fea004dd.jpg","_links":{"self":[{"href":"https:\/\/muzi.tw\/en\/wp-json\/wp\/v2\/posts\/2124","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/muzi.tw\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/muzi.tw\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/muzi.tw\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/muzi.tw\/en\/wp-json\/wp\/v2\/comments?post=2124"}],"version-history":[{"count":2,"href":"https:\/\/muzi.tw\/en\/wp-json\/wp\/v2\/posts\/2124\/revisions"}],"predecessor-version":[{"id":2126,"href":"https:\/\/muzi.tw\/en\/wp-json\/wp\/v2\/posts\/2124\/revisions\/2126"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/muzi.tw\/en\/wp-json\/wp\/v2\/media\/1025"}],"wp:attachment":[{"href":"https:\/\/muzi.tw\/en\/wp-json\/wp\/v2\/media?parent=2124"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/muzi.tw\/en\/wp-json\/wp\/v2\/categories?post=2124"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/muzi.tw\/en\/wp-json\/wp\/v2\/tags?post=2124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}