Skip to content

Main content

Disclosure Scope Difference Size Tool

Calculate disclosure scope difference size from explicit caller-supplied inputs.

Loading tool…

Description

Count distinct required tokens absent from disclosed and distinct disclosed tokens absent from required.

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.

Count distinct required tokens absent from disclosed and distinct disclosed tokens absent from required.

When to use this tool

Use Disclosure Scope Difference Size when you need a literal ethical-policy record or eligibility diagnostic.

How to use the tool and how it works

  1. Enter required, disclosed. 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 missing, extra. Use the output convention below.

Count distinct required tokens absent from disclosed and distinct disclosed tokens absent from required.1

Input fieldMeaning and unitsAccepted input
requiredRequiredRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
disclosedDisclosedRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
Output fieldInterpretationReturned shape
missingMissingRequired. Safe integer.
extraExtraRequired. Safe integer.
json
{
  "input": {
    "required": [
      "a",
      "b"
    ],
    "disclosed": [
      "b",
      "c"
    ]
  },
  "output": {
    "missing": 1,
    "extra": 1
  }
}

Limitations and assumptions

  • Duplicates do not increase either count. Disclosure content, truth, sufficiency, privacy obligations and actual communication are not verified.
  • 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/disclosure-scope-difference-size — tool.io

Similar or alternative tools