Skip to main content

ai_attribution

Function ai_attribution 

pub fn ai_attribution(email: &str, name: &str, message: &str) -> &'static str
Expand description

Classifies commit attribution as one of "ai-authored", "ai-assisted", or "human". Bot authors → ai-authored; commits with a recognized AI-assistant signature in the message → ai-assisted; otherwise → human.

Defaults-only path; user-extensible patterns from .codelorebots are honoured by ai_attribution_with (the production ingest pipeline uses that variant).