Skip to content

API: social_signals

Data models for social signals captured from a Git repository.

__all__ module-attribute

__all__ = ['BlameEntry', 'IntegratorPriors', 'SocialSignalsRecord']

BlameEntry

Bases: BaseModel

author instance-attribute

author

Author name or email as attributed by git blame.

lines instance-attribute

lines

Number of lines attributed to this author in the blamed revision.

IntegratorPriors

Bases: BaseModel

resolver_prev_commits instance-attribute

resolver_prev_commits

Number of prior commits by the current integrator touching this file.

SocialSignalsRecord

Bases: BaseModel

age_days_ours class-attribute instance-attribute

age_days_ours = None

Age in days of our most recent commit for this file (relative to the newer of HEAD/MERGE_HEAD).

age_days_theirs class-attribute instance-attribute

age_days_theirs = None

Age in days of their most recent commit for this file (relative to the newer of HEAD/MERGE_HEAD).

blame_table instance-attribute

blame_table

Aggregated blame table at HEAD, grouped by author.

file instance-attribute

file

Repo-relative path to the conflicted file.

integrator_priors instance-attribute

integrator_priors

Per-integrator priors capturing local resolver behavior.

ours_author class-attribute instance-attribute

ours_author = None

Author of the most recent commit touching this file on our side (HEAD).

owner_commits_ours class-attribute instance-attribute

owner_commits_ours = 0

Count of commits authored by ours_author in merge-base..HEAD for this file.

owner_commits_theirs class-attribute instance-attribute

owner_commits_theirs = 0

Count of commits authored by theirs_author in merge-base..MERGE_HEAD for this file.

theirs_author class-attribute instance-attribute

theirs_author = None

Author of the most recent commit touching this file on their side (MERGE_HEAD).