Skip to content

Main content

Archival Price Quality Unit Token Tool

Preserve supplied price quality/unit provenance before comparison; no historical price series is normalized.

Loading tool…

Description

comparable requires literal quality === expectedQuality and unit === expectedUnit.

Archival comparability and coverage depend on source labels, time boundaries, verification assertions and common-unit conversions. Matching text or balanced totals can support record review without authenticating sources or proving completeness.

comparable requires literal quality === expectedQuality and unit === expectedUnit.

When to use this tool

Use Archival Price Quality Unit Token when checking a supplied archival record or support convention.

How to use the tool and how it works

  1. Enter quality, unit, source, expectedQuality, expectedUnit. 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 comparable, key. Inspect comparable before interpreting the associated values.

comparable requires literal quality === expectedQuality and unit === expectedUnit. key = JSON.stringify([source,quality,unit]).1

Input fieldMeaning and unitsAccepted input
qualityQualityRequired. Text; maximum UTF-16 length 8192.
unitUnitRequired. Text; maximum UTF-16 length 8192.
sourceCaller-supplied source label, not independently authenticated provenance.Required. Text; maximum UTF-16 length 8192.
expectedQualityExpected QualityRequired. Text; maximum UTF-16 length 8192.
expectedUnitExpected UnitRequired. Text; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
comparableComparableRequired. Boolean.
keyKeyRequired. Text; maximum UTF-16 length 8192.
json
{
  "input": {
    "quality": "grade-A",
    "unit": "kg",
    "source": "ledger",
    "expectedQuality": "grade-A",
    "expectedUnit": "kg"
  },
  "output": {
    "comparable": true,
    "key": "[\"ledger\",\"grade-A\",\"kg\"]"
  }
}

Limitations and assumptions

  • Matching labels do not establish commodity equivalence or source authenticity. The key preserves supplied text without unit conversion, historical interpretation or provenance verification.
  • 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.

Alternative or Complementary methods

Inspect the original sources and document the historical meaning of labels, dates and conversion factors.

References

  1. Calculation and input contract: economic-history/archival-price-quality-unit-token — tool.io

Similar or alternative tools