PYTHON · NUMPY
What a draw proves about itself

A 12-spin planar glass small enough to enumerate, its conditional partition functions, and two chain-rule samplers that differ in one read. The draw you write returns its own probability, and that one number is checked two ways.

You read

the arrays and values already in scope

You change

the code you write in each cell

Fixed

the dataset and the checks that grade you