Skip to content

Add Martian benchmark results and public positioning#48

Merged
santoshkumarradha merged 10 commits into
mainfrom
bench/martian-code-review-glm52
Jul 5, 2026
Merged

Add Martian benchmark results and public positioning#48
santoshkumarradha merged 10 commits into
mainfrom
bench/martian-code-review-glm52

Conversation

@santoshkumarradha

Copy link
Copy Markdown
Member

Summary

This branch packages the Martian Code-Review-Bench work and updates the public README so PR-AF is presented around its strongest benchmark position: #1 open-source code reviewer on Code-Review-Bench with GLM-5.2, plus model-flexible/self-hosted usage.

What changed

  • Improved the review pipeline for benchmark recall, including deeper task-dependent review phases, evidence handling, orchestration updates, and model/config controls.
  • Added a public benchmark bundle under benchmark/martian-code-review-bench/ with headline docs, per-PR result JSON, machine-readable scoreboards, analysis views, and reproduction scripts.
  • Refreshed the README hero and positioning around the benchmark: feat: Railway deployment + GitHub App webhook #1 open-source score, more valid findings, self-hosted API, model flexibility, and cost positioning.
  • Removed generated/local noise from the branch: .DS_Store is deleted and ignored; draft hero assets and benchmark scratch/cache folders are not tracked.

Public benchmark organization

  • README.md: overview and methodology for the benchmark package.
  • RESULTS.md: headline results and adjusted scoring view.
  • scoreboard.md / scoreboard.jsonl: human-readable and machine-readable aggregate results.
  • problems.json: ranked 50-PR worklist.
  • results/*.json: per-PR PR-AF findings and judge verdicts.
  • analysis/: secondary leaderboard and substantive-golden views.
  • scripts/: reproduction, campaign, ensemble, and scoring scripts.

Validation

  • git diff --check
  • .venv/bin/pytest -> 69 passed

santoshkumarradha and others added 10 commits June 30, 2026 12:43
Architecture changes validated on Martian Code-Review-Bench with GLM-5.2:

- Decomposed consistency-verify: extract cross-location consistency
  obligations, then one focused harness verifier per obligation. Emergent
  depth lever for cross-file/structural bug families (no per-problem prompts).
- Evidence-pack-first reviewers: pre-extract target+imports+callers once and
  inject, flipping "read the repo" to "investigate this pack, escalate if
  needed" (BudgetConfig.evidence_pack_reviewers, file-cached by mtime).
- Post-worthiness gate: optional recall-preserving pre-layer gate
  (CommentConfig.post_worthiness_gate) returning keep_indices.
- Coverage and consistency phases run concurrently via asyncio.gather;
  file-patch build memoized per run.
- fetch_pr retry loop (4 attempts; TransportError/5xx/403/429) with
  follow_redirects so cal.com 301s and transient Sentry errors don't abort.
PR-AF run end-to-end on a single open model (GLM-5.2) against the 50-PR
Martian Code-Review-Bench. On the 38 runnable PRs: #1 in valid findings
delivered (~3x the leading commercial tools), #2 of 42 in golden recall
(0.706), co-leader on honest F1 (0.82).

- README.md / RESULTS.md                -- guide + headline results
- results/<id>.json (38)                -- per-problem exact, untrimmed findings
                                           + per-golden judge verdicts
- scoreboard.{md,jsonl}, problems.json  -- aggregate recall + ranked worklist
- analysis/                             -- leaderboard standing + substantive scoreboard
- scripts/                              -- node launcher, campaign, ensemble, scoring

gitignore the whole _glm52_bench/ scratch dir (raw transcripts, logs, per-run
caches); canonical reproduction scripts live committed under scripts/.
@santoshkumarradha santoshkumarradha merged commit df53863 into main Jul 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant