task_pages__hero_callout_infographic__callout_condition_count¶
Identity¶
- Domain:
pages - Scene id:
hero_callout_infographic - Source path:
src/trace_tasks/tasks/pages/hero_callout_infographic/callout_condition_count.py - Task id:
task_pages__hero_callout_infographic__callout_condition_count
Program Contract¶
- Program schema:
count.callout_metric_threshold(field=resolved_field, predicate=above|below); scene=hero_callout_infographic; scope=one poster-style hero infographic - Contract: count callout cards whose visible value for one named field satisfies one threshold predicate.
- Public query contract: two semantic predicate branches; target field and threshold are query arguments.
- answer schema:
integer - Annotation schema:
bbox_setcontaining the matching field-row boxes. - Supported
query_id:field_value_above_threshold_count,field_value_below_threshold_count - Prompt query key:
callout_condition_count - scalar_annotation_checked=true
Reasoning Operations¶
Families: filtering, counting, comparison
Prompt + Trace¶
- Prompt bundle:
pages_hero_callout_infographic_v1 - Scene key:
hero_callout_infographic - Task key:
hero_callout_infographic_query - Trace records the selected predicate query id, threshold, operator, candidate callout values, matching values, sampled visual assets, sampled style metadata, final field-row bboxes, and layout geometry.
- Threshold sampling keeps the answer nonzero and not all visible callouts for the selected field.
Rendering Notes¶
- This task reuses the hero-callout infographic renderer, layout variants, and pages-owned visual asset pool.
- Decorative assets and connector lines are not annotation; only matching field rows are prompt-facing annotation.