Skip to main content

AI Usage > Lines suggested (added)

Written by Tom Williams

Dataset: AI Usage

Entity: AI Usage Measurement

Field ID: lines_suggested_added

Type: Number

Description: The number of lines of code the AI assistant offered to add, whether or not the suggestion was accepted. Compare with lines_added, which is what actually reached the file.

Source: App

Transformation logic: N/A

App Mapping

GitHub Copilot

loc_suggested_to_add_sum, raised to the lines added when GitHub reports fewer: lines written by Copilot's agent are added without being suggested

Claude Platform

The lines added: Anthropic counts the lines of accepted edits only

Claude Code Telemetry

The lines added, as for Claude Platform

Cursor (coming soon)

totalLinesAdded

OpenAI Platform

N/A

OpenAI Codex Enterprise

N/A

Reporting Use Cases

The Lines suggested (added) field measures what the assistant offered, in lines of code.

  • Line-level acceptance: SUM(lines_added) / SUM(lines_suggested_added) is a finer measure than suggestion counts, because it weights a one-line completion differently from a whole function. It never exceeds 100%: the lines suggested are never lower than the lines added on a record.

  • Volume of AI output: It shows how much code the tool is producing, independently of how much survives review.

  • Claude Code's line rate reads 100%: Claude Code reports the lines of accepted edits only, so its lines suggested are its lines added. Its lines still count in the volume of AI output; use suggestions_accepted and suggestions_rejected for its acceptance.

  • Not reported by the OpenAI integrations: OpenAI Platform and Codex Enterprise publish no suggested line counts.

Did this answer your question?