Skip to content

Main content

Consent Lottery Eligibility Mask Tool

Build a supplied-flag eligibility mask; no lottery draw, consent authority or entitlement decision is made.

Loading tool…

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

  1. Enter consented, withdrawn, allowed. Keep parallel arrays aligned. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. 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 fieldMeaning and unitsAccepted input
consentedConsentedRequired. Array of boolean; maximum items 256.
withdrawnWithdrawnRequired. Array of boolean; maximum items 256.
allowedAllowedRequired. Array of boolean; maximum items 256.
Output fieldInterpretationReturned shape
eligibleEligibleRequired. Array of boolean; maximum items 256.
indicesIndicesRequired. Array of safe integer; maximum items 256.
json
{
  "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

  1. Calculation and input contract: ethics/consent-lottery-eligibility-mask — tool.io

Similar or alternative tools