Skip to content

jgrep 0.2.0 — complete changes and functions

Choose a tag to compare

@keltokhy keltokhy released this 19 Sep 20:12
· 43 commits to main since this release

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
  • --diff judges removals, additions and unchanged context together. Malformed or unsupported diffs produce errors.
  • --functions extracts Python functions/methods and optional Tree-sitter Go functions. Code units are never silently truncated.
  • --estimate previews calls and approximate cost offline, reading existing cache entries without writing them.
  • --emit-records exports 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.

PyPI · Full changelog