Menu

We wrote a verifier from the spec alone: 47 of 48 matched, and the spec disagreed with itself
📰

We wrote a verifier from the spec alone: 47 of 48 matched, and the spec disagreed with itself

DEV Community: go·holistis·3 days ago
#lEipdJnc
#devtogo#devto#dev#spec#maintainer
Long article (1884 words) — no AI summary yet.
Reading 0:00
15s threshold

The 48th test case, the one that did not match, is called auth-expiry-wins-over-expires-at . Our verifier answered AUTH_SIGNATURE_INVALID. The corpus value for that case is EXPIRED, which the spec maps to AUTH_EXPIRED. Both answers follow from the OxDeAI spec at commit e288167, from different sections.

We wrote the verifier in Go from the spec alone. It matched the expected verdict and determining code in 47 of the 48 cases. This post is about the 48th, about what the OxDeAI maintainer did with it in public, and about a gap of our own that we found while comparing our gap entries with the register. It is our own work and we are not neutral about it, so we state the limits before we describe the run.

What issue 426 asked for

Issue 426 in the OxDeAI repository sets the task. It pins the spec at e288167, lists the files an implementer may read and the paths to leave alone, and asks for a table per corpus of test vectors: case id, verdict, determining code, step, match or mismatch.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.