Skip to content

Main content

Quotation Context Expansion Budget Tool

Calculate quotation context expansion budget from explicit caller-supplied inputs.

Loading tool…

Description

Return expanded quotation length and budget slack.

Cultural source records can encode exact tokens, voices, time offsets and context budgets. Their literal structure can be summarized without determining authorship, cultural meaning, source authority or adequacy of interpretation.

Return expanded quotation length and budget slack.

When to use this tool

Use Quotation Context Expansion Budget when checking a supplied source-context or annotation convention.

How to use the tool and how it works

  1. Enter quoteUnits, beforeUnits, afterUnits, maximumUnits. 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 expandedUnits, remaining, fits. Inspect fits before interpreting the associated values.

Return expanded quotation length and budget slack. Require nonnegative whole quoteUnits/beforeUnits/afterUnits/maximumUnits; expandedUnits sums the three, remaining subtracts from maximum, fits includes equality.1

Input fieldMeaning and unitsAccepted input
quoteUnitsQuote UnitsRequired. Safe integer; minimum 0.
beforeUnitsBefore UnitsRequired. Safe integer; minimum 0.
afterUnitsAfter UnitsRequired. Safe integer; minimum 0.
maximumUnitsMaximum UnitsRequired. Safe integer; minimum 0.
Output fieldInterpretationReturned shape
expandedUnitsExpanded UnitsRequired. Safe integer.
remainingBudget minus use, in the same units; a negative value indicates excess use.Required. Safe integer.
fitsWhether the calculated use is no greater than the supplied budget.Required. Boolean.
json
{
  "input": {
    "quoteUnits": 100,
    "beforeUnits": 20,
    "afterUnits": 30,
    "maximumUnits": 180
  },
  "output": {
    "expandedUnits": 150,
    "remaining": 30,
    "fits": true
  }
}

Limitations and assumptions

  • Unit convention and context adequacy are supplied; this does not establish quotation rights or sufficient attribution.
  • 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

Review the actual sources and relevant participant or community context for substantive interpretation and attribution.

References

  1. Calculation and input contract: cultural-studies/quotation-context-expansion-budget — tool.io

Similar or alternative tools