Skip to content
CodeSpider
GitHub
CodeSpider / comparisons

Evaluate an AI code reviewer on one PR

A reproducible pilot checklist for comparing self-hosted code review with existing linters, CI, and human review.

Compare reviewers on the same commits before adding a bot to your merge policy. Use a repository you can share with every configured model provider.

Run the same PR through each reviewer

Pilot checklist
CheckWhat to record
Choose one known changeUse a merged PR from a test repository with a known behavior change. Pin the base and head commits, and note the expected issue before running reviewers.
Establish a baselineSave the test and linter output. If a reviewer repeats it, count the finding as duplicate rather than additional coverage.
Compare evidenceCheck the cited line and whether the reviewer inspected the caller or test outside the diff. Mark unsupported and incorrect findings separately.
Record the costTrack elapsed time, model usage, and how many comments a maintainer had to verify or dismiss. Record the provider and model version alongside the results.
Recheck the fixRun the same process on the fix commit. Check whether the reviewer replaced the old result or left stale threads or labels behind.

The recorded Gitea example shows a useful finding alongside a wrong explanation. The offline benchmark has a pinned dataset and command if you need to reproduce the static baseline.

Keep CI and human review

Responsibilities in a pull request
CheckResponsibility
Linter and CIRun configured rules and tests. Keep them as required checks when they are your merge criteria.
CodeSpiderReports line-level findings from static checks and model-assisted review; distinguish corroboration from reproduced behavior.
Human reviewerVerifies the evidence, notices missing requirements and owns the merge decision.

A clean AI review does not prove a change is safe. Keep the existing required checks and human approvals during the pilot.

CodeSpider’s boundaries

CodeSpider behavior and limits
CriterionDocumented behavior
Deployment modelSelf-hosted Go daemon distributed as a container or standalone binary.
Source control targetGitea tested end to end in a local environment. GitHub static token and App auth ship in v1.1.0 and are fixture-tested only.
Model selectionOpenAI-compatible chat completions endpoint with tool calling. Hosted endpoints receive repository context.
Code intelligenceDeterministic Go AST and type indexing, contract diffs, and Git history inspection.
Evidence reportingSeparates static checks, model corroboration and reproduced regressions.
Write and execution guardrailsFile edits and isolated proof tests are opt-in. The bot can still post PR comments and commit statuses.
LicenseApache-2.0 open source.

Self-hosting the daemon does not stop it from sending source context to an external model. If that context must stay private, follow the private model guide.

Install for a pilot PR