Inconsistent `BITCOUNT`: BITCOUNT against test vector #5
Steps to reproduce
Run the commands mentioned in the test on Line 68 in the file https://github.com/AshwinKul28/dice-tests/blob/main/tcltests/unit/bitpos.tcl#L68.
Expected output
The expected output when the above set of commands when run on Redis
Expected [r bitcount str 0 -1 bit]
Observed output
The observed output when the above set of commands when run on DiceDB
10 (context: type eval line 5 cmd {assert {[r bitcount str 0 -1 bit]
The steps to run the test cases are mentioned in the README of the dice-tests repository.
Expectations for resolution
This issue will be considered resolved when the following things are done:
- Changes in the
dicerepository code to meet the expected behavior. - Successful run of the tcl test behavior.
You can find the tests under the tests directory of the dice repository and the steps to run are in the README file. Refer to the following links to set up DiceDB and Redis 7.2.5 locally
Hi @lucifercr07 , can you assign this task to me?
@Nijin-P-S assigned, thanks for contributing.
Hi @lucifercr07 ,
I wanted to reach out regarding the issues I was assigned. Despite my efforts, I’m finding it challenging to make progress on them. Additionally, I have a busy period at my full-time job coming up and won’t be able to dedicate the time needed for the next couple of weeks.
I think it would be best for me to unassign these issues so someone else can take them on. Thank you for understanding, and I hope to contribute again in the future!
@lucifercr07 - can you please assign this issue to me? i would like to work on a PR
EDIT: seems to be solved in https://github.com/DiceDB/dice/issues/660
Closing, fixed as part of https://github.com/DiceDB/dice/pull/699