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
[Code scan] block_avg crashes when no full block remains #143
Problem block_avg() assumes at least one full block survives after skip. If the input after skipping is empty, data_chunks[-1] raises IndexError; if it has fewer samples than block_size, the only partial block is dropped and NumPy later raises an axis error.
Expected result
The function should either handle the partial block intentionally or raise a clear validation error explaining that no complete block is available.
Activity