Skip to main content

AI Usage > Lines suggested (deleted)

Written by Tom Williams

Dataset: AI Usage

Entity: AI Usage Measurement

Field ID: lines_suggested_deleted

Type: Number

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

Source: App

Transformation logic: N/A

App Mapping

GitHub Copilot

loc_suggested_to_delete_sum, raised to the lines deleted when GitHub reports fewer. GitHub documents this counter as planned rather than implemented, so in practice it equals the lines deleted

Claude Platform

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

Claude Code Telemetry

The lines deleted, as for Claude Platform

Cursor (coming soon)

totalLinesDeleted

OpenAI Platform

N/A

OpenAI Codex Enterprise

N/A

Reporting Use Cases

The Lines suggested (deleted) field is the deletion counterpart of suggested additions, and the least informative of the four line measures today.

  • Refactoring signal: Suggested deletions indicate refactoring and cleanup rather than new feature work.

  • A deletion rate reads 100% for Copilot and Claude Code: GitHub's counter is not implemented yet and Claude Code counts accepted edits only, so their lines suggested for deletion are their lines deleted. Compare deletions across tools on lines_deleted.

Did this answer your question?