task_charts__sankey__node_side_total_value¶
Contract¶
- Domain:
charts - Scene id:
sankey - Task id:
task_charts__sankey__node_side_total_value - Objective contract:
node_side_total_value - Supported
query_idvalues:source_outgoing_total_flow,target_incoming_total_flow
Program Contract¶
Program: sum(value(link) for link in node_side_links(node, side)); scene=sankey; scope=node_side_total_value
Candidate set: the visible flow nodes, links, and labels inside the node_side_total_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 sum 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_value value bound by integer_value.
Annotation witnesses: point_set witnesses bound by see_annotation_contract. Annotation marks multiple printed value-label centers: every outgoing or incoming band included in the node-side total contributes one point. Node boxes, unselected flow labels, flow curves, title, and panel frame are context unless explicitly referenced by the task.
Query ids: source_outgoing_total_flow, target_incoming_total_flow.
Reasoning Operations¶
Families: aggregation, topology
Implementation¶
- Registered class:
trace_tasks.tasks.charts.sankey.node_side_total_value.ChartsFlowSankeyNodeSideTotalValuePublicTask - Prompt bundle:
charts_sankey_v1 - Scene key:
sankey - Task key:
sankey_path_query - Query keys:
source_outgoing_total_flow,target_incoming_total_flow
Annotation Contract¶
- Answer schema:
integer_value - Annotation schema:
point_set - Annotation marks multiple printed value-label centers: every outgoing or incoming band included in the node-side total contributes one point.
- Node boxes, unselected flow labels, flow curves, title, and panel frame are context unless explicitly referenced by the task.
Query Details¶
| Query id | Program argument | Answer schema | Annotation schema |
|---|---|---|---|
source_outgoing_total_flow |
side=source_outgoing |
integer_value |
point_set |
target_incoming_total_flow |
side=target_incoming |
integer_value |
point_set |