They surely have a number of factors that sort them into "pre-automatic-clearance" / "put on the rubber gloves, deep search required" and everything in between.
I'm sure they use some kind of machine learning as well.
But let's face it - there are some - children, very young adults, etc - when...