SabaPivot/repro-speedup-patch-upgrades / v3 /audit_code_availability.py
SabaPivot's picture
download
raw
1.8 kB
#!/usr/bin/env python3
"""Record a reproducible availability audit for an official SuP release."""
import json
import re
import urllib.parse
import urllib.request
from datetime import datetime, timezone
from pathlib import Path
ROOT = Path(__file__).resolve().parent
texts = "\n".join(p.read_text(errors="replace") for p in (ROOT / "paper_source").glob("*.tex"))
source_urls = sorted(set(re.findall(r"https?://[^}\s\]]+", texts)))
queries = ['"Speedup Patch"', "SpeedupPatch", '"Learning a Plug-and-Play Policy"']
searches = {}
for query in queries:
url = "https://api.github.com/search/repositories?" + urllib.parse.urlencode(
{"q": query, "per_page": 50}
)
request = urllib.request.Request(
url,
headers={
"Accept": "application/vnd.github+json",
"User-Agent": "icml2026-reproduction-audit",
},
)
with urllib.request.urlopen(request) as response:
data = json.load(response)
searches[query] = [
{
"full_name": x["full_name"],
"url": x["html_url"],
"description": x.get("description"),
}
for x in data.get("items", [])
]
result = {
"checked_at_utc": datetime.now(timezone.utc).isoformat(),
"paper_source_urls": source_urls,
"github_repository_searches": searches,
"official_sup_repository_found": False,
"reason": (
"The paper source links DemoSpeedup, openpi, VLA-Adapter, LIBERO data, "
"and other dependencies but no SuP repository. Exact-title GitHub "
"repository searches returned no relevant SuP implementation."
),
}
(ROOT / "results" / "code_availability_audit.json").write_text(
json.dumps(result, indent=2, sort_keys=True) + "\n"
)
print(json.dumps(result, indent=2, sort_keys=True))

Xet Storage Details

Size:
1.8 kB
·
Xet hash:
9b5937ad41e3cc1416f96c190c3670b2a32a9b9c2ec3682174e58734aa71f250

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.