pub struct JitReport {
pub jit_schema_version: u32,
pub jit_score_version: u32,
pub source: JitSource,
pub long_window_days: u32,
pub recent_window_days: u32,
pub risk_score: f64,
pub commit: JitCommit,
pub features: JitFeatures,
pub contributions: JitContributions,
}vcs-git only.Expand description
The full result of scoring one commit: the resolved commit, its features, the per-group contributions, and the composite score.
Field order keeps every top-level scalar before the nested tables so the report serializes cleanly to TOML (which requires values to precede tables); JSON / YAML readers are order-insensitive.
Fields§
§jit_schema_version: u32Output-shape version (JIT_SCHEMA_VERSION).
jit_score_version: u32Composite-formula version (JIT_SCORE_VERSION).
source: JitSourcePermanent discriminator: always JitSource::Commit. Distinguishes
a full commit report from a partial JitDiffReport at a glance in
JSON / YAML, mirroring JitDiffReport::source.
long_window_days: u32Long observation window, in days (priors / experience).
recent_window_days: u32Recent observation window, in days (recent experience).
risk_score: f64Ordinal composite risk score (≥ 0). Rank commits by it; do not read it as an absolute probability.
commit: JitCommitThe scored commit.
features: JitFeaturesThe numeric feature vector.
contributions: JitContributionsPer-group contributions to risk_score.