task_charts__population_pyramid__side_gap_extremum_label¶
Taxonomy¶
- Domain:
charts - Scene id:
population_pyramid - Source implementation scene:
charts/population_pyramid - Public task id:
task_charts__population_pyramid__side_gap_extremum_label
Implementation¶
- Registered class:
trace_tasks.tasks.charts.population_pyramid.side_gap_extremum_label.ChartsPopulationPyramidSideGapExtremumLabelTask - Prompt lookup domain/scene:
charts/population_pyramid - Default dataset: enabled
Contract¶
- Query ids:
largest_side_gap_label,smallest_nonzero_side_gap_label - Answer schema:
string_label. - Annotation schema:
bbox - Annotation marks one bbox around the paired left/right bars in the answer row.
Program Contract¶
Program: select_label(arg_extremum(age_group_rows, abs(left_value - right_value), rank)); scene=population_pyramid; scope=side_gap_extremum_label
Candidate set: the visible left/right population bars and age-group labels inside the side_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 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 unspecified value bound by unspecified.
Annotation witnesses: unspecified witnesses bound by see_annotation_contract. The Annotation Contract below defines the prompt-facing witnesses.
Query ids: largest_side_gap_label, smallest_nonzero_side_gap_label.
Reasoning Operations¶
Families: ranking, formula_evaluation