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
- 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.
- Enter totalGameSeconds, garbageTimeSeconds, totalPlays, garbageTimePlays using the field table and calculation rules, then run the tool.
- Read garbageTimeSharePercent, garbagePlaySharePercent. The explanation below defines the units, signs, ordering and any flags or placeholder values.
- 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 field | Meaning | Value type; see rules below | Requirement |
|---|---|---|---|
| totalGameSeconds | Total game duration (s) | number; minimum: 0 | Required |
| garbageTimeSeconds | Garbage-time duration (s) | number; minimum: 0 | Required |
| totalPlays | Total plays | integer; minimum: 0 | Required |
| garbageTimePlays | Garbage-time plays | integer; minimum: 0 | Required |
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 field | Meaning | Value type |
|---|---|---|
| garbageTimeSharePercent | Garbage-time duration share (%) | number; minimum: 0; maximum: 100 |
| garbagePlaySharePercent | Garbage-time play share (%) | number; minimum: 0; maximum: 100 |
{
"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
-
Garbage-Time Share — tool.io
Similar or alternative tools
- Play-by-Play Code Count
Count selected play-by-play codes and identify absent tracked codes.
- Box Score Reconciliation
Reconcile period-level scoring with a published team total.