Say you have a function that filters a user's viewing history (sequence of maps, one for each "view" record) based on a bunch of criteria:
- User's country
- User's A/B test allocations
- Whether they watched a standalone movie or episode of a series.
- How much they watched
- Have they watched it before
- etc
These are all combined in a non-trivial way to decide whether a viewing record is included in the output.