English · Português
House Party Protocol

Architecture · BENCHMARK.md

Reproducible benchmark

The public benchmark measures the local harness without calling model APIs.

01

Run

python -m hpp doctor
python -m hpp benchmark -k 3
python -m hpp benchmark -k 3 --json

02

Scenarios

ScenarioPositive controlNegative controlGate
manifestten modules resolvedintegration points at a missing modulevalidation blocks
policysafe commanddestructive operationenforce returns 2
event logvalid sequence reaches verifiedverified without evidenceappend is refused without creating the log
WorkGraphDAG with two wavescycle A→B→Acompilation fails
Lane Mapdead lane does not blocklive overlapcollision appears
Monitor Mapfresh signalservice probe fresh, data probe oldone status per monitor: the service reads healthy, the data reads stale
contextsource with hash and budgetsecret-like materialcompilation refuses
routingsafe work uses economyhigh risk without frontierfloor is not lowered
graphssame input twiceempty projectionidentical and non-empty JSON
evidence attestationapproval bound to the file bytes verifies as validfile changed after approvalverify blocks on the snapshot mismatch

03

Criterion

The benchmark runs each local control k=3; it does not use replayed outcomes as ready-made truth. Release-critical cases require pass^k=1.00. hpp benchmark always runs gate both (pass@k >= 0.90 and pass^k = 1.0); hpp eval run defaults to gate capability (pass@k >= 0.90 only) unless --gate regression or --gate both is passed. The JSON output includes version, platform, suite hash, attempts and individual results. ZIP integrity is a separate release gate.

The benchmark proves only the checkout, the platform and the scenarios that ran. It does not measure the general quality of a model and does not turn an explicit-command capability into automatic enforcement.