{
 "title": "How winnable is solitaire? Colouring Nest solver study",
 "made": "scripts/solitaire-study.mjs (run, retry, deep, summarize); raw per-deal lines in data/studies/solitaire-raw/",
 "codes": {
  "W": "won: the solver found a winning line, replayed through the game rules",
  "X": "proven unwinnable: a complete search ran out of positions",
  "E": "the pruned search ran out of positions (not a proof)",
  "U": "budget reached: not decided"
 },
 "meaning": "Won % is a lower bound on how many deals can be won with perfect play by a player who can see every card (our solver sees face-down cards). Proven unwinnable % is exact for those deals. The rest is undecided.",
 "modes": [
  {
   "mode": "klondike-1",
   "label": "Klondike, turn 1",
   "url": "/games/solitaire/",
   "game": "klondike",
   "variant": 1,
   "deals": {
    "first": 1,
    "last": 3000,
    "studied": 3000
   },
   "budget": {
    "positions": 120000,
    "retryPositions": 1200000,
    "searchIsComplete": false
   },
   "main": {
    "won": 2014,
    "provenUnwinnable": 0,
    "searchRanOut": 25,
    "budgetReached": 961,
    "wonPct": 67.13,
    "wonCI95": [
     65.43,
     68.79
    ],
    "provenUnwinnablePct": 0,
    "provenUnwinnableCI95": [
     0,
     0.128
    ],
    "undecidedPct": 32.87
   },
   "retry": {
    "tried": 200,
    "won": 52,
    "provenUnwinnable": 0,
    "stillUndecided": 148
   },
   "final": {
    "note": "main pass plus the second look and any deep run; deals not given a second look keep their main result",
    "won": 2066,
    "provenUnwinnable": 0,
    "undecided": 934,
    "wonPct": 68.87,
    "wonCI95": [
     67.19,
     70.5
    ],
    "provenUnwinnablePct": 0,
    "provenUnwinnableCI95": [
     0,
     0.128
    ],
    "undecidedPct": 31.13,
    "winnableAtMostPct": 100
   },
   "winningLine": {
    "note": "moves in the winning line our solver found (stock turns and moves to the foundations included); not the shortest possible",
    "median": 130,
    "p10": 119,
    "p90": 146,
    "min": 102,
    "max": 193,
    "histogram": [
     {
      "from": 100,
      "to": 124,
      "deals": 579
     },
     {
      "from": 125,
      "to": 149,
      "deals": 1305
     },
     {
      "from": 150,
      "to": 174,
      "deals": 120
     },
     {
      "from": 175,
      "to": 199,
      "deals": 10
     }
    ]
   },
   "effort": {
    "note": "positions the solver expanded (budget-limited deals count at the budget)",
    "medianWon": 155.5,
    "p90Won": 20276,
    "medianAll": 1974,
    "hardestWon": [
     {
      "deal": 1663,
      "positions": 119856,
      "moves": 126
     },
     {
      "deal": 892,
      "positions": 118845,
      "moves": 121
     },
     {
      "deal": 2354,
      "positions": 117516,
      "moves": 122
     },
     {
      "deal": 1196,
      "positions": 115581,
      "moves": 142
     },
     {
      "deal": 2238,
      "positions": 115149,
      "moves": 133
     }
    ],
    "quickestProvenUnwinnable": []
   }
  },
  {
   "mode": "klondike-3",
   "label": "Klondike, turn 3",
   "url": "/games/solitaire-turn-3/",
   "game": "klondike",
   "variant": 3,
   "deals": {
    "first": 1,
    "last": 3000,
    "studied": 3000
   },
   "budget": {
    "positions": 120000,
    "retryPositions": 1200000,
    "searchIsComplete": false
   },
   "main": {
    "won": 1879,
    "provenUnwinnable": 0,
    "searchRanOut": 258,
    "budgetReached": 863,
    "wonPct": 62.63,
    "wonCI95": [
     60.89,
     64.35
    ],
    "provenUnwinnablePct": 0,
    "provenUnwinnableCI95": [
     0,
     0.128
    ],
    "undecidedPct": 37.37
   },
   "retry": {
    "tried": 200,
    "won": 49,
    "provenUnwinnable": 0,
    "stillUndecided": 151
   },
   "final": {
    "note": "main pass plus the second look and any deep run; deals not given a second look keep their main result",
    "won": 1928,
    "provenUnwinnable": 0,
    "undecided": 1072,
    "wonPct": 64.27,
    "wonCI95": [
     62.53,
     65.96
    ],
    "provenUnwinnablePct": 0,
    "provenUnwinnableCI95": [
     0,
     0.128
    ],
    "undecidedPct": 35.73,
    "winnableAtMostPct": 100
   },
   "winningLine": {
    "note": "moves in the winning line our solver found (stock turns and moves to the foundations included); not the shortest possible",
    "median": 122,
    "p10": 107,
    "p90": 141,
    "min": 92,
    "max": 174,
    "histogram": [
     {
      "from": 75,
      "to": 99,
      "deals": 29
     },
     {
      "from": 100,
      "to": 124,
      "deals": 1055
     },
     {
      "from": 125,
      "to": 149,
      "deals": 743
     },
     {
      "from": 150,
      "to": 174,
      "deals": 52
     }
    ]
   },
   "effort": {
    "note": "positions the solver expanded (budget-limited deals count at the budget)",
    "medianWon": 895,
    "p90Won": 34071,
    "medianAll": 5733.5,
    "hardestWon": [
     {
      "deal": 1496,
      "positions": 118434,
      "moves": 138
     },
     {
      "deal": 137,
      "positions": 118361,
      "moves": 120
     },
     {
      "deal": 646,
      "positions": 117466,
      "moves": 118
     },
     {
      "deal": 887,
      "positions": 114899,
      "moves": 134
     },
     {
      "deal": 2132,
      "positions": 114522,
      "moves": 131
     }
    ],
    "quickestProvenUnwinnable": []
   }
  },
  {
   "mode": "freecell",
   "label": "FreeCell (deals 1–32,000)",
   "url": "/games/freecell/",
   "game": "freecell",
   "variant": null,
   "deals": {
    "first": 1,
    "last": 32000,
    "studied": 32000
   },
   "budget": {
    "positions": 250000,
    "retryPositions": 1000000,
    "searchIsComplete": true
   },
   "main": {
    "won": 31996,
    "provenUnwinnable": 1,
    "searchRanOut": 0,
    "budgetReached": 3,
    "wonPct": 99.987,
    "wonCI95": [
     99.968,
     99.995
    ],
    "provenUnwinnablePct": 0.003,
    "provenUnwinnableCI95": [
     0.001,
     0.018
    ],
    "undecidedPct": 0.009
   },
   "retry": {
    "tried": 3,
    "won": 3,
    "provenUnwinnable": 0,
    "stillUndecided": 0
   },
   "final": {
    "note": "main pass plus the second look and any deep run; deals not given a second look keep their main result",
    "won": 31999,
    "provenUnwinnable": 1,
    "undecided": 0,
    "wonPct": 99.997,
    "wonCI95": [
     99.982,
     99.999
    ],
    "provenUnwinnablePct": 0.003,
    "provenUnwinnableCI95": [
     0.001,
     0.018
    ],
    "undecidedPct": 0,
    "winnableAtMostPct": 99.997
   },
   "winningLine": {
    "note": "moves in the winning line our solver found (stock turns and moves to the foundations included); not the shortest possible",
    "median": 101,
    "p10": 87,
    "p90": 118,
    "min": 69,
    "max": 178,
    "histogram": [
     {
      "from": 60,
      "to": 69,
      "deals": 2
     },
     {
      "from": 70,
      "to": 79,
      "deals": 505
     },
     {
      "from": 80,
      "to": 89,
      "deals": 4103
     },
     {
      "from": 90,
      "to": 99,
      "deals": 9675
     },
     {
      "from": 100,
      "to": 109,
      "deals": 9737
     },
     {
      "from": 110,
      "to": 119,
      "deals": 5422
     },
     {
      "from": 120,
      "to": 129,
      "deals": 1910
     },
     {
      "from": 130,
      "to": 139,
      "deals": 503
     },
     {
      "from": 140,
      "to": 149,
      "deals": 115
     },
     {
      "from": 150,
      "to": 159,
      "deals": 18
     },
     {
      "from": 160,
      "to": 169,
      "deals": 3
     },
     {
      "from": 170,
      "to": 179,
      "deals": 3
     }
    ]
   },
   "effort": {
    "note": "positions the solver expanded (budget-limited deals count at the budget)",
    "medianWon": 207,
    "p90Won": 2736,
    "medianAll": 207,
    "hardestWon": [
     {
      "deal": 18618,
      "positions": 615849,
      "moves": 136
     },
     {
      "deal": 30761,
      "positions": 581333,
      "moves": 140
     },
     {
      "deal": 4374,
      "positions": 560750,
      "moves": 133
     },
     {
      "deal": 30382,
      "positions": 536941,
      "moves": 120
     },
     {
      "deal": 11230,
      "positions": 505474,
      "moves": 108
     }
    ],
    "quickestProvenUnwinnable": [
     {
      "deal": 11982,
      "positions": 61643
     }
    ]
   },
   "notWon": [
    {
     "deal": 11982,
     "main": "X",
     "final": "X"
    },
    {
     "deal": 13996,
     "main": "U",
     "final": "W"
    },
    {
     "deal": 21554,
     "main": "U",
     "final": "W"
    },
    {
     "deal": 26927,
     "main": "U",
     "final": "W"
    }
   ]
  },
  {
   "mode": "spider-1",
   "label": "Spider, 1 suit",
   "url": "/games/spider-solitaire/",
   "game": "spider",
   "variant": 1,
   "deals": {
    "first": 1,
    "last": 3000,
    "studied": 3000
   },
   "budget": {
    "positions": 40000,
    "retryPositions": 400000,
    "searchIsComplete": false
   },
   "main": {
    "won": 2449,
    "provenUnwinnable": 0,
    "searchRanOut": 0,
    "budgetReached": 551,
    "wonPct": 81.63,
    "wonCI95": [
     80.21,
     82.98
    ],
    "provenUnwinnablePct": 0,
    "provenUnwinnableCI95": [
     0,
     0.128
    ],
    "undecidedPct": 18.37
   },
   "retry": {
    "tried": 60,
    "won": 52,
    "provenUnwinnable": 0,
    "stillUndecided": 8
   },
   "final": {
    "note": "main pass plus the second look and any deep run; deals not given a second look keep their main result",
    "won": 2501,
    "provenUnwinnable": 0,
    "undecided": 499,
    "wonPct": 83.37,
    "wonCI95": [
     81.99,
     84.66
    ],
    "provenUnwinnablePct": 0,
    "provenUnwinnableCI95": [
     0,
     0.128
    ],
    "undecidedPct": 16.63,
    "winnableAtMostPct": 100
   },
   "winningLine": {
    "note": "moves in the winning line our solver found (stock turns and moves to the foundations included); not the shortest possible",
    "median": 112,
    "p10": 106,
    "p90": 119,
    "min": 95,
    "max": 136,
    "histogram": [
     {
      "from": 75,
      "to": 99,
      "deals": 20
     },
     {
      "from": 100,
      "to": 124,
      "deals": 2414
     },
     {
      "from": 125,
      "to": 149,
      "deals": 15
     }
    ]
   },
   "effort": {
    "note": "positions the solver expanded (budget-limited deals count at the budget)",
    "medianWon": 2722,
    "p90Won": 21665,
    "medianAll": 4977.5,
    "hardestWon": [
     {
      "deal": 2424,
      "positions": 39852,
      "moves": 121
     },
     {
      "deal": 2067,
      "positions": 39728,
      "moves": 118
     },
     {
      "deal": 186,
      "positions": 39681,
      "moves": 112
     },
     {
      "deal": 1262,
      "positions": 39673,
      "moves": 126
     },
     {
      "deal": 332,
      "positions": 39648,
      "moves": 109
     }
    ],
    "quickestProvenUnwinnable": []
   }
  },
  {
   "mode": "spider-2",
   "label": "Spider, 2 suits",
   "url": "/games/spider-solitaire/",
   "game": "spider",
   "variant": 2,
   "deals": {
    "first": 1,
    "last": 2000,
    "studied": 2000
   },
   "budget": {
    "positions": 60000,
    "retryPositions": 400000,
    "searchIsComplete": false
   },
   "main": {
    "won": 1482,
    "provenUnwinnable": 0,
    "searchRanOut": 0,
    "budgetReached": 518,
    "wonPct": 74.1,
    "wonCI95": [
     72.14,
     75.97
    ],
    "provenUnwinnablePct": 0,
    "provenUnwinnableCI95": [
     0,
     0.192
    ],
    "undecidedPct": 25.9
   },
   "retry": {
    "tried": 60,
    "won": 27,
    "provenUnwinnable": 0,
    "stillUndecided": 33
   },
   "final": {
    "note": "main pass plus the second look and any deep run; deals not given a second look keep their main result",
    "won": 1509,
    "provenUnwinnable": 0,
    "undecided": 491,
    "wonPct": 75.45,
    "wonCI95": [
     73.52,
     77.29
    ],
    "provenUnwinnablePct": 0,
    "provenUnwinnableCI95": [
     0,
     0.192
    ],
    "undecidedPct": 24.55,
    "winnableAtMostPct": 100
   },
   "winningLine": {
    "note": "moves in the winning line our solver found (stock turns and moves to the foundations included); not the shortest possible",
    "median": 156,
    "p10": 140,
    "p90": 175,
    "min": 119,
    "max": 219,
    "histogram": [
     {
      "from": 100,
      "to": 124,
      "deals": 3
     },
     {
      "from": 125,
      "to": 149,
      "deals": 470
     },
     {
      "from": 150,
      "to": 174,
      "deals": 854
     },
     {
      "from": 175,
      "to": 199,
      "deals": 144
     },
     {
      "from": 200,
      "to": 224,
      "deals": 11
     }
    ]
   },
   "effort": {
    "note": "positions the solver expanded (budget-limited deals count at the budget)",
    "medianWon": 5079.5,
    "p90Won": 30696,
    "medianAll": 9573.5,
    "hardestWon": [
     {
      "deal": 694,
      "positions": 59924,
      "moves": 177
     },
     {
      "deal": 826,
      "positions": 59666,
      "moves": 150
     },
     {
      "deal": 1342,
      "positions": 59581,
      "moves": 171
     },
     {
      "deal": 359,
      "positions": 59441,
      "moves": 157
     },
     {
      "deal": 538,
      "positions": 59347,
      "moves": 168
     }
    ],
    "quickestProvenUnwinnable": []
   }
  },
  {
   "mode": "spider-4",
   "label": "Spider, 4 suits",
   "url": "/games/spider-solitaire/",
   "game": "spider",
   "variant": 4,
   "deals": {
    "first": 1,
    "last": 400,
    "studied": 400
   },
   "budget": {
    "positions": 120000,
    "retryPositions": 400000,
    "searchIsComplete": false
   },
   "main": {
    "won": 109,
    "provenUnwinnable": 0,
    "searchRanOut": 0,
    "budgetReached": 291,
    "wonPct": 27.25,
    "wonCI95": [
     23.12,
     31.81
    ],
    "provenUnwinnablePct": 0,
    "provenUnwinnableCI95": [
     0,
     0.951
    ],
    "undecidedPct": 72.75
   },
   "retry": {
    "tried": 30,
    "won": 6,
    "provenUnwinnable": 0,
    "stillUndecided": 24
   },
   "final": {
    "note": "main pass plus the second look and any deep run; deals not given a second look keep their main result",
    "won": 115,
    "provenUnwinnable": 0,
    "undecided": 285,
    "wonPct": 28.75,
    "wonCI95": [
     24.53,
     33.37
    ],
    "provenUnwinnablePct": 0,
    "provenUnwinnableCI95": [
     0,
     0.951
    ],
    "undecidedPct": 71.25,
    "winnableAtMostPct": 100
   },
   "winningLine": {
    "note": "moves in the winning line our solver found (stock turns and moves to the foundations included); not the shortest possible",
    "median": 234,
    "p10": 201,
    "p90": 264,
    "min": 175,
    "max": 342,
    "histogram": [
     {
      "from": 175,
      "to": 199,
      "deals": 11
     },
     {
      "from": 200,
      "to": 224,
      "deals": 30
     },
     {
      "from": 225,
      "to": 249,
      "deals": 36
     },
     {
      "from": 250,
      "to": 274,
      "deals": 25
     },
     {
      "from": 275,
      "to": 299,
      "deals": 5
     },
     {
      "from": 300,
      "to": 324,
      "deals": 1
     },
     {
      "from": 325,
      "to": 349,
      "deals": 1
     }
    ]
   },
   "effort": {
    "note": "positions the solver expanded (budget-limited deals count at the budget)",
    "medianWon": 33479,
    "p90Won": 96548,
    "medianAll": 120000,
    "hardestWon": [
     {
      "deal": 68,
      "positions": 116974,
      "moves": 303
     },
     {
      "deal": 178,
      "positions": 115820,
      "moves": 219
     },
     {
      "deal": 91,
      "positions": 115715,
      "moves": 247
     },
     {
      "deal": 261,
      "positions": 108777,
      "moves": 253
     },
     {
      "deal": 71,
      "positions": 107936,
      "moves": 234
     }
    ],
    "quickestProvenUnwinnable": []
   }
  },
  {
   "mode": "pyramid",
   "label": "Pyramid (3 passes)",
   "url": "/games/pyramid-solitaire/",
   "game": "pyramid",
   "variant": null,
   "deals": {
    "first": 1,
    "last": 3000,
    "studied": 3000
   },
   "budget": {
    "positions": 300000,
    "retryPositions": 3000000,
    "searchIsComplete": true
   },
   "main": {
    "won": 1847,
    "provenUnwinnable": 196,
    "searchRanOut": 0,
    "budgetReached": 957,
    "wonPct": 61.57,
    "wonCI95": [
     59.81,
     63.29
    ],
    "provenUnwinnablePct": 6.53,
    "provenUnwinnableCI95": [
     5.7,
     7.47
    ],
    "undecidedPct": 31.9
   },
   "retry": {
    "tried": 200,
    "won": 38,
    "provenUnwinnable": 112,
    "stillUndecided": 50
   },
   "estimate": {
    "note": "rough: main-pass wins plus the undecided deals split as the second-look sample split; interval from that sample only",
    "wonPct": 67.6,
    "wonRange": [
     66.1,
     69.5
    ],
    "provenUnwinnablePct": 24.4,
    "provenRange": [
     22.2,
     26.5
    ],
    "sample": 200
   },
   "final": {
    "note": "main pass plus the second look and any deep run; deals not given a second look keep their main result",
    "won": 1885,
    "provenUnwinnable": 308,
    "undecided": 807,
    "wonPct": 62.83,
    "wonCI95": [
     61.09,
     64.55
    ],
    "provenUnwinnablePct": 10.27,
    "provenUnwinnableCI95": [
     9.23,
     11.4
    ],
    "undecidedPct": 26.9,
    "winnableAtMostPct": 89.73
   },
   "winningLine": {
    "note": "moves in the winning line our solver found (stock turns and moves to the foundations included); not the shortest possible",
    "median": 70,
    "p10": 59,
    "p90": 77,
    "min": 33,
    "max": 87,
    "histogram": [
     {
      "from": 30,
      "to": 39,
      "deals": 2
     },
     {
      "from": 40,
      "to": 49,
      "deals": 22
     },
     {
      "from": 50,
      "to": 59,
      "deals": 194
     },
     {
      "from": 60,
      "to": 69,
      "deals": 704
     },
     {
      "from": 70,
      "to": 79,
      "deals": 875
     },
     {
      "from": 80,
      "to": 89,
      "deals": 50
     }
    ]
   },
   "effort": {
    "note": "positions the solver expanded (budget-limited deals count at the budget)",
    "medianWon": 131,
    "p90Won": 46889,
    "medianAll": 10878,
    "hardestWon": [
     {
      "deal": 2490,
      "positions": 290150,
      "moves": 65
     },
     {
      "deal": 1589,
      "positions": 289313,
      "moves": 80
     },
     {
      "deal": 2861,
      "positions": 288099,
      "moves": 73
     },
     {
      "deal": 1661,
      "positions": 287615,
      "moves": 72
     },
     {
      "deal": 940,
      "positions": 285287,
      "moves": 70
     }
    ],
    "quickestProvenUnwinnable": [
     {
      "deal": 235,
      "positions": 969
     },
     {
      "deal": 681,
      "positions": 3941
     },
     {
      "deal": 1645,
      "positions": 4252
     }
    ]
   }
  },
  {
   "mode": "golf",
   "label": "Golf",
   "url": "/games/golf-solitaire/",
   "game": "golf",
   "variant": null,
   "deals": {
    "first": 1,
    "last": 5000,
    "studied": 5000
   },
   "budget": {
    "positions": 300000,
    "retryPositions": 3000000,
    "searchIsComplete": true
   },
   "main": {
    "won": 1288,
    "provenUnwinnable": 499,
    "searchRanOut": 0,
    "budgetReached": 3213,
    "wonPct": 25.76,
    "wonCI95": [
     24.57,
     26.99
    ],
    "provenUnwinnablePct": 9.98,
    "provenUnwinnableCI95": [
     9.18,
     10.84
    ],
    "undecidedPct": 64.26
   },
   "retry": {
    "tried": 3213,
    "won": 956,
    "provenUnwinnable": 2144,
    "stillUndecided": 113
   },
   "deep": {
    "budget": 30000000,
    "tried": 113,
    "won": 10,
    "provenUnwinnable": 103
   },
   "final": {
    "note": "main pass plus the second look and any deep run; deals not given a second look keep their main result",
    "won": 2254,
    "provenUnwinnable": 2746,
    "undecided": 0,
    "wonPct": 45.08,
    "wonCI95": [
     43.71,
     46.46
    ],
    "provenUnwinnablePct": 54.92,
    "provenUnwinnableCI95": [
     53.54,
     56.29
    ],
    "undecidedPct": 0,
    "winnableAtMostPct": 45.08
   },
   "winningLine": {
    "note": "moves in the winning line our solver found (stock turns and moves to the foundations included); not the shortest possible",
    "median": 51,
    "p10": 49,
    "p90": 51,
    "min": 44,
    "max": 51,
    "histogram": [
     {
      "from": 40,
      "to": 49,
      "deals": 268
     },
     {
      "from": 50,
      "to": 59,
      "deals": 1020
     }
    ]
   },
   "effort": {
    "note": "positions the solver expanded (budget-limited deals count at the budget)",
    "medianWon": 56366.5,
    "p90Won": 231982,
    "medianAll": 300000,
    "hardestWon": [
     {
      "deal": 1865,
      "positions": 299444,
      "moves": 50
     },
     {
      "deal": 1790,
      "positions": 299418,
      "moves": 51
     },
     {
      "deal": 3244,
      "positions": 299110,
      "moves": 51
     },
     {
      "deal": 1169,
      "positions": 299098,
      "moves": 51
     },
     {
      "deal": 1712,
      "positions": 298717,
      "moves": 49
     }
    ],
    "quickestProvenUnwinnable": [
     {
      "deal": 3294,
      "positions": 76
     },
     {
      "deal": 4135,
      "positions": 962
     },
     {
      "deal": 3382,
      "positions": 1481
     }
    ]
   }
  },
  {
   "mode": "yukon",
   "label": "Yukon",
   "url": "/games/yukon-solitaire/",
   "game": "yukon",
   "variant": null,
   "deals": {
    "first": 1,
    "last": 3000,
    "studied": 3000
   },
   "budget": {
    "positions": 60000,
    "retryPositions": 600000,
    "searchIsComplete": true
   },
   "main": {
    "won": 1994,
    "provenUnwinnable": 86,
    "searchRanOut": 0,
    "budgetReached": 920,
    "wonPct": 66.47,
    "wonCI95": [
     64.76,
     68.13
    ],
    "provenUnwinnablePct": 2.87,
    "provenUnwinnableCI95": [
     2.33,
     3.53
    ],
    "undecidedPct": 30.67
   },
   "retry": {
    "tried": 150,
    "won": 49,
    "provenUnwinnable": 7,
    "stillUndecided": 94
   },
   "estimate": {
    "note": "rough: main-pass wins plus the undecided deals split as the second-look sample split; interval from that sample only",
    "wonPct": 76.5,
    "wonRange": [
     74.3,
     78.9
    ],
    "provenUnwinnablePct": 4.3,
    "provenRange": [
     3.6,
     5.7
    ],
    "sample": 150
   },
   "final": {
    "note": "main pass plus the second look and any deep run; deals not given a second look keep their main result",
    "won": 2043,
    "provenUnwinnable": 93,
    "undecided": 864,
    "wonPct": 68.1,
    "wonCI95": [
     66.41,
     69.74
    ],
    "provenUnwinnablePct": 3.1,
    "provenUnwinnableCI95": [
     2.54,
     3.78
    ],
    "undecidedPct": 28.8,
    "winnableAtMostPct": 96.9
   },
   "winningLine": {
    "note": "moves in the winning line our solver found (stock turns and moves to the foundations included); not the shortest possible",
    "median": 94,
    "p10": 88,
    "p90": 100,
    "min": 76,
    "max": 110,
    "histogram": [
     {
      "from": 75,
      "to": 99,
      "deals": 1745
     },
     {
      "from": 100,
      "to": 124,
      "deals": 249
     }
    ]
   },
   "effort": {
    "note": "positions the solver expanded (budget-limited deals count at the budget)",
    "medianWon": 97,
    "p90Won": 12995,
    "medianAll": 978,
    "hardestWon": [
     {
      "deal": 2691,
      "positions": 59652,
      "moves": 95
     },
     {
      "deal": 1214,
      "positions": 59044,
      "moves": 97
     },
     {
      "deal": 2114,
      "positions": 58902,
      "moves": 97
     },
     {
      "deal": 511,
      "positions": 58624,
      "moves": 97
     },
     {
      "deal": 2017,
      "positions": 57949,
      "moves": 93
     }
    ],
    "quickestProvenUnwinnable": [
     {
      "deal": 1675,
      "positions": 2
     },
     {
      "deal": 1763,
      "positions": 4
     },
     {
      "deal": 910,
      "positions": 14
     }
    ]
   }
  },
  {
   "mode": "scorpion",
   "label": "Scorpion",
   "url": "/games/scorpion-solitaire/",
   "game": "scorpion",
   "variant": null,
   "deals": {
    "first": 1,
    "last": 3000,
    "studied": 3000
   },
   "budget": {
    "positions": 60000,
    "retryPositions": 600000,
    "searchIsComplete": true
   },
   "main": {
    "won": 373,
    "provenUnwinnable": 1447,
    "searchRanOut": 0,
    "budgetReached": 1180,
    "wonPct": 12.43,
    "wonCI95": [
     11.3,
     13.66
    ],
    "provenUnwinnablePct": 48.23,
    "provenUnwinnableCI95": [
     46.45,
     50.02
    ],
    "undecidedPct": 39.33
   },
   "retry": {
    "tried": 150,
    "won": 1,
    "provenUnwinnable": 94,
    "stillUndecided": 55
   },
   "estimate": {
    "note": "rough: main-pass wins plus the undecided deals split as the second-look sample split; interval from that sample only",
    "wonPct": 12.7,
    "wonRange": [
     12.5,
     13.9
    ],
    "provenUnwinnablePct": 72.9,
    "provenRange": [
     69.7,
     75.8
    ],
    "sample": 150
   },
   "final": {
    "note": "main pass plus the second look and any deep run; deals not given a second look keep their main result",
    "won": 374,
    "provenUnwinnable": 1541,
    "undecided": 1085,
    "wonPct": 12.47,
    "wonCI95": [
     11.33,
     13.7
    ],
    "provenUnwinnablePct": 51.37,
    "provenUnwinnableCI95": [
     49.58,
     53.15
    ],
    "undecidedPct": 36.17,
    "winnableAtMostPct": 48.63
   },
   "winningLine": {
    "note": "moves in the winning line our solver found (stock turns and moves to the foundations included); not the shortest possible",
    "median": 52,
    "p10": 50,
    "p90": 53,
    "min": 47,
    "max": 53,
    "histogram": [
     {
      "from": 25,
      "to": 49,
      "deals": 21
     },
     {
      "from": 50,
      "to": 74,
      "deals": 352
     }
    ]
   },
   "effort": {
    "note": "positions the solver expanded (budget-limited deals count at the budget)",
    "medianWon": 62,
    "p90Won": 4200,
    "medianAll": 26316,
    "hardestWon": [
     {
      "deal": 1155,
      "positions": 52354,
      "moves": 51
     },
     {
      "deal": 531,
      "positions": 48760,
      "moves": 52
     },
     {
      "deal": 346,
      "positions": 38905,
      "moves": 51
     },
     {
      "deal": 975,
      "positions": 38141,
      "moves": 52
     },
     {
      "deal": 1104,
      "positions": 36275,
      "moves": 51
     }
    ],
    "quickestProvenUnwinnable": [
     {
      "deal": 1151,
      "positions": 6
     },
     {
      "deal": 1829,
      "positions": 7
     },
     {
      "deal": 877,
      "positions": 14
     }
    ]
   }
  },
  {
   "mode": "forty-thieves",
   "label": "Forty Thieves",
   "url": "/games/forty-thieves-solitaire/",
   "game": "forty-thieves",
   "variant": null,
   "deals": {
    "first": 1,
    "last": 600,
    "studied": 600
   },
   "budget": {
    "positions": 80000,
    "retryPositions": 400000,
    "searchIsComplete": false
   },
   "main": {
    "won": 84,
    "provenUnwinnable": 0,
    "searchRanOut": 1,
    "budgetReached": 515,
    "wonPct": 14,
    "wonCI95": [
     11.45,
     17.01
    ],
    "provenUnwinnablePct": 0,
    "provenUnwinnableCI95": [
     0,
     0.636
    ],
    "undecidedPct": 86
   },
   "retry": {
    "tried": 30,
    "won": 0,
    "provenUnwinnable": 0,
    "stillUndecided": 30
   },
   "final": {
    "note": "main pass plus the second look and any deep run; deals not given a second look keep their main result",
    "won": 84,
    "provenUnwinnable": 0,
    "undecided": 516,
    "wonPct": 14,
    "wonCI95": [
     11.45,
     17.01
    ],
    "provenUnwinnablePct": 0,
    "provenUnwinnableCI95": [
     0,
     0.636
    ],
    "undecidedPct": 86,
    "winnableAtMostPct": 100
   },
   "winningLine": {
    "note": "moves in the winning line our solver found (stock turns and moves to the foundations included); not the shortest possible",
    "median": 228,
    "p10": 220,
    "p90": 236,
    "min": 215,
    "max": 243,
    "histogram": [
     {
      "from": 200,
      "to": 224,
      "deals": 26
     },
     {
      "from": 225,
      "to": 249,
      "deals": 58
     }
    ]
   },
   "effort": {
    "note": "positions the solver expanded (budget-limited deals count at the budget)",
    "medianWon": 849.5,
    "p90Won": 26919,
    "medianAll": 80000,
    "hardestWon": [
     {
      "deal": 173,
      "positions": 77768,
      "moves": 227
     },
     {
      "deal": 248,
      "positions": 76125,
      "moves": 235
     },
     {
      "deal": 551,
      "positions": 71179,
      "moves": 227
     },
     {
      "deal": 41,
      "positions": 62469,
      "moves": 220
     },
     {
      "deal": 11,
      "positions": 33301,
      "moves": 234
     }
    ],
    "quickestProvenUnwinnable": []
   }
  },
  {
   "mode": "canfield",
   "label": "Canfield (turn 3)",
   "url": "/games/canfield-solitaire/",
   "game": "canfield",
   "variant": null,
   "deals": {
    "first": 1,
    "last": 5000,
    "studied": 5000
   },
   "budget": {
    "positions": 60000,
    "retryPositions": 600000,
    "searchIsComplete": true
   },
   "main": {
    "won": 2868,
    "provenUnwinnable": 440,
    "searchRanOut": 0,
    "budgetReached": 1692,
    "wonPct": 57.36,
    "wonCI95": [
     55.98,
     58.72
    ],
    "provenUnwinnablePct": 8.8,
    "provenUnwinnableCI95": [
     8.05,
     9.62
    ],
    "undecidedPct": 33.84
   },
   "retry": {
    "tried": 150,
    "won": 60,
    "provenUnwinnable": 9,
    "stillUndecided": 81
   },
   "estimate": {
    "note": "rough: main-pass wins plus the undecided deals split as the second-look sample split; interval from that sample only",
    "wonPct": 70.9,
    "wonRange": [
     68.4,
     73.6
    ],
    "provenUnwinnablePct": 10.8,
    "provenRange": [
     9.9,
     12.5
    ],
    "sample": 150
   },
   "final": {
    "note": "main pass plus the second look and any deep run; deals not given a second look keep their main result",
    "won": 2928,
    "provenUnwinnable": 449,
    "undecided": 1623,
    "wonPct": 58.56,
    "wonCI95": [
     57.19,
     59.92
    ],
    "provenUnwinnablePct": 8.98,
    "provenUnwinnableCI95": [
     8.22,
     9.8
    ],
    "undecidedPct": 32.46,
    "winnableAtMostPct": 91.02
   },
   "winningLine": {
    "note": "moves in the winning line our solver found (stock turns and moves to the foundations included); not the shortest possible",
    "median": 171,
    "p10": 140,
    "p90": 210,
    "min": 109,
    "max": 476,
    "histogram": [
     {
      "from": 100,
      "to": 124,
      "deals": 54
     },
     {
      "from": 125,
      "to": 149,
      "deals": 500
     },
     {
      "from": 150,
      "to": 174,
      "deals": 1040
     },
     {
      "from": 175,
      "to": 199,
      "deals": 807
     },
     {
      "from": 200,
      "to": 224,
      "deals": 296
     },
     {
      "from": 225,
      "to": 249,
      "deals": 52
     },
     {
      "from": 250,
      "to": 274,
      "deals": 7
     },
     {
      "from": 275,
      "to": 299,
      "deals": 17
     },
     {
      "from": 300,
      "to": 324,
      "deals": 17
     },
     {
      "from": 325,
      "to": 349,
      "deals": 18
     },
     {
      "from": 350,
      "to": 374,
      "deals": 25
     },
     {
      "from": 375,
      "to": 399,
      "deals": 16
     },
     {
      "from": 400,
      "to": 424,
      "deals": 8
     },
     {
      "from": 425,
      "to": 449,
      "deals": 7
     },
     {
      "from": 450,
      "to": 474,
      "deals": 3
     },
     {
      "from": 475,
      "to": 499,
      "deals": 1
     }
    ]
   },
   "effort": {
    "note": "positions the solver expanded (budget-limited deals count at the budget)",
    "medianWon": 762.5,
    "p90Won": 22738,
    "medianAll": 5034,
    "hardestWon": [
     {
      "deal": 2661,
      "positions": 59990,
      "moves": 269
     },
     {
      "deal": 52,
      "positions": 59552,
      "moves": 177
     },
     {
      "deal": 2816,
      "positions": 59029,
      "moves": 164
     },
     {
      "deal": 625,
      "positions": 58984,
      "moves": 119
     },
     {
      "deal": 4132,
      "positions": 58950,
      "moves": 211
     }
    ],
    "quickestProvenUnwinnable": [
     {
      "deal": 242,
      "positions": 13
     },
     {
      "deal": 297,
      "positions": 13
     },
     {
      "deal": 340,
      "positions": 13
     }
    ]
   }
  }
 ],
 "pairs": [
  {
   "modes": [
    "klondike-1",
    "klondike-3"
   ],
   "deals": 3000,
   "both": 1624,
   "onlyFirst": 390,
   "onlySecond": 255,
   "neither": 731,
   "either": 2269,
   "eitherPct": 75.63,
   "eitherCI95": [
    74.07,
    77.14
   ]
  },
  {
   "modes": [
    "spider-1",
    "spider-2"
   ],
   "deals": 2000,
   "both": 1266,
   "onlyFirst": 367,
   "onlySecond": 216,
   "neither": 151,
   "either": 1849,
   "eitherPct": 92.45,
   "eitherCI95": [
    91.21,
    93.53
   ]
  },
  {
   "modes": [
    "spider-2",
    "spider-4"
   ],
   "deals": 400,
   "both": 93,
   "onlyFirst": 211,
   "onlySecond": 16,
   "neither": 80,
   "either": 320,
   "eitherPct": 80,
   "eitherCI95": [
    75.8,
    83.63
   ]
  }
 ]
}
