hydrusnetwork / hydrus

A personal booru-style media tagger that can import files and tags from your hard drive and popular websites. Content can be shared with other users via user-run servers.
http://hydrusnetwork.github.io/hydrus/
Other
2.4k stars 158 forks source link

Inconsistent and unintuitive duplicate filter behavior #1574

Open TheCommandoChicken opened 3 months ago

TheCommandoChicken commented 3 months ago

Hydrus version

576

Qt major version

Qt 6

Operating system

Linux (specify distro and version in comments)

Install method

Extract

Install and OS comments

Linux Mint Cinnamon 21.2

Bug description and reproduction

The duplicate filter has unusual behavior that doesn't seem to make any sense. The main problems are as follows:

Log output

No response

Mengmoshu commented 3 months ago

I'll take your items in order:

As an aside, can you elaborate on why repeating an image in the queue causes you trouble? This seems like the sort of thing that old hands don't think about anymore, so I'd like to understand your viewpoint better.

TheCommandoChicken commented 3 months ago

I think fundamentally what my issue is is that the queue doesn't present enough pairs to fill the set cap, even excluding the skipping of pairs as decisions are made, which seems like a bug based on the fact that there are definitely more than enough distinct pairs to present 1000 in a single batch. I don't think repeating images in the queue is a problem in itself, just that in doing so it seems to cause hydrus to ignore other distinct pairs that could be presented (which could also help with the monotony of duplicate filtering by providing a larger variety of images, which goes in hand with the first point about sorting). It also seems to cause the skipping of pairs as you make decisions, which would be avoided by only allowing an image to appear once per batch. Also I'll be sure to try tweaking my cache settings, thanks.