@beerwright/core
    Preparing search index...

    Interface Explanation

    A machine-readable breakdown of one computed number.

    interface Explanation {
        expression: string;
        family?: ExplanationFamily;
        formula: string;
        inputs: ExplainInputs;
        label: string;
        notes?: readonly string[];
        sources?: readonly Source[];
        unit: string;
        value: number;
    }
    Index
    expression: string

    The formula written out, e.g. "SRM = 1.4922 × MCU^0.6859".

    Which family this number belongs to.

    formula: string

    Stable identifier for the formula used, e.g. "tinseth-1997". Selectable formulas report which one actually ran.

    The inputs, in canonical units, keyed by name.

    label: string

    Human label for the value, e.g. "Original gravity".

    notes?: readonly string[]

    Caveats, assumptions and defaults that were applied.

    sources?: readonly Source[]

    Where the formula comes from. This is the citation shown next to the number.

    unit: string

    The result's unit, e.g. "SG", "IBU", "L", "%".

    value: number

    The result.