task_pages__infographic__section_metric_ranked_item_label¶
Identity¶
- Domain:
pages - Scene id:
infographic - Source path:
src/trace_tasks/tasks/pages/infographic/section_metric_ranked_item_label.py - Task id:
task_pages__infographic__section_metric_ranked_item_label
Program Contract¶
- Program schema:
selection.ranked_item(candidate_set=metric_cards_in_resolved_section, metric=printed_value, rank_direction=highest|lowest); scene=infographic; scope=one multi-section metric-card infographic - Contract: restrict attention to the named section, rank that section's metric cards by printed value, then return the label of the card at the requested rank.
- Public query ids:
nth_highest_metric_in_section_label,nth_lowest_metric_in_section_label - Answer schema:
string - Annotation schema: scalar
bboxaround the selected metric card. - Query argument axes: rank direction, rank position, and target section.
- scalar_annotation_checked=true
Reasoning Operations¶
Families: ranking
Prompt + Trace¶
- Prompt bundle:
pages_infographic_v1 - Scene key:
infographic_metric_arithmetic - Task key:
metric_arithmetic_query - Trace records the target section, ranked section candidates, rank direction, rank position, selected label/value, the section panel bbox, and selected metric-card bbox. The section bbox is trace context; public annotation is only the selected metric-card bbox.
- Generation guarantees unique printed values within the ranked section.