task_charts__dumbbell__absolute_gap_threshold_count¶
Contract¶
- Domain:
charts - Scene id:
dumbbell - Source implementation domain/group:
charts/dumbbell - Query ids:
absolute_gap_at_least_threshold_count,absolute_gap_at_most_threshold_count - Semantic query details are recorded in
query_idand trace params.
Implementation¶
- Registered class:
trace_tasks.tasks.charts.dumbbell.absolute_gap_threshold_count.ChartsDumbbellAbsoluteGapThresholdCountTask - Prompt lookup domain/group:
charts/dumbbell - 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 two colored dot centers for one matching dumbbell row. - 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(row where compare(abs(value(series_a,row)-value(series_b,row)), threshold, relation={at_least,at_most})); output=integer_count; annotation=segment_set(matching_row_dot_centers); scene=dumbbell; scope=absolute_gap_threshold_count
Candidate set: the visible paired endpoint markers, connectors, and category labels inside the absolute_gap_threshold_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_row_dot_centers). Annotation is a segment_set; each segment is two [x, y] pixel points formatted [[x0, y0], [x1, y1]] and connects the two colored dot centers for one matching dumbbell row. 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: absolute_gap_at_least_threshold_count, absolute_gap_at_most_threshold_count.
Reasoning Operations¶
Families: filtering, counting, comparison, formula_evaluation
Query Details¶
| Query id | Program signature | Answer schema | Annotation schema |
|---|---|---|---|
absolute_gap_at_least_threshold_count |
count.absolute_gap_threshold |
integer_count |
segment_set |
absolute_gap_at_most_threshold_count |
count.absolute_gap_threshold |
integer_count |
segment_set |