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
- Enter required, disclosed. 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 missing, extra. Use the output convention below.
Count distinct required tokens absent from disclosed and distinct disclosed tokens absent from required.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| required | Required | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| disclosed | Disclosed | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| missing | Missing | Required. Safe integer. |
| extra | Extra | Required. Safe integer. |
{
"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
Similar or alternative tools
- Justification Exception Scope Overlap
Deduplicate requested tokens.
- Argument Premise Reference Count
Count distinct reference IDs found in premiseIds and return every unresolved reference occurrence in order.