buggnubg - Bugs: bug #40475, Saved cube decision position is...


bug #40475: Saved cube decision position is flipped after deeper evaluation and save

Submitter:  Tom Martin <tom_martin>
Submitted:  Mon 04 Nov 2013 08:24:36 PM UTC
Originator Name:  Tom Martin Item Group:  * Other bug
Category:  * Loading and saving of SGF files Release:  * 1.06
Privacy:  Public Operating System:  * All
Severity:  3 - Normal Open/Closed:  Open
Assigned to:  None Priority:  5 - Normal
Status:  Confirmed
* Mandatory Fields

Add a New Comment Rich Markup

Jump to the original submission

Tue 27 Oct 2020 10:32:39 PM UTC, comment #6: 

I understand the problem now (not sure what I was thinking seven years ago...). The initial eval changes the player on roll.

After that, the save and reload in the initial report or the second eval in the last comment refresh the moves list and make the issue more visible than the change of the arrow indicating who is on roll, but at this point the moves list is already corrupted.

Philippe Michel <plm>
Group administrator
Tue 27 Oct 2020 08:37:56 AM UTC, comment #5: 

I believe I encountered the same bug as this one. I wanted to attach a file to demonstrate it.

Open the file, click on the double decision, then click twice on the 0-ply eval (or any eval). You'll see at the top that the double goes into the gnubg column, and at the bottom that the eval value changes dramatically.

(file #50127)

Isaac Keslassy <pif>
Group Member
Wed 22 Jan 2014 03:51:47 AM UTC, comment #4: 

Just to clarify why doing a rollout BEFORE saving a position is often undesirable, if you've missed a double and want to pose the position as a cube decision, you must first remove the dice and substitute a double.  Since this destroys the rollout information you must save it first and then do a rollout, but this no longer works properly.

Tom Martin <tom_martin>
Mon 13 Jan 2014 12:08:36 PM UTC, comment #3: 

Here's something interesting - the bug affects EVERY position where I've doubled but NONE of the positions where GNUBG doubles.  Anyway, here are the workarounds for this. 

For your take decisions, save the bot's double decision; you can later roll this out without any complications.

For your doubles or bad bot take decisions, save the GAME.  When you later roll it out, it will work fine and you can then save the position.

And naturally you can always roll the decision out BEFORE doing any saving, although this isn't always desirable.

Tom Martin <tom_martin>
Tue 19 Nov 2013 01:10:56 AM UTC, comment #2: 

Were my emails enough to clarify the problem?  Here's the short version:

I can reproduce this problem most simply by saving ANY position where I've doubled and then opening it and clicking the evaluate button for any level (or do a rollout).  When you then save it and reopen it the wrong player is shown on move (with the weaker position doubling) with the game record agreeing with this oddity.  When you then click on the double, "unknown cube decision" appears.

Tom Martin <tom_martin>
Thu 14 Nov 2013 09:41:39 PM UTC, comment #1: 

I can't reproduce this. Are the checkers upside down or is the wrong player on roll ? What do you mean by evaluate ? Is it using the Hint button (that's what I did), or Analyse|Evaluate, or Analyse|Analyse match or session ?

Could you attach the sgf files (evaluated and non-evaluated).

Philippe Michel <plm>
Group administrator
Mon 04 Nov 2013 08:24:36 PM UTC, original submission:  

Save a cube decision as a position.  Open it, evaluate it as 4-ply, then save it.  Open it again and the position has been "flipped" (and not in a way that has any kind of workaround).

Tom Martin <tom_martin>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #50127:  test2.sgf added by pif (3KiB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by pif (Updated the item)
  • -email is unavailable- added by plm (Posted a comment)
  • -email is unavailable- added by tom_martin (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-10-27 plm Release1.01-Release 1.06
        Operating SystemWindows XP All
        StatusNeed Info Confirmed
    2020-10-27 pif Attached File- Added test2.sgf, #50127
    2013-11-14 plm StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code