Skip to content

Ranking (#5 follow-up): emit rescue topic-labels content-side so organic children carry them #34

Description

@Liorrr

From #5 review — the rescue topic-labels topic:tools:editor / topic:travel / topic:language:natural are emitted query-side in classify_query (crates/shrimpk-memory/src/labels.rs:534-684) but NOT content-side in keyword_labels_into (labels.rs:348-527), so LLM-extracted children never carry them and miss label_topic_boost (crates/shrimpk-memory/src/echo.rs:3298-3311).

Fix: emit the editor/travel/language topic blocks in keyword_labels_into, and extend label_topic_boost to cover topic:language:natural (currently only topic:tools:* / action:learning).

Smallest viable fix for KU-3/PT-3 in the production path.

Refs #5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions