Metric glossary
These definitions are generated from the same document the dashboards are implemented and tested against, so they cannot drift from what you see in the product.
- Throughput
- volume of output:
commits,prs_opened,prs_mergedandreviews_givenper day. A commit is attributed to itscommitted_atday, an opened PR to itscreated_atday, a merged PR to itsmerged_atday, a review to itssubmitted_atday — always the day of the event itself, and always the tenant's local days. - Cycle time
- for a merged pull request,
merged_at − created_at(seconds), floored at zero. It is attributed to the merge day and belongs to the PR's author. A window's average isΣ cycle_time_seconds_total / Σ cycle_time_count— the counts travel with the sums, so multi-day windows weight correctly. - Review latency
- for a pull request, the time from
created_atto its first review by a non-bot reviewer (min(submitted_at) − created_at, floored at zero). It is attributed to the day that first review arrived and belongs to the PR's author: it measures how long the author waited for review. Reviews given by bots never start the clock; a PR with no human review contributes no latency. A window's average isΣ review_latency_seconds_total / Σ review_latency_count. - PR size
additions + deletionsof a merged pull request. Attributed to the merge day and to the author. A window's average is(Σ merged_additions + Σ merged_deletions) / Σ prs_merged.- Cycle-time percentiles
- p10, median and p90 of the cycle time of the PRs merged in the window, so outliers don't hide behind an average. They are estimated from a histogram of fixed, log-scaled buckets (15 minutes doubling to 2,048 hours), so each value is accurate to its bucket: the estimate shown is the middle of the bucket the percentile falls in. Same PRs as cycle time — merged, by a non-bot author, on the merge day.
- PR stages
- a merged pull request's lead time split into the stages it went through: first commit → open, open → first review, first review → merge and merge → deploy. All four describe the PRs merged that day: each is attributed to the PR's merge day and belongs to the PR's author, exactly like cycle time, so a window's stage chart breaks down the same PRs its cycle time averages. Bot-authored PRs and PRs without an author are left out, as everywhere. Each duration is in whole seconds, floored at zero, and a window's average is
Σ stage_…_seconds_total / Σ stage_…_count. A stage counts only the PRs it was measured for, so the stage averages need not add up to the average cycle time. Merge → deploy counts only the PRs linked to a production deploy, and until the workspace has a counted production deploy it reads "not tracked", never zero. - Lead time
- for a merged pull request,
merged_at − first_commit_at(seconds): from when work on it began, the earliest authored time among its own commits (as in the first commit → open stage), to its merge. When no commit is linked, or the PR was opened before its first commit, it runs fromcreated_atinstead — the earlier of the two — so a PR's lead time is never shorter than its cycle time. Floored at zero and attributed to the merge day, like cycle time. It is not rolled up: the PR Workflow report's long-lead-time PRs table reads it per pull request and lists the PRs merged in the window whose lead time is over the target, longest first, with each PR's stages and cycle time beside it. - Deploy frequency
- successful production deploys, counted on the local day each finished and shown per week (Monday to Sunday). For the organisation every counted deploy counts once; for a team or group, a deploy counts once when it shipped at least one merged pull request authored by a member — however many members it shipped — so a team's count is not the sum of its people's. A person has no deploy count: a deploy names no one. Until the workspace has a counted production deploy — the GitHub App's Deployments and Actions permissions approved and the production setting matching an environment or workflow — deploy charts read "not connected" rather than zero.
- Time to restore
- how long production stayed broken after a failed deploy: from a failed production deploy finishing to the next successful production deploy of the same repository finishing in the same environment (for a workflow run, the same workflow). Consecutive failures before that success are one restore, timed from the first of them; cancelled deploys neither fail nor restore, and a failure not yet restored is not counted until it is. A restore is attributed to the day the restoring deploy finished, and a window's mean time to restore is
Σ restore_seconds_total / Σ restores. For a repository an incident service is mapped to (an incident-mode repository), each mapped incident resolved is a restore instead, from the incident opening to its resolution, attributed to the day it was resolved; that repository's deploy-based restores are not counted. - Lead time for changes
- for a merged pull request linked to a production deploy, the linked deploy's
finished_atminus the PR's first commit — the earlier offirst_commit_atandcreated_at, as in lead time — in whole seconds, floored at zero. Like the PR stages it is attributed to the PR's merge day and belongs to its author, bot-authored and AI agent PRs left out, and a window's average isΣ lead_time_for_changes_seconds_total / Σ lead_time_for_changes_count. A PR not deployed yet adds nothing until its deploy lands; until the workspace has a counted production deploy it reads "not connected" rather than zero. - Change failure rate
- the share of finished production deploys that were change failures,
Σ change_failures / Σ finished_production_deploysover the window. A finished production deploy is one whose status issuccessorfailure, attributed to the local day it finished; cancelled and unfinished deploys count nowhere. A change failure is a failed one, or a successful one followed by a fix pull request — opened in the same repository on the deploy's branch within the tenant's window after the deploy finished, not closed unmerged — when it is the latest successful production deploy of that repository and branch before the fix opened. A fix pull request's title starts with one of the tenant's prefixes or it carries one of the tenant's labels, case-insensitively. Defaults: a 72-hour window, the prefixesRevert,hotfixand[hotfix], the labelsrevertandhotfix. A team or group counts the deploys that shipped or attempted a member's merged pull request; with no team or group selected the rate is over every repository. For an incident-mode repository, a successful deploy is a change failure instead when an incident on a mapped service opened within the tenant's window after it finished and it is the latest successful production deploy of that repository before the incident opened; the fix pull request rule does not apply there. - a commit whose author or co-author is a known AI tool (Claude Code, Codex, GitHub Copilot, Cursor, Devin, Windsurf, Google Gemini, Amazon Q Developer, Tabnine, Aider, Cline or another listed agent): the author's GitHub login or git email matches the AI signature catalogue, or a
Co-authored-by:trailer of its message does. A commit an AI agent authored itself is counted for the tool, never as a person's commit; a person's commit with an AI co-author stays theirs and also counts for the tool. Commits made with AI help but no trailer, or under a person's own identity, cannot be seen. - AI-assisted PR
- a merged PR made with an AI tool: one of its commits is AI-authored (see AI-authored commit; for a squash merge, the squash commit carries the branch's trailers), an AI bot opened it, or it carries a PR marker: its description has an agent marker such as "Generated with Claude Code", it has an AI tool's label (such as
codex) or its branch is an AI agent's (such ascopilot/…). A PR an AI agent opened itself counts as AI-assisted for the agent, never as a person's PR. PRs made with AI help that left none of these traces cannot be seen. - Review depth
- how closely a merged PR was reviewed before it merged, compared between AI-assisted and human PRs so a rubber-stamped AI PR shows up. Like the PR stages it describes the PRs merged that day, on the PR's merge day and its author's row, in the three classes of AI-assisted PRs: people's PRs (the
merged_*columns, the PRsprs_mergedcounts, AI-assisted ones included), the AI-assisted PRs (ai_*, AI agents' included) and the AI agents' own (ai_agent_*). Only human (non-bot) reviewers count, and only what they did at or before the merge. - Review depth level
- how thoroughly one merged PR was reviewed before it merged:
none,rubber_stamp,lightorsubstantive. As in Review depth, only human activity counts — a reviewer or commenter who is not a bot, not an AI reviewer (by login, even on a user account) and not the PR's author — and only what they did at or before the merge. - AI PRs with shallow review
- merged PRs that are AI-heavy, above a size floor, and whose review depth level is at or below the tenant's ceiling. A team review-process signal, never a person's score.
- Reverted PR
- a merged PR undone afterwards in its own repository by a revert commit or a revert PR.
- Bug-linked PR
- a merged PR that a bug ticket reported after it merged is linked to.
- Incident-linked PR
- a merged PR that shipped in an incident's linked deploy.
- Cross-team hand-off
- review latency split by who gave the PR's first human review: the same PRs, the same wait (
first review − created_at, floored at zero), the same day (the first review's) and the same row (the author's). Bots never start the clock, and when two people submit the first review in the same second the wait counts as in-team if either of them is. - Review load
- how much reviewing a team or group did over a window and how long its authors waited, as a team:
Σ reviews_given(the reviews its members submitted),Σ reviews_given / Σ prs_opened(reviews per pull request opened) and the window's average review latency. It is read from the team's or group's own rollup rows only and is never broken down per person — DevGlimpse ranks no individuals. - Satisfaction
- the developer-experience pulse, as a team: a closed monthly pulse's average answer on its 1–5 agreement scale, the mean of its questions' averages (each rounded to 0.1 in the view) leaving out the AI experience questions, which have their own metric, from the respondents who belonged to the team or group when they answered. A team or group appears only once the pulse has closed and only with at least the pulse's minimum response count (never fewer than 5). It is hidden when its respondents differ from another team's or group's in the same pulse by fewer than that minimum, or when it has exactly the minimum and everyone gave one question the same answer; a hidden team or group gets no row from Hasura, for every role. Answers are never shown one by one or per person.
- AI experience
- how a team's or group's members say their AI coding tools work for them, from the pulse's optional AI experience questions, asked on top of the pulse's 2 or 3 core questions: "AI coding tools save me meaningful time in my work" (time saved), "I can rely on what AI coding tools produce without heavy rework" (trust) and "Reviewing AI-assisted changes takes no more effort than reviewing other changes" (review overhead, so 5 means none). Everyone who answers the pulse answers them, including people who rarely use AI tools. Each is the question's average on the 1–5 agreement scale, rounded to 0.1 in the view, from the same
pulse_scoresslices and under the same rules as Satisfaction: a closed pulse only, at least its minimum response count, the near-copy and same-answer rules, never one by one or per person. Beside each pulse month the team or group page shows, measured rather than answered,Σ ai_prs_merged / Σ (prs_merged + ai_agent_prs_merged)(an AI agent's PR is never inprs_merged) from the subject's own rollup rows over that calendar month, month to date for the current one (see AI-assisted PR), withheld under the minimum group size like its other rollups. The answers are perception and the share is telemetry: neither is evidence for the other, and the survey does not measure AI usage. - Benchmark weekly values
- each benchmarked metric for the organisation, a provider team or a custom group over the previous Monday–Sunday week in the tenant's timezone, beside the week before it and the change between the two (the previous week's value minus the week before's). Git metrics come from the subject's contributor rollup rows of those days, by the definitions above: cycle time, the three PR stages (coding time is first commit → open, pickup time open → first review, review time first review → merge) and PR size are the week's averages, in hours or lines, and merge frequency is the week's merged PRs per active contributor — a contributor with a commit, an opened or merged PR, or a review that week. A week with nothing to measure has no value. A metric whose source isn't connected — deploy metrics until deploys are tracked, git metrics without a connected GitHub integration — reads not connected, never zero. Each metric is compared against the tenant's own target when an org_admin has set one, otherwise against its default from published research, cited beside it.
- Benchmark history
- each benchmarked metric week by week against the target that was in force that week, for the organisation, a provider team or a custom group. The nightly cron copies the view's closed week into
benchmark_weekly_history, one row per week, subject and metric with the comparator, target andtarget_scopein force then, so history survives later target changes and a chart's target line steps when the target did. A week persists once (ON CONFLICT DO NOTHING): a repeated night or a late rollup change rewrites nothing. Only measured values are stored, never a zero: a week with nothing to measure, or a metric whose source isn't connected, has no point that week.contributor_countis the subject's counted members then; the Benchmark History dashboard reads a team or group row only when it reaches the tenant's current minimum group size, as the weekly values do, and every role reads the same tenant-scoped rows. - the share of a team's or group's events (commits authored, pull requests opened, reviews submitted, review comments written by its counted members) that fell outside working time, week by week,
Σ out_of_hours_events / Σ eventsover the subject's closed tenant-local weeks; over several teams or weeks the events are summed first. Working time is the tenant's working hours, not each person's zone: the workspace calendar (zone, working days and hours, public holidays, custom days off) is the clock for everyone, so a member working normal hours in another zone reads as out of hours. A week with no event has no point, never 0 %. Shown only for a team or group at the minimum group size and not withheld for differencing, never per person. - Sustained out-of-hours people
- how many of a team's or group's counted members had out-of-hours events on 3 or more distinct days of a closed tenant-local week (
sustained_people), and that count as a share of the week's counted members,Σ sustained_people / Σ contributor_count. Who they are is never stored or shown. Working time is the tenant's working hours, not each person's zone, as for the out-of-hours share. A week with no event has no point. Shown only for a team or group at the minimum group size and not withheld for differencing, never per person. - Bottleneck finding
- one rule of the weekly bottleneck diagnosis that fired for a provider team or custom group in the latest diagnosed week: its severity (high, medium or low), the numbers behind it over the last 4 closed tenant-local weeks against the subject's own 8 weeks before them, a likely cause and a suggested fix. At most 3 per subject and week, most severe first. A team is compared only with its own history, never with another team, and no finding names, ranks or singles out a person; a team or group under the minimum group size or withheld for differencing has none, for every role.
- AI adoption
- how many people used an AI tool over a window, from the daily telemetry aggregates (kubeace/devscout issue 102): the active AI users per UTC week (Monday to Sunday) and tool, and per provider team the distinct members with any telemetry in the week. A team's figure counts only the members whose usage the caller may see (the visibility scope), and a team under the tenant's minimum group size, or withheld for differencing, is not shown.
- AI spend
- the tokens and the reported cost of AI tool usage over a window, from the daily telemetry aggregates: input, output, cache-read and cache-creation tokens and the cost in US dollars, by tool, model and team (a team's figure is the sum of its visible members' rows, withheld like AI adoption). A tool that reports no cost shows tokens and no cost, never a zero.
- AI sessions
- how long AI coding sessions run and how much they do, from the raw log events (kubeace/devscout issue 104): a session is a session id (Codex: a conversation id) whose first log event falls in the window; its length is its last log event minus its first, inside the window, and its tool calls are its Claude Code and Codex
tool_resultevents and Gemini CLItool_callevents. The mean session length and the tool calls per session are the sums over the sessions the caller may see divided by their count, per UTC week of the session's first event; a team's figure is that of its visible members' sessions, withheld like AI adoption, and a week with no session has none, never a zero. A developer's own AI usage view shows only their own sessions. - Failed PR
- a merged PR that was reverted, or is bug-linked or incident-linked, using those definitions' predicates, counted once however many hold. A bug filed before the merge does not count (the bug-linked predicate already requires a ticket created after the merge, so no extra clause is needed).
- PR rework
- the merged PRs that repaired a failed PR within 90 days of its merge: its revert PR, and any PR linked to one of its bug tickets and merged after that bug was filed. A revert pushed outside a PR fails the original but has no rework to count. Rework counts on the failed PR's author and merged day, as PRs and as lines (
additions + deletions); a fix repairing n failed PRs gives each 1/n of a PR and 1/n of its lines. - Quality-adjusted throughput
- merged PRs net of the failed ones, a week:
(merged − failed) ÷ days × 7over a window, for a team or the organisation. - PR failure rate
- the share of a window's merged PRs that failed:
failed ÷ merged, with no figure when nothing merged. - Rework ratio
- the rework a window's merged PRs caused against what they changed:
rework lines ÷ lines merged, with no figure when no line merged. - Net throughput per $1,000 of AI spend
- the change in quality-adjusted throughput against the change in AI spend:
(after quality-adjusted PRs a week − before quality-adjusted PRs a week) ÷ (after spend a week − before spend a week) × 1,000. Both changes are per week so an after window cut at today compares like with like; on two full windows it is exactlyΔPRs ÷ Δ$ × 1,000. It is the difference, never a ratio of totals, which would mix the pre-AI baseline into the cost. A side with no reported spend counts as $0 (usually the before side). - Pipeline duration
- for a finished run,
completed_at − started_at: the time the pipeline took once it began, per attempt, so a re-run is timed on its own. Each UTC day's figures are the mean and the median over its finished runs; the window's mean weights each day by its runs, never an average of daily means. Runs that report no start time count nowhere. - Queue time
- for a first attempt,
started_at − created_at: how long a run waited for a runner before it began. A re-run attempt has no queue time, because its creation time is the first attempt's. Each UTC day's figures are the mean and the 90th percentile over its finished first attempts; the window's mean weights each day by its runs. - CI failure rate
- the share of finished runs that failed,
failed runs / (failed runs + succeeded runs), over the window and per UTC week from each week's own counts. Cancelled, skipped and unfinished runs count nowhere, and a week with neither a failed nor a succeeded run has no rate. - Flaky tests
- the jobs that both failed and succeeded on the same commit: a job (its workflow, its name and its repository) is flaky for a head sha when finished jobs on that sha include a failed and a succeeded one, whether from a re-run or from separate runs. A job's flaky count is its number of such shas in the window, shown beside the shas it ran on. GitHub's Actions API exposes no test results, so the unit is the CI job, not an individual test case.
- CI minutes
- the sum of the finished jobs' durations (
completed_at − started_at), in minutes: the runner time CI consumed, so jobs that ran in parallel each count. A team's CI minutes are the minutes of the jobs triggered by the members of the team the viewer may see, so a person in several teams counts for each of them and the teams can add up to more than the workspace's total. A team with fewer counted members than the workspace's minimum group size is withheld, as in the team lists. - Flaky jobs
- the CI jobs flaky on a commit, week by week: a job (its workflow, its name and its repository) is flaky on a head sha when its finished jobs there include a failed and a succeeded one, whether from a re-run or from separate runs. A job failed on one sha and green on another is not flaky, and cancelled, skipped and unfinished jobs count nowhere. A sha counts in the UTC week (Monday to Sunday) in which its last failed or succeeded job finished; each week shows the jobs flaky on at least one sha, their flaky shas and the shas they ran on that week.
- Re-run cost
- the runner minutes (
completed_at − started_at) of failed job attempts on a head sha where the same job succeeded later in the window: the runner time a flaky job spent failing before it passed. A failure after the last success, a job that never passed on that sha and cancelled or skipped attempts cost nothing. It counts against the failed run's trigger, so a team's re-run cost is that of the jobs triggered by the members of the team the viewer may see, a person in several teams counting for each, and a team with fewer counted members than the workspace's minimum group size is withheld, as for CI minutes. - Quarantine candidates
- the jobs flaky on at least 3 distinct head shas in the 14 UTC days ending on the window's last day (
QUARANTINE_MIN_FLAKY_SHASandQUARANTINE_WINDOW_DAYSin the Worker's query module), whatever the window's length: what to fix or skip first. Each shows its flaky shas and the shas it ran on in those 14 days, and its first-seen and last-seen days, the first and last day it was flaky from the window's start (or the 14 days' start, if earlier) to its end. Most flaky shas first, then the most recently flaky. - Flaky test cases
- the test cases flaky on a commit: a test case (its suite, its name and its repository) is flaky on a head sha when its results there, across attempts and jobs, include a
passedone and afailedorerrorone. A case that failed or errored on every attempt of a sha is failing there, not flaky, andskippedresults count nowhere. Each shows its flaky shas beside the shas it ran on in the window, its flake rate, and its first-seen and last-seen days: the first and last UTC day on which a sha it was flaky on had its last result uploaded. Most flaky shas first, then the most recently flaky. - Flake rate
- a test case's flaky shas ÷ the head shas it ran on (with at least one
passed,failedorerrorresult) in the window: how often a commit that ran the case saw it both pass and fail. - Slow test p90
- the 90th percentile of a test case's reported durations over its results that ran (
passed,failedorerror; each attempt and job its own result) in the window, beside the median and the number of results;skippedresults are not timed. The slowest test cases are listed by it, slowest first. - Failing test cases
- the test cases failing on a commit: a test case is failing on a head sha when its results there include a
failedorerrorone and nopassedone, however many attempts ran — a breakage rather than a flake. Each shows its failing shas beside the shas it ran on in the window, its failed and errored results on those shas and the last day it failed. Most failing shas first, then the most failures. - Test-case trend
- per UTC week (Monday to Sunday), over the head shas whose last result was uploaded that week: the test cases run, their results that ran, the failure rate (
failedanderrorresults ÷ results that ran, from the week's own counts) and the test cases flaky on one of those shas.skippedresults count nowhere, and a week with no result has no point. - Time to resolve
- for a completed bug,
completed_at − created_at(seconds), floored at zero, on the completed day. A window's average isΣ bug_resolution_seconds_total / Σ bug_resolution_count. - Ticket cycle time
- for a completed ticket with a start time,
completed_at − started_at(seconds), floored at zero, on the completed day; a ticket completed without ever being started has none (ticket_cycle_time_count≤tickets_completed). A window's average isΣ ticket_cycle_time_seconds_total / Σ ticket_cycle_time_count. Its histogram uses the cycle-time buckets' fixed edges (Cycle-time percentiles,cycle_time_bucket()), so a refreshed row's buckets add up to itsticket_cycle_time_countand the median is estimated from a window's summed buckets by the same estimator. - Fix vs. find rate
- bugs resolved against bugs created over a window,
Σ bugs_resolved / Σ bugs_created(Ticket rollups). Above 1 the open bugs shrink, below 1 they pile up; a window without a bug created has none. The two counts are independent: a bug resolved in the window may have been created before it. - Bug workload
- the share of completed tickets that were bugs over a window,
Σ bugs_resolved / Σ tickets_completed(a completed bug counts in both). The rollups count tickets, not their size, so the share is by ticket; a window without a completed ticket has none. - Rework rate
- bugs created against tickets completed over a window,
Σ bugs_created / Σ tickets_completed(Ticket rollups). It sets the new bugs that work produced beside the work finished; the two counts are independent, so a bug created in the window may come from work completed before it and the rate can pass 100%. A window without a completed ticket has none. The Bug Creation report shows it next to the change failure rate: that one is read from deploys, this one from tickets. - Sprint completion
- points done against points committed over the cycles that ended in a window,
Σ points_done / Σ committed_points(Cycle rollups), over the cycles with a committed snapshot. Above 1 the team finished more than it committed (scope added after the start counts as done); a window without a committed point has none. - Rollover ratio
- the share of the previous cycle's scope left unfinished when it ended,
Σ rollover_points / Σ (committed_points + scope_added_points − scope_removed_points of the previous cycle)over the cycles with a known rollover (Cycle rollups); a cycle with no previous cycle, or one whose previous cycle has no committed snapshot, has none. - Scope creep
- the net scope that moved after a cycle started, as a share of what it committed,
Σ (scope_added_points − scope_removed_points) / Σ committed_points(Cycle rollups). Positive means scope grew, negative that it shrank; a cycle without committed points has none. - Velocity
- the points done in a cycle,
points_done(Cycle rollups), plotted sprint over sprint per ticket team. A ticket counts when it was in the cycle and completed before the cycle ended; a cycle with no done point has a velocity of 0. - the share of the work done in a cycle that was added after it started,
Σ unplanned_points_done / Σ points_doneover the cycles in a window (Cycle rollups); a window with no point done has none. - the share of the work done in a cycle that went to bugs,
Σ bug_points_done / Σ points_doneover the cycles in a window (Cycle rollups); a window with no point done has none. - Carry-over
- the tickets a cycle did not finish by its end,
Σ carried_over_ticket_countover the ended cycles with a committed snapshot (Cycle rollups). The next cycle'srollover_ticket_countis the same number seen from the other side. - Burnup
- a cycle's scope against its done work day by day,
scope_pointsanddone_pointsofticket_cycle_daily_metrics(Cycle rollups); the burndown is the remaining work,scope_points − done_points. A day without a committed snapshot has no scope point. - Initiative progress
- an initiative's completed tickets against its tickets that are not cancelled,
tickets_completed / tickets_total(Initiative rollups), and by points,points_completed / points_total; an initiative without a ticket has none. An initiative holds the tickets of its projects, and a project in several initiatives counts in each. Beside it, its effort: the distinct pull requests linked to those tickets, and the lines the merged ones changed. - Forecast finish
- the date an initiative finishes if its recent completion rate continues,
as_of + ⌈remaining × W / recent_completed⌉days, whereremaining = tickets_total − tickets_completed,Wis the workspace's forecast window (28 days unless an org admin changes it) andrecent_completedcounts the tickets completed in theWdays endingas_of. It is none when nothing remains, or when nothing was completed in the window. - Completion forecast
- for each initiative, project and epic with tickets, the dates by which 50%, 70%, 85% and 95% of 10,000 simulated futures finish its remaining tickets (
tickets_total − tickets_completedof its initiative rollup). Each simulated working day completes as many tickets as one working day drawn at random from the node's own completions over the last 84 days, skipping the workspace's weekends and holidays. A node with fewer than 5 completions in that window is marked as having too little history instead of being given a date. The forecast assumes the team and the scope stay as they were. The Initiatives report shows the 70% and 85% dates, and keeps the linear forecast finish beside them as the "Linear estimate" for one release. - How many by a date
- the engine's second question (the throughput calculator): the count of tickets finished by a date in at least 50%, 70%, 85% and 95% of trials, so the counts read downward (P85 ≤ P50).
- Agent activity
- what each agent of the workspace's agent registry did over a window. Its git activity is read from
agent_repository_activity: the pull requests opened, commits and reviews of the contributors its identities link (bot accounts and AI signature matches), each on the UTC day of the event, and the distinct repositories they touched. Its telemetry activity is read from the tools itstelemetry_toolidentities name, over the log events of the people the caller may see: sessions (a session id, Codex: a conversation id), cost (Claude Code's reported cost; a tool that reports none shows no cost, never a zero) and the distinct people who used it, all three shown only where those people are at or above the workspace's minimum group size (below it, the tool's sessions and cost are withheld with its people count, so one person's use and spend are never shown). An agent seen under several tool names sums their sessions and cost and shows the largest of their people counts; if any of its tools is withheld, all three are. No figure names a person. - Agent scorecard
- how the pull requests each agent of the workspace's agent registry opened in the window turned out, and what they cost people to land. An agent opened a PR when its author is one of the agent's bot accounts, its opener login is one of them (the Copilot coding agent opens PRs another account authors), or its opener matches an AI signature of the agent's tool; who opened the PR decides, not whether the agent is catalogued as an assistant. Merge rate is merged ÷ (merged + closed without merging) over the PRs opened in the window (still-open PRs are undecided); time to merge is the median from opened to merged. Human follow-up is the share of merged PRs with at least one commit a person made after the PR opened (not a bot, not an agent's identity, not a commit whose author matches an AI author signature). Review burden is the people's submitted reviews plus review comments on all of the agent's PRs in the window, per merged PR. Revert and failure rates are the agent PRs' outcomes from the per-tool PR outcomes of the agent's tool (merged in the window; failed = reverted, bug-linked or incident-linked), shown only for a catalogue agent keyed by its tool and never an AI reviewer; like those outcomes they are multi-label, so an agent PR carrying a second tool's trace counts under both tools. Cost per merged PR is the reported cost of the telemetry sessions of the agent's own telemetry tools linked to its PRs (split across a session's linked PRs by size), divided by the merged PRs that cost reached; a tool that reports no cost, or an agent with no linked session, shows no cost, never a zero, and no vendor bill is read. Every figure covers only the pull requests and sessions of people the caller may see, plus bot-authored PRs, which name no one. A figure resting on fewer people than the workspace's minimum group size (the human authors of the agent's PRs, the people rows of its tool's outcomes, or the people whose sessions reached it) reads "Hidden". Agents are listed by name, never ranked, and no figure names or ranks a person.
- the part of a team's, a group's or the workspace's AI agent spend that led to no merged or open pull request: (abandoned + no_pr) ÷ (merged + open + abandoned + no_pr), by cost when any of those sessions reports one, else by tokens.
abandonedis spend on pull requests closed without merging andno_pris spend on sessions whose 7-day linking window closed with no pull request.pendingis not decided yet andunattributableis a coverage gap, never waste, so neither is in the share. It is hidden when too few people are behind it, and never shown for one person. - Time allocation
- the share of a window's linked effort that went to each category,
Σ lines_changed of the category / Σ lines_changed of every ticketed category(feature, bug, maintenance and unclassified, so the four add up to 100%) over the merged PRs' rows inticket_effort. Beside it, the ticket coverage: the ticketed lines against all merged lines, unticketed included. A window without a merged linked PR has none. The same split by pull request count (each PR counted once, divided among its tickets) is shown next to it for PRs whose size says little about their effort. - Investment allocation
- the share of a window's initiative-linked effort that went to each initiative,
Σ lines_changed of the initiative / Σ lines_changed of every initiativeover the merged PRs' rows ininitiative_effort, so the initiatives add up to 100%; within an initiative, each category's share of its lines (as in Time allocation). Beside it, the initiative coverage: the initiative-linked lines against all merged lines, no-initiative and unticketed included. A window without a merged initiative-linked PR has none. - Ticket coverage
- the share of a window's merged pull requests linked to a ticket,
ticketed / (ticketed + unticketed)over the merged PRs' rows inticket_effort(Time allocation), counted by pull requests and, beside it, by lines (Σ lines_changed). Bots, excluded people and option-excluded repositories are left out. A window without a merged PR has none. - Unticketed pull request
- an open or merged pull request that no ticket is linked to (
unticketed_pull_requests), listed largest first byadditions + deletions. A pull request closed without merging is not listed, an open draft is; bots, excluded people and option-excluded repositories are left out. The title opens it on the provider. - Stale ticket
- a ticket whose mapped state category is
startedand whose latest activity is at leaststale_ticket_daysworking days old (default 5, 1–60, the org_admin's setting). Latest activity is the latest of the ticket's provider update, start and creation, and of every linked pull request's opening, commits, reviews, merge and close. Working days are the days after the activity's day up to today on the assignee's calendar (their group override, else the workspace's), so a weekend or holiday is not idle time. Bots' and excluded people's tickets are left out. - AI policy compliance
- the share of evaluated AI pull requests that broke no policy rule,
1 − Σ ai_policy_violating_prs / Σ ai_policy_evaluated_prsover the window's rollup rows. An evaluated PR is a merged AI-assisted or agent PR that at least one enabled pull request rule (human_review_required,max_ai_pr_size) covered, on its author's merged day; a violating one broke at least one of them. Per rule, the rate is1 − that rule's PR violations / Σ ai_policy_evaluated_prs, so a rule scoped to fewer repositories reads higher. Rules are evaluated at every refresh, over existing history too ("evaluated retroactively"), and an acknowledged or exempted violation still counts: resolving one keeps the record honest, it does not change the rate. A window with no evaluated PR has no rate, never 100%. - Code expertise
- how well a person knows an area of a repository, from what they authored and reviewed there in the last 365 days, decaying with a 90-day half-life. Authored score = Σ over their merged pull requests touching the area of
sqrt(min(lines in the area, 500)) × 0.5^(age_days / 90), where lines are the additions plus deletions of the PR's files in the area and age runs from the merge to the end of the snapshot day; an AI-assisted PR counts at half weight and an agent PR not at all. Review score = Σ over their reviews submitted before the PR merged (or on a PR not merged), on PRs touching the area, of0.6 × 0.5^(age_days / 90); a review of their own PR does not count. A person is all of their linked identities; bots and excluded people have no score. An active expert has a total score of at least 1.0 and activity in the area in the last 180 days; a primary expert is an active expert holding at least 40% of the area's total score, any other active expert is familiar. - AI code durability
- the share of the lines merged pull requests added that still exist 30 and 90 days after the merge,
Σ survival_lines_30d / Σ survival_baseline_lines_30d(and_90d) over the window's rollup rows, on each PR's merged day and its author's row. The baseline is the lines that blame, at the merge commit, attributes to the PR's own commits (its linked commits and its merge or squash commit) in the files it touched; the survivors are those still attributed to them when the same files are blamed at the base branch's newest commit 30 or 90 days after the merge. The classes follow the AI-assisted PR columns: AI-assisted =ai_survival_*(AI agents' PRs included), AI agents =ai_agent_survival_*, people with AI =ai_survival_* − ai_agent_survival_*, and human (no AI) =survival_* − (ai_survival_* − ai_agent_survival_*). Only repositories an org_admin opted in to line history are measured, from blame line ranges, never file contents. Limits: at most the 20 files with the most added lines are blamed per PR, the rest left out; a rebase merge, whose commits were rewritten, is unmatched and left out of both sides, as is a PR skipped for API budget or size; a whitespace or formatting rewrite counts as not surviving, as does a later deletion of the file; and a file renamed after the merge counts 0 surviving lines, because GitHub's file listing gives a rename no previous path to follow. A PR has no 30-day figure until 30 days after its merge (90 days likewise), so a recent window has no rate, never 0% or 100%. - Descriptive AI unit cost
- reported AI spend divided by delivered units in the selected window: merged pull requests or completed tickets. Quality-adjusted unit costs retain spend and remove failed units from the denominator. A zero denominator or unreported cost has no figure. These are descriptive unit costs, not return on investment; no people cost is included.
- Agent readiness
- how well AI agents succeed in a repository, as a band (Ready, Workable or Hard) from a 0–1 score over the 28 days ending a tenant-local week's Sunday. An agent pull request is one
pull_request_is_ai_assistedholds for, in any state: an AI agent opened it, a commit carries an AI trailer, its body carries an agent marker, or an agent session is linked to it. The components, each mapped linearly to 0–1 between a good and a bad threshold (clamped), with their weights: agent PR merge rate = agent PRs merged ÷ agent PRs merged or closed unmerged in the window (good 80%, bad 40%, weight 0.25); review pickup = the median hours from opening to the first human review of the agent PRs first reviewed in the window (good 4 h, bad 48 h, 0.10); revert and bug-fix rate = the agent PRs merged in the window that were reverted or are linked to a bug filed after the merge ÷ agent PRs merged (good 5%, bad 25%, 0.15); CI duration = the median duration of the repository's finished workflow runs (good 10 min, bad 60 min, 0.10); CI failure rate = failed ÷ failed + succeeded runs (good 10%, bad 40%, 0.15); flaky jobs = the jobs that failed and succeeded on the same commit (good 0, bad 5, 0.10); session intervention rate = human decisions ÷ permission decisions over the agent sessions linked to the repository's pull requests that ended in the window (good 20%, bad 60%, 0.15). Every count is bounded to the window on both sides: a pull request merged or closed after it is undecided in it, and an author counts as active only for a pull request opened or merged in it, so a back-filled week reads as it would have then. Whether a merged agent pull request was reverted or bug-linked is as of the run (the revert and bug-fix rate exists to see what happened after the merge). The score is the weighted mean of the components that have data, the weights renormalised; Ready is a score of at least 0.70, Workable at least 0.40, Hard below. The two weakest components (the lowest scores under 1, the heavier weight first on a tie) are what to fix. A repository with fewer than 5 agent PRs opened and fewer than 5 linked sessions in the window has no band (not enough data); one with fewer distinct human contributors (PR authors, committers and reviewers; no bots, no excluded people; one person however many identities) than the workspace's minimum group size is withheld with no figure at all. The floor is the minimum group size in force now: raising it withholds the stored weeks under it at once, and every read compares again; lowering it shows a week again only once the rollup writes it again. Archived repositories, forks and repositories the repository option excludes are not measured. - Per-tool PR outcome
- the outcomes of the merged PRs that carry one AI tool's trace, per tool and multi-label: a PR is attributed to every tool whose signature matches its opener, its description or one of its stored commits (author login, author email or any Co-authored-by trailer), so a PR with traces of two tools counts once under each and the tool rows do not add up to the AI-assisted total; a human-only PR carries no tool and has no row. For each tool, over the window: merged PRs and lines; the failure rate, failed ÷ merged, a failed PR being reverted, bug-linked or incident-linked (see Failed PR), with each cause counted too; the rework ratio, rework lines ÷ lines merged (see PR rework); the shares merged with no review and with a rubber-stamp review (see Review depth level); and, where line history is on, the share of the lines they added still there 30 and 90 days after the merge (see AI code durability), with no figure while nothing is measured. Each figure is split by who opened the PR: AI agents (a bot author or an AI opener, as for AI-assisted PRs) from the
agent_columns, people's PRs with the tool as the total minus the agents'. On the PR author's row and its tenant-local merged day. - AI evidence level
- the strongest AI evidence a merged PR carries, on one public ladder, strongest first: vendor commit data (an AI vendor's own commit-level attribution says AI wrote lines in one of the PR's commits: Cursor's AI Code Tracking API or an Agent Trace record), agent author (an AI agent opened the PR, or authored one of its commits: the opener, or a commit's author login or email, matches an AI signature), trailer (one of its commits carries a Co-authored-by trailer naming an AI tool), PR marker (its description carries an agent marker such as "Generated with Claude Code", it has an AI tool's label, or its head branch is an AI agent's), session link (an AI agent session is linked to the PR, at any confidence, and nothing in git shows AI), self-reported (the PR's author answered "Used AI: yes" or "Used AI: agent" on the risk check run, and nothing else shows AI) and no AI signal. A PR takes the highest level any of its signals reaches. The three git levels are exactly the AI-assisted PR signals, so a PR is AI-assisted when its level is agent author, trailer or PR marker; a session link and a self-report add evidence the AI-assisted classification does not read. An author's "Used AI: no" is not evidence either way: the PR stays at no AI signal. No AI signal is not "no AI": AI help that left no trace looks the same.
- AI-signal coverage
- the share of merged PRs that carry any AI evidence (an AI evidence level other than no AI signal), with its sample size and the evidence sources connected: AI-signed merged PRs ÷ merged PRs, over the window, by the PR's tenant-local merged day. Merged PRs are those the AI-assisted PR columns count: people's PRs and AI agents' own, without option-excluded repositories, excluded people or other bots' PRs (a bot's PR counts only with a git signal, as an AI agent's own). For a team or group, the PRs its members authored (through each member's person); an AI agent belongs to no team, so its own PRs count in the workspace's share and in no team's. The sample size is the merged PRs counted. A low share means little evidence, not little AI use.
- 30-day code churn (blame-based)
- the share of a team's or group's measured baseline lines no longer attributed to their pull request 30 days after the merge,
Σ (B − min(B, max(0, S30))) / Σ Bover the merged PRs of a tenant-local merge week (Monday) whose checkpoint 0 measured a baseline B > 0 and whose checkpoint 30 measured S30 with no sampled path missing (files_missing = 0); over several weeks the lines are summed first, never the weekly rates averaged. B and S30 are line survival's checkpoints 0 and 30 (the same blame of at most 20 sampled files per PR): nothing extra is collected. A PR counts for a team or group when its author is one of the subject's counted members (no bots, so a bot-opened agent PR is in no team's churn); AI-assisted =pull_request_ai_signal's verdict, no detected AI = a person's PR without it. A PR whose 30-day measurement is missing, unmatched (a rebase merge), too large, without a baseline, or with a sampled path that blame no longer finds and no later PR deleted (a rename — GitHub's file listing gives no previous path — or a file emptied to zero lines; blame cannot tell them apart) is skipped coverage, never 0% or 100% churn. A week is released only 30 + 7 days after it ends (the sampler's retry window); a measurement arriving later never changes it. It is a proxy for recently merged lines being reworked: formatting changes, in-file moves, deletions, refactoring and the same author's follow-up PRs all count as churn, a line changed and restored with its attribution does not, and the 30-day figure is not comparable with 14–21-day churn figures elsewhere. Not a defect rate or a productivity measure. Shown only for a team or group at the minimum group size, with at least that many distinct people behind the measured PRs, not withheld for differencing; a split cohort only while both clear the people floor. Never per person.