“User page” here also covers Your Work on the Dashboard when you do not have View Team Activity, except Per PR and Model Mix, which show only on a user page. For the pages themselves, see Team.
How a period counts
Each metric counts an event at the time that it happened in the selected period. The period includes its start and excludes its end.
A pull request counts only in the period of its merge, even when someone updates it later. The Pull Requests page and Project Spend count the pull requests that were updated in the period, so their numbers do not add up with Merged PRs or the cost tiles.
Scope
- The Workspace section and the Team page count all users of the workspace. A user page counts one user.
- A session counts for its contributor, or for its owner when it has no contributor.
- Values that use session links count only the links that you can see. Without View Team Activity, only the links of your own sessions count.
Change and missing values
- A tile shows its change against the previous period of the same length, for example “+12%”, but only when the previous value is not 0. When the previous value is near zero, at most 1% of the current value, the tile shows New. Tool Failure Rate and Rework Rate show the change in percentage points. Open PRs shows no change.
- Not available means that the value did not load. It is not 0. Reload the page.
- A median or a p25–p75 range needs two or more values. With one value, the detail shows only the count, for example “1 PR”.
Cost
Inference Cost
Inference Cost is the known cost of the model requests in the period.- Formula: reported cost + estimated cost. A request without a reported cost gets an estimate from the model price at the time of the request. See Cost and the model catalog.
- Requests of subagent sessions count.
- Requests with unknown cost do not count. When no request has a known cost, the tile shows Unavailable.
- It does not include CI. See CI Cost.
Inference Cost per Contributor
Inference Cost per Contributor is the inference cost of the team divided by the people who did the work.- Formula: Inference Cost ÷ Active Contributors.
- When no user has a session in the period, the tile shows No active contributors.
Inference Cost per Merged PR
Inference Cost per Merged PR is the inference cost divided by the merged pull requests.- Formula: Inference Cost ÷ the merged pull requests whose author is a user of the workspace.
- The cost is all known inference cost of the scope in the period. It includes work that did not merge and sessions with no pull request, so the value is not the cost of a typical pull request.
- Pull requests of authors who are not users do not count in the divisor. The detail names them, for example “12 contributor PRs · 3 by other authors not counted”.
- When no user merged a pull request, the tile shows No merged PRs. For a user without a linked GitHub account, the tile shows the user’s total inference cost.
CI Cost
CI Cost is the list-price cost of your pull requests’ GitHub Actions runs that finished in the period.- Formula: the billable minutes of each job × the list price of its runner. See How CI cost is priced.
- The team value counts the runs of the workspace’s pull requests. A run that tested more than one pull request counts once.
- A user value counts the runs of the pull requests that the user authored. Agent Golf finds the author through the user’s linked GitHub account. In the Users table, a run on pull requests of more than one user splits evenly between them.
- Runs that have not finished and minutes on runners without a list price add no cost.
- It needs View Pull Requests and Repositories. Without it, the tile does not show.
Pull requests
Merged PRs
Merged PRs counts the pull requests that merged in the period, by merge time.- The team value includes pull requests whose author is not a user. The detail shows “Outside the organization: N” when N is more than 0.
- The detail also shows “N closed · N open”: the pull requests that closed in the period without a merge, and the ones open at the end of the period.
Cycle Time
Cycle Time is the median time from open to merge of the merged pull requests.- Formula: median of (merge time − open time). The detail shows the p25–p75 range.
- Pull requests that closed without a merge do not count.
Open PRs
Open PRs counts the pull requests that opened before the end of the period and did not merge or close before it. The detail shows their median age at the end of the period. Agent Golf does not store reopen events. A pull request that closed and opened again counts as open for the full time, in Open PRs and in Pull Request Flow.Agent-Assisted PRs
Agent-Assisted PRs counts the merged pull requests that have at least one session linked as authored or reviewed.- The tile shows the count and its share of all merged pull requests. The detail shows “N of M merged PRs”.
- A pull request with only manual links does not count. See What a linked session means.
- When no pull request merged, the tile shows No merged PRs.
AI Yield
AI Yield is the share of the agents’ lines that the merged pull requests shipped.- Formula: lines added by the pull requests ÷ AI lines added by their agent sessions. Here an agent session is a linked session that did not only review, manual links included.
- Up to 1.0, a value closer to 1.0 means less agent iteration. Above 1.0, the pull requests include lines that no agent session added, and the detail shows “includes non-agent lines”.
- It uses only the merged pull requests that have GitHub line counts and whose agent sessions all have measured lines. The detail shows the excluded count, for example “N of M measured”.
- The tile shows only when at least one merged pull request is measured.
Rework Rate
Rework Rate is the share of the code that merged in the period that later corrective work changed.- Formula: lines of the merged pull requests that a corrective pull request changed ÷ the eligible added lines of those pull requests. Lines in lockfiles, generated files, and snapshots do not count. Boilerplate lines, such as imports and module declarations, and lines that are too short or too long do not count either.
- Corrective means that the later pull request reverts the earlier one, fixes a bug in it, or a judgment of the two pull requests finds that it fixes or finishes the earlier work. Other changes to the same lines are Code turnover and do not count.
- Only pull requests with a session linked as authored count.
- A later change counts only inside the rework window after the merge. The default window is 7 days. Choose another on the Code page.
- A pull request still inside its window is not in the rate yet, so a recent period does not look better than it is. The detail counts these pull requests.
- When every pull request is still inside its window, the tile shows Not available. When no pull request counts at all, it shows No merged PRs.
- The detail shows the rework cost: the part of the attributed cost of the later pull requests that merged in the period and redid earlier code.
- On a user page and in the Users table, rework follows the author of the earlier pull request: who wrote the code, not who repaired it. The detail splits the lines into changes by the author and changes by others. Without View Team Activity, the tile follows this rule for your own pull requests.
- It needs View Pull Requests and Repositories.
Activity
Active Contributors
Active Contributors are the users with at least one session in the period. Sessions without a user do not count. Inference Cost per Contributor and the per-contributor values of Per Contributor, Per PR divide by this number.Sessions
Sessions counts the root sessions that Agent Golf analyzed in the period. Subagent sessions do not count.Tool Failure Rate
Tool Failure Rate is the failed share of the tool calls in the period.- Formula: failed tool calls ÷ all tool calls. The detail shows “N of M tool calls failed”.
- Tool calls of subagent sessions count.
- When the period has no tool calls, the tile shows No tool calls.
Per Contributor, Per PR
The Per Contributor, Per PR card shows averages. The Team page shows all values. A user page shows only the per-pull-request values, under the title Per PR. The values about pull requests use the pull requests that were updated in the period, not the ones that merged in it.
A value whose divisor is 0 names the reason, for example No active contributors or No attributed PRs. Lines Written per Line Shipped does not show when no pull request has measured lines.
Pull request metrics
The AI Efficiency tile of a pull request compares the lines that its agent sessions wrote with the lines that it shipped. It shows only when every agent session of the pull request has measured lines. AI lines are the lines added and removed that the agent sessions’ code-change reports state. An agent session is a linked session that did not only review. A session has no measured lines when it has no analysis, when it has unmeasured edits, or when it is an omp session that callseval (code mode). See HITL turns and AI lines.
Line Yield, Amplification, and Churn need the GitHub line counts of the merge.