  In this chapter, we review a principled way of defining and measuring
contextuality in systems with deterministic inputs and random outputs, recently
proposed and developed in \citep{KujalaDzhafarovLarsson2015,DKL2015FooP}.
