task_charts__combo_mark__interval_threshold_condition_count¶
Contract¶
- Domain:
charts - Scene id:
combo_mark - Source implementation domain/scene:
charts/combo_mark - Query ids:
primary_between_and_line_above,line_between_and_primary_above - Semantic query details are recorded in
query_idand trace params.
Implementation¶
- Registered class:
trace_tasks.tasks.charts.combo_mark.interval_threshold_condition_count.ChartsComboIntervalThresholdConditionCountTask - Prompt lookup domain/scene:
charts/combo_mark - 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:
integer_count. - Annotation schema:
segment_set. - Annotation is a
segment_set; each segment is two[x, y]pixel points formatted[[x0, y0], [x1, y1]]and connects the primary-series mark point to the overlaid line mark point for one matching category. - Annotation should mark the minimal visual witnesses required by the task, following the cross-domain annotation policy.
- Renderer context such as legends, axes, decorative labels, titles, and distractor text is metadata unless the task explicitly asks for it as annotation.
Program Contract¶
Program: count(x_label where in_interval(value(condition_series,x_label), lower_bound, upper_bound) and compare(value(target_series,x_label), threshold, relation=above)); output=integer_count; annotation=segment_set(matching_primary_line_marks); scene=combo_mark; scope=interval_threshold_condition_count
Candidate set: the visible primary marks, secondary-line marks, and shared category labels inside the interval_threshold_condition_count 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 count 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 integer_count value bound by integer_count.
Annotation witnesses: segment_set witnesses bound by segment_set(matching_primary_line_marks). Annotation is a segment_set; each segment is two [x, y] pixel points formatted [[x0, y0], [x1, y1]] and connects the primary-series mark point to the overlaid line mark point for one matching category. Annotation should mark the minimal visual witnesses required by the task, following the cross-domain annotation policy. Renderer context such as legends, axes, decorative labels, titles, and distractor text is metadata unless the task explicitly asks for it as annotation.
Query ids: primary_between_and_line_above, line_between_and_primary_above.
Reasoning Operations¶
Families: filtering, counting, comparison, logical_composition
Query Details¶
| Query id | Program signature | Answer schema | Annotation schema |
|---|---|---|---|
primary_between_and_line_above |
count.interval_and_threshold_condition |
integer_count |
segment_set |
line_between_and_primary_above |
count.interval_and_threshold_condition |
integer_count |
segment_set |