task_pages__hierarchy__manager_most_total_reports_label¶
Identity¶
- Domain:
pages - Scene id:
hierarchy - Source path:
src/trace_tasks/tasks/pages/hierarchy/manager_most_total_reports_label.py - Task id:
task_pages__hierarchy__manager_most_total_reports_label
Program Contract¶
- Program schema:
org_chart.manager_extremum(metric=total_reports, exclude_root=true); scene=hierarchy; scope=one organization chart - Contract: compare every non-CEO manager by total number of visible employees below them through all reporting levels, and return the unique manager with the largest total reporting group.
- Public query contract: fixed
singlequery; org-chart structure, manager labels, and visual style are sampled operands/render axes recorded in trace metadata. - Answer schema:
string - Annotation schema: scalar
bboxaround the selected manager. - Supported
query_id:single - Prompt query key:
manager_most_total_reports_label - scalar_annotation_checked=true
Reasoning Operations¶
Families: filtering, ranking, topology
Prompt + Trace¶
- Prompt bundle:
pages_hierarchy_v1 - Scene key:
hierarchy_diagram - Task key:
org_chart_query - Prompt query key:
manager_most_total_reports_label - Trace records compared non-CEO managers, each manager's total report count, the selected manager id/label, and the selected manager bbox.
- Generation guarantees a unique non-CEO manager with the largest total report count.
- If stochastic tree construction violates a reviewed size, depth, requested-winner, or unique-winner invariant, generation retries with a deterministic derived seed up to
max_attempts. The selected attempt index and seed are recorded in both query and execution trace metadata; unrelated errors are not retried.
Rendering Notes¶
- The top box is labeled
CEO; prompts explicitly exclude the CEO at the top. - Annotation marks the selected manager only; compared manager counts are recorded in trace metadata.