All entries

    Build a Held-Out Test Set for LLM Extraction

    A held-out extraction set should expose how the pipeline behaves on unfamiliar product families.

    A lit desk shows organized product folders and a checklist
    Conceptual pixel-art illustration.

    A held-out extraction set should expose how the pipeline behaves on unfamiliar product families.

    Build the example

    Group records by product family or supplier template before splitting. Keep variants of the same base product together. Write a label guide for unknown fields and disagreeing evidence, then sample a small subset for second-reviewer agreement before using the labels as ground truth.

    One useful report splits numeric attributes from categoricals. Evaluate dimension values with a predeclared tolerance after unit normalization, while codes use exact match. If 8 of 10 dimensions are attempted and 6 are correct, publish the numerator and denominator. That keeps a policy change from hiding behind a single composite score.

    Watch the failure boundary

    Include items with valid labels but no available evidence, so the test can distinguish guessing a correct value from extracting it properly. Track the rule for each field and review disagreements before freezing the set. If a duplicate is discovered later, document the correction and report what changed rather than silently switching the denominator.

    Verify the behavior

    Evaluate per-field precision, recall and coverage. A pipeline may extract most SKUs while rarely finding packaging dimensions. Publish the denominators and review examples for each failure mode. A later prompt change can use the validation set, and an untouched holdout stays reserved for the final comparison.

    FURTHER READING

    Sources

    Technical references checked .

    END OF ENTRY / 54
    Eeshan Singh with Big Ben in London
    BEHIND THE JOURNAL

    Eeshan Singh

    I’m Eeshan Singh Pokharia, an AI Full Stack Developer and CoFounder of UltraFit360. I work across AI features, full-stack product development, and web and mobile experiences—from Figma and frontend interactions to the systems behind them.

    Include items with valid labels but no available evidence, so the test can distinguish guessing a correct value from extracting it properly. Track the rule for each field and review disagreements before freezing the set. If a duplicate is discovered later, document the correction and report what changed rather than silently switching the denominator.

    Meet the author
    THE CONVERSATION

    Your side of the story.