Skip to content

Run frontier MoE models on hardware you already own — pure C, zero deps, experts streamed from disk. Tiny engine, immense model. 🐦

C

test(tools): pin the ablation checker's PASS line on its content, not its newline

monotophicb8d3c67d0609
diff --git a/c/tests/test_check_ablate_evidence.py b/c/tests/test_check_ablate_evidence.py
index 2735e6ed..906cd552 100644
--- a/c/tests/test_check_ablate_evidence.py
+++ b/c/tests/test_check_ablate_evidence.py
@@ -156,8 +156,10 @@ class GoldenArtifactAcceptedTests(_GoldenFixture):
cli = _run_cli(manifest, evidence, config)
self.assertEqual(cli.returncode, 0, cli.stderr.decode(errors="replace"))
self.assertEqual(cli.stderr, b"")
+ # print() terminates the line with the platform's newline, so a
+ # Windows child hands back CRLF; the pin is on the line's content.
self.assertEqual(
- cli.stdout,
+ cli.stdout.replace(b"\r\n", b"\n"),
f"[ablate-evidence] PASS manifest={self.MANIFEST_SHA256} "
f"items=2 targets=3\n".encode("ascii"))