Skip to content

Focus Areas

Focus analysis measures whether a contributor is a specialist (deeply focused on one area) or a generalist (spread across many areas). Neither is inherently better — the value depends on team needs and project phase.

How Focus Is Calculated

  1. Collect all areas_affected from a contributor's commits in the date range
  2. Count the frequency of each area
  3. Identify the top area (most frequently touched)
  4. Calculate focus percentage:
focus_percent=commits touching top areatotal commits×100

Metrics

MetricDescription
top_areaThe area the contributor works in most
focus_percentPercentage of commits in the top area
area_distributionFull histogram of area frequencies

Interpreting Focus

Focus %ProfileDescription
> 70%SpecialistDeep expertise in one area; risk of bus factor
40–70%BalancedPrimary area with meaningful secondary contributions
< 30%GeneralistSpread across many areas; breadth over depth

Use Cases

Team Planning

  • If everyone is a specialist, you have high bus factor risk
  • If everyone is a generalist, you may lack deep expertise in critical areas
  • A healthy team has a mix

Career Development

  • Focus shifting from generalist to specialist might indicate the developer is finding their niche
  • Focus spreading might indicate growing into a tech lead or architect role

Sprint Review

  • Unexpected focus changes might signal unplanned work or firefighting
  • A developer suddenly working outside their focus area could be covering for someone

TIP

Focus areas come from the areas_affected field in commit analysis. The LLM identifies these based on the actual code changes and project structure, not just file paths.

Built with intelligence, not surveillance.