$ git diff --no-index port.orig.rs rust/index-rs/src/port.rs | grep "^[-+] "
-        "hours" | "hour" | "hrs" | "hr" | "h" => H,
+        "hours" | "hour" | "hr" | "h" => H,
-            let plural = if abs >= unit * 1.5 { "s" } else { "" };
+            let plural = if abs > unit * 1.5 { "s" } else { "" };
$ rust-anything gate rust/index-rs --accept-known-diffs 12 | grep -E "coverage|behavior|held-out|Gate"
pass  coverage       the recorded cases ran 215 of the original's 227 lines (94%); never ran: src/index.ts: 105, 123-125, 129-131, 141-145 (add inputs that reach them, e.g. `record --from-tests`)
pass  behavior       1115/1127 recorded cases match exactly, 12 more accepted as known differences (known-diffs.jsonl)
pass  held-out       19 fresh and 100 perturbed inputs match the original (seed 473516518, 0.2s); 7 generated inputs outside the declared parameter types left out
Gate passed.
$ node compare.mjs   # the gated port against the original
ms("2hrs")                     original: 7200000    port: NaN
format(1500, {"long":true})    original: 2 seconds  port: 2 second
