From 473368bbeacd47bafaa8a0cdcc5bd545b988767f Mon Sep 17 00:00:00 2001 From: Oliver Date: Tue, 18 Feb 2025 18:46:14 +0000 Subject: [PATCH] Tweak mini sudoku config --- reasoning_gym/games/mini_sudoku.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reasoning_gym/games/mini_sudoku.py b/reasoning_gym/games/mini_sudoku.py index d673e27d..3ca1277c 100644 --- a/reasoning_gym/games/mini_sudoku.py +++ b/reasoning_gym/games/mini_sudoku.py @@ -21,9 +21,9 @@ class MiniSudokuConfig: def validate(self): """Validate configuration parameters""" - # More than 12 empty cells tends to result in multiple solutions + # More than 12 empty cells is incompatible with a unique solution assert 0 <= self.min_empty <= 12, "min_empty must be between 0 and 12" - assert self.min_empty <= self.max_empty <= 16, "max_empty must be between min_empty and 16" + assert self.min_empty <= self.max_empty <= 12, "max_empty must be between min_empty and 12" class MiniSudokuDataset(ProceduralDataset):