Skip to content

Continue bug fix on the MIRACL#11

Merged
bpiwowar merged 2 commits intoexperimaestro:masterfrom
yzong12138:master
Dec 18, 2025
Merged

Continue bug fix on the MIRACL#11
bpiwowar merged 2 commits intoexperimaestro:masterfrom
yzong12138:master

Conversation

@yzong12138
Copy link
Copy Markdown
Contributor

@yzong12138 yzong12138 commented Dec 18, 2025

Sorry I add a new bug fix for the miracl dataset. Due to the def check(...) of the tuple_constructor, the list of the field must have the same order of the original field order of the original ir-dataset data class. So i we need to change the order from (..., text, title) to (..., title, text).

Meanwhile, the MIRACL dataset convert appear twice and I think one is enough. Currently I don't know which one should be kept. If we assume that everyone is using the latest version of ir-dataset, we can put them in the earlier code all together with the other classes. Otherwise it is also ok for me to test later the hasattr(_irds, "miracl"). If you prefer this, I can do another pull request.

Thanks in advance.

PS: DocumentWithTitle class seems to be exactly the same as the dataclass of TitleDocument so maybe we can only keep one, but I don't know which one is better and whether it will affect the others, so I didn't do anything for the moment.

@yzong12138
Copy link
Copy Markdown
Contributor Author

OK it seems that we still need the DocumentWithTitle but we need to inverse the order of the field in that.

@bpiwowar bpiwowar merged commit c03e471 into experimaestro:master Dec 18, 2025
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants