Arranged like a Skinner box -- something which dispenses reward stimuli for desired behaviours with the aim of maximizing those behaviours.
Interestingly, a Skinner box can be made to dispense rewards randomly after a while, or stop dispensing them entirely -- but the desired behaviour is likely to continue. Think doomscrolling, slot machines, loot boxes, dating apps, etc.
mlekoszek answered very well, so I won’t duplicate their comment but I will note that I used to work with a bunch of neuroscientists and a number of grad students were recruited by tech companies specifically to use their knowledge of human behaviour and addition to boost “engagement” and revenue. There was some talk about ethics but even back then people knew those companies meant it about as much as big tobacco had.
Interestingly, a Skinner box can be made to dispense rewards randomly after a while, or stop dispensing them entirely -- but the desired behaviour is likely to continue. Think doomscrolling, slot machines, loot boxes, dating apps, etc.
A worthwhile survey of this I was introduced to in my undergrad: https://press.princeton.edu/books/paperback/9780691160887/ad...