Description
Count supplied required/optional research task steps without assigning functional ability.
Activity and assistive-task records distinguish planned, attempted, completed, assisted, observed, and optional components. Shares depend on the selected denominator and credit policy. A supplied code, geometry, or time-budget calculation is separate from evaluating an individual's function or safe access.
Count supplied required/optional research task steps without assigning functional ability.
When to use this tool
Use Activity Step Optional Count Base when you need this specific task-count, assistance-code, timing, equipment-budget, or participation-record component.
How to use the tool and how it works
- Enter required, optional, completedRequired, completedOptional, includeOptional. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read denominator, credited, fraction, defined. Inspect defined before interpreting the associated values.
For nonnegative integer required, optional, completedRequired<=required, and completedOptional<=optional include optional counts in both denominator and credited only if includeOptional. Return fraction=credited/denominator when positive, otherwise zero with defined=false.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| required | Required | Required. Safe integer; minimum 0. |
| optional | Optional | Required. Safe integer; minimum 0. |
| completedRequired | Completed Required | Required. Safe integer; minimum 0. |
| completedOptional | Completed Optional | Required. Safe integer; minimum 0. |
| includeOptional | Include Optional | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| denominator | Denominator or exact integer denominator text under the stated sign restriction. | Required. Safe integer. |
| credited | Credited | Required. Safe integer. |
| fraction | Dimensionless fraction under the stated basis. | Required. Finite number. |
| defined | Whether the stated denominator or quantity is defined; inspect before using a placeholder. | Required. Boolean. |
{
"input": {
"required": 8,
"optional": 2,
"completedRequired": 6,
"completedOptional": 2,
"includeOptional": true
},
"output": {
"denominator": 10,
"credited": 8,
"fraction": 0.8,
"defined": true
}
} Limitations and assumptions
- The optional-step policy is supplied and a zero denominator is undefined. Step counts alone do not validate task quality, an assessment score, independence, or clinically meaningful progress.
- 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.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Use the intended assessment and a complete task or access model when a local check is insufficient. Verify task definitions, credit policies, measurement units, and the context of the underlying observations.
References
Similar or alternative tools
- Occupational Task Step Completion Share
For positive integer totalSteps, attempted<=totalSteps, completed<=attempted, and assistedCompleted<=completed return counted=completed minus assistedCompleted only if countAssisted=false.
- Activity Step Completion Share
Audit supplied activity-step flags without assessing clinical function.