Description
Return each conjunction consented AND not withdrawn AND allowed and its zero-based indexes.
Consent, disclosure, duties and exceptions can be represented as records and flags. A consistency check describes those representations; it cannot independently establish valid consent, a justified exception or satisfaction of a real obligation.
Return each conjunction consented AND not withdrawn AND allowed and its zero-based indexes.
When to use this tool
Use Consent Lottery Eligibility Mask when you need a literal ethical-policy record or eligibility diagnostic.
How to use the tool and how it works
- Enter consented, withdrawn, allowed. Keep parallel arrays aligned. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read eligible, indices. Use the output convention below.
Require aligned consented, withdrawn and allowed flags. Return each conjunction consented AND not withdrawn AND allowed and its zero-based indexes.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| consented | Consented | Required. Array of boolean; maximum items 256. |
| withdrawn | Withdrawn | Required. Array of boolean; maximum items 256. |
| allowed | Allowed | Required. Array of boolean; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| eligible | Eligible | Required. Array of boolean; maximum items 256. |
| indices | Indices | Required. Array of safe integer; maximum items 256. |
{
"input": {
"consented": [
true,
true,
false
],
"withdrawn": [
false,
true,
false
],
"allowed": [
true,
true,
true
]
},
"output": {
"eligible": [
true,
false,
false
],
"indices": [
0
]
}
} Limitations and assumptions
- This is an eligibility mask, not a lottery draw or proof of valid consent, fair selection or legal authorization.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
Alternative or Complementary methods
Review source evidence, applicable rules and affected people's choices through the appropriate process. Authenticate permissions and evaluate substantive reasons separately from token membership and boolean flags.
References
Similar or alternative tools
- Consent Revocation Forward Use Boundary
Compare useEpoch with revocationEpoch strictly or inclusively according to inclusive.
- Decision Reversibility Tag Tool
Tag an explicitly assessed decision reversibility state. The cost is a caller-defined amount and must be zero when no reversal exists.