Description
Count distinct reference IDs found in premiseIds and return every unresolved reference occurrence in order.
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 reference IDs found in premiseIds and return every unresolved reference occurrence in order.
When to use this tool
Use Argument Premise Reference Count when you need a literal ethical-policy record or eligibility diagnostic.
How to use the tool and how it works
- Enter premiseIds, references. 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 distinctReferencedPremises, unresolvedReferences. Use the output convention below.
Count distinct reference IDs found in premiseIds and return every unresolved reference occurrence in order.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| premiseIds | Premise Ids | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| references | References | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| distinctReferencedPremises | Distinct Referenced Premises | Required. Safe integer. |
| unresolvedReferences | Unresolved References | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
{
"input": {
"premiseIds": [
"P1",
"P2"
],
"references": [
"P1",
"P1",
"P3"
]
},
"output": {
"distinctReferencedPremises": 1,
"unresolvedReferences": [
"P3"
]
}
} Limitations and assumptions
- Resolved references are deduplicated while unresolved duplicates remain. Membership does not establish premise truth, argument validity or source quality.
- 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
- Claim Evidence Link Degree
Count occurrences of claim in linkedClaims by exact string equality.
- Disclosure Scope Difference Size
Count distinct required tokens absent from disclosed and distinct disclosed tokens absent from required.