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
Browse filesBrowse the repository at this point in the historyBrowse files
crispasr integration
committed
fix(#431): make the parity kernel able to measure anything at all
Two faults, either of which alone would have produced a confident meaningless
result.
1. THE KERNEL'S WINDOWED ARM WAS NOT WINDOWING. It sets
CRISPASR_SIDON_WINDOW_FRAMES, which existed only in my uncommitted working
tree; main still had the older CRISPASR_SIDON_WINDOWED gate. The kernel
clones main at runtime, so the flag was simply ignored, both arms ran the
whole-utterance path, and cos(whole,REF) vs cos(windowed,REF) would have come
back as two identical numbers — an A/B comparing a path against itself, which
this repo has shipped before (test_sidon_live.cpp did it for its whole
existence, and f5_use_flash_attn cached its env read the same way).
The env var is now on main, DEFAULT 0 = OFF, so the shipped behaviour stays
the clean refusal while the kernel can switch arms explicitly.
The kernel now also REFUSES to report a windowed row unless the run printed
its "windows with" proof line. A flag that silently does nothing must not be
able to pass as a measurement.
2. BUILD DIED ON -j'$(nproc)'. kh.safe_build_jobs() returns a SHELL SNIPPET, not
a number; every working kernel interpolates it into a shell string. I passed
it to a list-form subprocess.run where nothing expands it. Fixed by running
the build through a shell, like the callers that demonstrably work.
Fault 2 was only visible because the previous commit made the kernel log stderr
as well as stdout — v1 printed "build FAILED" and then nothing at all.
0 commit comments