Skip to content

Main content

Survey Branch Exclusion Count Tool

Calculate survey branch exclusion count from explicit caller-supplied inputs.

Loading tool…

Description

Count mismatches between supplied survey eligibility and branch-display flags.

Accessibility-related records can describe visible time, available formats, label text or supplied requirements. A count or budget can expose local gaps without establishing usable content, valid accommodations or compliance with a standard.

Count mismatches between supplied survey eligibility and branch-display flags.

When to use this tool

Use Survey Branch Exclusion Count when checking an explicit accessibility record, time or layout convention.

How to use the tool and how it works

  1. Enter eligible, branchShown. Keep parallel arrays aligned. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read excludedEligible, shownIneligible. Use the output convention below.

Count mismatches between supplied survey eligibility and branch-display flags. Require equally long arrays; count eligible-but-hidden and ineligible-but-shown positions separately.1

Input fieldMeaning and unitsAccepted input
eligibleEligibleRequired. Array of boolean; maximum items 256.
branchShownBranch ShownRequired. Array of boolean; maximum items 256.
Output fieldInterpretationReturned shape
excludedEligibleExcluded EligibleRequired. Safe integer.
shownIneligibleShown IneligibleRequired. Safe integer.
json
{
  "input": {
    "eligible": [
      true,
      true,
      false
    ],
    "branchShown": [
      true,
      false,
      true
    ]
  },
  "output": {
    "excludedEligible": 1,
    "shownIneligible": 1
  }
}

Limitations and assumptions

  • Flags are assertions, not verified eligibility, discrimination findings or complete survey routing validation.
  • 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

Use the applicable accessibility guidance, real content and user evaluation for practical adequacy; establish any legal requirement separately.

References

  1. Calculation and input contract: disability-studies/survey-branch-exclusion-count — tool.io

Similar or alternative tools