Skip to content

Main content

Task Blocked Time Share Tool

Calculate task blocked time share from explicit caller-supplied inputs.

Loading tool…

Description

Sum all observed time and blocked time, then divide blocked time separately by positive observedTime and plannedDuration.

Support indicators describe which recorded observations meet stated completeness or eligibility conditions. Duration-weighted support and distinct-record support use different denominators.

Sum all observed time and blocked time, then divide blocked time separately by positive observedTime and plannedDuration.

When to use this tool

Use Task Blocked Time Share when you need a transparent supported fraction from supplied flags.

How to use the tool and how it works

  1. Enter elapsedDurations, blocked, plannedDuration. 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 blockedTime, observedTime, observedBlockedShare, plannedBlockedShare. Use the output convention below.

Require aligned nonnegative elapsedDurations and blocked flags. Sum all observed time and blocked time, then divide blocked time separately by positive observedTime and plannedDuration.1

Input fieldMeaning and unitsAccepted input
elapsedDurationsElapsed DurationsRequired. Array of finite number; minimum 0; maximum items 256.
blockedBlockedRequired. Array of boolean; maximum items 256.
plannedDurationPlanned DurationRequired. Finite number; strictly above 0.
Output fieldInterpretationReturned shape
blockedTimeBlocked TimeRequired. Finite number.
observedTimeObserved TimeRequired. Finite number.
observedBlockedShareObserved Blocked ShareRequired. Finite number.
plannedBlockedSharePlanned Blocked ShareRequired. Finite number.
json
{
  "input": {
    "elapsedDurations": [
      2,
      3,
      5
    ],
    "blocked": [
      true,
      false,
      true
    ],
    "plannedDuration": 20
  },
  "output": {
    "blockedTime": 7,
    "observedTime": 10,
    "observedBlockedShare": 0.7,
    "plannedBlockedShare": 0.35
  }
}

Limitations and assumptions

  • The planned share may exceed one; the two denominators answer different questions and overlapping intervals must already be resolved.
  • 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

Inspect missing and excluded records separately and verify the evidence behind each support flag.

References

  1. Calculation and input contract: management/task-blocked-time-share — tool.io

Similar or alternative tools