What mehen emits
The determinism wrinkle
Age depends on “now” — and wall-clock time would make the same repository state produce different numbers on every run. mehen pins “now” to the analyzed revision’s committer timestamp, so results are reproducible across runs and machines. The clamp at zero guards against clock-skewed commit metadata (a “last change” recorded after the analyzed revision).How to read it
References
- code-maat
ageanalysis (repo). - Tornhill, A. (2015). Your Code as a Crime Scene. Pragmatic Bookshelf.