{ "changed": [ { "file": "f1447/retrievability.py", "line": 102, "new": "not-a-write", "old": "unguarded", "text": "print(json.dumps({k: res[k] for k in (\"n_return_authored_versions\", \"n_retrievable\"," }, { "file": "f1447/retrievability.py", "line": 108, "new": "not-a-write", "old": "unguarded", "text": "print(json.dumps([{k: x[k] for k in (\"path\", \"version\", \"return_id\", \"content_sha\", \"got_sha\"," }, { "file": "f1447/reverse-audit.py", "line": 179, "new": "guarded", "old": "unguarded", "text": "json.dump(listing, open(listing_file, \"w\", encoding=\"utf-8\", newline=\"\\n\")," }, { "file": "f1447/reverse-audit.py", "line": 182, "new": "not-a-write", "old": "unguarded", "text": "print(json.dumps({\"n_paths\": len(paths), \"paths\": paths[:20]}, indent=1))" }, { "file": "f1447/reverse-audit.py", "line": 255, "new": "not-a-write", "old": "unguarded", "text": "print(json.dumps({" }, { "file": "f1447/served-bytes-control.py", "line": 62, "new": "not-a-write", "old": "unguarded", "text": "print(json.dumps(out, indent=1, ensure_ascii=False))" }, { "file": "f1453/apply-check.py", "line": 164, "new": "not-a-write", "old": "unguarded", "text": "print(json.dumps({k: res[k] for k in (\"population\", \"n_reconstructible\", \"n_applies_forward\"," }, { "file": "f1453/apply-check.py", "line": 168, "new": "not-a-write", "old": "unguarded", "text": "print(json.dumps(control, indent=1, ensure_ascii=False))" }, { "file": "f1453/apply-diagnose.py", "line": 96, "new": "not-a-write", "old": "unguarded", "text": "print(json.dumps({\"n_refusing\": len(refusing), \"causes\": res[\"causes\"]}, indent=1))" }, { "file": "f1453/patch-sha-probe.py", "line": 91, "new": "not-a-write", "old": "unguarded", "text": "print(json.dumps({k: v for k, v in res.items() if k != \"rows\"}, indent=1, ensure_ascii=False))" }, { "file": "f1453/rebase-list.py", "line": 182, "new": "not-a-write", "old": "unguarded", "text": "print(json.dumps({" }, { "file": "f1453/reverse-audit.py", "line": 179, "new": "guarded", "old": "unguarded", "text": "json.dump(listing, open(listing_file, \"w\", encoding=\"utf-8\", newline=\"\\n\")," }, { "file": "f1453/reverse-audit.py", "line": 182, "new": "not-a-write", "old": "unguarded", "text": "print(json.dumps({\"n_paths\": len(paths), \"paths\": paths[:20]}, indent=1))" }, { "file": "f1453/reverse-audit.py", "line": 255, "new": "not-a-write", "old": "unguarded", "text": "print(json.dumps({" }, { "file": "f1455/cross-tab.py", "line": 75, "new": "not-a-write", "old": "unguarded", "text": "print(json.dumps({k: v for k, v in res.items() if k != \"rows\"}, indent=1, sort_keys=True))" }, { "file": "f1455/patch-sha-probe.py", "line": 91, "new": "not-a-write", "old": "unguarded", "text": "print(json.dumps({k: v for k, v in res.items() if k != \"rows\"}, indent=1, ensure_ascii=False))" }, { "file": "f1455/patch-sha-probe2.py", "line": 138, "new": "not-a-write", "old": "unguarded", "text": "print(json.dumps({k: v for k, v in res.items() if k not in (\"rows\", \"controls\")}," }, { "file": "f1455/patch-sha-probe2.py", "line": 140, "new": "not-a-write", "old": "unguarded", "text": "print(\"CONTROL:\", json.dumps(controls, indent=1)[:900])" }, { "file": "f1455/patch-sha-probe3.py", "line": 144, "new": "not-a-write", "old": "unguarded", "text": "print(json.dumps({k: v for k, v in res.items() if k != \"rows\"}, indent=1, sort_keys=True))" }, { "file": "f1541/accepted-text-published.py", "line": 254, "new": "routed", "old": null, "text": "write_dated(a.out, out, observed_at=out[\"at\"]," }, { "file": "f1541/accepted-text-published.py", "line": 263, "new": "routed", "old": null, "text": "write_dated(a.out, out, observed_at=out[\"at\"]," }, { "file": "f1541/census-selftest.py", "line": 123, "new": "not-a-write", "old": "unguarded", "text": "json.dumps({k: sorted(v) for k, v in drift.items()} |" }, { "file": "f1541/census-selftest.py", "line": 167, "new": "not-a-write", "old": "unguarded", "text": "pr = json.loads(json.dumps(projs))" }, { "file": "f1541/census-selftest.py", "line": 186, "new": "not-a-write", "old": "unguarded", "text": "pr = json.loads(json.dumps(m[\"projections\"]))" }, { "file": "f1541/census-selftest.py", "line": 200, "new": "not-a-write", "old": "unguarded", "text": "pr = json.loads(json.dumps(projs))" }, { "file": "f1541/census.py", "line": 638, "new": "routed", "old": null, "text": "write_dated(state_path, {" }, { "file": "f1541/census.py", "line": 728, "new": "not-a-write", "old": "guarded", "text": "print(\" STATUS MOVED return %d: %s\" % (i, json.dumps(" }, { "file": "f1541/census.py", "line": 732, "new": "not-a-write", "old": "guarded", "text": "print(\" ACCEPTED TEXT MOVED return %d: %s\" % (i, json.dumps(" }, { "file": "f1541/census.py", "line": 752, "new": "not-a-write", "old": "guarded", "text": "% (json.dumps(ks[\"per_kind\"], sort_keys=True), ks[\"union\"], ks[\"narrowed_by_kind\"]," }, { "file": "f1541/census.py", "line": 758, "new": "not-a-write", "old": "guarded", "text": "print(json.dumps({k: v for k, v in out.items() if k not in (\"controls\",)}, indent=1," }, { "file": "f1541/census.py", "line": 767, "new": "not-a-write", "old": "guarded", "text": "print(\"PUBLICATION: %s\" % json.dumps(pub[\"summary\"], sort_keys=True))" }, { "file": "f1541/census.py", "line": 773, "new": "routed", "old": null, "text": "write_dated(a.json, {k: v for k, v in out.items() if k != \"controls\"})" }, { "file": "f1549/boundary.py", "line": 66, "new": "routed", "old": null, "text": "sahdated.write(os.path.join(RUN, \"transcript_boundary.json\"), rec," }, { "file": "f1549/producers-probe.py", "line": 52, "new": null, "old": "guarded", "text": "\" fh.write(json.dumps(record))\\n\")" }, { "file": "f1549/producers-probe.py", "line": 101, "new": null, "old": "guarded", "text": "if \"json.dumps(\" in text or \"json.dump(\" in text:" }, { "file": "f1549/producers-probe.py", "line": 139, "new": "routed", "old": null, "text": "sahdated.write(os.path.join(HERE, \"producers-probe.json\"), out," }, { "file": "f1549/producers-probe.py", "line": 141, "new": "not-a-write", "old": "guarded", "text": "print(json.dumps(out[\"registered_predictions\"], indent=1))" }, { "file": "f1549/producers-probe.py", "line": 142, "new": "not-a-write", "old": "guarded", "text": "print(\"real population:\", json.dumps(realrep[\"counts\"])," }, { "file": "f1549/records-probe.py", "line": 184, "new": "routed", "old": null, "text": "sahdated.write(os.path.join(HERE, \"records-probe.json\"), out," }, { "file": "f1549/records-probe.py", "line": 187, "new": "not-a-write", "old": "guarded", "text": "print(json.dumps({\"SCOPE CONTROL FAILED\": empty_roots}, indent=1))" }, { "file": "f1549/records-probe.py", "line": 189, "new": "not-a-write", "old": "guarded", "text": "print(json.dumps({k: out[k] for k in (\"json_records\", \"dated\", \"undated\", \"unreadable\"," }, { "file": "f1549/records-probe.py", "line": 193, "new": "not-a-write", "old": "guarded", "text": "print(\"dated by field:\", json.dumps(out[\"by_field\"]))" }, { "file": "f1549/site-census.py", "line": 3, "new": null, "old": "guarded", "text": "`producers` matches a LINE containing `json.dumps(`/`json.dump(` and reports it as a write site. Its" }, { "file": "f1549/site-census.py", "line": 9, "new": null, "old": "guarded", "text": "deep copy (no write) `json.loads(json.dumps(x))` -- a round-trip through JSON to clone a value" }, { "file": "f1549/site-census.py", "line": 10, "new": null, "old": "guarded", "text": "stdout print (no write) `print(json.dumps(x))` -- output to the terminal" }, { "file": "f1549/site-census.py", "line": 71, "new": "routed", "old": null, "text": "sahdated.write(os.path.join(HERE, \"site-census.json\"), out," }, { "file": "f1549/site-census.py", "line": 77, "new": "not-a-write", "old": "guarded", "text": "print(\" by kind:\", json.dumps(d[\"by_kind\"]))" }, { "file": "f1549/verify-producers-probe.py", "line": 142, "new": null, "old": "guarded", "text": "tampered[\"a_plain.py\"] = tampered[\"a_plain.py\"].replace(\"json.dumps(record)\"," }, { "file": "f1549/verify-producers-probe.py", "line": 172, "new": "not-a-write", "old": "guarded", "text": "print(json.dumps(out, indent=1, sort_keys=True))" } ], "files": 21, "new": "sahdated/1.1.2", "new_counts": { "exempt": 0, "guarded": 5, "not-a-write": 33, "routed": 8, "unguarded": 28, "unreadable": 0 }, "old": "sahdated/1.1.1", "old_counts": { "exempt": 0, "guarded": 21, "unguarded": 51, "unreadable": 0 } }