-
Notifications
You must be signed in to change notification settings - Fork 769
reporting: script to check report integrity #1523
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
base: main
Are you sure you want to change the base?
Conversation
erickgalinkin
left a comment
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.
Mostly looks good. A couple of fixes needed to make it actually run and a few value fixes.
| if _is_dev_version(garak_version): | ||
| add_note( | ||
| f"report generated under development garak version {garak_version}, implementation will depend on branch+commit" | ||
| ) |
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.
Not me triggering this constantly.
|
NB. add documentation to match pattern in #1569 |
Co-authored-by: Erick Galinkin <erick.galinkin@gmail.com> Signed-off-by: Leon Derczynski <leonderczynski@gmail.com>
Co-authored-by: Erick Galinkin <erick.galinkin@gmail.com> Signed-off-by: Leon Derczynski <leonderczynski@gmail.com>
Co-authored-by: Erick Galinkin <erick.galinkin@gmail.com> Signed-off-by: Leon Derczynski <leonderczynski@gmail.com>
Co-authored-by: Erick Galinkin <erick.galinkin@gmail.com> Signed-off-by: Leon Derczynski <leonderczynski@gmail.com>
Conduct a variety of checks and tests to assess the integrity of a garak
report.jsonlfileThis helps us identify where a report may be broken, deficient, or incorrectly assembled
Inventory of tests:
probe_specmatches probes present in attemptspassed+nonesis not more thantotalreponses graded inevalentries