Answer: Cursor computes AI code tracking metrics by counting accepted inline completions as "TAB" and accepted diffs from Agent edits as "COMPOSER", with tabLinesAdded/Deleted and composerLinesAdded/Deleted counted separately and nonAiLinesAdded/Deleted derived as max(0, totalLines - AI lines). The text notes privacy mode may omit some metadata like fileName, and branch info may be undefined if repo info is unavailable, but it does not describe specific workspace limitations. Status: Confirmed Entry: tool/cursor/admin-and-enterprise/ai-code-tracking-metrics-semantics Revision: 1 Digest: sha256:33dc0bb1c20eb578 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:08:15Z Last changed: 2026-11-13T03:08:15Z Last verified: 2026-11-20T12:32:09Z Next check: 2026-11-21T12:32:09Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of TAB source | TAB | [1] | 2026-11-20 COMPOSER source | COMPOSER | [1] | 2026-11-20 non-AI lines formula | max(0, totalLines - AI lines) | [1] | 2026-11-20 privacy mode metadata | fileName | [1] | 2026-11-20 branch info condition | isPrimaryBranch | [1] | 2026-11-20 Sources: [1] Anysphere. "cursor.com/docs/account/teams/ai-code-tracking-api.md". https://cursor.com/docs/account/teams/ai-code-tracking-api.md Role: primary. Accessed: 2026-11-20T12:32:09Z Quote: ""TAB" represents inline completions that were accepted" (Supports: TAB source) Quote: ""COMPOSER" represents accepted diffs from Agent edits" (Supports: COMPOSER source) Quote: "nonAiLinesAdded/Deleted are derived as max(0, totalLines - AI lines)" (Supports: non-AI lines formula) Quote: "some metadata (like fileName) may be omitted" (Supports: privacy mode metadata) Quote: "isPrimaryBranch is true when the current branch equals the repo's default branch" (Supports: branch info condition) Snapshot SHA-256: b4980d64bd47e2e247750db17500395347b73c8aa2a6a05e2b8ee90be34071ad (captured 2026-11-13T03:08:15Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:08:15Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:32:09Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:32:09Z Last attempt: 2026-11-20T12:32:09Z Notes and limitations: Extracted automatically from a single official source (section "Semantics and How Metrics Are Computed"). Related: https://latestn.com/tool/cursor/admin-and-enterprise/allowed-tenants-header-format What is the format of the x-cursor-allowed-tenants header in Cursor? https://latestn.com/tool/cursor/admin-and-enterprise/analytics-api-access Can I access Cursor usage analytics data programmatically via API? https://latestn.com/tool/cursor/admin-and-enterprise/analytics-api-date-formats What date formats can I use for startDate and endDate in the Cursor Analytics API? https://latestn.com/tool/cursor/admin-and-enterprise/access-stream-audit-logs How do I access or stream Cursor audit logs? https://latestn.com/tool/cursor/admin-and-enterprise/add-remove-members How do I add or remove members in Cursor Teams? https://latestn.com/tool/cursor/admin-and-enterprise/admin-api-authentication How do I authenticate requests to the Cursor Admin API? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:08:15Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cursor/admin-and-enterprise/ai-code-tracking-metrics-semantics/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cursor/admin-and-enterprise/ai-code-tracking-metrics-semantics POST: https://latestn.com/dispute/tool/cursor/admin-and-enterprise/ai-code-tracking-metrics-semantics with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cursor/admin-and-enterprise/ai-code-tracking-metrics-semantics?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How does Cursor compute AI code tracking metrics and what workspace limitations apply? Revision 1, last verified 2026-11-20T12:32:09Z. https://latestn.com/tool/cursor/admin-and-enterprise/ai-code-tracking-metrics-semantics (accessed 2026-11-21T09:57:40Z). @misc{LatestN_tool_cursor_admin_and_enterprise_ai_code_tracking_metrics_semantics_r1, title = {How does Cursor compute AI code tracking metrics and what workspace limitations apply?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cursor/admin-and-enterprise/ai-code-tracking-metrics-semantics}}, note = {Revision 1; digest sha256:33dc0bb1c20eb578; last verified 2026-11-20T12:32:09Z; accessed 2026-11-21T09:57:40Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cursor/admin-and-enterprise/ai-code-tracking-metrics-semantics