diff --git a/garak/analyze/perf_stats.py b/garak/analyze/perf_stats.py index 86822516d..b81d1ca99 100644 --- a/garak/analyze/perf_stats.py +++ b/garak/analyze/perf_stats.py @@ -55,4 +55,4 @@ def build_score_dict(filenames): input_filenames = glob(sys.argv[1]) distribution_dict = build_score_dict(input_filenames) - print(json.dumps(distribution_dict)) + print(json.dumps(distribution_dict, indent=2, sort_keys=True))