Contributing¶
Everything below is a pull request or an issue on https://github.com/jackson-cmd/rogue-ai-bench. Please read the code of conduct first.
| You want to add | Page |
|---|---|
| Your model's or agent's numbers to the leaderboard | Results |
| A scenario for an incident that is already in the catalog, or a new one | Scenarios |
| An injection vector, so attack texts apply to one more scenario | Injection vectors |
| A defense or an attack text | Plug-ins |
| An incident report we do not have yet | Incident reports |
Setup¶
git clone https://github.com/jackson-cmd/rogue-ai-bench
cd rogue-ai-bench
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
tools/install_git_hook.sh # a privacy check before every commit
pytest
Ground rules¶
- Tests run offline: mock every network call.
- No keys, account numbers, personal data or local paths in code, tests, logs or screenshots. The commit hook checks this.
- One change per pull request. Open an issue first for anything users will notice.
Build the documentation¶
The site uses MkDocs with the Material theme. Some pages are generated from the package data, so rebuild them after you change scenarios, incidents or leaderboard entries:
pip install -e ".[docs]"
python3 scripts/build_docs.py # writes the generated pages
python3 scripts/build_docs.py --check # exits 1 if they are out of date (CI runs this)
mkdocs serve