| 1 | """oakbench: the shared measurement core for every benchmark lane.
|
| 2 |
|
| 3 | Lanes (bench.py, workflow_ab.py, agent_workflow.py, parallel_contention.py)
|
| 4 | are thin scenario definitions over this package. Measurement policy — subject
|
| 5 | identity, environment, clocks, token accounting, the row contract, command
|
| 6 | semantics, stream parsing, reporting math — lives here, once.
|
| 7 |
|
| 8 | Design rules (see CONTEXT.md and docs/adr/):
|
| 9 |
|
| 10 | - stdlib only (ADR-0001); optional enhancers are detected, never required.
|
| 11 | - Null means unmeasured (ADR-0002); this package never fabricates zeros.
|
| 12 | - Scenario/operation names are immutable identity (ADR-0005); refactors here
|
| 13 | must be measurement-identical or introduce new names.
|
| 14 | """
|
| 15 |
|
| 16 | from __future__ import annotations
|