Allocation
The Allocation report uses AI-powered classification and weighting of pull requests to break down how engineering effort is being spent across Features, Maintenance, Fixes, and Other. Instead of relying on self-reported survey answers, it uses system data from your code host to estimate where engineering effort is going.
When to use the Allocation report
DX Snapshots ask engineers to self-report how they split their time between New capabilities and KTLO and maintenance. The Allocation report provides a system-based view of the same concept, using PR data instead of survey answers:
- Use it to understand what percentage of delivered work is Feature vs Maintenance vs Fixes, at the team or org level.
- Use the time series to see how Allocation is shifting over time in response to initiatives or changes in priorities.
How categorization works
1. Categories
Each merged pull request is categorized into one of the following groups:
| Category | Description |
|---|---|
| Features | Work that introduces new capabilities, product enhancements, or user-facing changes. |
| Maintenance | Work that maintains existing systems, such as security upgrades, tech debt, refactoring, or documentation. |
| Fixes | Work that addresses bugs, production issues, or incidents. |
| Other | PRs with insufficient or ambiguous information to be confidently classified. |
These categories align with those used in self-reported allocation data collected in DX Snapshots, where work is broadly grouped into New capabilities and KTLO and maintenance. In the Allocation report, KTLO/maintenance work is further divided into Maintenance and Fixes to provide more granularity.
2. Rule-based heuristics
If a pull request’s title, branch name, or one of its labels (GitHub and GitLab) starts with certain keywords, DX auto-categorizes the pull request using simple, transparent rules. By default, the keywords are:
- Features: title, branch, or label starts with
"feat"(e.g.,feat:,feature/, afeaturelabel) - Maintenance: title, branch, or label starts with
"maint","chore","refactor", or"docs"(e.g.,maintenance/,chore:) - Fixes: title, branch, or label starts with
"fix","bug", or"hotfix"(e.g.,fix:,bugfix/, abuglabel)
Matching works as follows:
- Keywords are matched as prefixes, so
"feat"also matches"feature"and"bug"also matches"bugfix". - Matching is case-insensitive.
- Leading issue keys (e.g.,
[ABC-123],ABC-123/) and leading non-letter characters are ignored, so[ABC-123] fix: login errorand123/feature/searchboth match. - If the labels, title, and branch name match different categories, labels win, then the title, then the branch name. For example, a pull request titled
feat: rename settingswith ahotfixlabel is categorized as Fixes.
These rules provide a strong, interpretable signal when teams have consistent naming conventions.
Customizing keywords: If your teams use different naming conventions, contact DX support to customize the keywords for each category.
3. AI classification
If no keyword rule applies, DX AI classifies the PR based on its content. The model considers signals such as:
- Linked ticket metadata (when available), including:
- Ticket title or summary
- Type (e.g., Jira
Bug,Task,Story) - Labels attached directly to the linked ticket
- Custom field values (e.g., category or type fields)
- Repository and PR metadata, including:
- PR title and description
- For GitHub and GitLab PRs: labels that clearly indicate bug/defect or maintenance work
- Structural characteristics of the PR (e.g., size and complexity of the diff)
The output is one of the four categories above, stored as Feature, Maintenance, Bug, or Other. In the UI, Bug is displayed as “Fix/Fixes” for readability, but the underlying category is the same.
Finally, to estimate engineering effort more accurately, allocation percentages are adjusted using DX’s TrueThroughput® model, which accounts for the complexity of each pull request.