Commit cfb6ab6
Remove hollow unit test, strengthen e2e with semantic checks
The unit test only verified that a Python if/else branches correctly —
it was a copy of the production logic, not a test of it. Replace with
a stronger e2e assertion: raw_logprobs must be <= 0 (log_softmax
guarantee), and the two modes must produce different values.
Co-authored-by: Federico Kamelhar <209537060+fede-kamel@users.noreply.github.com>
Co-authored-by: Allen Shen <aoshen@inferact.ai>
Signed-off-by: Allen Shen <aoshen@inferact.ai>1 parent 84809b3 commit cfb6ab6
2 files changed
Lines changed: 8 additions & 40 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
| 189 | + | |
189 | 190 | | |
190 | 191 | | |
191 | 192 | | |
| |||
201 | 202 | | |
202 | 203 | | |
203 | 204 | | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
204 | 211 | | |
205 | 212 | | |
206 | 213 | | |
0 commit comments