ai_code_commits

AI code commits with metrics about AI-generated code retention and modification.

id

Primary key
Unique identifier for the row.

repo_name

string
Name of the repository containing the commit.

repo_url

string
URL of the repository containing the commit.

commit_sha

string
SHA hash of the commit.

commit_message

string
Commit message text.

commit_timestamp

date
Timestamp when the commit was made.

git_branch

string
Name of the git branch where the commit was made.

git_user

string
Git user name associated with the commit.

git_email

string
Git email address associated with the commit.

username

string
Username of the person who made the commit.

machine_name

string
Name of the machine where the commit was made.

files_changed

number
Number of files changed in the commit.

original_ai_loc

number
Number of AI-generated lines originally detected on the file system (before user edits).

modified_ai_loc

number
Number of AI-generated lines edited by the user before committing.

remaining_ai_loc

number
Number of AI-generated lines remaining in the commit (including modified lines).

unchanged_ai_loc

number
Number of AI-generated lines not edited by the user before committing.

deleted_ai_loc

number
Number of AI-generated lines deleted by the user before committing.

human_additions

number
Number of lines added by human in the commit.

human_deletions

number
Number of lines deleted by human in the commit.

ai_additions

number
Number of lines added by AI in the commit.

ai_deletions

number
Number of lines deleted by AI agent in the commit.

ai_code_retained

number
Percentage of AI-generated code that was retained (0.00-100.00).

pct_ai

number
Percentage of code changes made by AI in the commit (0.00-100.00).

daemon_version

string
Version of the daemon that created this record.

row_created_at

date
Timestamp when the record was created.

row_updated_at

date
Timestamp when the record was last updated.