Skip to content

Main content

Public Asset Opening Support Share Tool

Calculate public asset opening support share from explicit caller-supplied inputs.

Loading tool…

Description

Return opening time supported by staffing and accessibility flags.

Community projects combine participation counts, access assertions, funding bases and shared-resource policies. Local allocation or coverage arithmetic can organize those records, while equitable access, actual contribution value and valid funding rights require evidence and the applicable rules.

Return opening time supported by staffing and accessibility flags.

When to use this tool

Use Public Asset Opening Support Share when checking one explicit community-project capacity, funding, access or scheduling convention.

How to use the tool and how it works

  1. Enter openingDurations, staffed, accessible. 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 openingDuration, supportedDuration, share, defined. Inspect defined before interpreting the associated values.

Return opening time supported by staffing and accessibility flags. Require aligned nonnegative durations/flags; openingDuration sums all, supportedDuration includes both true flags, share divides or is zero with defined false.1

Input fieldMeaning and unitsAccepted input
openingDurationsOpening DurationsRequired. Array of finite number; minimum 0; maximum items 256.
staffedStaffedRequired. Array of boolean; maximum items 256.
accessibleAccessibleRequired. Array of boolean; maximum items 256.
Output fieldInterpretationReturned shape
openingDurationOpening DurationRequired. Finite number.
supportedDurationSupported DurationRequired. Finite number.
shareDimensionless numerator/denominator ratio under the explicit basis above.Required. Finite number.
definedWhether the stated denominator or information basis permits interpretation of the associated value; inspect before using a placeholder.Required. Boolean.
json
{
  "input": {
    "openingDurations": [
      2,
      3,
      5
    ],
    "staffed": [
      true,
      true,
      false
    ],
    "accessible": [
      true,
      false,
      true
    ]
  },
  "output": {
    "openingDuration": 10,
    "supportedDuration": 2,
    "share": 0.2,
    "defined": true
  }
}

Limitations and assumptions

  • Intervals are not deduplicated; caller flags do not establish usable access, sufficient staffing or legal compliance.
  • 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 actual project records, participant needs and governing funding/resource rules to assess practical adequacy, fairness and eligibility.

References

  1. Calculation and input contract: community-development/public-asset-opening-support-share — tool.io

Similar or alternative tools