Skip to content

task_charts__table__column_summary_value

Public Contract

  1. Domain: charts
  2. Scene: table
  3. Source file: src/trace_tasks/tasks/charts/table/column_summary_value.py
  4. Prompt assets: src/trace_tasks/resources/prompts/charts/table/charts_table_counting_v1.json, src/trace_tasks/resources/prompts/charts/table/charts_table_ranking_v1.json, src/trace_tasks/resources/prompts/charts/table/charts_table_statistics_v1.json, and src/trace_tasks/resources/prompts/charts/table/charts_table_temporal_v1.json
  5. Query ids: column_sum, column_mean, column_median

Program Contract

Program: aggregate(values(column), operation=sum|mean|median); output=integer_value; annotation=bbox(column_values); scene=table; scope=column_summary_value

Candidate set: the visible table cells with row and column labels inside the column_summary_value 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 aggregate 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 unspecified value bound by integer_value. Annotation witnesses: unspecified witnesses bound by bbox(column_values). The Annotation Contract below defines the prompt-facing witnesses. Query ids: column_sum, column_mean, column_median.

Reasoning Operations

Families: aggregation

Contract Notes

This task uses the current source layout. Scene-local reusable code lives under src/trace_tasks/tasks/charts/table/shared/; public task files own objective logic, query selection, answer binding, and annotation binding.