CoolFace
Apppublic

GodsDevProject/FOIA_Doc_Search

sourceHugging Facemitupdated 8mo agoView on Hugging Face
1likes
citations.py14 linesDownload Raw Back to root
1from datetime import datetime2 3def bluebook_exhibit(r, exhibit_no):4    return (5        f"Exhibit A-{exhibit_no}. {r['agency']}, "6        f"{r['title']}, FOIA Electronic Reading Room, "7        f"{r['url']} (retrieved {datetime.utcnow().strftime('%b %d, %Y')})."8    )9 10def table_of_authorities(results):11    return [12        f"Exhibit A-{i+1}: {r['agency']} — {r['title']}"13        for i, r in enumerate(results)14    ]