API reference

The module index below is generated by sphinx.ext.autosummary. Detailed members are grouped into core contracts, orchestration, and scientific components.

Module index

p2p.config

Central configuration loading and deterministic resolution.

p2p.config_conversion

One-off migration of relevant legacy P2P configurations.

p2p.registry

Central registries for swappable P2P components.

p2p.metrics

Pure numerical metrics and explicit probability transformations.

p2p.results

Canonical run provenance and long-form metric records.

p2p.aggregation

Pure validation and reduction of canonical single-run artifacts.

p2p.sweep

Generic deterministic sweep expansion.

p2p.usage

Backend-neutral token usage and cost accounting.

p2p.budgeting

Historical token and cost forecasting for API-backed P2P runs.

p2p.budget_dashboard

Self-contained interactive presentation for budget forecasts.

p2p.cli

Command-line interface for P2P.

p2p.diagnostics

Self-contained interactive diagnostics for completed or running P2P runs.

p2p.sampling

Deterministic, offline sampling over an existing response basis.

p2p.simulations.runner

Deterministic execution plumbing for configured sweeps and simulations.

p2p.simulations.scientific

Faithful offline scientific simulations over cached P2P bases.