Huginn/crates/huginn-daemon
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 7df718d643 Mind::rank returns the refs it dropped; delete Daemon::unheld
Daemon::unheld called mind.view once per hit, and every call decodes the
whole mind: 3.27 s on the loop thread at 2000 documents and 200 hits, to feed
one log line, and a second judge of whether the mind holds a document. rank
already reads the rows once and is the only judge now: it returns the hits it
found no document for in Ranked { page, dropped }, and Daemon::finish reports
a count and the first five.

Also in rank: candidates are filtered to held documents before they are cut to
the best 200 by score, so an id the mind lacks cannot take a place from one it
holds and select never sees more than it can answer (its own cut is by
ordinal). A semantic selection with descending is refused SelectionInvalid,
as cursor is: the answer's order is the score's and was silently ignored.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-29 16:25:46 +02:00
..
src Mind::rank returns the refs it dropped; delete Daemon::unheld 2026-09-29 16:25:46 +02:00
tests Cut 11b: the semantic read, joined back through the mind 2026-09-29 13:37:01 +02:00
Cargo.toml Cut 11a: the index write side 2026-09-29 08:05:26 +02:00