For a sudoku board to be valid, there should be exactly ONE solution to an unsolved board. That means the difficulty parameter (in float) could tamper the legitimacy of a sudoku problem.
There are quite a lot of solutions for creating sudoku boards with only one solution.