-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add passing list of results as option to analyser class #79
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for adding the test and formatting the files
a2ebb30
to
9e1d990
Compare
""" | ||
num_passages = [] | ||
responses = [] | ||
for result in self._data: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in the saved responses mode, the execution summary is stored using the function in https://github.com/castorini/rank_llm/blob/main/src/rank_llm/result.py#L38
It is decoupled from the result. That's why the for loop is implemented the way it is in lines 24-30
6355fbe
to
0c49504
Compare
ref: #77