You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ContractCoverageFunc callback is implemented in crap.Options and works correctly in unit tests, but no CLI command (gaze crap, gaze self-check) populates it. Users running these commands always see:
note: GazeCRAP unavailable -- run gaze quality to compute contract coverage
GazeCRAP, ContractCoverage, and Quadrant fields remain nil in all CRAP report output.
Required Work
Wire quality.Assess() results into crap.Analyze() by building a ContractCoverageFunc lookup from quality reports. This involves:
In runCrap() (cmd/gaze/main.go): before calling crap.Analyze(), optionally run the quality pipeline (load test package, analyze, classify, assess) for each pattern and build a func(string) *float64 that returns contract coverage percentage by qualified function name
In runSelfCheck(): same wiring for Gaze own source
Consider a --with-quality flag to opt into the heavier pipeline, since running quality assessment adds significant time
Activity
jflowers commentedon Mar 19, 2026
Closed — GazeCRAP is now wired end-to-end across all CLI commands:
gaze crap: produces GazeCRAP scores, quadrant distribution, GazeCRAPload (PR feat: wire GazeCRAP data into gaze report pipeline #66, v1.4.3)gaze report: includes GazeCRAP in pipeline output,--max-gaze-craploadthreshold works (PR feat: wire GazeCRAP data into gaze report pipeline #66)gaze quality: contract coverage feeds GazeCRAP computation (existing)--max-gaze-craploadin PR checks (PR ci: split gaze report into PR threshold check and push-only AI report #69, v1.4.5)All originally requested functionality is implemented.
fix: address PR unbound-force#211 review findings (unbound-force#3, u…
fix: address PR unbound-force#211 review findings (unbound-force#3, u…
fix: address PR #211 review findings (#3, #4, #7)
fix: address PR unbound-force#211 review findings (unbound-force#3, u…