Skip to content
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 error handling for empty node_results to base.py. #942

Merged

Conversation

erickgalinkin
Copy link
Collaborator

Fix #941 -- add error handling to computation of mean_score to avoid division by zero errors.

@erickgalinkin erickgalinkin self-assigned this Oct 7, 2024
@erickgalinkin erickgalinkin linked an issue Oct 7, 2024 that may be closed by this pull request
@leondz
Copy link
Collaborator

leondz commented Oct 7, 2024

Lgtm, thx

@erickgalinkin erickgalinkin merged commit df5268b into main Oct 7, 2024
10 checks passed
@erickgalinkin erickgalinkin deleted the 941-zerodivisionerror-in-garakharnessesprobewisepy branch October 7, 2024 21:15
@github-actions github-actions bot locked and limited conversation to collaborators Oct 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ZeroDivisionError in garak/harnesses/probewise.py
2 participants