from babregen.review.gate import seal
print(seal.__name__)seal
Draw the planted proposals and commit to everything by salted hashes.
Checks that the second agent argues for the assigned verdict everywhere, draws vocab.drawn_count survivors with the random source of the operating system, and writes sealed/key.toml, sealed/shown.toml (for a drawn survivor the second agent’s text, else the first agent’s) and seal.toml. The two proposal files are written again with a salt each, so every sealed file has its own.
| Name | Type | Description |
|---|---|---|
| tuple[int, int] | tuple[int, int]: The number of survivors and of drawn ones. No more is printed. |
| Name | Type | Description |
|---|---|---|
ConfigurationError |
If a file is missing or the session is sealed already. | |
| Failed | If a proposal file is wrong or second.toml does not argue for the assigned verdict. |