repogrant-bench / README.md
NagaYu's picture
RepoGrant dev bench v1.0 (fixtures + expected results; holdout excluded)
1abc9a7 verified
|
Raw History Blame Contribute Delete
2.34 kB
metadata
license: other
license_name: all-rights-reserved
license_link: https://github.com/NagaYu/repogrant/blob/main/LICENSE
pretty_name: RepoGrant dev bench
language:
  - en
tags:
  - ai-agents
  - agent-security
  - static-analysis
  - claude-code
  - codex
  - cursor
  - gemini
  - mcp

RepoGrant — dev bench

The development benchmark for RepoGrant, an offline, deterministic verifier that computes the effective authority a repository grants to AI coding agents (Claude Code, OpenAI Codex CLI, Cursor, GitHub Copilot, Gemini CLI) — per tool, under each tool's documented semantics, including the silent-config defaults.

This dataset is the dev bench only: the fixture repositories plus their expected results and the Gate 1 self-scoring runner. It is a self-authored regression harness (self-consistency, not evidence of generalization).

The project's sealed holdout (Gate 2) is not part of this dataset and is never published — no cases, no labels, no ids, no hashes. Generalization evidence lives in the field audit over 120 wild public repos, summarized in the GitHub repository.

Contents

bench/
  repos/clean/   10 clean fixtures   (correctly-configured repos → expect 0 findings)
  repos/mut/     15 mutation + 2 malformed fixtures (each injects a known risk class)
  expected.json  expected per-repo findings (the labels)
  make_repos.py  fixture materializer
  runner.py      Gate 1 self-scoring runner
LICENSE          All Rights Reserved

The six risk classes: R1 hook/auto-run execution surface · R2 pre-approval overreach · R3 cross-tool divergence · R4 silence-is-not-safety defaults · R5 secret-reach composition · R6 unpinned execution supply chain.

Reproduce Gate 1

Clone the checker from GitHub, place this bench/ under the repogrant/ package, and run:

python3 bench/runner.py

Expected: GATE 1: GO — per-class recall 1.00, clean-repo false positives 0/60 (repo,check) pairs, zero silent drops, byte-identical determinism.

License

All Rights Reserved. The Materials are made publicly visible solely so that they can be read and evaluated; no license is granted. See LICENSE. Licensing or transfer inquiries via the author's portfolio: https://nagayu-portfolio.nagayu.workers.dev/en.