|
Download README.md from NagaYu/repogrant-bench: direct link, hf CLI and curl.
- Browser
- Download file 2.34 kB
-
https://huggingface.co/datasets/NagaYu/repogrant-bench/resolve/main/README.md
- Command line
-
hf download hf://datasets/NagaYu/repogrant-bench/README.md
-
curl -L -o README.md https://huggingface.co/datasets/NagaYu/repogrant-bench/resolve/main/README.md
2.34 kB
| 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](https://github.com/NagaYu/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: | |
| ```bash | |
| 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>. | |