-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #63 from SudokuMonster/newTechniques
New techniques merge
- Loading branch information
Showing
17 changed files
with
1,214 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<html> | ||
<body> | ||
<b>3 strong links</b>: Requires a fish with 3 strong links (101 or 102 formation) | ||
Rating: 5.5-5.6 | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<html> | ||
<body> | ||
<b>2-String Kite</b>: The Sudoku requires a 2-String Kite to solve. | ||
Rating: 4.1 | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
51a83f8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SudokuMonster
This commit, which is released as version 1.6.1, rates 15 out of 80 puzzles from pg354 differently when using default parameters.
Are all these differences considered obvious bugs in previous releases?
If not, are there non-default parameters introduced that allow rating using the old rules?
Command:
java -cp SukakuExplainer.1.6.1.jar diuf.sudoku.test.serate -i- --format=%g%t1.6.1=%r/%p/%d < pg354.0 > pg354.1.6.1
Puzzles with changed rating:
51a83f8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes to Uniqueness & BUG were bug fixes by lksudoku to the original SE code that I committed to Master without an option to disable like the chaining fix which was debatabale. I tested on a variety of puzzles and they resulted in all test cases having no change or reduction in rating as demonstrated.
This issue has been highlighted as well in previous discussion on the players forum
51a83f8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any plans how to resolve this?
Could this be a neglected default activation of some of the new techniques?
51a83f8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mis-read your original question
By default all techniques are activated (including new ones) so all have "1" by default. To have the old ratings. use techs= & a series of 0 and 1 to choose whatever techniques you need to deactivate
51a83f8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My next task after finalizing the current new techniques update and a new release would be to add an option to use Sukaku explainer to rate exactly as the version used in the current patterns game.
This would mean visiting the code I committed to Master with lksudoku's bug fixes to (uniqueness and BUG) and allow removing them as an option. Disabling the new techniques through --techs=TECHSTRING and disabling lksudoku's bug fixes would then allow complete backward compatibility.
This could be later complemented with similar feature in GUI
51a83f8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This issue is now sorted
The above would control the fixes to BUG and unique loops respectively. These can be controlled from Command line solver and I have also coded optional control as well from GUI. As you can control which techniques to enable/disable already then in theory you can revert to SE121 style ratings/ technique order and the buggy algorithm. I will upload to master within 1 week