A SHA-256 over the canonical serialization. Any edit to any definition, rule, or example changes the hash; the hash is recorded in locked protocols and reports, which is what makes "we used codebook v1.2" verifiable rather than aspirational.
Arguments
- x
A
codebook().
Examples
cb <- codebook("tone", "one sentence", list(
cb_category("positive", "Approving or hopeful."),
cb_category("negative", "Critical or alarmed.")))
codebook_hash(cb)