Skip to main content

Module policy

Module policy 

Source
Expand description

The judge’s configuration as one hash: the policy a VSA names.

Functions§

judge_config_sha256
sha256 over the canonical JSON of what decides a verdict: speccoder’s version, the judge’s sections, the model (provider and name only) and the signer. Comments, prices and key-variable names do not change it.
judge_config_sha256_as
judge_config_sha256 as speccoder version computed it: a verifier recomputes a tick’s with the version that made the tick, never its own (else no release could verify an earlier one’s evidence).