domino14 / macondo

A crossword board game AI, written in Go
https://domino14.github.io/macondo
GNU General Public License v3.0
48 stars 10 forks source link

serious endgame bug! #309

Closed domino14 closed 8 months ago

domino14 commented 8 months ago

https://woogles.io/game/ysmaZNz4

plies 4, maxtime 0, threads 6

   A B C D E F G H I J K L M N O                    Johannes           421
   ------------------------------    ->              BestBot  ACEHMRS  381
 1|=     '       =       '     F |
 2|  M O H R " T Ü t E       - A |   Bag + unseen: (4)
 3|    -   O B I   '       -   L |
 4|J   D - U     Z     H A U E T |   E E I I
 5|A   I   T Ö N U N G e N   S   |
 6|B Ä N K E "   T   "       C   |
 7|S   G       ' U '       ' H   |
 8|=     '       N     K R E N G |
 9|    '   D U P S '     E X E   |
10|  "   W O "       Q I S   N   |   Turn 23:
11|      E S           -         |   Johannes played 2G TÜtE for 12 pts from a
12|'     M I     M       -     ' |   rack of ?EEIITÜ
13|    -   E R L A U F E N D     |
14|  -     R "   T   "     R -   |
15|E L E V E     T       D Y N S |
   ------------------------------

macondo> {"level":"info","num-elems":536870912,"desired-num-elems":1050124480,"estimated-total-memory-bytes":8589934592,"mem-limit":67207966720,"reset":true,"time":"2023-12-18T22:20:09-05:00","message":"transposition-table-size"}
{"level":"info","threads":6,"time":"2023-12-18T22:20:09-05:00","message":"using-lazy-smp"}
{"level":"info","plies":2,"time":"2023-12-18T22:20:09-05:00","message":"deepening-iteratively"}
{"level":"info","spread":52,"ply":2,"pv":"PV; val 92; 1:  B8 MASCHER (84); ","time":"2023-12-18T22:20:09-05:00","message":"best-val"}
{"level":"info","plies":3,"time":"2023-12-18T22:20:09-05:00","message":"deepening-iteratively"}
{"level":"info","spread":52,"ply":3,"pv":"PV; val 92; 1:  B8 MASCHER (84); ","time":"2023-12-18T22:20:09-05:00","message":"best-val"}
{"level":"info","plies":4,"time":"2023-12-18T22:20:09-05:00","message":"deepening-iteratively"}
{"level":"info","spread":52,"ply":4,"pv":"PV; val 92; 1:  B8 MASCHER (84); ","time":"2023-12-18T22:20:09-05:00","message":"best-val"}
{"level":"info","ttable-created":73582,"ttable-lookups":302105,"ttable-hits":53989,"ttable-t2collisions":5,"time-elapsed-sec":0.58220271,"time":"2023-12-18T22:20:09-05:00","message":"solve-returning"}
Best sequence has a spread difference of 92
Final spread after seq: 52
Best sequence:
1)  B8 MASCHER (84)

It finds the out-bingo but it should be B8 MASCHER. (with the L at the end, making MASCHERL).

Bot tries to submit the move to liwords, which rejects it:

{
    "level": "error",
    "error": "your play must border a tile already on the board",
    "time": "2023-12-13T23:11:28Z",
    "message": "bot-cant-move-play-error"
}
domino14 commented 8 months ago

The first bad commit could be any of: 662d28125aaad74f634f376435f3cbcb4fd7015a e9d825708f6fb9367203a3c8a7d48e59fb89499c