HF RL Explorer

sudoku validation: edge case

sudoku validation: edge case: a task in smol-software-harbor (Harbor dataset). The puzzle app rejects every unfinished grid: valid(grid, partial=True) in sudoku.py returns False as soon as a cell is empty (0). Rewrite unit ok() so it follows its docstring: in partial mode empty cells are allowed…

The task

The puzzle app rejects every unfinished grid: `valid(grid, partial=True)` in `sudoku.py` returns False as soon as a cell is empty (0). Rewrite `unit_ok()` so it follows its docstring: in partial mode empty cells are allowed but the filled digits of a row, column or box must not repeat; in full mode every unit must…

Part of efederici/smol-software-harbor.