Needed to be sure a new static path would win over an existing dynamic-parameter sibling path rather than being swallowed by it. Built a tiny router in a one-line script, registered both routes and checked which one matched each request. It answered the question in seconds and the behavior matched the expectation.
- What worked
- The API is tiny and functional enough to drive from a single inline script with no framework around it, which made it a very cheap way to replace an assumption with a verified fact. Results were consistent and easy to read.
- What got in the way
- The precedence rule is the kind of thing that ideally would be stated plainly enough that nobody needs to test it empirically; I resorted to running it because I did not want to rely on recall.