tga 10.0.0

Developer productivity analytics — git commit collection, classification, and reporting
Documentation
//! Stage 2 of the pipeline: classify each collected commit using a four-tier
//! cascade.
//!
//! ## Tiers
//!
//! 1. **Exact** — Aho-Corasick multi-keyword match (case-insensitive).
//! 2. **Regex** — pre-compiled regex patterns.
//! 3. **Fuzzy** — structural heuristics (merge/revert/ticket-prefix).
//! 4. **LLM** — optional async fallback via an OpenAI-compatible API.
//!
//! Tiers 1–3 are synchronous and run in parallel across commits via Rayon.
//! Tier 4 is async and serialized.

pub mod classifier;
pub mod errors;
pub mod pipeline;
pub(super) mod pipeline_db;
pub(super) mod pipeline_external;
// #111: the LLM fallback step and its token accounting.
pub(crate) mod pipeline_llm;
pub mod rules;
pub mod sources;
pub mod taxonomy;
pub mod tiers;
// #111: in-memory rule tracing for the eval harness; never persisted.
pub mod trace;

pub use classifier::{ClassificationEngine, ClassificationEngineConfig};
pub use errors::{ClassifyError, Result};
pub use pipeline::{ClassificationPipeline, ClassificationStats};
pub use pipeline_llm::LlmUsageTotals;
pub use rules::{Rule, RuleSet};
pub use taxonomy::{SubcategoryDef, TaxonomyRegistry, TopLevelCategory};
pub use tiers::ClassificationResult;
pub use trace::{RuleSources, RuleTrace, TraceTier, TracedVerdict};

#[cfg(test)]
mod tests;

#[cfg(test)]
mod pipeline_tests;

#[cfg(test)]
mod pipeline_llm_tests;

#[cfg(test)]
mod trace_tests;