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

rename default output dir to garak_runs/; #488

Merged
merged 1 commit into from
Feb 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -164,5 +164,6 @@ garak.*.jsonl
garak.log
hitlog.*.jsonl
.vscode
garak_runs/
runs/
logs/
logs/
1 change: 0 additions & 1 deletion garak/_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ class TransientConfig(GarakSubConfig):
plugins.detectors = {}
plugins.buffs = {}
plugins.harnesses = {}
reporting.report_dir = "runs"
reporting.taxonomy = None # set here to enable report_digest to be called directly


Expand Down
2 changes: 1 addition & 1 deletion garak/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def list_config():
print("_config:")
_enumerate_obj_values(_config)

for section in "system transient run plugins".split():
for section in "system transient run plugins reporting".split():
print(f"{section}:")
_enumerate_obj_values(getattr(_config, section))

Expand Down
1 change: 1 addition & 0 deletions garak/resources/garak.core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ plugins:
reporting:
report_prefix:
taxonomy:
report_dir: garak_runs
Loading