yarn install
yarn test # the validator's own tests
yarn validate # every example in examples/
node scripts/validate-examples.js my.json # one response
node scripts/validate-examples.js --chain rounds/ # an ordered chain of rounds
The validator checks the JSON Schema and the rules a schema cannot express. Those rules are marked [V] in the spec:
- the verdict agrees with the findings;
- the attempt budget is respected;
- a
still-open,regressedorcarriedid is consistent across a chain.