What happened?
Precision (and other Calssification and Ranking metrics) is not correct when there are duplicates in test interactions. See screenshot
Expected behavior
I suppose that correct value should be 1/3 because 2/3 of reco lists are False Positives.
Relevant logs and/or screenshots
Operating System
macOS Big Sur 11.6 (Apple M1)
Python Version
any
RecTools version
0.6.0