Spec change map
- Their work
- PDD Kit is a research prototype in which AI coding assistants write Rust code and proofs that the Verus verifier checks. Its authors published the contract for its login function twice: in a Microsoft Research post, and on the GitHub Next page with three clauses corrected.
- My work
- I compared the two published contracts. For each of 18 login situations, the map shows which HTTP responses each version allows, which clause removed a response, and which functions that clause takes on trust.
Take a login with the right password, where the account lookup and the token signing both work. The Microsoft Research listing allows a token or an HTTP 500 error. The GitHub Next listing allows only a token. The correction removes the HTTP 500 from 5 of the 18 situations and adds no response anywhere.
Limits: The comparison is a finite model of the two printed listings: 162 modelled logins in 18 situations. Nobody ran the app, and the map does not show whether the code meets either listing.