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
corpus diff: extra legs and message-insensitive pairing to classify a merge against upstream #53
Lab issue (neospector lua/myemmylab*.lua). Part of #17.
Classifying a merge's corpus diff needs more legs than corpus diff A B --against v0251. On 2026-11-18 (fcc0416 merge) the useful split came from comparing five runs per hit (0.25.1, upstream before, upstream after, old fork, merge), matched by file+line+code ignoring the message (message rewording otherwise shows as +/- pairs):
lost: upstream reports it on both sides, the old fork didn't (a fork fix the merge lost);
new: neither upstream nor the old fork (merge-only interaction);
crash: the upstream run refused/crashed on that tree.
Message-insensitive pairing took "207 merge-only lines" down to 79 real ones. The earlier session's version was ad-hoc and lost; this session's is below (labels hard-coded).
Ask: corpus diff grows extra legs, e.g. --also=LABEL,LABEL printing each leg's count per line, and --by-line (file:line:code, message ignored).
Done in myvi c46ff59 (not pushed). corpus diff A B --also=L1,L2,… --by-line: each changed line ends with [L1=n L2=m …], or - where a leg didn't finish the tree. --by-line pairs hits by file:line and code. Live on fork-50b21557-1118 → merge-8581c78a-1118, with v0251, up-41366714 and up-fcc04166 as legs: 1558 → 1315 changed lines. + lines that up-fcc04166 lacks: 138 → 76 (the issue's looser script: 207 → 79).
Not done: the lost/upnew/new/crash buckets themselves. With the legs on each line they're a grep. The line shows B's change, not B's count, so "up < merge" isn't exact yet; I can add A→B counts if you want that.
Activity
gndx emmylua, Lua-side gates) #17mareklangiewicz commentedon Nov 18, 2026
Done in myvi c46ff59 (not pushed).
corpus diff A B --also=L1,L2,… --by-line: each changed line ends with[L1=n L2=m …], or-where a leg didn't finish the tree.--by-linepairs hits by file:line and code. Live on fork-50b21557-1118 → merge-8581c78a-1118, with v0251, up-41366714 and up-fcc04166 as legs: 1558 → 1315 changed lines.+lines that up-fcc04166 lacks: 138 → 76 (the issue's looser script: 207 → 79).Not done: the lost/upnew/new/crash buckets themselves. With the legs on each line they're a grep. The line shows B's change, not B's count, so "up < merge" isn't exact yet; I can add A→B counts if you want that.
mareklangiewicz commentedon Nov 18, 2026
Pushed (myvi c559c9c includes the follow-up simplify pass; fork e8581ad for #54). Closing: the ask is done.