Oh nice, so pubkey in your explanation is actually the observer's pubkey, that makes more sense!
Discussion
The pubkey is actually the key being considered, but the functions are based on the user's pubkey. But you're right that the names are backward so you could think of it either way 😅