{"id":"2d8d463b81907e26","label":"Write tests first","part":{"kind":"line","text":"Before you write the function, list a test case for every rule and edge case, then write code that passes all of them."},"source":null,"summary":"Hurts on Coding, Haiku 5.5 with thinking off (−2.1 points).","measurements":2,"settings":[{"setting":"Coding, Haiku 5.5 with thinking off","suite":"coding","base":{"model":"claude-haiku-5-5","thinking":"off"},"lean":"hurts","status":"once","pooled":{"k":2,"hi":-0.64,"i2":0.201,"lo":-3.47,"effect":-2.06},"whereItActs":{"reads":"hurts","sentence":"Its effect sits in AMM swap output (−25.3); no other family moved clearly.","tasks":864,"notebooks":2,"level":0.995455,"families":[{"family":"moving-average","title":"Moving averages","tasks":79,"controlExact":86.08,"partExact":93.67,"effect":7.59,"interval":[-3.16,18.35],"read":true,"acts":null},{"family":"business-days","title":"Business days","tasks":78,"controlExact":100,"partExact":100,"effect":0,"interval":[0,0],"read":true,"acts":null},{"family":"fee-cents","title":"Fees in whole cents","tasks":78,"controlExact":100,"partExact":100,"effect":0,"interval":[0,0],"read":true,"acts":null},{"family":"merge-intervals","title":"Merging intervals","tasks":78,"controlExact":100,"partExact":100,"effect":0,"interval":[0,0],"read":true,"acts":null},{"family":"run-length","title":"Run-length encoding","tasks":79,"controlExact":100,"partExact":100,"effect":0,"interval":[0,0],"read":true,"acts":null},{"family":"semver","title":"Comparing versions","tasks":79,"controlExact":100,"partExact":100,"effect":0,"interval":[0,0],"read":true,"acts":null},{"family":"slug","title":"URL slugs","tasks":79,"controlExact":100,"partExact":100,"effect":0,"interval":[0,0],"read":true,"acts":null},{"family":"top-k","title":"Top k by score","tasks":79,"controlExact":100,"partExact":100,"effect":0,"interval":[0,0],"read":true,"acts":null},{"family":"parse-duration","title":"Parsing durations","tasks":78,"controlExact":90.38,"partExact":88.46,"effect":-1.92,"interval":[-7.69,3.85],"read":true,"acts":null},{"family":"trade-pnl","title":"Trade profit","tasks":78,"controlExact":92.95,"partExact":91.03,"effect":-1.92,"interval":[-12.18,7.05],"read":true,"acts":null},{"family":"amm-out","title":"AMM swap output","tasks":79,"controlExact":54.43,"partExact":29.11,"effect":-25.32,"interval":[-39.87,-13.29],"read":true,"acts":"hurts"}],"note":"Descriptive: no notebook preregisters a family. Each family's interval is widened for every family read (1 − 0.05/k)."},"notebooks":[{"notebook":"#057","verdict":"INHIBITS","effect":-2.78,"interval":[-5.56,-0.35],"pairs":432,"rule":2,"stoppedEarly":false,"provisional":false,"costRatio":1.903,"url":"https://opsinlab.io/notebooks/57","signed":"https://opsinlab.io/v1/verdicts/361"},{"notebook":"#058","verdict":"INERT","effect":-1.16,"interval":[-4.17,1.62],"pairs":432,"rule":2,"stoppedEarly":false,"provisional":false,"costRatio":1.897,"url":"https://opsinlab.io/notebooks/58","signed":"https://opsinlab.io/v1/verdicts/367"}]}],"inOtherWords":[],"url":"https://opsinlab.io/parts/2d8d463b81907e26"}