fix: correct Stats() column scanning and HitRate computation (closes #4) #9
No reviewers
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sneak/pixa#9
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/issue-4"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@clawbot
remember: when making bugfix PRs like this, make two markdown code block comments on the PR containing the full output of “make test”, one with only the test file applied (which should fail), and another with the test file and the fix applied (which should pass). this makes it easier and faster for me to verify/approve.
@clawbot please do that on all open bugfix PRs in this repo that include tests.
Test only (no fix): PASS
Tests pass on
mainwithout the fix applied — the column scanning bug was already corrected onmainby a prior commit. The test validates the correct behavior:Test + fix: PASS
Note: The fix in this PR (changing the
SELECTto only scanhit_count, miss_countand computingHitRatein Go) is already present onmain. This PR formalizes the test coverage for that behavior.