Skip to content
View hangingahaw's full-sized avatar

Block or report hangingahaw

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
hangingahaw/README.md

Hawthorn mark

Haihang Wang

Lawyer in San Francisco.

I practice law and write about law, technology, and what comes next. Outside my legal practice, I explore how software and artificial intelligence can improve legal research, document quality, and professional workflows.

Website | LinkedIn | X

Side projects and interests

SanctionBench is an open, evidence-traceable benchmark for legal citation verification and pre-filing document audit. It asks whether an AI system can catch a hallucinated legal authority before it reaches a court without calling a real case fake. Version 1.0.0 includes 152 citation items arranged as 76 matched fake and real pairs, plus 10 whole-document scenarios covering 196 authorities.

Repository | Leaderboard | Scoring | Submission guide | Release 1.0.0

Legal text tools

I maintain a small collection of open-source side projects for legal text quality:

Layer Projects Purpose
Rules lexstyle and lexstyle-llm-client Shared typography rules and a multi-provider client for legal text tools
Deterministic correction smartquotify Converts straight quotation marks to typographically correct smart quotation marks
Context-aware correction redashify, bluebookify, punctify, and recapify Corrects dashes, citation formatting, punctuation, and capitalization
Review redlinefy Shows before-and-after changes as redline markup

Tennis

I follow professional tennis and maintain the Carlos Alcaraz Project, a live record of matches, statistics, and the developing Alcaraz era.

Writing

I publish notes and essays at haihang.me.


Views expressed here are my own and do not represent those of my employer.

Pinned Loading

  1. SanctionBench SanctionBench Public

    An evidence-traceable benchmark for catching hallucinated legal authorities without accusing real ones

    Python 1