Expand description
Drift detection — detect stale contracts via git timestamps.
A contract is “stale” if it was modified after the binding file was last updated, meaning the binding may reference an outdated version.
drift = 1.0 - (stale_contracts / total_bound_contracts)
Functions§
- compute_
drift - Compute drift score from stale contract count.
- detect_
stale_ contracts - Detect which bound contracts are stale relative to a binding file.