FeedbackStore.unenriched()

Returns refined pairs lacking code evidence at the given enrich generation.

Usage

Source

FeedbackStore.unenriched(
    *, enrich_version, enrich_model, extractor_version, limit=None
)

A pair counts as enriched when it carries its own pair_evidence row at exactly (enrich_version, enrich_model, extractor_version) or its refine generation carries the pair_index=-1 no-code sentinel there. Pairs come from the latest refine generation only, so a refine re-run resurfaces its new pairs here automatically — and so does bumping any version in the key.

Parameters

enrich_version: int

The enrich prompt version the evidence must carry.

enrich_model: str

The resolved model name the evidence must carry.

extractor_version: int

The platform’s deterministic-extraction version.

limit: int | None = None
When set, the maximum number of rows to return.

Returns

list[dict[str, object]]

One dict per unenriched pair with the columns the enrich prompt and

anchor resolution need, oldest event first.