task_charts__matrix__axis_extremum_label¶
Contract¶
- Domain:
charts - Scene id:
matrix - Source implementation scene:
charts/matrix - Supported
query_idvalues:row_highest_axis_extremum_label,row_lowest_axis_extremum_label,column_highest_axis_extremum_label,column_lowest_axis_extremum_label - Query ids bind the prompt-visible row/column axis and highest/lowest direction. The selected row/column label and numeric matrix values are sampled generation metadata.
Implementation¶
- Registered class:
trace_tasks.tasks.charts.matrix.axis_extremum_label.ChartsMatrixAxisExtremumLabelTask - Prompt lookup domain/scene:
charts/matrix - Generation is deterministic from
instance_seed, explicit params, prompt bundle, renderer config, and code versions. - Answers and annotation are produced from the same metadata execution trace.
Annotation Contract¶
- Answer schema:
string_label. - Annotation schema:
bbox_set. - Annotation marks all active candidate cells in the selected row or column.
- If the answer is
unanswerable, annotation is an emptybbox_set. - Matrix headers, legends, titles, and distractor text are context unless the task explicitly asks for them as annotation.
Program Contract¶
Program: select_label(arg_ranked_extreme(line_cells(axis={row,column}, axis_label), value(cell), rank=2, direction={highest,lowest})); output=string_label|unanswerable; annotation=bbox_set(candidate_line_cells); scene=matrix; scope=axis_extremum_label
Candidate set: the visible matrix cells with row and column labels inside the axis_extremum_label objective scope.
Operands: prompt-bound labels, categories, series names, thresholds, intervals, references, and encoded chart values, plus the active query id's comparator, direction, target role, or extremum focus when present.
Operation: evaluate select_label over the candidate set using the filters, comparisons, aggregations, rankings, projections, or counterfactual edits named in the program expression; generation enforces a unique final answer.
Output binding: answer is the string_label value bound by string_label|unanswerable.
Annotation witnesses: bbox_set witnesses bound by bbox_set(candidate_line_cells). Annotation marks all active candidate cells in the selected row or column. If the answer is unanswerable, annotation is an empty bbox_set. Matrix headers, legends, titles, and distractor text are context unless the task explicitly asks for them as annotation.
Query ids: row_highest_axis_extremum_label, row_lowest_axis_extremum_label, column_highest_axis_extremum_label, column_lowest_axis_extremum_label.
Reasoning Operations¶
Families: ranking
Query Details¶
| Query id | Program signature | Answer schema | Annotation schema |
|---|---|---|---|
row_highest_axis_extremum_label |
selection.matrix_axis_ranked_extreme(axis=row,direction=highest) |
string_label |
bbox_set |
row_lowest_axis_extremum_label |
selection.matrix_axis_ranked_extreme(axis=row,direction=lowest) |
string_label |
bbox_set |
column_highest_axis_extremum_label |
selection.matrix_axis_ranked_extreme(axis=column,direction=highest) |
string_label |
bbox_set |
column_lowest_axis_extremum_label |
selection.matrix_axis_ranked_extreme(axis=column,direction=lowest) |
string_label |
bbox_set |