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
Engine function spans misaligned in some Lua/Matlab/TS files -- the slice is not the function #3339
In some files the engine's extracted function span is not the function: the slice splice() returns for a unit starts or ends in the wrong place, so any analysis that reads a unit's body reads other code.
The #3315 hand-label pass (tests/tools/wrapper_labels.json, labels whose reason says "span misaligned") found 6 of 65 sampled units like this on language-crucible v1.4.0:
Every per-unit metric from the same slice (complexity, LOC, calls_out_to, unreferenced_by_name) has the same exposure in these files.
Next step
Reproduce each case with galaxyscope <file-dir> --db-only --debug (the [WORKER-TRACE] extracted functions line) and compare start_line/end_line with the source. Lua looks like the concentrated case: 3 of the 6, all in cosmopolitan's test files.
Activity
test(golden): re-bless zero-dependency golden master for #3339 span f…
test(golden): re-bless full-precision golden master for #3339 span fixes
fix(detector): make function spans slice the function (Lua/Matlab nes…