t27c on bitnet_mlp.t27 -- A whole ternary network, native
t27c on the t27c lab (Railway), spec at t27 5ff0ec512: 4 tests pass natively; pack3 writing its third trit one bit low fails exactly one test, pack3_zzz; git restores the spec.
t27c on bitnet_mlp.t27 -- A whole ternary network, native
vacuous passes 0 of 4 (passed with 0 runtime asserts executed)
t27 $ t27c gen specs/ternary/bitnet_mlp.t27 > bitnet_mlp.zig && zig test bitnet_mlp.zig
[3921/4046] Linking
0mqB debug.Dwarf.expression.StackMachine(.{ .addr_size = 8, .endian = .little, .call_frame_context =
[1023/1023] Code Generation
[5077] Semantic Analysis
0mqB Io.Threaded.io
[6136/6136] Linking
[1814/1814] Code Generation
[7559] Semantic Analysis
0mqB Io.Writer.print__anon_33759
[7147/7147] Linking
0mqB ELF Flush
9;4;0All 4 tests passed.
t27 $ sed -i '39s/<< 4)/<< 3)/' specs/ternary/bitnet_mlp.t27 && git diff -U0 | tail -n 2
- return cleared | (t0 as u64) | ((t1 as u64) << 2) | ((t2 as u64) << 4);
+ return cleared | (t0 as u64) | ((t1 as u64) << 2) | ((t2 as u64) << 3);
t27 $ t27c test-report specs/ternary/bitnet_mlp.t27 --specs-dir specs | sed -n 1,8p
--- test report: specs/ternary/bitnet_mlp.t27 ---
FAIL pack3_zzz
tests 4
pass 3
FAIL 1
rate 75.0%
t27 $ git checkout specs/ternary/bitnet_mlp.t27 && sha256sum specs/ternary/bitnet_mlp.t27
Updated 1 path from the index
9d464252d2dde474735df22e6f84c74959316ce9f17c7ae6299091287e0867d7 specs/ternary/bitnet_mlp.t27
t27 $
recorded 2026-10-07 07:41 UTC real 32.0 s shown 32.0 s exit codes 0 0 0 0 0 0 0
$ git log -1 --format='%h %ad %s' --date=short -- specs/ternary/bitnet_mlp.t27 | cut -c1-100
$ sed -n '33,56p' specs/ternary/bitnet_mlp.t27
$ t27c test-report specs/ternary/bitnet_mlp.t27 --specs-dir specs | sed -n '1,7p;$p'
$ t27c gen specs/ternary/bitnet_mlp.t27 > bitnet_mlp.zig && zig test bitnet_mlp.zig
$ sed -i '39s/<< 4)/<< 3)/' specs/ternary/bitnet_mlp.t27 && git diff -U0 | tail -n 2
$ t27c test-report specs/ternary/bitnet_mlp.t27 --specs-dir specs | sed -n 1,8p
$ git checkout specs/ternary/bitnet_mlp.t27 && sha256sum specs/ternary/bitnet_mlp.t27
Staged: the prompt and the typing. Real: every byte the commands printed, at the time they printed it. Any silence longer than 2 s is shown for 2 s, and the title bar says so while it happens. Edited: home directory shown as ~.