Expand description
Gold records and gold values (spec 041, 3.3).
A gold record is a host’s label for one case: graded relevance of
items, item attributes, requested attributes, expected extraction
fields and human rubric levels. It is not verified truth, and a case
without the member a metric needs is excluded from that metric
(no_gold), never read as failing.
A proposal value matches a gold value by kind only (3.3.3); any other pairing is a type mismatch, which is neither a match nor a mismatch.
Structs§
- Gold
- A case’s gold record (3.3.1). Every member is optional.
Enums§
- Field
Gold - What a field’s gold says (3.3.1).
- Gold
Value - A gold value (3.3.2): a string, an integer, a boolean, or a hierarchical path of 1 to 16 strings, most general first.
- Match
- How a proposal value compares with a gold value (3.3.3).
Constants§
- ABSENT
- The gold value of an extraction field that is expected to be absent (3.3.1).
- MAX_
ENTRIES - The most entries in one gold map (3.3.2).
- MAX_
GRADE - The highest relevance grade (3.3.1).
- MAX_
NAME - The longest item id, attribute, field or scale name, in bytes (3.3.2).
- MAX_
PATH - The longest hierarchical path (3.3.2).
Functions§
- match_
value - Compares a proposal value with a gold value by kind (3.3.3).