hummbl-research/governance-bench-space
Governance-Bench Agent Reasoning Audit
Interactive demo for HUMMBL Governance Bench — a Harbor-compatible benchmark that tests operational AI agent governance (what agents do), not content safety (what models say). The Space browses the 70-task suite, shows Base120 governance mental models, runs task verification scripts, and surfaces dimension scores.
Live app: hummbl-research-governance-bench-space.hf.space
Links
The benchmark dataset lives on the sister org hummbl-hf; this Space (Docker SDK) is published under hummbl-research.
What this Space does
A FastAPI + uvicorn + Jinja2 UI over the baked-in benchmark checkout (BENCH_ROOT=/bench):
- Overview — task counts by category and difficulty; Base120 model cards
- Tasks — browse by category, read
instruction.md, inspect metadata (difficulty, scoring model) - Run Verification — execute each task’s
tests/verify.pyand show overall score plus four dimensions (correctness, governance awareness, safety–utility tradeoff, audit trail quality) - Base120 Models — seven governance mental models mapped to primitives (e.g. interruptibility → KillSwitch / CircuitBreaker)
- Leaderboard — reads agent result JSON from
BENCH_ROOT/resultswhen present
JSON APIs: GET /api/tasks, GET /api/task/{category}/{task_id}, POST /api/task/{category}/{task_id}/run, GET /api/base120/models, GET /api/leaderboard, GET /health.
How to use
- Open the live Space (or run locally — see below).
- On Overview, click a category card to open the task browser.
- Select a task to read the instruction and Base120 analysis.
- Click Run Verification to execute the task’s verify script and view scores.
Task categories (7 × 10 = 70)
Difficulty mix (dataset card): 21 easy, 28 medium, 21 hard. Each task is Harbor task.toml v1.3 compatible (task.toml, instruction.md, environment Dockerfile, verification script).
Runtime & local / Docker notes
- SDK: Docker; app listens on port 7860
- Stack: FastAPI, uvicorn, Jinja2; depends on
hummbl-governance>=1.1.0 - Data: Dataset snapshot is fetched at image build time into
/bench(immutable; updates require a rebuild — intentional supply-chain hardening vs. runtime fetch) - Env:
BENCH_ROOT=/bench(override for local mounts)
# From this Space repo
docker build -t governance-bench-space .
docker run --rm -p 7860:7860 governance-bench-space
# Then open http://localhost:7860Local (without Docker), after installing requirements.txt and pointing at a local dataset checkout:
export BENCH_ROOT=/path/to/governance-bench # must contain tasks/
uvicorn app:app --host 0.0.0.0 --port 7860For full agent evaluation against the dataset (outside this Space), see the dataset card’s Harbor usage examples.
License & credit
- This Space: Apache-2.0 (YAML
license) - Dataset: CC-BY-4.0 with evaluation-only restriction (not for training / fine-tuning) — see dataset card
- Credit: HUMMBL, LLC — HUMMBL Governance Bench
@dataset{hummbl2026governancebench,
title={HUMMBL Governance Bench: First Benchmark for Operational AI Agent Governance},
author={HUMMBL, LLC},
year={2026},
url={https://huggingface.co/datasets/hummbl-hf/governance-bench}
}