Skip to main content

Module measures

Module measures 

Source
Expand description

Adapter measures (spec 041, 3.4): the ranking, constraint and field declarations of rustev.task-adapter/2.

Measures are task semantics, so they belong to the adapter. Their digest is bound into rustev.evaluator-config/3 and computed here from the declarations a MeasuredAdapter supplies, so a Rust adapter cannot state one digest and apply other declarations (3.4.1).

Structs§

ConstraintDecl
A constraint declaration (3.4.5).
FieldDecl
A field declaration (3.4.7): an extract step’s output field.
Measures
RankingDecl
A ranking declaration (3.4.2).

Enums§

Against
What an item attribute is checked against (3.4.5).
ConstraintAggregate
ConstraintTest

Constants§

MAX_BACKFILL_POSITIONS
The most positions a ranking reports a backfill rate for (3.4.2).
MAX_DECLARATIONS
The most declarations in one list (3.4.1).
TASK_ADAPTER_V2
Version 2 of the task adapter: version 1 plus measures (3.1.2).

Traits§

MeasuredAdapter
An adapter that declares measures; used only under version 3 (3.4.1).

Functions§

declared_name
1 to 64 bytes of [A-Za-z0-9._-] (3.4.1).