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: reduce whole-tree mode for crashes, timeouts and memory blowups #32
Lab issue (neospector lua/myemmylab*.lua). The crash-triage recipe ends with reduce, but reduce only shrinks a file to a diagnostic. Still missing: reduce --outcome crash|timeout|memory --unless-bin B, which shrinks a tree or file while the candidate build crashes, times out or blows memory and B doesn't.
It must respect lab.BLOWUPS and the lab's memory headroom.
Widening this: the whole-tree mode should also take a diagnostic outcome, "drop files while diagnostic X survives". It's the step before the file-level reduce when a hit needs other files in its tree (a class in another file, a library). The #41 session (2026-11-20) wrote it by hand twice as a throwaway fileshrink.sh. Roughly: reduce --tree=DIR CODE --file=REL [--line=N|--mark=…] copies the tree, ddmins over its files (never the target file), keeps the target's diagnostic and prints the surviving file list. Same lab.BLOWUPS and headroom rules as the crash/timeout/memory modes. See also #74 (--line, budget, progress).
Activity
gndx emmylua, Lua-side gates) #17mareklangiewicz commentedon Nov 20, 2026
Widening this: the whole-tree mode should also take a diagnostic outcome, "drop files while diagnostic X survives". It's the step before the file-level
reducewhen a hit needs other files in its tree (a class in another file, a library). The #41 session (2026-11-20) wrote it by hand twice as a throwawayfileshrink.sh. Roughly:reduce --tree=DIR CODE --file=REL [--line=N|--mark=…]copies the tree, ddmins over its files (never the target file), keeps the target's diagnostic and prints the surviving file list. Samelab.BLOWUPSand headroom rules as the crash/timeout/memory modes. See also #74 (--line, budget, progress).