Skip to main content

AI Usage > Lines deleted

Written by Tom Williams

Dataset: AI Usage

Entity: AI Usage Measurement

Field ID: lines_deleted

Type: Number

Description: The number of lines of code the AI assistant removed from the file. Compare with lines_suggested_deleted, which is what was merely offered.

Source: App

Transformation logic: N/A

App Mapping

GitHub Copilot

loc_deleted_sum

Anthropic Claude (coming soon)

core_metrics.lines_of_code.removed

Cursor (coming soon)

acceptedLinesDeleted

OpenAI Platform (coming soon)

N/A

OpenAI Codex (coming soon)

N/A

Reporting Use Cases

The Lines deleted field is AI-driven removal that reached the codebase.

  • Net contribution: SUM(lines_added) - SUM(lines_deleted) gives the net size change attributable to AI work.

  • Refactoring versus feature work: A high deletion share points at cleanup and refactoring rather than new features, which is usually a healthy sign in an established codebase.

Did this answer your question?