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
Lab: corpus diff filters (--code, --added, --tag, --also-zero) and a --line that reads only its files #99
Lab issue (neospector lua/myemmylabcli.luacorpus_diff at 786, hits_by_line at 766). Part of #17. From the 2026-11-26 retro.
Problem
Filtering is a hand grep, and it fails silently. Reading 1472's corpus diff needed "added need-check-nil lines that neither 0.25.1 nor the fork reports". That was grep '^[^:]+: \+' | grep -v agrees | grep '=0\]'. The first pattern matched 144 of the 301 + lines (some tree/path shape broke it) and gave 12 targets instead of 27, with no error. Only the handoff's count caught it.
--line costs a full diff and more. Measured 2026-11-26 on myxps (up-4c18e8ef-1126 vs nilarith-ea6fd33a-1126): --summary 6.6 s, --line=lualine.lua:127 12.7 s, --by-line --against --also (the whole listing with two tag runs) 12.5 s. Printing one line costs more than listing everything.
Want
Filters on the changed lines, applied before printing: --code=CODES (as probe --code), --added / --removed, --tag=agrees|differs (needs --against), --also-zero=LABEL (that run reports none of it). The 1472 read becomes --added --code=need-check-nil --tag=differs --also-zero=gate-b596edb6-1124.
--line reads only the named files from each run's JSON and skips pairing the rest of the corpus.
Activity
gndx emmylua, Lua-side gates) #17