Skip to content

task_charts__contour_density__spread_extremum_region_label

Contract

  1. Domain: charts
  2. Scene id: contour_density
  3. Source implementation scene: charts/contour_density
  4. Query ids: widest_spread_region_label, narrowest_spread_region_label
  5. Semantic query details are recorded in query_id and trace params.

Implementation

  1. Registered class: trace_tasks.tasks.charts.contour_density.spread_extremum_region_label.ChartsContourDensitySpreadExtremumRegionLabelTask
  2. Prompt lookup domain/scene: charts/contour_density
  3. Generation is deterministic from instance_seed, explicit params, prompt bundle, renderer config, and code versions.
  4. Answers and annotation are produced from the same metadata execution trace.

Annotation Contract

  1. Answer schema: string_label.
  2. Annotation schema: bbox.
  3. Annotation should mark the selected contour region.
  4. Renderer context such as axes, decorative labels, titles, and background treatments is metadata unless the task explicitly asks for it as annotation.

Program Contract

Program: arg_extreme(region_label, footprint_area(region_label), direction={widest,narrowest}); output=string_label; annotation=bbox(answer_region); scene=contour_density; scope=spread_extremum_region_label

Candidate set: the visible contour-density regions, guide labels, and marked areas inside the spread_extremum_region_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 arg_extreme 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: bbox witnesses bound by bbox(answer_region). Annotation should mark the selected contour region. Renderer context such as axes, decorative labels, titles, and background treatments is metadata unless the task explicitly asks for it as annotation. Query ids: widest_spread_region_label, narrowest_spread_region_label.

Reasoning Operations

Families: ranking, formula_evaluation

Query Details

Query id Program signature Answer schema Annotation schema
widest_spread_region_label selection.region_spread_extremum_label string_label bbox
narrowest_spread_region_label selection.region_spread_extremum_label string_label bbox