diff options
| author | YurenHao0426 <Blackhao0426@gmail.com> | 2026-07-22 15:25:23 -0500 |
|---|---|---|
| committer | YurenHao0426 <Blackhao0426@gmail.com> | 2026-07-22 15:25:23 -0500 |
| commit | 5c0ea6ebd0a399a72c238ad626bfa6dff807079b (patch) | |
| tree | a1cedb17a7b18e4ebe945c0a468e044db8f0c700 /experiments | |
| parent | c409db1772a5a6119d900f67b2e20d37e2b6dccb (diff) | |
audit: manifest tracking failure figure sources
Diffstat (limited to 'experiments')
| -rw-r--r-- | experiments/plot_tracking_failure.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/experiments/plot_tracking_failure.py b/experiments/plot_tracking_failure.py index 1ca888c..7f273eb 100644 --- a/experiments/plot_tracking_failure.py +++ b/experiments/plot_tracking_failure.py @@ -144,6 +144,8 @@ def main(): facecolor="white") plt.close(fig) output = { + "script": os.path.relpath(__file__), + "script_sha256": sha256(__file__), "record": args.record, "record_sha256": sha256(args.record), "gate": args.gate, @@ -153,6 +155,11 @@ def main(): "pdf": pdf, "pdf_sha256": sha256(pdf), } + manifest = args.out + "_manifest.json" + output["manifest"] = manifest + with open(manifest, "w") as handle: + json.dump(output, handle, indent=2, sort_keys=True) + handle.write("\n") print(json.dumps(output, indent=2, sort_keys=True)) |
