ReviewGateEvidence

Review evidence

Inspect the same committed changes under both reviewers. The fixtures include their expected results, observed verdicts and exact finding locations.

Release verification

The 0.2.0 Linux verification run passed 93 Python tests with Ruff enabled and 25 Rust tests. The Rust code also passed compilation checks for Apple Silicon macOS and Windows x64 GNU. Local forge tests used real Git repositories and simulated status publication.

Fixed defect evaluation

6/9Planted defects located by Python
6/6Clean controls cleared by Python

Each case is a committed change. A hit requires a complete verdict and a finding on the planted line. The pricing boundary, unit conversion and numeric-sort regressions cleared both gates.

ChangePythonRust
truthy assertion tupleDetectedDetected
duplicate map keyDetectedDetected
shared mutable defaultDetectedDetected
silently swallows every exceptionDetectedDetected
unfinished Rust branchDetectedDetected
debugger statementDetectedDetected
inclusive pricing threshold made exclusiveMissedMissed
seconds-to-milliseconds conversion reversedMissedMissed
numeric ordering changes to lexicographicMissedMissed
assert membership, with detailClean control clearedClean control cleared
handle only missing cache keyClean control clearedClean control cleared
independent listsClean control clearedClean control cleared
Rust macro name inside textClean control clearedClean control cleared
TypeScript keyword inside a stringClean control clearedClean control cleared
distinct keysClean control clearedClean control cleared

Python results with line references (JSON)

Native Rust results

The native executable located 6 of 9 planted defects and cleared 6 of 6 clean controls. These counts apply to the changes listed above. The editions have different language coverage.

Rust results with line references (JSON)

Cross-runtime contract

Both engines agreed on all 9 shared cases. The suite compares exit code, schema, verdict, resolved revisions, changed paths and finding anchors.

FixtureExitVerdict
Rust placeholder1blocked
TypeScript debugger1blocked
quoted lookalike0clear
owner policy1blocked
text edit0clear
binary object2incomplete
staged snapshot with contradictory worktree0clear
direct push range2incomplete
missing revision2incomplete

Commit identities and findings (JSON)

Optional model review

The Python verifier checks recorded responses from Qwen2.5-0.5B-Instruct. A response can cite a genuine line and still misinterpret its behavior. Model findings remain advisory.

Replay results (JSON) · Recorded responses

Reproduce the checks

Run these commands from the extracted project root. On Windows, append .exe to the Rust executable path.

python3 -m unittest discover -s tests
cargo test --locked
cargo build --locked
python3 -I tools/evaluate.py
python3 -I tools/evaluate.py --rust-bin target/debug/reviewgate
python3 -I tools/replay_semantic.py
python3 -I tools/conformance.py --rust-bin target/debug/reviewgate