Commit baca42f
test(kuhn): guard sampling-distribution normalization (#53)
Asserts sampling_distribution sums to ~1 across Kuhn infosets. Fails on
the pre-#57 code (Z ≈ 1.04 for J|Bet), where the per-edge smoothing
pseudocount and curiosity floor left the distribution unnormalized;
passes with the normalized sampling. Locks in the #53 fix.
Co-authored-by: andyafter <3354145+andyafter@users.noreply.github.com>1 parent 624e4fb commit baca42f
1 file changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
159 | 176 | | |
160 | 177 | | |
161 | 178 | | |
| |||
0 commit comments