Skip to main content

Module scoring

Module scoring 

Source
Expand description

Row-level feature source for the typed scoring contract.

Structs§

AccountedHostScores
Engine-owned callback scores whose allocation remains charged until drop. The borrower cannot detach the score buffer from its query reservation.
BindingScoreFeatures
Reads scoring features from one row.
HostScorerBatch
Borrowed inputs for the host-scoring escape hatch. Scratch allocations must reserve this query account before allocation and release their leases before returning; feature rows cannot escape the call.
HostScorerDescriptor
Validated identity and logical per-row cost for a host’s batch scorer. Query attachments include name/version in their cache identity. This cost is a planning hint, not elapsed time.

Traits§

HostScorer
Batch scorer contract for a concrete formula that templates cannot express.

Functions§

execute_host_scorer
Executes one complete, explicitly bounded cohort supplied by the engine.
reference_time_millis
Wall clock the specification ages timestamp features against, in epoch milliseconds.