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
Lua decorators / generics: EmmyLua ---@ annotations are comments, so both rules are dead on authentic code #9450
SOP-002-v1 gap-cell decoy suite (epic #8863), Lua batch.
Dead rules. Lua decorators (^[ \t]*---@[a-zA-Z_]\w*) and generics (---@(?:generic|type)\s+...) match EmmyLua annotation lines, but every ---@... line is a -- comment, and the comment stream is blanked before the rules run. No authentic EmmyLua annotation can make either rule fire (the only hit found is the text inside a quoted string, local t = '---@generic T', for generics).
So both cells stay without a SOP-002 baseline row; the positive controls are pinned by strict xfail in tests/decoys/test_decoy_lua.py. The fix is a rule or stream decision (read the annotation from the comment stream, as Go //go: pragmas are read from raw lines), not part of this measurement PR.
Activity
tests/decoys: SOP-002 gap-cell decoy suites, batch E (ruby, lua, shel…