Description
Filter supplied learning-option codes by availability flags.
Adult-learning records distinguish self ratings, comparison criteria, acknowledgments, feedback states and recognized credits. Closing a feedback item can mean completion or decline, while a reported rating gap does not establish competence. Supplied priorities and evidence references need the broader learning context.
Filter supplied learning-option codes by availability flags.
When to use this tool
Use Adult Learning Choice Count when you already have optionCodes, available and need to filter supplied learning-option codes by availability flags.
How to use the tool and how it works
- Enter optionCodes, available. 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 availableChoices, availableOptions. Use the output convention below.
Require aligned arrays and unique literal option codes; preserve available codes in input order and return their count.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| optionCodes | Option Codes | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| available | Available | Required. Array of boolean; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| availableChoices | Available Choices | Required. Safe integer. |
| availableOptions | Available Options | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
{
"input": {
"optionCodes": [
"A",
"B",
"C"
],
"available": [
true,
false,
true
]
},
"output": {
"availableChoices": 2,
"availableOptions": [
"A",
"C"
]
}
} Limitations and assumptions
- Empty codes are allowed if unique. Availability is asserted, not verified; no access, suitability, learner choice or educational quality is assessed.
- 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 complete goals, criteria, learner preferences, evidence and recognition policy. Use an appropriate educational assessment for learning decisions; local labels, time gaps and supplied credit balances do not establish outcomes or informed agreement.
References
Similar or alternative tools
- Adult Learner Access Format Choice
Choose a supplied preferred access format or available fallback.
- Learner Goal Priority Share
Calculate a supplied learning-goal priority share.