How the puzzles are made
The engine's neural network played 200 games against itself. At every turn it searched the position with two candidate lines. A position became a puzzle when three things held: the search reached the end of the round, so nothing was cut short; the best move scored at least 3 points more than the second best; and the best move was not the one a greedy player would pick, the move that looks best for your own board right now.
Each puzzle is rated by how deep the classic engine has to look to find the answer: easy if it sees it two moves ahead, medium at four, hard if it needs more.
The greedy rule is what makes them puzzles. The answer is often a quiet move: leaving a colour for the opponent so they have to break a line, taking the first-player token at the right moment, or dropping tiles on the floor now to avoid a bigger penalty later. The code is azul puzzles in the source on GitHub.