from babregen.review.gate import status
print(status.__name__)status
Where a gate directory stands, and what blocks the next step.
The stage is found from gate.toml, seal.toml, the rating files, the page files and verdicts.toml, from whether the files of sealed/ with fixed names exist, and from git. Nothing below sealed/ is read, and the sealed files are not hashed: existence only, so “changed since the seal” is reported by page and intake. The reason is the text that page raises in the same state. The number of drawn mutants is reported from the second stage on, as the pages do.
| Name | Type | Description |
|---|---|---|
| ReviewStatus | ReviewStatus | The stage (a word of vocab.GATE_STATUS), the next step (a word of vocab.GATE_STEPS), the reason, the version that started the directory, the number of survivors, the drawn mutants, whether the next evidence file is committed and whether the seal is pushed. |
| Name | Type | Description |
|---|---|---|
ConfigurationError |
If the directory is not a gate directory. | |
| Failed | If gate.toml or seal.toml fails its format. |