Compare commits
2 Commits
7b24391b7b
...
cbe3c7a9b3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cbe3c7a9b3 | ||
|
|
8e4b98eba4 |
@@ -294,8 +294,8 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"def guess_row(guess) -> Tuple[Word, int, float, int]:\n",
|
||||
" \"\"\"A tuple of a (guess word, nuber of guaranteed wins, expected wins, maximum bin size).\"\"\"\n",
|
||||
"def guess_row(guess) -> Tuple[Word, int, float]:\n",
|
||||
" \"\"\"A tuple of a (guess word, number of guaranteed wins, expected wins).\"\"\"\n",
|
||||
" B = bins([guess], words)\n",
|
||||
" return (guess, sum(len(bin) == 1 for bin in B), sum(1 / len(bin) for bin in B))\n",
|
||||
"\n",
|
||||
|
||||
Reference in New Issue
Block a user