Skip to content

Main content

Deidentified Stage Duration Share Tool

Calculate deidentified stage duration share from explicit caller-supplied inputs.

Loading tool…

Description

Return a supplied stage duration's share of total duration.

Case and statute records use identifiers, stages, time coordinates and supplied procedural assumptions. A literal comparison, count or charge calculation can help reconcile records, while actual rights, deadlines, evidence and duties depend on the applicable jurisdiction and authoritative documents.

Return a supplied stage duration's share of total duration.

When to use this tool

Use Deidentified Stage Duration Share when checking the stated legal-record, timing or fee convention.

How to use the tool and how it works

  1. Enter stageDuration, totalDuration. 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 share, defined. Inspect defined before interpreting the associated values.

Return a supplied stage duration's share of total duration. Require 0 <= stageDuration <= totalDuration; divide when total is positive, otherwise zero with defined false.1

Input fieldMeaning and unitsAccepted input
stageDurationStage DurationRequired. Finite number; minimum 0.
totalDurationTotal DurationRequired. Finite number; minimum 0.
Output fieldInterpretationReturned shape
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": {
    "stageDuration": 5,
    "totalDuration": 20
  },
  "output": {
    "share": 0.25,
    "defined": true
  }
}

Limitations and assumptions

  • Time units must match; this does not analyze a real case or establish reasonableness of delay.
  • 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

Consult the actual case records, governing rules and qualified legal advice for legal conclusions; use an appropriate calendar and complete document workflow for real deadlines.

References

  1. Calculation and input contract: criminal-justice/deidentified-stage-duration-share — tool.io

Similar or alternative tools