spec.Alternative

spec.Alternative(option, rejected_because)

A rejected option of a decision, kept because negative knowledge is the most fragile.

Attributes

Name Type Description
option str What was considered.
rejected_because str Why it lost.

Examples

from spotregen import Alternative

alternative = Alternative(option="use floats", rejected_because="rounding surprises")
print(alternative.option)
use floats