task_charts__contour_density__reference_distance_extremum_label¶
Contract¶
- Domain:
charts - Scene id:
contour_density - Source implementation scene:
charts/contour_density - Query ids:
point_nearest_region_label,point_farthest_region_label,vertical_line_nearest_region_label,vertical_line_farthest_region_label,horizontal_line_nearest_region_label,horizontal_line_farthest_region_label - Semantic query details are recorded in
query_idand trace params.
Implementation¶
- Registered class:
trace_tasks.tasks.charts.contour_density.reference_distance_extremum_label.ChartsContourDensityReferenceDistanceExtremumLabelTask - Prompt lookup domain/scene:
charts/contour_density - 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. - Annotation should contain one bbox around the selected answer contour region.
- 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, distance(region_label, reference_geometry={point,vertical_line,horizontal_line}), direction={nearest,farthest}); output=string_label; annotation=bbox(answer_region); scene=contour_density; scope=reference_distance_extremum_label
Candidate set: the visible contour-density regions, guide labels, and marked areas inside the reference_distance_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 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 contain one bbox around the selected answer 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: point_nearest_region_label, point_farthest_region_label, vertical_line_nearest_region_label, vertical_line_farthest_region_label, horizontal_line_nearest_region_label, horizontal_line_farthest_region_label.
Reasoning Operations¶
Families: ranking, spatial_relations
Query Details¶
| Query id | Program signature | Answer schema | Annotation schema |
|---|---|---|---|
point_nearest_region_label |
selection.reference_distance_extremum_label |
string_label |
bbox |
point_farthest_region_label |
selection.reference_distance_extremum_label |
string_label |
bbox |
vertical_line_nearest_region_label |
selection.reference_distance_extremum_label |
string_label |
bbox |
vertical_line_farthest_region_label |
selection.reference_distance_extremum_label |
string_label |
bbox |
horizontal_line_nearest_region_label |
selection.reference_distance_extremum_label |
string_label |
bbox |
horizontal_line_farthest_region_label |
selection.reference_distance_extremum_label |
string_label |
bbox |