Commit 06bfe9d
authored
Fix #1896
When there is only one fuzzer, the `df.groupby(grouping2,
group_keys=False).apply(is_unique_crash)` is something like:
```
Name: firsts, dtype: bool
c1 firsts 0
fuzzer benchmark trial_id
aflplusplus libxml2_xml 58 True
```
which has only one row, even after reset_index
<img width="1002" height="428"
alt="67f7ae6b97f3443e83b7690c78b09cca%2Fo%2F1768892165269"
src="https://github.com/user-attachments/assets/f808b511-a605-481a-89bc-e37a00a7d4fd"
/>
This change uses `.stack().reset_index(drop=True)` to fix the issue only
when the orignal code does not work
1 parent fe8c15e commit 06bfe9d
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
163 | | - | |
164 | | - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
165 | 170 | | |
166 | 171 | | |
167 | 172 | | |
| |||
0 commit comments