Description
Count distinct available protocol options.
Research ethics review involves evidence, participants, governance and context as well as record completeness. Role counts, disclosure presence and weighted criterion terms can organize supplied assertions; a complete checklist or numerical score does not itself determine ethical acceptability or valid authority.
Count distinct available protocol options.
When to use this tool
Use Protocol Option Count when checking the stated research-review record, role, disclosure or criterion convention.
How to use the tool and how it works
- Enter options, excludedOptions. Follow any array-alignment requirements below. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read availableCount, duplicateOptions. Use the output convention below.
Count distinct available protocol options. Deduplicate options, remove excluded labels, return remaining count and original-count minus unique-count as duplicateOptions.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| options | Options | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| excludedOptions | Excluded Options | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| availableCount | Available Count | Required. Safe integer. |
| duplicateOptions | Duplicate Options | Required. Safe integer. |
{
"input": {
"options": [
"A",
"B",
"B",
"C"
],
"excludedOptions": [
"B"
]
},
"output": {
"availableCount": 2,
"duplicateOptions": 1
}
} Limitations and assumptions
- Option meaning, genuine choice, protocol suitability and ethical acceptability are not evaluated.
- 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 the original protocol, evidence and governance requirements with the responsible ethics body and qualified professionals for substantive decisions.
References
Similar or alternative tools
- Review Role Recusal Flag
Return supplied review-role conflicts.
- Consent Scope Intersection Size Tool
Count distinct exact tokens shared by two explicitly supplied consent-scope lists without interpreting legal validity.