The “Human-in-the-Loop” Framework