01 / Scenario
Every run begins as an authored scenario contract.
PiBench does not evaluate an agent against policy text alone. A scenario binds the policy to a concrete, executable situation with the information needed to make the rule testable.
- Policy contextThe document and applicable clauses governing the episode.
- Environment setupTime, identities, records, accounts, and initial state.
- Tool surfaceThe actions and retrieval operations available to the agent.
- User-side contextA request, known facts, and interaction when the rule requires it.
- Decision contractThe canonical outcome: allow, condition, deny, or escalate.
- Evaluation contractObservable checks for task completion or policy compliance.