HF RL Explorer

popcntMaskSlice returns incorrect count when using mask

popcntMaskSlice returns incorrect count when using mask: a task in UltraTerminal (Harbor dataset). The popcntMaskSlice function is returning incorrect bit counts when a mask is applied. The function appears to be counting bits that should be excluded by the mask instead of counting bits that are…

The task

The `popcntMaskSlice` function is returning incorrect bit counts when a mask is applied. The function appears to be counting bits that should be excluded by the mask instead of counting bits that are included.

Part of harness-hub/UltraTerminal.