task_charts__combo_mark__directional_gap_extremum_label¶
Contract¶
- Domain:
charts - Scene id:
combo_mark - Source implementation domain/scene:
charts/combo_mark - Query ids:
largest_primary_over_line_gap_label,largest_line_over_primary_gap_label - Semantic query details are recorded in
query_idand trace params.
Implementation¶
- Registered class:
trace_tasks.tasks.charts.combo_mark.directional_gap_extremum_label.ChartsComboDirectionalGapExtremumLabelTask - Prompt lookup domain/scene:
charts/combo_mark - 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:
point_map. - Annotation uses fixed keys
primary_markandline_markfor the answer category; dynamic category-label keys are not used. - Annotation should mark the minimal visual witnesses required by the task, following the cross-domain annotation policy.
- Renderer context such as legends, axes, decorative labels, titles, and distractor text is metadata unless the task explicitly asks for it as annotation.
Program Contract¶
Program: argmax(x_label, positive_gap(value(winning_series,x_label), value(other_series,x_label)), winning_series={primary,line}); output=string_label; annotation=point_map(primary_mark, line_mark); scene=combo_mark; scope=directional_gap_extremum_label
Candidate set: the visible primary marks, secondary-line marks, and shared category labels inside the directional_gap_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 argmax 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.
Annotation witnesses: point_map witnesses bound by point_map(primary_mark, line_mark). Annotation uses fixed keys primary_mark and line_mark for the answer category; dynamic category-label keys are not used. Annotation should mark the minimal visual witnesses required by the task, following the cross-domain annotation policy. Renderer context such as legends, axes, decorative labels, titles, and distractor text is metadata unless the task explicitly asks for it as annotation.
Query ids: largest_primary_over_line_gap_label, largest_line_over_primary_gap_label.
Reasoning Operations¶
Families: ranking, formula_evaluation
Query Details¶
| Query id | Program signature | Answer schema | Annotation schema |
|---|---|---|---|
largest_primary_over_line_gap_label |
selection.directional_gap_extremum_label |
string_label |
point_map |
largest_line_over_primary_gap_label |
selection.directional_gap_extremum_label |
string_label |
point_map |