pr-reviewer/tests
Adam Moussa c07e4397aa
Harden review JSON parsing against reasoning models
Some Fireworks models emit chain-of-thought before the JSON review, and
that preamble can contain stray "{". The old first-"{"-to-last-"}" span
then grabbed reasoning braces and failed to parse (seen live on a real
PR). Scan each "{" and return the first substring that actually decodes
to an object instead, so a preamble or trailing prose no longer breaks
the review.
2026-07-01 19:11:09 -04:00
..
__init__.py Add pr-reviewer local PR review tool 2026-07-01 13:48:10 -04:00
conftest.py Ground reviews in the engineering-handbook 2026-07-01 17:08:21 -04:00
test_endpoints.py Ground reviews in the engineering-handbook 2026-07-01 17:08:21 -04:00
test_fireworks_live.py Add pr-reviewer local PR review tool 2026-07-01 13:48:10 -04:00
test_github_client.py Add pr-reviewer local PR review tool 2026-07-01 13:48:10 -04:00
test_handbook.py Ground reviews in the engineering-handbook 2026-07-01 17:08:21 -04:00
test_reviewer.py Harden review JSON parsing against reasoning models 2026-07-01 19:11:09 -04:00
test_store.py Add background auto-review worker with SQLite cache 2026-07-01 14:28:11 -04:00
test_worker.py Add background auto-review worker with SQLite cache 2026-07-01 14:28:11 -04:00