diff --git a/tools/llm_crash_test.py b/tools/llm_crash_test.py index d70768b..01794f0 100644 --- a/tools/llm_crash_test.py +++ b/tools/llm_crash_test.py @@ -269,7 +269,8 @@ def print_report(results: dict, mode: str): print(sep) # Export JSON - report_path = f"/tmp/crash_test_{mode}_{int(time.time())}.json" + RESULTS_PATH = os.getenv("CRASH_RESULTS_PATH", "/home/ubuntu/fallout-venice/src/config/crash_results.json") + report_path = RESULTS_PATH try: with open(report_path, "w") as f: json.dump({"mode": mode, "results": results,