You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
reference: self_attention.t27 passes or fails by host -- its test iterates an undefined W585 scaffold slice (t27b ledger STALE) #8051
STALE specs/ml/recurrent/self_attention.t27: the reference does not pass it any more (fail: 1 of 1 tests fail)
with reference_tests: {"forward_basic_case": false}. The ledger row (blocked, StmtAssign(undeclared), unimplemented) was added by the batch bless #7476, which recorded the reference as passing this spec.
It is not a new regression
The spec has not changed since a67f7df (2026-09-16).
A t27c release binary built on 2026-10-06 on macOS aarch64, with the same zig 0.16.0, passes it: t27c test-report specs/ml/recurrent/self_attention.t27 gives 1 pass (vacuous, 0 runtime asserts), and zig test on the generated file passes.
So the reference verdict for this spec depends on the host, not on the commit.
Why
The test is
test forward_basic_case
given input = default_input()
when forward(input)
then true
default_input is declared nowhere in the spec. The W585 scaffold in bootstrap/src/compiler.rs lowers the local to undefined, and t27c gen prints
test"forward_basic_case" {
constinput=undefined;
forward(input);
if (!(true)) @panic("assertion failed");
}
forward(input: []const f32) runs for (input) |value| { sum += value; }, so it iterates a slice whose pointer and length are undefined. That is illegal behaviour in Zig: whether the test passes, crashes or fails depends on the host, the build cache and the optimiser. t27b refuses it by name (StmtLocal(scaffold read by callee) is among the blockers in this run), which is the right answer.
Until then the spec is not reference-passing on the lab, so the t27b ledger drops it; the ledger-sync PR for the lab run at 6b6386e (which fails it the same way) does that through tri t27b ratchet --bless.
Activity
t27b ledger: bless lab run 6b6386e (81 unlisted, 2 up) (Closes #8058) (…
Merge master 12ee225 into claude/t27b-bless-20261009; hold self_atten…
spec(self_attention): declare default_input, so the reference verdict…
t27b ledger: bless lab run a97cb9e, 14 unlisted pass rows, cap 26 -> …