Skip to content

gitgalaxy evolution extras: call-graph GIF, repair radius and blame sampling as optional pieces #8719

Open

Description

@squid-protocol

Part of #8715. Optional pieces so the core has no heavy dependencies.

What

  • Call-graph GIF ("the call graph over time", embedded in the Growth section): built by historical-call-graph-gif from the same scan databases (no rescan); an optional extra (pip install gitgalaxy[evolution-gif] or similar), off by default; embedded only under about 9 MB. The prototype produced 4.9 MB for DPDK (41 scans) and 3.1 MB for nDPI.
  • Repair radius (how much closer than chance fixes land to the change that caused them, one and two calls, callers and callees, with intervals): needs the call graph and a baseline of same-file functions of similar size; optional, only when a scan DB is given.
  • Blame sampling (--blame N): finds causes for fix-like commits that name none (git blame -w -M of the removed lines at the parent; the commit owning most of them), run on a sample, with coverage printed. Needs to be parallel and time-bounded.

Acceptance

  • The core command works with none of these installed.
  • Each piece states what it adds and what it costs (time, size, dependency) in --help.
  • The radius reproduces the research numbers on DPDK within rounding (1.68 / 1.45 / 1.84 / 1.69 for one call, two calls, callers, callees).
  • The GIF step fails soft: a clear message, the report still written.

Activity

  1. added
    enhancement
    priority: low
    on Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority: low

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions