easyiec.core.Query#
- class easyiec.core.Query(kind, items, pairs=None, n_select=None, scale=(1.0, 10.0), line_t=None, goal=None, generation=0, meta=<factory>, id=<factory>)[source]#
Bases:
objectA request for evaluation.
- Attributes:
- kind
str One of
KINDS.- items
listofIndividual The candidates (for
pairsthe distinct individuals involved).- pairs
listof(int,int),optional Index pairs into
itemsforkind="pairs".- n_select
int,optional Number of candidates to choose for
select(None: free choice, at least one).- scale(
float,float) Rating scale for
rate.- line_t
array,optional Positions in
[0, 1]of the samples (items) along the line of alinequery.- goal
str,optional Natural-language goal shown to people and to LLM judges.
- generation
int Strategy iteration that issued the query.
- meta
dict Strategy-specific annotations (e.g.
{"role": "challenger"}).
- kind