Skip to content

task_pages__hierarchy__manager_most_total_reports_label

Identity

  1. Domain: pages
  2. Scene id: hierarchy
  3. Source path: src/trace_tasks/tasks/pages/hierarchy/manager_most_total_reports_label.py
  4. Task id: task_pages__hierarchy__manager_most_total_reports_label

Program Contract

  1. Program schema: org_chart.manager_extremum(metric=total_reports, exclude_root=true); scene=hierarchy; scope=one organization chart
  2. 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.
  3. Public query contract: fixed single query; org-chart structure, manager labels, and visual style are sampled operands/render axes recorded in trace metadata.
  4. Answer schema: string
  5. Annotation schema: scalar bbox around the selected manager.
  6. Supported query_id: single
  7. Prompt query key: manager_most_total_reports_label
  8. scalar_annotation_checked=true

Reasoning Operations

Families: filtering, ranking, topology

Prompt + Trace

  1. Prompt bundle: pages_hierarchy_v1
  2. Scene key: hierarchy_diagram
  3. Task key: org_chart_query
  4. Prompt query key: manager_most_total_reports_label
  5. Trace records compared non-CEO managers, each manager's total report count, the selected manager id/label, and the selected manager bbox.
  6. Generation guarantees a unique non-CEO manager with the largest total report count.
  7. 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

  1. The top box is labeled CEO; prompts explicitly exclude the CEO at the top.
  2. Annotation marks the selected manager only; compared manager counts are recorded in trace metadata.