Core of #1955. A pure, deterministic estimator: given the changed files + patches, compute a 1-5 complexity band and a minutes estimate from files-touched, added lines (addedLineCount, src/review/review-diff.ts:25), file-type mix (classifyChangedFile, src/signals/path-matchers.ts:235), and hunk spread. No AI. This module is consumed by the ROI + unified-comment PRs; standalone + fully unit-testable.
Deliverables
References
src/review/review-diff.ts:25
src/signals/path-matchers.ts:235
#1955
Part of #1955.
size: S · gittensor:feature
Core of #1955. A pure, deterministic estimator: given the changed files + patches, compute a 1-5 complexity band and a minutes estimate from files-touched, added lines (addedLineCount, src/review/review-diff.ts:25), file-type mix (classifyChangedFile, src/signals/path-matchers.ts:235), and hunk spread. No AI. This module is consumed by the ROI + unified-comment PRs; standalone + fully unit-testable.
Deliverables
estimateReviewEffort(files): { band: 1|2|3|4|5; minutes: number }— pure, deterministic, documented weightingReferences
src/review/review-diff.ts:25src/signals/path-matchers.ts:235#1955Part of #1955.
size: S · gittensor:feature