Repository navigation
jgrep 0.2.0 — complete changes and functions
jgrep can now search complete changes and functions while preserving their source locations.
uv tool install 'jev-grep[code]'
git diff --no-color | jgrep --diff "removes error handling"
jgrep --functions "ignores a failed rollback" installer.go --json--diffjudges removals, additions and unchanged context together. Malformed or unsupported diffs produce errors.--functionsextracts Python functions/methods and optional Tree-sitter Go functions. Code units are never silently truncated.--estimatepreviews calls and approximate cost offline, reading existing cache entries without writing them.--emit-recordsexports source-linked JSONL for jselect and other tools, without model calls.
159 tests passed on Python 3.10 and 3.13. Fresh-wheel installation, optional dependencies, stdin, source references, the jselect handoff, and a live diff query were checked.
The 20-case handwritten experiment found fewer records to review with complete hunks/functions. It also records remaining false positives and a jselect diversity comparison that worsened precision. These are small synthetic measurements, not production accuracy claims or proof of general bug detection.