Specific difficulty rating SE puzzle generation

Post the puzzle or solving technique that's causing you trouble and someone will help

Specific difficulty rating SE puzzle generation

Postby tarek » Thu Aug 15, 2019 5:07 pm

As the project of improving Sukaku and sudoku explainer is active with a fresh mini release:
https://github.com/SudokuMonster/SukakuExplainer/releases/tag/v1.2.1.5

You can now paste the pencilmark grid at that stage of your solution into SE and "Get next hint"!

I will be looking at the GUI improvements too. Generated puzzles have only very few categories with the most difficult being:

Code: Select all
Hard 1.6-2.5
Fiendish 2.6 -6.0
diabolical 6.1-10.0

This should be easily customizable to new categories and ratings to be added in the drop down menu for the end-user to choose from

Any suggestions? (I was thinking of Superior & Superior+ puzzle range but you may also suggest something like 7.2 -8.0 for example)

tarek
User avatar
tarek
 
Posts: 3762
Joined: 05 January 2006

Re: Specific difficulty rating SE sudoku puzzle generation

Postby tarek » Sat Aug 17, 2019 6:36 pm

The manipulation of this proved easy.

Tested a few interesting additional categories which could be of interest to some in a future release of Sukaku Explainer

Code: Select all
Superior (3.2 - 4.0): The idea is to require Triple(s) and/or X-wing(s) to solve
Superior+ (4.5 - 6.0): Skips Swordfish, XY-Wing and XYZ-Wing.
 Will require any of the techniques in the 4.5 - 6.0 range but
 may also require lesser echinques
AdvancedPalyer (7.0 - 8.0): Will require chains to solve
User avatar
tarek
 
Posts: 3762
Joined: 05 January 2006

re: Superior

Postby Pat » Sun Aug 18, 2019 12:01 pm

tarek wrote:
Superior (3.2 - 4.0):
require Triple or X-wing


  • some 2.5 may also qualify!
  • skip Swordfish
User avatar
Pat
 
Posts: 4056
Joined: 18 July 2005

Re: re: Superior

Postby tarek » Sun Aug 18, 2019 1:00 pm

Pat wrote:
tarek wrote:
Superior (3.2 - 4.0):
require Triple or X-wing


  • some 2.5 may also qualify!
  • skip Swordfish

That is correct but I’m trying to work around the current awkward SE rating system without changing much. Ranking the hidden triple for instance higher than a swordfish is unfortunate!

There are solutions that involve changing the Resolution rule hierarchy and ratings but that could be a step too far for SE fans!
User avatar
tarek
 
Posts: 3762
Joined: 05 January 2006

Re: Specific difficulty rating SE puzzle generation

Postby tarek » Fri Aug 23, 2019 5:27 am

I managed to find a workaround by specifying certain ratings to be included, excluded or not maximum rating. Superior would have swordfish excluded and hidden pair can’t be the maximum rating!
User avatar
tarek
 
Posts: 3762
Joined: 05 January 2006

re: Superior

Postby Pat » Fri Aug 23, 2019 7:07 am

tarek wrote:

    I managed to find a workaround
    by specifying certain ratings to be
      included,
      excluded
      or not maximum rating.
Superior
would have swordfish excluded
and hidden pair can’t be the maximum rating!

i should've said it more clearly --
some 2.5-3.0 may also qualify
User avatar
Pat
 
Posts: 4056
Joined: 18 July 2005

Re: Specific difficulty rating SE puzzle generation

Postby tarek » Fri Aug 23, 2019 10:55 am

Yes but with the current SE setup that is the best I can do. So currently, it will produce a puzzle with a rating between 3.2 and 4.0
It will not have a swordfish nor will the maximum rating be 3.4

The options available are:
Code: Select all
category name
Minimum difficulty
Maximum difficulty
Specific technique difficulty that must be included x3
Specific technique difficulty that must be excluded x3
Specific technique difficulty that can’t be Maximum difficulty x3
User avatar
tarek
 
Posts: 3762
Joined: 05 January 2006

Postby Pat » Mon Aug 26, 2019 11:07 am


    cute trick

      disable 2.5 (to solve the 2.5-3.0 issue)
      as you disabled 3.8 (to solve the 3.8-4.0 issue)
    remaining issues (which cannot be handled by this trick) --
    • some 3.2 should be rejected
    • some 3.4 should be accepted
User avatar
Pat
 
Posts: 4056
Joined: 18 July 2005

Re: Specific difficulty rating SE puzzle generation

Postby tarek » Thu Aug 29, 2019 12:16 am

with direct hidden triple upgraded to 3.1 and naked double demoted to 3.0 , I've got superior now as a single range 3.1-3.8

Image
User avatar
tarek
 
Posts: 3762
Joined: 05 January 2006

Postby Pat » Thu Aug 29, 2019 12:59 pm

tarek wrote:with direct hidden triple upgraded to 3.1
and naked double demoted to 3.0,
I've got superior now as a single range 3.1-3.8


you probably mean,
Hidden Pair demoted (from 3.4)

and the range is
3.1-4.0
( if you've disabled Swordfish )
User avatar
Pat
 
Posts: 4056
Joined: 18 July 2005

Re: Specific difficulty rating SE puzzle generation

Postby tarek » Thu Aug 29, 2019 1:11 pm

Thanks Pat,

Yes that was mistake.

The experimental rating changes are as follows:
Code: Select all
1.6: Naked single//2.3 ---> 1.6
1.7: Direct Pointing
1.9: Direct Claiming
2.0: Direct Hidden Pair
2.6: Pointing
2.8: Claiming
2.9: Hidden pair//3.4 ---> 2.9
3.0: Naked pair//3.0 ---> 3.1 ---> 3.0
3.1: Direct Hidden Triplet//2.5 ---> 3.0 ---> 3.1   
3.2: X-Wing
3.6, 3.8, 4.0: Naked triplet, Hidden triplet, Swordfish//3.8 ---> 4.0 4.0 ---> 3.8
4.2, 4.4: XY-Wing, XYZ-Wing
4.5 - 5.0: Unique Rectangles and Loops
5.0, 5.2, 5.4: Naked quad, Hidden quad, Jellyfish//5.2 ---> 5.4 5.4 ---> 5.2

I tried to keep track of what changes I made at the end of each line, hence the confusion
I promoted the Naked Pair then demoted it again.
Anyway,
with superior techniques from 3.1-3.8 only minimum difficulty and maximum difficulty are now needed.

tarek
User avatar
tarek
 
Posts: 3762
Joined: 05 January 2006

Postby Pat » Thu Aug 29, 2019 1:23 pm

right, swapping 3.8 with 4.0 solves the Swordfish issue.

( my comment about disabling Swordfish
was in the context of earlier discussion,
where the ratings were still fixed
)
User avatar
Pat
 
Posts: 4056
Joined: 18 July 2005

Re: Specific difficulty rating SE puzzle generation

Postby tarek » Thu Aug 29, 2019 6:11 pm

I can control category now using:
The options available are:
Code: Select all
category name
Minimum difficulty
Maximum difficulty
Specific technique difficulty that must be included x3
Specific technique difficulty that must be excluded x3
Specific technique difficulty that can’t be Maximum difficulty x3
Specific technique name that must be included x3
Specific technique name that must be excluded x3
Specific technique name that can’t be Maximum difficulty technique x3
User avatar
tarek
 
Posts: 3762
Joined: 05 January 2006


Return to Help with puzzles and solving techniques