Commit 0ba67d7
Fix failure case handling to match original behavior
Convert failure rows to dict records format before reshaping, so each
failing row becomes a single failure case (a dict of column values)
rather than having each cell become a separate failure case.
This matches the original run_check behavior and ensures n_failure_cases
correctly limits the number of failure cases reported.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: Deepyaman Datta <deepyaman.datta@utexas.edu>1 parent 89ba452 commit 0ba67d7
1 file changed
Lines changed: 22 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| 201 | + | |
| 202 | + | |
201 | 203 | | |
202 | 204 | | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
203 | 211 | | |
204 | 212 | | |
205 | 213 | | |
| |||
234 | 242 | | |
235 | 243 | | |
236 | 244 | | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
| 245 | + | |
242 | 246 | | |
243 | | - | |
| 247 | + | |
244 | 248 | | |
245 | | - | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
246 | 261 | | |
247 | 262 | | |
248 | 263 | | |
| |||
0 commit comments