Garbage-Time Share

Calculate garbage-time shares of game duration and plays.

Description

Garbage-time share compares supplied late-game time and play counts with their totals.

Garbage-time share compares supplied late-game time and play counts with their totals. Both bases produce separate percentages.1

Calculate garbage-time shares of game duration and plays.

When to use Garbage-Time Share

Use this tool to calculate garbage-time shares of game duration and plays.

Prepare the text, recorded observations, aligned figures or editorial criteria requested. Confirm what each label, count, timestamp or supplied flag represents before interpreting the result.

How to use Garbage-Time Share and understand its results

  1. Prepare the text, recorded observations, aligned figures or editorial criteria requested. Confirm what each label, count, timestamp or supplied flag represents before interpreting the result.
  2. Enter totalGameSeconds, garbageTimeSeconds, totalPlays, garbageTimePlays using the field table and calculation rules, then run the tool.
  3. Read garbageTimeSharePercent, garbagePlaySharePercent. The explanation below defines the units, signs, ordering and any flags or placeholder values.
  4. If the tool reports an input issue, correct the values and run it again. Apply the stated assumptions when interpreting a successfully returned result.
Input fieldMeaningValue type; see rules belowRequirement
totalGameSecondsTotal game duration (s)number; minimum: 0Required
garbageTimeSecondsGarbage-time duration (s)number; minimum: 0Required
totalPlaysTotal playsinteger; minimum: 0Required
garbageTimePlaysGarbage-time playsinteger; minimum: 0Required

Enter positive total minutes and positive integer total plays, with nonnegative parts no greater than totals. Return both percentages.

time%=100garbageMinutes/totalMinutes; play%=100garbagePlays/totalPlays

Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.

Output fieldMeaningValue type
garbageTimeSharePercentGarbage-time duration share (%)number; minimum: 0; maximum: 100
garbagePlaySharePercentGarbage-time play share (%)number; minimum: 0; maximum: 100
json
{
  "input": {
    "totalGameSeconds": 3600,
    "garbageTimeSeconds": 900,
    "totalPlays": 100,
    "garbageTimePlays": 20
  },
  "output": {
    "garbageTimeSharePercent": 25,
    "garbagePlaySharePercent": 20
  }
}

Limitations and assumptions

No game state or garbage-time definition is inferred; the classifications are supplied upstream.

Numeric inputs must be finite. Follow the calculation-specific rules for overflow, underflow and exceptional cases. Missing required fields, extra fields, wrong value types and violations of the calculation rules are input errors.

Alternative or Complementary methods

Use Play-by-Play Code Count: Count selected play-by-play codes and identify absent tracked codes. For a complementary task, use Box Score Reconciliation: Reconcile period-level scoring with a published team total.

References

  1. Garbage-Time Share — tool.io

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies