task_charts__scatter_points__axis_threshold_point_count¶
Contract¶
- Domain:
charts - Scene id:
scatter_points - Public task id:
task_charts__scatter_points__axis_threshold_point_count - Query ids encode the axis and threshold direction because both change prompt wording and program arguments.
Program Contract¶
Program: count(point, compare(coord(point, axis), threshold, direction)); output=integer_count; annotation=point_set(counted_point_centers); scene=scatter_points; scope=axis_threshold_point_count
Candidate set: the visible scatter points and axis/value labels inside the axis_threshold_point_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: point_set witnesses bound by point_set(counted_point_centers). Annotation marks the centers of the counted scatter points only. Axes, legends, threshold guides, titles, and distractor text are not annotation targets.
Query ids: x_above_threshold_count, x_below_threshold_count, y_above_threshold_count, y_below_threshold_count.
Reasoning Operations¶
Families: filtering, counting, comparison
Implementation¶
- Registered class:
trace_tasks.tasks.charts.scatter_points.axis_threshold_point_count.ChartsScatterPointsAxisThresholdPointCountTask - Prompt bundle:
src/trace_tasks/resources/prompts/charts/scatter_points/charts_scatter_points_v1.json - 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:
point_set. - Annotation marks the centers of the counted scatter points only.
- Axes, legends, threshold guides, titles, and distractor text are not annotation targets.
Query Details¶
| Query id | Program arguments | Answer schema | Annotation schema |
|---|---|---|---|
x_above_threshold_count |
axis=x, direction=above |
integer_count |
point_set |
x_below_threshold_count |
axis=x, direction=below |
integer_count |
point_set |
y_above_threshold_count |
axis=y, direction=above |
integer_count |
point_set |
y_below_threshold_count |
axis=y, direction=below |
integer_count |
point_set |